Comments (2)
Sorry for the late reply. I hadn't been monitoring this account. It seemed that your device didn't response to sync and stop in a normal way. For now I can't do much about it since it's likely a device-specific issue. Have you tried other USB devices on that machine? So that we can see whether it's machine-specific or device-specific. Thanks.
from suspend-usb-device.
Recently I reinstalled my laptop to Debian, I'm now trying with a different USB disk (WD).
The script output looks better:
Found device /devices/pci0000:00/0000:00:1d.7/usb2/2-1 associated to /dev/sdb; USB bus id is 2-1
Syncing device /dev/sdb
Stopping device /dev/sdb
Unbinding device 2-1
Checking whether /devices/pci0000:00/0000:00:1d.7/usb2/2-1 can be suspended
Suspending /devices/pci0000:00/0000:00:1d.7/usb2/2-1 by writing to /sys/devices/pci0000:00/0000:00:1d.7/usb2/2-1/power/level
But in the /var/log/messages I see:
Sep 30 10:21:59 laptop kernel: [58941.352130] scsi 5:0:0:0: [sdb] Unhandled error code
Sep 30 10:21:59 laptop kernel: [58941.352137] scsi 5:0:0:0: [sdb] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
Sep 30 10:21:59 laptop kernel: [58941.352147] scsi 5:0:0:0: [sdb] CDB: Read(10): 28 00 00 00 00 00 00 00 08 00
Is that ok?
Btw when I get a chance I'll retry with the disk that I got the errors previously.
from suspend-usb-device.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from suspend-usb-device.