> > > From: Pretorian [mailto:[EMAIL PROTECTED]]
> > > 
> > > > Hi there,
> > > > I've got a Trust ISDN USB Modem 64k/128k, and linux 2.2.16 
> > > patched for usb backport, which
> > > > currently appears to work. Yeah, i've already mounted the 
> > > filesystem.
> > > > However, if i create the /dev/ttyACM files, the system
> > > > reports ttyACM as Invalid Argoment... I don't know why.. 
> > > > The kernel detects the USB Modem, but it won't work...
> > > > I have the usbcore, acm, usb-uhci modules loaded. 
> > > > 
> > > > INFO ON USB DEVICES:
> > > > =====================================
> > > > usb.c: unhandled interfaces on device
> > > > usb.c: This device is not recognized by any installed 
> USB driver.
> > > >   Length              = 18
> > > >   DescriptorType      = 01
> > > >   USB version         = 1.00
> > > >   Vendor:Product      = 07b0:0001
> > > >   MaxPacketSize0      = 8
> > > >   NumConfigurations   = 1
> > > >   Device version      = 0.06
> > > >   Device Class:SubClass:Protocol = 00:00:00
> > > >     Per-interface classes
> > > > Configuration:
> > > >   bLength             =    9
> > > >   bDescriptorType     =   02
> > > >   wTotalLength        = 0027
> > > >   bNumInterfaces      =   01
> > > >   bConfigurationValue =   01
> > > >   iConfiguration      =   00
> > > >   bmAttributes        =   a0
> > > >   MaxPower            =  250mA
> > > >  
> > > >   Interface: 0
> > > >   Alternate Setting:  0
> > > >     bLength             =    9
> > > >     bDescriptorType     =   04
> > > >     bInterfaceNumber    =   00
> > > >     bAlternateSetting   =   00
> > > >     bNumEndpoints       =   03
> > > >     bInterface Class:SubClass:Protocol =   ff:ff:00
> > > >     iInterface          =   00
> > > >     Endpoint:
> > > >       bLength             =    7
> > > >       bDescriptorType     =   05
> > > >       bEndpointAddress    =   81 (in)
> > > >       bmAttributes        =   03 (Interrupt)
> > > >       wMaxPacketSize      = 0028
> > > >       bInterval           =   01
> > > >     Endpoint:
> > > >       bLength             =    7
> > > >       bDescriptorType     =   05
> > > >       bEndpointAddress    =   01 (out)
> > > >       bmAttributes        =   01 (Isochronous)
> > > >       wMaxPacketSize      = 0028
> > > >       bInterval           =   00
> > > >     Endpoint:
> > > >       bLength             =    7
> > > >       bDescriptorType     =   05
> > > >       bEndpointAddress    =   83 (in)
> > > >       bmAttributes        =   03 (Interrupt)
> > > >       wMaxPacketSize      = 0008
> > > >       bInterval           =   01
> > > >  
> > > >  CAT /PROC/BUS/USB/DEVICES    -after plugged-
> > > > ===========================================
> > > >  
> > > > T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 
> Spd=12  MxCh= 2
> > > > B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
> > > > D:  Ver= 1.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
> > > > P:  Vendor=0000 ProdID=0000 Rev= 0.00
> > > > S:  Product=USB UHCI Root Hub
> > > > S:  SerialNumber=d400
> > > > 
> > > > C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
> > > > I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 
> Driver=hub
> > > > E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=255ms
> > > > T:  Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=  2 
> Spd=12  MxCh= 0
> > > > D:  Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
> > > > P:  Vendor=07b0 ProdID=0001 Rev= 0.06
> > > > S:  Product=ISDN USB TA
> > > > S:  SerialNumber=Firmware : Rev. 1.01
> > > > 
> > > > C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=250mA
> > > > I:  If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=00 
> Driver=(none)
> > > > E:  Ad=81(I) Atr=03(Int.) MxPS=  40 Ivl=  1ms
> > > > E:  Ad=01(O) Atr=01(Isoc) MxPS=  40 Ivl=  0ms
> > > > E:  Ad=83(I) Atr=03(Int.) MxPS=   8 Ivl=  1ms
> > > > 
> > > > =================================================
> > > > 
> > > > Hi,
> > > > 
> > > > Did you make the ttyACM devices nodes like as described in
> > > > http://www.linux-usb.org/USB-guide/x318.html ?
> > > > 
> > > > What are the exact error messages that you get?
> > > > 
> > > > However, even after this is done correctly, the acm driver
> > > > still won't detect and use your modem (ISDN TA).
> > > > Your device doesn't fit the ACM (Abstract Control Model)
> > > > of the USB Communications Device Class, and that's
> > > > all that the acm driver supports.
> > > > 
> > > > ~Randy
> > > > 
> > > > 
> > > 
> > > I've already made the ttyACMx devices, but if i do a cat 
> > > /dev/usb/ttyACMx or using it through a program like 
> minicom it says:
> > > 
> > > /dev/usb/ttyACMx: Invalid Argument
> > > 
> > > Usually, with others devices the message was:
> > > 
> > > /dev/xxxxx: No such Device
> > > 
> > > I Don't know if my modem is ACM compliant... i'll take a 
> > > minute to contact the company...
> > > 
> > > What's your answer?
> > > 
> > > ______________________________________________________________
> > 
> > Well, you might have a permissions problem on /dev/usb/ttyACM* .
> > What does 'ls -l /dev/usb' show?
> > 
> > I have all of my /dev/usb/ttyACM* as rw-rw-rw- (666)
> > and minicom will talk to them.
> > 
> > ~Randy
> > 
> it shows this:
> 
> total 32
> drwxr-xr-x   2 root     root         4096 Jul 19 19:53 ./
> drwxr-xr-x   7 root     root        28672 Jul 20 14:29 ../
> crw-rw-rw-   1 root     root     166,   0 Jul 19 19:53 ttyACM0
> crw-rw-rw-   1 root     root     166,   1 Jul 19 19:53 ttyACM1
> crw-rw-rw-   1 root     root     166,   2 Jul 19 19:53 ttyACM2
> 
> however the problem is still on, if i'm root...
> look this:
> 
> nopt:/# cd dev/usb/
> nopt:/dev/usb# ls
> ttyACM0  ttyACM1  ttyACM2
> nopt:/dev/usb# cat ttyACM*
> cat: ttyACM0: Invalid argument
> cat: ttyACM1: Invalid argument
> cat: ttyACM2: Invalid argument
> nopt:/dev/usb# cd ..
> nopt:/dev# cat isdnctrl1
> cat: isdnctrl1: No such device
> nopt:/dev#
> 
> These are two example from 2 different devices.. really, i 
> don't know what's happening... but you have got my same modem?
> ______________________________________________________________

I don't know why you are seeing "Invalid argument".
I don't get that.

And no, I don't have the same modem as yours.

~Randy



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to