[speedtouch] Re: Modem Revision?

2006-10-02 Thread Andrew Benton
Duncan Sands wrote:
> Sorry, it should have read:
>   /sys/bus/usb/drivers/speedtch/(device_name)/version
> however I just noticed that the version field is not there, strange...
> As for /proc/bus/usb/devices being empty, are you sure you have a
> host controller driver loaded, like uhci-hcd?

I think the problem with /proc/bus/usb/devices being empty was a bug in 
gedit - it opens the file as an empty page. However, if I use cat 
/proc/bus/usb/devices the contents show up as they should. So the 
solution is to mount -t usbfs usbfs /proc/bus/usb and then use cat or 
grep. Thanks for your help

Andy


Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se d�sinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: Modem Revision?

2006-10-02 Thread Duncan Sands

On Monday 2 October 2006 00:37, Andrew Benton wrote:
> Duncan Sands wrote:
> > 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
> 
> That's a step forward, there is now something in /proc/bus/usb. However, 
> the file /proc/bus/usb/devices is blank. Also, /sys/bus/usb contains 
> only two folders, devices and drivers.

Sorry, it should have read:
/sys/bus/usb/drivers/speedtch/(device_name)/version
however I just noticed that the version field is not there, strange...
As for /proc/bus/usb/devices being empty, are you sure you have a
host controller driver loaded, like uhci-hcd?

Ciao,

Duncan.

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se d�sinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: Modem Revision?

2006-10-01 Thread Andrew Benton
Duncan Sands wrote:
> 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

That's a step forward, there is now something in /proc/bus/usb. However, 
the file /proc/bus/usb/devices is blank. Also, /sys/bus/usb contains 
only two folders, devices and drivers.

Andy

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se d�sinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: Modem Revision?

2006-10-01 Thread Duncan Sands

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]