View previous topic :: View next topic |
Author |
Message |
Darknight Guru
Joined: 26 Jan 2004 Posts: 485 Location: Italy
|
Posted: Tue Oct 02, 2007 10:15 am Post subject: [SOLVED] ISDN usb ta: capi error no such device or address |
|
|
This is long but I hope I have included all relevant information.
I can't get my usb isdn ta to work, this is what I have until now.
Warning: the ta is NOT connected to an isdn line at the time of test, because I don't have access to an isdn line here. I can make further tests with the line if required, but the current problems don't seem (to my own ignorant self) related to the lack of a line.
uname -a
Code: | Linux mobile 2.6.22-gentoo-r5 #1 SMP PREEMPT Mon Sep 24 00:42:04 CEST 2007 i686 Genuine Intel(R) CPU T2400 @ 1.83GHz GenuineIntel GNU/Linux |
relevant part of lsusb -v
Code: | Bus 003 Device 002: ID 07b0:0006 Trust Technologies
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 2 Communications
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x07b0 Trust Technologies
idProduct 0x0006
bcdDevice 1.00
iManufacturer 1 ISDN USB TA
iProduct 1 ISDN USB TA
iSerial 1
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 199
bNumInterfaces 2
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xa0
Remote Wakeup
MaxPower 90mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 2 Communications
bInterfaceSubClass 128
bInterfaceProtocol 255
iInterface 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 10 CDC Data
bInterfaceSubClass 0 Unused
bInterfaceProtocol 255 Vendor specific
iInterface 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 1
bNumEndpoints 16
bInterfaceClass 10 CDC Data
bInterfaceSubClass 0 Unused
bInterfaceProtocol 255 Vendor specific
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0010 1x 16 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0010 1x 16 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0010 1x 16 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0010 1x 16 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0010 1x 16 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0010 1x 16 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x04 EP 4 OUT
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0010 1x 16 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x84 EP 4 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0010 1x 16 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x05 EP 5 OUT
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0010 1x 16 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x85 EP 5 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0010 1x 16 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x06 EP 6 OUT
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0010 1x 16 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x86 EP 6 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0010 1x 16 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x07 EP 7 OUT
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0010 1x 16 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x87 EP 7 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0010 1x 16 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x08 EP 8 OUT
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0010 1x 16 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x88 EP 8 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0010 1x 16 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 2
bNumEndpoints 6
bInterfaceClass 10 CDC Data
bInterfaceSubClass 0 Unused
bInterfaceProtocol 255 Vendor specific
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 4
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 4
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 4
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x05 EP 5 OUT
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0010 1x 16 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x06 EP 6 OUT
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0010 1x 16 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x07 EP 7 OUT
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0010 1x 16 bytes
bInterval 1
relevant part of cat /proc/bus/usb/devices
T: Bus=03 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=02(comm.) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=07b0 ProdID=0006 Rev= 1.00
S: Manufacturer=ISDN USB TA
S: Product=ISDN USB TA
S: SerialNumber=ISDN USB TA
C:* #Ifs= 2 Cfg#= 1 Atr=a0 MxPwr= 90mA
I:* If#= 0 Alt= 0 #EPs= 0 Cls=02(comm.) Sub=80 Prot=ff Driver=(none)
I: If#= 1 Alt= 0 #EPs= 0 Cls=0a(data ) Sub=00 Prot=ff Driver=hfc_usb
I: If#= 1 Alt= 1 #EPs=16 Cls=0a(data ) Sub=00 Prot=ff Driver=hfc_usb
E: Ad=01(O) Atr=03(Int.) MxPS= 16 Ivl=1ms
E: Ad=81(I) Atr=03(Int.) MxPS= 16 Ivl=1ms
E: Ad=02(O) Atr=03(Int.) MxPS= 16 Ivl=1ms
E: Ad=82(I) Atr=03(Int.) MxPS= 16 Ivl=1ms
E: Ad=03(O) Atr=03(Int.) MxPS= 16 Ivl=1ms
E: Ad=83(I) Atr=03(Int.) MxPS= 16 Ivl=1ms
E: Ad=04(O) Atr=03(Int.) MxPS= 16 Ivl=1ms
E: Ad=84(I) Atr=03(Int.) MxPS= 16 Ivl=1ms
E: Ad=05(O) Atr=01(Isoc) MxPS= 16 Ivl=1ms
E: Ad=85(I) Atr=01(Isoc) MxPS= 16 Ivl=1ms
E: Ad=06(O) Atr=01(Isoc) MxPS= 16 Ivl=1ms
E: Ad=86(I) Atr=01(Isoc) MxPS= 16 Ivl=1ms
E: Ad=07(O) Atr=01(Isoc) MxPS= 16 Ivl=1ms
E: Ad=87(I) Atr=01(Isoc) MxPS= 16 Ivl=1ms
E: Ad=08(O) Atr=01(Isoc) MxPS= 16 Ivl=1ms
E: Ad=88(I) Atr=01(Isoc) MxPS= 16 Ivl=1ms
I:* If#= 1 Alt= 2 #EPs= 6 Cls=0a(data ) Sub=00 Prot=ff Driver=hfc_usb
E: Ad=81(I) Atr=03(Int.) MxPS= 64 Ivl=4ms
E: Ad=82(I) Atr=03(Int.) MxPS= 64 Ivl=4ms
E: Ad=83(I) Atr=03(Int.) MxPS= 64 Ivl=4ms
E: Ad=05(O) Atr=01(Isoc) MxPS= 16 Ivl=1ms
E: Ad=06(O) Atr=01(Isoc) MxPS= 16 Ivl=1ms
E: Ad=07(O) Atr=01(Isoc) MxPS= 16 Ivl=1ms
T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 45/900 us ( 5%), #Int= 1, #Iso= 1
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 2.06
S: Manufacturer=Linux 2.6.21-gentoo-r4 uhci_hcd
S: Product=UHCI Host Controller
S: SerialNumber=0000:00:1d.0
C:* #Ifs= 1 Cfg#= 1 Atr=e0 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= 2 Ivl=255ms |
relevant part of lsmod
Code: | Module Size Used by
mISDN_dsp 187752 0
hfcsusb 25612 0
mISDN_capi 83660 0
l3udss1 31244 0
mISDN_l2 31236 0
mISDN_l1 9196 0
mISDN_core 61568 6
mISDN_dsp,hfcsusb,mISDN_capi,l3udss1,mISDN_l2,mISDN_l1
capi 13760 0
capifs 4872 2 capi
kernelcapi 33492 2 mISDN_capi,capi
rfcomm 31256 7
l2cap 19712 5 rfcomm |
emerge -pv misdn
Code: | [ebuild R ] net-dialup/misdn-1.1.5 USE="-ecaggressive -eckb1 -ecmark2 -ecmg2" MISDN_CARDS="hfcsusb -avmfritz -hfcmulti -hfcpci -hfcsmini -netjetpci -sedlfax -w6692pci -xhfc" |
As far as I know (I may be wrong) this is supported by hfcsusb so I have uncommented the hfcsusb line in /etc/capi.conf and started capi as per gentoo initscript:
Code: | /etc/init.d/capi start
* Loading CAPI ... [ ok ]
* Starting CAPI ...
Loading only hfcsusb
-----------------------------------------
Loading module(s) for your misdn-cards:
-----------------------------------------
/sbin/modprobe --ignore-install hfcsusb protocol=0x2 layermask=0xf poll=128
/sbin/modprobe mISDN_dsp debug=0x0 options=0 poll=128 dtmfthreshold=100 [ ok ] |
Leds light up but capiinfo says: capi not installed - No such device or address (6)
dmesg:
Code: | CAPI Subsystem Rev 1.1.2.8
capifs: Rev 1.1.2.3
capi20: Rev 1.1.2.7: started up with major 68 (middleware+capifs)
Modular ISDN Stack core version () revision ($Revision: 1.40 $)
mISDNd: kernel daemon started (current:e7827a50)
mISDNd: test event done
ISDN L1 driver version 1.20
ISDN L2 driver version 1.32
mISDN: DSS1 Rev. 1.47
mISDN Capi 2.0 driver file version 1.21
ISAC module $Revision: 1.18 $
hfcsusb driver Rev. 1.29_ab (debug=0)
usbcore: registered new interface driver mISDN_hfcsusb
mISDN_dsp: Audio DSP Rev. 1.29 (debug=0x0) EchoCancellor MG2
dtmfthreshold(100)
mISDN_dsp: DSP clocks every 128 samples. This equals 16 jiffies.
usb 3-1: new full speed USB device using uhci_hcd and address 2
usb 3-1: configuration #1 chosen from 1 choice
HFC-S USB: probing interface(0) actalt(0) minor(0) vend_idx(9)
HFC-S USB: no valid endpoint found in USB descriptor
mISDN_hfcsusb: probe of 3-1:1.0 failed with error -5
HFC-S USB: probing interface(1) actalt(0) minor(0) vend_idx(9)
HFC-S USB: detected "Twister ISDN TA"
HFC-S USB: Endpoint-Config: 3 Interrupt IN + 3 Isochron OUT (if=1 alt=2) |
Using misdn 1.1.5 (latest available in portage).
Your help is much appreciated.
Last edited by Darknight on Mon Oct 08, 2007 12:05 pm; edited 1 time in total |
|
Back to top |
|
|
Darknight Guru
Joined: 26 Jan 2004 Posts: 485 Location: Italy
|
Posted: Mon Oct 08, 2007 12:04 pm Post subject: |
|
|
I solved the problem: edit /etc/misdn-init.conf and replace te_ptmp=1 with te_capi_ptmp=1 then
/etc/init.d/capi stop
modprobe -r hfcsusb
/etc/init.d/capi start
Bingo. |
|
Back to top |
|
|
mstockin n00b
Joined: 02 Jul 2004 Posts: 12 Location: Passau, Germany
|
Posted: Sat Oct 27, 2007 2:28 pm Post subject: |
|
|
Thank you very much!
I had exactly the same problem with an avmfritz (FritzCard PCI) and after changing the entry in /etc/misdn-init.conf as suggested it worked.
Thanks,
Marv |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|