Ah: I forgot to say something... (sorry... should have written everything
on the same e-mail)

We've been analyzing the usb module files, especifically the file
driver/usb/core/hub.c . Looking at the function usb_reset_device (the last
one on the file), I saw that there is a variable called udev->state, and
one of its state is "USB_STATE_NOTATTACHED". I (still) don't understand
how udev, or usb, or anything works, but I've been thinking:
Is there a way to change the usb state to usb_state_notattached, and then
change it back to "attached"? To execute all the functions that are
executed when the device gets attached... Me and the guys who work with me
are going to investigate it, but anything you guys could say would be very
helpfull.
Desperate solutions =(

Thanks a lot!

Paulo.

>> And what happened when you tested?
> The same result as we always had... Keyboard not working.
>
>> What happens if you start with the hub plugged into the computer and the
>> keyboard _unplugged_ from the hub, and then plug in the keyboard _after_
>> the computer has finished booting?
> If I do this, the keyboard will work correctly...
>
> Thanks,
>
> Paulo.
>
>
>> On Fri, 7 Jul 2006, Paulo R. Zanoni wrote:
>>
>>> > On the other hand, if you don't have any high-speed USB devices
>>> (other
>>> > than the hub itself) plugged into your computer, you could try doing
>>> > "rmmod ehci-hcd".  This would force everything to run at full-speed
>>> or
>>> > low-speed, and then maybe the keyboard/hub combination would work
>>> better.
>>>
>>> We've already tested this. We've just tsted with UCHI. We didn't have
>>> the
>>> EHCI module.
>>
>> And what happened when you tested?
>>
>>> I've found this link:
>>> http://www.mail-archive.com/linux-usb-users@lists.sourceforge.net/msg14220.html
>>> Do you think that increasing the timeouts would solve my problems?
>>> Which
>>> timeout should I increase? I guess I'm gonna test that now.
>>
>> What happens if you start with the hub plugged into the computer and the
>> keyboard _unplugged_ from the hub, and then plug in the keyboard _after_
>> the computer has finished booting?
>>
>> Alan Stern
>>
>>
>
>
>



Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to