On Saturday 30 September 2006 23:43, Andrew Benton wrote:
> Hello world,
> Is there a way to get the kernel to say what revision of Speedtouch is
> attached it? Perhaps by reading a file in /proc or /sys? It used to have
> details in /proc/bus/usb/devices but that file doesn't seem to be there
> anymore. I think it disappeared with the 2.6.16 kernel?
> So, does anyone know of a command to find out what revision of modem is
> connected to a usb port?
You just need to mount usbfs, eg:
mount -t usbfs usbfs /proc/bus/usb
then have a look in /proc/bus/usb/devices.
You can also look in /sys/bus/usb/speedtch/(device_name)/version
Ciao,
Duncan.
Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se d�sinscrire : mailto:[EMAIL PROTECTED]