Re: [linux-usb-devel] enumerating devices in a usb hub

2006-07-12 Thread Alan Stern
On Tue, 11 Jul 2006, Paulo R. Zanoni wrote: > I've tried it, and it didn't work too... > Also, i've tried combinations unbinding/reseting/binding, > reseting/unbinding/binding, unbinding/binding/reseting, etc > Doing this is not the same as manually unplugging/plugging... > Do you know anything el

Re: [linux-usb-devel] enumerating devices in a usb hub

2006-07-11 Thread Alan Stern
On Tue, 11 Jul 2006, Paulo R. Zanoni wrote: > I've tried it, and it didn't work too... > Also, i've tried combinations unbinding/reseting/binding, > reseting/unbinding/binding, unbinding/binding/reseting, etc > Doing this is not the same as manually unplugging/plugging... Then you've tried doing

Re: [linux-usb-devel] enumerating devices in a usb hub

2006-07-11 Thread Paulo R. Zanoni
I've tried it, and it didn't work too... Also, i've tried combinations unbinding/reseting/binding, reseting/unbinding/binding, unbinding/binding/reseting, etc Doing this is not the same as manually unplugging/plugging... Do you know anything else that could be done? I'm about to give up... We're s

Re: [linux-usb-devel] enumerating devices in a usb hub

2006-07-10 Thread Alan Stern
On Mon, 10 Jul 2006, Paulo R. Zanoni wrote: > Ok. > I unbinded it, but when I binded it again, the same problem happened. It > gave me those error messages =( > So I guess unbinding/binding doesn't have the same effect as manually > unplugging/plugging... > Any other suggestions? One other possib

Re: [linux-usb-devel] enumerating devices in a usb hub

2006-07-10 Thread Paulo R. Zanoni
Ok. I unbinded it, but when I binded it again, the same problem happened. It gave me those error messages =( So I guess unbinding/binding doesn't have the same effect as manually unplugging/plugging... Any other suggestions? Thank you a lot for helping me! Paulo. > On Fri, 7 Jul 2006, Paulo R. Z

Re: [linux-usb-devel] enumerating devices in a usb hub

2006-07-07 Thread Alan Stern
On Fri, 7 Jul 2006, Paulo R. Zanoni wrote: > 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_NO

Re: [linux-usb-devel] enumerating devices in a usb hub

2006-07-07 Thread Paulo R. Zanoni
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->s

Re: [linux-usb-devel] enumerating devices in a usb hub

2006-07-07 Thread Paulo R. Zanoni
> 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, th

Re: [linux-usb-devel] enumerating devices in a usb hub

2006-07-07 Thread Alan Stern
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 th

Re: [linux-usb-devel] enumerating devices in a usb hub

2006-07-07 Thread Paulo R. Zanoni
> Can you just test all your hardware and find combinations of > keyboards/hubs that work together? We have a lot of these keyboards/hubs that are incompatible. We've just got a few or the "working" hardware, and we won't be able to use them. Of course, there are combinations that work together (th

Re: [linux-usb-devel] enumerating devices in a usb hub

2006-07-06 Thread Alan Stern
On Thu, 6 Jul 2006, Paulo R. Zanoni wrote: > More information: > > Mice work when connected to the hub. Only keyboard doesn't. > Some keyboards work with this hub, some 2.0 hubs work with this keyboard. > I have A LOT (really) of these keyboards/hubs, that's why I'm trying to > solve the problem

Re: [linux-usb-devel] enumerating devices in a usb hub

2006-07-06 Thread Alan Stern
On Wed, 5 Jul 2006, Paulo R. Zanoni wrote: > Ah, yes, as a quick test I can. They keyboard works fine if it's connected > to the computer instead of the hub. > > The problem is probably the hub. > Also, I tested the same keyboard with another hub, the keyboard works. > Also, I tested with the ori

Re: [linux-usb-devel] enumerating devices in a usb hub

2006-07-06 Thread Paulo R. Zanoni
More information: Mice work when connected to the hub. Only keyboard doesn't. Some keyboards work with this hub, some 2.0 hubs work with this keyboard. I have A LOT (really) of these keyboards/hubs, that's why I'm trying to solve the problem without changing the hardware. Do you guys think there

Re: [linux-usb-devel] enumerating devices in a usb hub

2006-07-05 Thread Paulo R. Zanoni
Ah, yes, as a quick test I can. They keyboard works fine if it's connected to the computer instead of the hub. The problem is probably the hub. Also, I tested the same keyboard with another hub, the keyboard works. Also, I tested with the original hub, but another keyboard, and it worked too. The

Re: [linux-usb-devel] enumerating devices in a usb hub

2006-07-05 Thread Alan Stern
On Wed, 5 Jul 2006, Paulo R. Zanoni wrote: > No, it's not 2 hubs... > > It's only one "physical" hub, with 7 ports. I think it simulates 2 hubs > with 4 ports each, or maybe there are REALLY 2 hubs inside the little > box... But they sell saying that it's 1 hub with 7 ports. > > And I can't plug

Re: [linux-usb-devel] enumerating devices in a usb hub

2006-07-05 Thread Alan Stern
On Wed, 5 Jul 2006, Paulo R. Zanoni wrote: > But, isn't there a way to "turn around" it? > If manually unplugging/plugging solves the problem? Isn't there a way to > simulate unplugging/plugging using software? (the program someone sent me > didn't work). It depends on the type of hub you use. W

Re: [linux-usb-devel] enumerating devices in a usb hub

2006-07-05 Thread Paulo R. Zanoni
No, it's not 2 hubs... It's only one "physical" hub, with 7 ports. I think it simulates 2 hubs with 4 ports each, or maybe there are REALLY 2 hubs inside the little box... But they sell saying that it's 1 hub with 7 ports. And I can't plug it directly to the computer... I have 4 keyboards and 4 m

Re: [linux-usb-devel] enumerating devices in a usb hub

2006-07-05 Thread Paulo R. Zanoni
But, isn't there a way to "turn around" it? If manually unplugging/plugging solves the problem? Isn't there a way to simulate unplugging/plugging using software? (the program someone sent me didn't work). Thanks a lot!! > On Wednesday 05 July 2006 7:25 am, Paulo R. Zanoni wrote: > >> >> With the

Re: [linux-usb-devel] enumerating devices in a usb hub

2006-07-05 Thread Alan Stern
On Wed, 5 Jul 2006, Paulo R. Zanoni wrote: > We've tried using this "ac power control", but it didn't work. > We turned off the port, then we turned it on, but the bug still happened. > Turning the port on/off has not the same effect as unplugging/plugging > manually. Like I said, many brands of

Re: [linux-usb-devel] enumerating devices in a usb hub

2006-07-05 Thread David Brownell
On Wednesday 05 July 2006 7:25 am, Paulo R. Zanoni wrote: > > With the computer powered off I connect the keyboard on the USB HUB and > then I connect the usb hub to the computer. When, I turn on the computer, > I get a lot of error messages, and the keyboard doesn't work. > > The messages I get

Re: [linux-usb-devel] enumerating devices in a usb hub

2006-07-05 Thread Alan Stern
On Wed, 5 Jul 2006, Paulo R. Zanoni wrote: > Hi. > > Please help me. > > My problem is this: > I have a keyboard (that uses usb 2.0) and a USB HUB. > > With the computer powered off I connect the keyboard on the USB HUB and > then I connect the usb hub to the computer. When, I turn on the compu

[linux-usb-devel] enumerating devices in a usb hub

2006-07-05 Thread Paulo R. Zanoni
Hi. Please help me. My problem is this: I have a keyboard (that uses usb 2.0) and a USB HUB. With the computer powered off I connect the keyboard on the USB HUB and then I connect the usb hub to the computer. When, I turn on the computer, I get a lot of error messages, and the keyboard doesn't w