Re: How to add a new USB device to usbmgr/hotplug? (fwd)
>what is the magic in adding a new USB device to the usbmgr/hotplug system
>such that it will be detected and the correct drivers loaded? My example
>is a new USB 2.0 flash memory drive which is usbmgr/hotplug don't
>recognise, but which works just fine after loading the drivers by hand.
>I have woody with a 2.4.17 kernel.
>I added to /etc/usbmgr/usbmgr.conf this line:
># a 256MB USB 2 flash drive (Apacer) vendor 0x1005 product 0xb113 module
>scsi_mod, sd_mod, usb-storage
>but it doesn't work. From /var/log/daemon.log after inserting the
device:
>May 15 16:07:59 lapkluth usbmgr[315]: vendor:0x1005 product:0xb113 May 15
>16:07:59 lapkluth usbmgr[315]: class:0x8 subclass:0x6 protocol:0x50 May
>15 16:07:59 lapkluth usbmgr[315]: USB device isn't matched the
>configuration
>Any hints anyone? Cheers, Stefan
Now I have the hint myself: RTFM, even though there are no man-pages for
usbmgr a little googling does the trick.
One needs to run
$ update_usbdb -f /etc/usbmgr/usbmgr.conf
On that occasion I realised that my existing /etc/usbmgr/usbmgr.conf was
broken:
update_usbdb: Syntax error near 5817 bytes offset in configuration file
update_usbdb: "vender 0x471 product 0x302 modul"
update_usbdb: configuration error /etc/usbmgr/usbmgr.conf
After fixing these typos and restarting usbmgr my new device is
recognised, finally! These bugs probably exist in the woody usgmgr
package, since I didn't edit this file before.
Cheers, Stefan
---Stefan Kluth, PhD----------Wissenschaftlicher Mitarbeiter-----------
- MPI fuer Physik - phone: +49 89 32354 468 - OPAL& -
- Foehringer Ring 6 - fax: +49 89 32354 305 - ATLAS -
---D-80805 Munich, Germany----e-mail: skluth@mppmu.mpg.de--------------
Reply to: