On Tue, 28 Sep 2004, Aaron Gyes wrote: > On Tue, 2004-09-28 at 10:39 -0400, Alan Stern wrote: > > I don't understand why doing "rmmod uhci-hcd" worked though; > > as far as the device can tell there's no difference between that and > > suspending the port. > I'm not sure if the port is actually getting suspended.. I can still > mount the device after echo -n 2'ing the power/state file.
This could well be the problem. However it's not at all clear to me why that command shouldn't suspend the port. Are you sure you're writing to the correct file? As a check, can you post the full directory name of the parent of the "power" directory (that is, its real name, not the symlink alias) plus the contents of all the files in that directory? If you turn on USB debugging in your kernel configuration, then when you suspend the port there will be some extra debugging messages added to the system log. You will be able to read them with dmesg. Post the output from that too. > > plscsi /dev/sg0 -x '35 0 0 0 0 0 0 0 0 0' > > > > (that's 9 zeros inside the quotes). It's worth a try. > > # plscsi /dev/sg0 -x '35 0 0 0 0 0 0 0 0 0' > // sgioSay.ioctl: Operation not permitted > // sgioSay x FFFFFFFF 0 0 0 (ioctl sihInfo sihResid sihSbLenWr) > // -x0001 = -1 = plscsi.main exit int Did you have the sg module loaded? Was /dev/sg0 the correct entry corresponding to your device? > > If that doesn't work, I guess you'll have to rely on "rmmod uhci-hcd" for > > the moment. > > Causes my mouse and keyboard to be unusable.. not really a solution. No, I guess not. Alan Stern ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users
