Frank,Pour avoir un /proc/bus/usb il faut avoir compilé votre kernel avec les bonnes options .. et que l'usb soit démaré, ce qui semble être le cas ..
options du kernel : pour /proc dans : File systems ---> [*] /proc file system support pour usb dans : USB support ---> [*] Preliminary USB device filesystem Voir le Help associé à cette option : << CONFIG_USB_DEVICEFS: If you say Y here (and to "/proc file system support" in the "Filesystems section, above), you will get a file /proc/bus/usb/devices which lists the devices currently connected to your USB bus or busses, a file /proc/bus/usb/drivers which lists the USB kernel
client drivers currently loaded, and for every connected device a file named "/proc/bus/usb/xxx/yyy", where xxx is the bus number and yyy the device number; the latter files can be used by user spaceprograms to talk directly to the device. These files are "virtual", meaning they are generated on the fly and not stored on the hard drive.
You may need to mount the usbdevfs file system to see the files, use mount -t usbdevfs none /proc/bus/usb
Vous pouvez ajouter la ligne suivante à votre /Etc/fstab none /proc/bus/usb usbfs defaults 0 0 (void /usr/src/linux/Documentation/usb/proc_usb_info.txt) Ouf! -- - Jean-Luc Le 07.12.2003 18:27, Franck Sebbah a écrit : |Merci pour une réponse des plus rapides |Souris: | |> Faites cat /proc/bus/usb/devices pour avoir plus d'informations. | | | |--> Probleme je n'ai pas de /proc/bus/usb
Attachment:
pgpxGILnXJf48.pgp
Description: PGP signature