USB Device not found when hotplugging
Hi There,
I'm having a real problem with getting my USB hotplugging working. Basically, I have three USB peripherals (mouse, camera, and serial converter), all of which I would like to be able to hot plug. All of these devices are recognised without a problem when I have them plugged in before booting (i.e. coldplugging). They all appear in the /proc/bus/usb/devices file.
However, if I plug them in after boot, nothing happens. I have compiled in to my kernel USB debug messages, and still nothing in /var/log/messages, debug, syslog or kern.log, if I plug in a device whilst up and running.
My kernel version is 2.6.8 running a debian unstable distribution. In my kernel .config file I have CONFIG_HOTPLUG=y, and /proc/sys/kernel/hotplug contains /sbin/hotplug.
When I plug a device in, the /sbin/hotplug is never called. I have verified this by adding output to file commands in the script (I added 'echo $1 > "/root/hotplug.debug" to the script).
The usb drivers I have installed are usbcore, uhci-hcd & ehci-hcd (both correct using the output from lspci), usb-storage, usbserial and usbhid.
As things do work for cold-plugging, it can't be the driver setup, so must be something i've configured wrong to do with hotplugging support, but I can't find any info on that whatsoever after numerous google efforts.
Any suggestions?
Thanks for any help
salukibob
|