Hello,

I have one usb mouse and two usb keyboards installed. What do I have to do, 
so that the keyboards always use the same event device. Right now they work 
but every boot they use a different event device so that I don't know in 
advance which one to use. And often I have to restart the usbmgr once before 
they work, because for one reason the usbmgr first loads the drivers and than 
unloads them again.

roland:~# cat /proc/bus/usb/drivers
         usbdevfs
         hub
         hid
roland:~# cat /proc/bus/usb/devices
T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 4
B:  Alloc=340/900 us (38%), #Int=  4, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 0.00
S:  Product=USB OHCI Root Hub
S:  SerialNumber=c00dc000
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms
T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=12  MxCh= 3
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=046d ProdID=0b01 Rev= 2.00
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   1 Ivl=255ms
T:  Bus=01 Lev=02 Prnt=02 Port=00 Cnt=01 Dev#=  4 Spd=1.5 MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=046d ProdID=c303 Rev= 7.00
S:  Product=USB Keyboard
C:* #Ifs= 2 Cfg#= 1 Atr=a0 MxPwr= 80mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=01 Driver=hid
E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl= 10ms
I:  If#= 1 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=00 Prot=00 Driver=hid
E:  Ad=82(I) Atr=03(Int.) MxPS=   8 Ivl= 32ms
T:  Bus=01 Lev=02 Prnt=02 Port=01 Cnt=02 Dev#=  5 Spd=1.5 MxCh= 0
D:  Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=046a ProdID=0001 Rev= 9.08
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=01 Driver=hid
E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl= 12ms
T:  Bus=01 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#=  3 Spd=1.5 MxCh= 0
D:  Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=05fe ProdID=0005 Rev= 3.00
S:  Manufacturer=Cypress Sem.
S:  Product=USB Mouse
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=02 Driver=hid
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl= 10ms

The attachment is the relavant information from syslog for the last 3 boots.
My system is: Linux 2.4.18, Debian unstable, usbmgr 0.4.8.

regards
Roland Schulz

May 11 01:35:41 roland syslogd 1.4.1#10: restart.
May 11 01:35:46 roland usbmgr[417]: start 0.4.8
May 11 01:35:46 roland kernel: usb.c: registered new driver usbdevfs
May 11 01:35:46 roland kernel: usb.c: registered new driver hub
May 11 01:35:46 roland kernel: usb.c: registered new driver hid
May 11 01:35:46 roland kernel: hid-core.c: v1.8 Andreas Gal, Vojtech Pavlik 
<[EMAIL PROTECTED]>
May 11 01:35:46 roland kernel: hid-core.c: USB HID support drivers
May 11 01:35:46 roland usbmgr[419]: "hid" was loaded
May 11 01:35:46 roland usbmgr[419]: "mousedev" was loaded
May 11 01:35:47 roland kernel: usb-ohci.c: USB OHCI at membase 0xc00dc000, IRQ 19
May 11 01:35:47 roland kernel: usb-ohci.c: usb-00:07.4, Advanced Micro Devices [AMD] 
AMD-765 [Viper] USB
May 11 01:35:47 roland kernel: usb.c: new USB bus registered, assigned bus number 1
May 11 01:35:47 roland kernel: hub.c: USB hub found
May 11 01:35:47 roland usbmgr[419]: "usb-ohci" was loaded
May 11 01:35:47 roland usbmgr[487]: mount /proc/bus/usb
May 11 01:35:47 roland kernel: hub.c: USB new device connect on bus1/1, assigned 
device number 2
May 11 01:35:47 roland kernel: hub.c: USB hub found
May 11 01:35:47 roland usbmgr[419]: class:0x9 subclass:0x0 protocol:0x0
May 11 01:35:47 roland usbmgr[419]: USB device is matched the configuration
May 11 01:35:48 roland usbmgr[419]: "none" isn't loaded
May 11 01:35:48 roland kernel: hub.c: USB new device connect on bus1/2, assigned 
device number 3
May 11 01:35:48 roland usbmgr[419]: vendor:0x46d product:0xb01
May 11 01:35:48 roland usbmgr[419]: class:0x9 subclass:0x0 protocol:0x0
May 11 01:35:48 roland kernel: input0: USB HID v1.00 Mouse [Cypress Sem. USB Mouse] on 
usb1:3.0
May 11 01:35:48 roland usbmgr[419]: USB device is matched the configuration
May 11 01:35:48 roland usbmgr[419]: "none" isn't loaded
May 11 01:35:48 roland kernel: hub.c: USB new device connect on bus1/1/1, assigned 
device number 4
May 11 01:35:48 roland kernel: input1: USB HID v1.10 Keyboard [046d:c303] on usb1:4.0
May 11 01:35:48 roland kernel: input2: USB HID v1.10 Pointer [046d:c303] on usb1:4.1
May 11 01:35:48 roland usbmgr[419]: vendor:0x46d product:0xc303
May 11 01:35:48 roland usbmgr[419]: class:0x3 subclass:0x0 protocol:0x0
May 11 01:35:49 roland usbmgr[419]: USB device is matched the configuration
May 11 01:35:49 roland usbmgr[419]: "evdev" was loaded
May 11 01:35:49 roland usbmgr[419]: vendor:0x5fe product:0x5
May 11 01:35:49 roland usbmgr[419]: class:0x3 subclass:0x1 protocol:0x2
May 11 01:35:49 roland usbmgr[419]: USB device is matched the configuration
May 11 01:35:49 roland kernel: hub.c: USB new device connect on bus1/1/2, assigned 
device number 5
May 11 01:35:49 roland kernel: input3: USB HID v1.00 Keyboard [046a:0001] on usb1:5.0
May 11 01:35:49 roland usbmgr[419]: vendor:0x46a product:0x1
May 11 01:35:49 roland usbmgr[419]: class:0x3 subclass:0x1 protocol:0x1
May 11 01:35:50 roland usbmgr[419]: USB device is matched the configuration
May 11 01:35:50 roland usbmgr[419]: "evdev" was loaded
May 11 01:45:30 roland usbmgr[1463]: start 0.4.8
May 11 01:45:30 roland usbmgr[1465]: "hid" was loaded
May 11 01:45:30 roland usbmgr[1465]: "mousedev" was loaded
May 11 01:45:31 roland usbmgr[1465]: class:0x9 subclass:0x0 protocol:0x0
May 11 01:45:31 roland usbmgr[1465]: USB device is matched the configuration
May 11 01:45:31 roland usbmgr[1465]: "none" isn't loaded
May 11 01:45:31 roland usbmgr[1465]: vendor:0x46d product:0xb01
May 11 01:45:31 roland usbmgr[1465]: class:0x9 subclass:0x0 protocol:0x0
May 11 01:45:31 roland usbmgr[1465]: USB device is matched the configuration
May 11 01:45:31 roland usbmgr[1465]: "none" isn't loaded
May 11 01:45:31 roland usbmgr[1465]: vendor:0x46d product:0xc303
May 11 01:45:31 roland usbmgr[1465]: class:0x3 subclass:0x0 protocol:0x0
May 11 01:45:31 roland usbmgr[1465]: USB device is matched the configuration
May 11 01:45:31 roland usbmgr[1465]: "evdev" was loaded
May 11 01:45:32 roland usbmgr[1465]: vendor:0x46a product:0x1
May 11 01:45:32 roland usbmgr[1465]: class:0x3 subclass:0x1 protocol:0x1
May 11 01:45:32 roland usbmgr[1465]: USB device is matched the configuration
May 11 01:45:32 roland usbmgr[1465]: "evdev" was loaded
May 11 01:45:32 roland usbmgr[1465]: vendor:0x5fe product:0x5
May 11 01:45:32 roland usbmgr[1465]: class:0x3 subclass:0x1 protocol:0x2
May 11 01:45:32 roland usbmgr[1465]: USB device is matched the configuration
May 11 01:46:29 roland usbmgr[1465]: bye!
May 11 01:46:30 roland usbmgr[1597]: start 0.4.8
May 11 01:46:30 roland usbmgr[1599]: "hid" was loaded
May 11 01:46:30 roland usbmgr[1599]: "mousedev" was loaded
May 11 01:46:31 roland usbmgr[1599]: class:0x9 subclass:0x0 protocol:0x0
May 11 01:46:31 roland usbmgr[1599]: USB device is matched the configuration
May 11 01:46:31 roland usbmgr[1599]: "none" isn't loaded
May 11 01:46:31 roland usbmgr[1599]: vendor:0x46d product:0xb01
May 11 01:46:31 roland usbmgr[1599]: class:0x9 subclass:0x0 protocol:0x0
May 11 01:46:31 roland usbmgr[1599]: USB device is matched the configuration
May 11 01:46:31 roland usbmgr[1599]: "none" isn't loaded
May 11 01:46:31 roland usbmgr[1599]: vendor:0x46d product:0xc303
May 11 01:46:31 roland usbmgr[1599]: class:0x3 subclass:0x0 protocol:0x0
May 11 01:46:31 roland usbmgr[1599]: USB device is matched the configuration
May 11 01:46:31 roland usbmgr[1599]: "evdev" was loaded
May 11 01:46:31 roland usbmgr[1599]: vendor:0x46a product:0x1
May 11 01:46:31 roland usbmgr[1599]: class:0x3 subclass:0x1 protocol:0x1
May 11 01:46:32 roland usbmgr[1599]: USB device is matched the configuration
May 11 01:46:32 roland usbmgr[1599]: "evdev" was loaded
May 11 01:46:32 roland usbmgr[1599]: vendor:0x5fe product:0x5
May 11 01:46:32 roland usbmgr[1599]: class:0x3 subclass:0x1 protocol:0x2
May 11 01:46:32 roland usbmgr[1599]: USB device is matched the configuration
May 11 02:06:19 roland usbmgr[1599]: bye!
May 11 02:07:32 roland syslogd 1.4.1#10: restart.
May 11 02:07:37 roland usbmgr[377]: start 0.4.8
May 11 02:07:37 roland kernel: usb.c: registered new driver usbdevfs
May 11 02:07:37 roland kernel: usb.c: registered new driver hub
May 11 02:07:37 roland kernel: usb.c: registered new driver hid
May 11 02:07:37 roland kernel: hid-core.c: v1.8 Andreas Gal, Vojtech Pavlik 
<[EMAIL PROTECTED]>
May 11 02:07:37 roland kernel: hid-core.c: USB HID support drivers
May 11 02:07:37 roland usbmgr[379]: "hid" was loaded
May 11 02:07:37 roland usbmgr[379]: "mousedev" was loaded
May 11 02:07:37 roland kernel: usb-ohci.c: USB OHCI at membase 0xc00dc000, IRQ 19
May 11 02:07:37 roland kernel: usb-ohci.c: usb-00:07.4, Advanced Micro Devices [AMD] 
AMD-765 [Viper] USB
May 11 02:07:37 roland kernel: usb.c: new USB bus registered, assigned bus number 1
May 11 02:07:37 roland kernel: hub.c: USB hub found
May 11 02:07:37 roland usbmgr[379]: "usb-ohci" was loaded
May 11 02:07:37 roland usbmgr[445]: mount /proc/bus/usb
May 11 02:07:37 roland kernel: hub.c: USB new device connect on bus1/1, assigned 
device number 2
May 11 02:07:37 roland kernel: hub.c: USB hub found
May 11 02:07:38 roland usbmgr[379]: class:0x9 subclass:0x0 protocol:0x0
May 11 02:07:38 roland usbmgr[379]: USB device is matched the configuration
May 11 02:07:38 roland usbmgr[379]: "none" isn't loaded
May 11 02:07:38 roland kernel: hub.c: USB new device connect on bus1/2, assigned 
device number 3
May 11 02:07:38 roland kernel: input0: USB HID v1.00 Mouse [Cypress Sem. USB Mouse] on 
usb1:3.0
May 11 02:07:38 roland usbmgr[379]: vendor:0x46d product:0xb01
May 11 02:07:38 roland usbmgr[379]: class:0x9 subclass:0x0 protocol:0x0
May 11 02:07:39 roland kernel: hub.c: USB new device connect on bus1/1/1, assigned 
device number 4
May 11 02:07:39 roland kernel: input1: USB HID v1.10 Keyboard [046d:c303] on usb1:4.0
May 11 02:07:39 roland kernel: input2: USB HID v1.10 Pointer [046d:c303] on usb1:4.1
May 11 02:07:39 roland usbmgr[379]: USB device is matched the configuration
May 11 02:07:39 roland usbmgr[379]: "none" isn't loaded
May 11 02:07:39 roland kernel: hub.c: USB new device connect on bus1/1/2, assigned 
device number 5
May 11 02:07:39 roland kernel: input3: USB HID v1.00 Keyboard [046a:0001] on usb1:5.0
May 11 02:07:39 roland usbmgr[379]: vendor:0x46d product:0xc303
May 11 02:07:39 roland usbmgr[379]: class:0x3 subclass:0x0 protocol:0x0
May 11 02:07:40 roland usbmgr[379]: USB device is matched the configuration
May 11 02:07:40 roland usbmgr[379]: "evdev" was loaded
May 11 02:07:40 roland usbmgr[379]: vendor:0x46a product:0x1
May 11 02:07:40 roland usbmgr[379]: class:0x3 subclass:0x1 protocol:0x1
May 11 02:07:40 roland usbmgr[379]: USB device is matched the configuration
May 11 02:07:40 roland usbmgr[379]: "evdev" was loaded
May 11 02:07:40 roland usbmgr[379]: vendor:0x5fe product:0x5
May 11 02:07:40 roland usbmgr[379]: class:0x3 subclass:0x1 protocol:0x2
May 11 02:07:40 roland usbmgr[379]: USB device is matched the configuration
May 11 11:08:14 roland syslogd 1.4.1#10: restart.
May 11 11:08:19 roland usbmgr[378]: start 0.4.8
May 11 11:08:19 roland kernel: usb.c: registered new driver usbdevfs
May 11 11:08:19 roland kernel: usb.c: registered new driver hub
May 11 11:08:19 roland kernel: usb.c: registered new driver hid
May 11 11:08:19 roland kernel: hid-core.c: v1.8 Andreas Gal, Vojtech Pavlik 
<[EMAIL PROTECTED]>
May 11 11:08:19 roland kernel: hid-core.c: USB HID support drivers
May 11 11:08:19 roland usbmgr[380]: "hid" was loaded
May 11 11:08:19 roland usbmgr[380]: "mousedev" was loaded
May 11 11:08:19 roland kernel: usb-ohci.c: USB OHCI at membase 0xc00dc000, IRQ 19
May 11 11:08:19 roland kernel: usb-ohci.c: usb-00:07.4, Advanced Micro Devices [AMD] 
AMD-765 [Viper] USB
May 11 11:08:19 roland kernel: usb.c: new USB bus registered, assigned bus number 1
May 11 11:08:19 roland kernel: hub.c: USB hub found
May 11 11:08:19 roland usbmgr[380]: "usb-ohci" was loaded
May 11 11:08:19 roland usbmgr[446]: mount /proc/bus/usb
May 11 11:08:20 roland kernel: hub.c: USB new device connect on bus1/1, assigned 
device number 2
May 11 11:08:20 roland kernel: hub.c: USB hub found
May 11 11:08:20 roland usbmgr[380]: class:0x9 subclass:0x0 protocol:0x0
May 11 11:08:20 roland usbmgr[380]: USB device is matched the configuration
May 11 11:08:20 roland usbmgr[380]: "none" isn't loaded
May 11 11:08:20 roland kernel: hub.c: USB new device connect on bus1/2, assigned 
device number 3
May 11 11:08:20 roland kernel: input0: USB HID v1.00 Mouse [Cypress Sem. USB Mouse] on 
usb1:3.0
May 11 11:08:20 roland usbmgr[380]: vendor:0x46d product:0xb01
May 11 11:08:20 roland usbmgr[380]: class:0x9 subclass:0x0 protocol:0x0
May 11 11:08:21 roland usbmgr[380]: USB device is matched the configuration
May 11 11:08:21 roland usbmgr[380]: "none" isn't loaded
May 11 11:08:21 roland kernel: hub.c: USB new device connect on bus1/1/1, assigned 
device number 4
May 11 11:08:21 roland kernel: input1: USB HID v1.10 Keyboard [046d:c303] on usb1:4.0
May 11 11:08:21 roland kernel: input2: USB HID v1.10 Pointer [046d:c303] on usb1:4.1
May 11 11:08:22 roland usbmgr[380]: vendor:0x46d product:0xc303
May 11 11:08:22 roland usbmgr[380]: class:0x3 subclass:0x0 protocol:0x0
May 11 11:08:22 roland kernel: hub.c: USB new device connect on bus1/1/2, assigned 
device number 5
May 11 11:08:22 roland kernel: input3: USB HID v1.00 Keyboard [046a:0001] on usb1:5.0
May 11 11:08:22 roland usbmgr[380]: USB device is matched the configuration
May 11 11:08:22 roland usbmgr[380]: "evdev" was loaded
May 11 11:08:22 roland usbmgr[380]: class:0x3 subclass:0x0 protocol:0x0
May 11 11:08:22 roland usbmgr[380]: USB device is matched the configuration
May 11 11:08:22 roland usbmgr[380]: "evdev" was loaded
May 11 11:08:22 roland usbmgr[380]: vendor:0x5fe product:0x5
May 11 11:08:22 roland usbmgr[380]: class:0x3 subclass:0x1 protocol:0x2
May 11 11:08:22 roland usbmgr[380]: USB device is matched the configuration
May 11 11:08:23 roland usbmgr[380]: vendor:0x46a product:0x1
May 11 11:08:23 roland usbmgr[380]: class:0x3 subclass:0x1 protocol:0x1
May 11 11:08:23 roland usbmgr[380]: USB device is matched the configuration
May 11 11:08:23 roland usbmgr[380]: "evdev" was loaded
May 11 11:08:23 roland usbmgr[380]: "evdev" was unloaded
May 11 11:11:52 roland usbmgr[914]: umount /proc/bus/usb
May 11 11:11:52 roland usbmgr[380]: bye!
May 11 11:11:53 roland usbmgr[916]: start 0.4.8
May 11 11:11:53 roland usbmgr[918]: "hid" was loaded
May 11 11:11:53 roland usbmgr[918]: "mousedev" was loaded
May 11 11:11:53 roland usbmgr[918]: "usb-ohci" was loaded
May 11 11:11:53 roland usbmgr[921]: mount /proc/bus/usb
May 11 11:11:54 roland usbmgr[918]: class:0x9 subclass:0x0 protocol:0x0
May 11 11:11:54 roland usbmgr[918]: USB device is matched the configuration
May 11 11:11:54 roland usbmgr[918]: "none" isn't loaded
May 11 11:11:54 roland usbmgr[918]: vendor:0x46d product:0xb01
May 11 11:11:54 roland usbmgr[918]: class:0x9 subclass:0x0 protocol:0x0
May 11 11:11:54 roland usbmgr[918]: USB device is matched the configuration
May 11 11:11:54 roland usbmgr[918]: "none" isn't loaded
May 11 11:11:54 roland usbmgr[918]: vendor:0x46d product:0xc303
May 11 11:11:54 roland usbmgr[918]: class:0x3 subclass:0x0 protocol:0x0
May 11 11:11:54 roland usbmgr[918]: USB device is matched the configuration
May 11 11:11:55 roland usbmgr[918]: "evdev" was loaded
May 11 11:11:55 roland usbmgr[918]: vendor:0x46a product:0x1
May 11 11:11:55 roland usbmgr[918]: class:0x3 subclass:0x1 protocol:0x1
May 11 11:11:55 roland usbmgr[918]: USB device is matched the configuration
May 11 11:11:55 roland usbmgr[918]: "evdev" was loaded
May 11 11:11:55 roland usbmgr[918]: vendor:0x5fe product:0x5
May 11 11:11:55 roland usbmgr[918]: class:0x3 subclass:0x1 protocol:0x2
May 11 11:11:55 roland usbmgr[918]: USB device is matched the configuration

Reply via email to