On Fri, May 28, 2004 at 03:31:47PM -0700, David Brownell wrote: > Michal Jaegermann wrote: > > I am trying to get suspend/resume working on Acer Travelmate 230 > > laptop > > With 2.6.7-rc1, compiled with CONFIG_USB_DEBUG, and assuming EHCI > is "usb1", what happens when you do this: > > cd /sys/class/usb_host/usb1 > cat registers
Ah, I gather that 'registers' will show up if I will recompile with CONFIG_USB_DEBUG. At this moment I do not have anything of that sort in the whole /sys tree. I can try to produce something of that sort if this useful. > That puts EHCI itself into D3 state, back into D0, and shows the > results. It ought to just work, no surprises. As I wrote with ehci_hcd module present there is no suspension. > It's possible that your BIOS is just borked in more ways than > APM not working. I would take that as given. :-) In the meantime I found a workaround. It turns out that if I am not loading ehci_hcd, i.e. uhci_hcd only, then the only USB devices recognized are those which are connected during a startup and after disconnecting there is no way to get them back. OTOH if ehci_hcd was loaded then unplugging and plugging does work - even after 'rmmod ehci_hcd' and without a need to insmod it back. The same is also true for suspend where I have to do 'rmmod ehci_hcd' or no dice. But once it was there then USB devices are waking up. I cannot even start to pretend that I understand how all this magic works but results seem to be good. BTW - Arjan put the next kernel in development, 2.6.6-1.394, and I was experimenting with that one. An internal floppy is still dead after a resume but this is not a USB device. An external USB floppy, which I happen to have here, is fine (modulo that hotplug is not really healthy but this is not a show-stopper). Thanks, Michal ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
