From: Franz S. <Fra...@la...> - 2000-07-20 17:29:14
|
At 18:49 20.07.00, Dunlap, Randy wrote: > > From: Franz Sirl [mailto:Fra...@la...] > > > > At 08:30 20.07.00, Alexander Perry wrote: > > >In this case, we have no idea whether it is the > > >same device, so we naturally take the next free > > >device number. That's fine by me; I see it happen. > >Is the device disconnected and dropped, or just >dropped without being disconnected (as far as the >USB stack knows)? If the USB stack does a disconnect >for the device and then another connect happens, >the connected device will be assigned the same >device number. Or is this happening too quickly >for that to happen? That's why I moved the discussion to linuxconsole-dev, this is an input layer problem, not a USB problem (hopefully Linus will move that stuff over to drivers/input before 2.4). It will probably get assigned the same USB ID, but if the application still holds eg. /dev/input/js0 open, it will now be assigned to /dev/input/js1 :-(. And the application won't notice at all. >So linux-console discusses USB also? Man, I have too much >email already. :( Heh, then move the input drivers from drivers/usb to drivers/input where they belong. With a README file somewhere, the probability that bugs/problems will get reported to the right list should be somewhat higher :-). Franz. |