* device number increasing in /proc/bus/usb ?
@ 2003-11-22 23:27 wwp
2003-11-23 19:57 ` Randy.Dunlap
0 siblings, 1 reply; 2+ messages in thread
From: wwp @ 2003-11-22 23:27 UTC (permalink / raw)
To: linux-hotplug
Hi hotplug folks,
is it normal that device number increases each time I unplug/plug
an USB mouse? For instance: first plug shows /proc/bus/usb/xxx/nnn,
an each time I unplug/replug the device, nnn increases.
TIA,
--
wwp
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: device number increasing in /proc/bus/usb ?
2003-11-22 23:27 device number increasing in /proc/bus/usb ? wwp
@ 2003-11-23 19:57 ` Randy.Dunlap
0 siblings, 0 replies; 2+ messages in thread
From: Randy.Dunlap @ 2003-11-23 19:57 UTC (permalink / raw)
To: linux-hotplug
On Sun, 23 Nov 2003 00:27:18 +0100 wwp <subscript@free.fr> wrote:
| Hi hotplug folks,
|
|
| is it normal that device number increases each time I unplug/plug
| an USB mouse? For instance: first plug shows /proc/bus/usb/xxx/nnn,
| an each time I unplug/replug the device, nnn increases.
Yes, the USB subsystem doesn't reuse device numbers immediately.
Instead it assigns them in a round-robin manner, up to 127, then
restarting back at the low end with unassigned numbers.
--
~Randy
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-11-23 19:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-22 23:27 device number increasing in /proc/bus/usb ? wwp
2003-11-23 19:57 ` Randy.Dunlap
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).