Hi


After compiling a new kernel for my system
the hotplug now don't run the script /etc/hotplug/usb/usb-storage

I can manual mount any usb HD without any problem
and when I plug any usb HD the hotplug detect the new HD :

-===========================================-
Oct 17 16:56:05 [default.hotplug] invoke /etc/hotplug/usb.agent ()
Oct 17 16:56:32 [kernel] hub.c: new USB device 02:0e.0-2.4, assigned address 6
Oct 17 16:56:32 [kernel] Manufacturer: USB
Oct 17 16:56:32 [kernel] Product: Solid state disk
Oct 17 16:56:32 [kernel] SerialNumber: 3C7111E23DE16C06
Oct 17 16:56:32 [default.hotplug] arguments (usb) env (DEVFS=/proc/bus/usb OLDPWD=/ PATH=/bin:/sbin:/usr/sbin:/usr/bin ACTION=add PWD=/etc/hotplug HOME=/ SHLVL=2 DEVICE=/proc/bus/usb/002/006 INTERFACE=8/6/80 PRODUCT=ea0/6803/100 TYPE=0/0/0 DEBUG=kernel _=/bin/env)
-===========================================-
How can I make hotplug run /etc/hotplug/usb/usb-storage everytime there is a new USB pluged ?


My System is Gentoo 1.4 (Kernel 2.4.22)

# mount
/dev/hda4 on / type reiserfs (rw)
none on /proc type proc (rw)
none on /dev type devfs (rw)
/dev/hda1 on /mnt/win type ntfs (ro,umask=000,iocharset=utf8)
none on /dev/shm type tmpfs (rw)
usbdevfs on /proc/bus/usb type usbdevfs (rw)

dmesg :
...
..
hub.c: new USB device 02:0e.0-1, assigned address 8
usb.c: kmalloc IF c9f98bc0, numif 1
usb.c: new device strings: Mfr=1, Product=2, SerialNumber=3
usb.c: USB device number 8 default language ID 0x409
Manufacturer: USB
Product: Solid state disk
SerialNumber: 3C7111E23DE16C06
usb-storage: act_altsettting is 0
usb-storage: id_index calculated to be: 73
usb-storage: Array length appears to be: 75
usb-storage: USB Mass Storage device detected
usb-storage: Endpoints: In: 0xc1e02a80 Out: 0xc1e02a94 Int: 0xc1e02aa8 (Period 1)
usb-storage: Found existing GUID 0ea068033c7111e23de16c06
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 8
usb.c: usb-storage driver claimed interface c9f98bc0
usb.c: kusbd: /sbin/hotplug add 8
hub.c: port 2, portstatus 103, change 0, 12 Mb/s
hub.c: port 3, portstatus 100, change 0, 12 Mb/s




--
http://www.4-SMS.Com
http://eShop.4-SMS.Com
http://Mozilla.4-SMS.Com
-*- If Linux doesn't have the solution, you have the wrong problem -*-


-- [EMAIL PROTECTED] mailing list



Reply via email to