Re: [Linux-usb-users] detecting a usb modem

2002-08-16 Thread Greg KH
On Thu, Aug 15, 2002 at 08:42:28AM +0200, Trevor Spiteri wrote: > > dmesg shows me: > hub.c: USB new device connect on bus1/1, assigned device number 5 > usbserial.c: FTDI 8U232AM converter detected > usbserial.c: FTDI 8U232AM converter now attached to ttyUSB1 (or > usb/tts/1 for devfs) > > So I

Re: [Linux-usb-users] detecting a usb modem

2002-08-14 Thread Trevor Spiteri
On Wed, 2002-08-14 at 21:17, Greg KH wrote: > /sbin/hotplug gets run when the device is plugged in. But the minor > number isn't being passed to it (yet...for 2.5 we're working on it...) Yes, /sbin/hotplug is called with the id but not the minor number. So I do not know how can I make a program

Re: [Linux-usb-users] detecting a usb modem

2002-08-14 Thread Greg KH
On Wed, Aug 14, 2002 at 12:29:59PM +0200, Trevor Spiteri wrote: > Hi all > > How can I autodetect an inserted USB modem and run some program when it > is inserted? The modem has an FTDI chip and I modified the ftdi_sio > kernel driver to detect its id (vendor id 0x0f94, product id 0x0001). As > s

[Linux-usb-users] detecting a usb modem

2002-08-14 Thread Trevor Spiteri
Hi all How can I autodetect an inserted USB modem and run some program when it is inserted? The modem has an FTDI chip and I modified the ftdi_sio kernel driver to detect its id (vendor id 0x0f94, product id 0x0001). As soon as I insert it, the FTDI driver detects it and creates the device 188, 0