Copyright (C) 2004-2006 by Gabriele Giacone <losgarbo at libero dot it>
All products referenced on this website are either trademarks or
registered trademarks of their respective owners.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
published by the Free Software Foundation; either version 2 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
This is a Linux driver for Trust ISDN USB terminal adapters.
To check if your device is supported:
# lsusb
[...]
Bus 002 Device 002: ID 07b0:0001 Trust Technologies ISDN TA
[...] ^^^^ ^^^^
07b0 is VendorID
0001 is ProductID
VendorID | ProductID | Device | Supported |
07b0 | 0001 | Trust ISDN USB Modem | YES |
07b0 | 0001 | Mistral ISDN USB Modem | YES |
07b0 | 0002 | Trust ISDN USB Modem | NOT TESTED |
07b0 | 0003 | Trust ISDN USB Modem & Phone System | NOT TESTED |
07b0 | 0003 | | NOT TESTED |
07b0 | 0003 | | NOT TESTED |
07b0 | 0003 | Dex ISDN USB TA | NOT TESTED |
07b0 | 0005 | Trust ISDN USB Modem | NOT TESTED |
07b0 | 0006 | Trust ISDN USB Modem | Hisax (kernel) or mISDN |
07b0 | 0006 | Twister ISDN USB TA | Hisax (kernel) or mISDN |
07b0 | 0006 | | Hisax (kernel) or mISDN |
07b0 | 0007 | Trust Mini USB ISDN Modem | Hisax (kernel) or mISDN |
07b0 | 0007 | Billion tiny USB ISDN TA 128 | Hisax (kernel) or mISDN |
07b0 | 0007 | Billion USB TA 2 | Hisax (kernel) or mISDN |
07b0 | 0008 | Trust ISDN USB Modem | YES |
07b0 | 0008 | Topcom Xplorer 555 | YES |
Requirements
o Linux kernel 2.6.x [http://www.kernel.org]
o mISDN (Modular ISDN) [http://www.isdn4linux.de/mISDN]
ftp://ftp.isdn4linux.de/pub/isdn4linux/CVS-Snapshots/mISDN-CVS-yyyy-mm-dd.tar.bz2
o pppd [http://samba.org/ppp]
o capi4k-utils [ftp://ftp.in-berlin.de/pub/capi4linux]
ftp://ftp.in-berlin.de/pub/capi4linux/capi4k-utils-yyyy-mm-dd.tar.gz
Installation
- install pppd
- install capi4k-utils
- I assumed you had downloaded kernel, mISDN-CVS-yyyy-mm-dd.tar.bz2 and
trustisdnusbta-x.y.bz2 under /usr/src
# cd /usr/src
# tar jxpvf linux-2.6.x.tar.bz2
# ln -s linux-2.6.x linux
# tar jxpvf mISDN-CVS-yyyy-mm-dd.tar.bz2
# cd mISDN-CVS-yyyy-mm-dd
# ./std2kern # this will patch your kernel
# against mISDN
# cd ../linux
# bzcat ../trustisdnusbta-x.y.bz2 |patch -p1 # this will patch your kernel
# against trustusbta driver
- now your kernel is ready to be configured and compiled
- the following options must be enabled:
USB related options
<M> Support for Host-side USB
<M> EHCI HCD (USB 2.0) support
- it depends on your hardware, select it if unsure
<M> OHCI HCD support
- it depends on your hardware, select it if unsure
<M> UHCI HCD (most Intel and VIA) support
- it depends on your hardware, select it if unsure
ISDN related options
<M> ISDN support
--- CAPI subsystem
<M> CAPI2.0 support
[*] Verbose reason code reporting (kernel size +=7K)
[*] CAPI2.0 Middleware support (EXPERIMENTAL)
<M> CAPI2.0 /dev/capi support
[*] CAPI2.0 filesystem support
<M> CAPI2.0 capidrv interface support
Modular ISDN driver --->
<M> Support modular ISDN driver
[*] Support for Trust ISDN USB Modems
- compile it and reboot
- load mISDN modules :
# modprobe kernelcapi
# modprobe capi
# modprobe capifs
# modprobe mISDN_core
# modprobe mISDN_l1
# modprobe mISDN_l2
# modprobe l3udss1
# modprobe mISDN_capi
# modprobe mISDN_isac
# modprobe trustusbta
- after last modprobe command, PCLED of your ta should have been switched on
- it's time to configure pppd: under /etc/ppp/peers/isdn create a file "trustta"
like this (substitute username, password and phone_number_to_call with your data)
#-------------------------------
sync
noauth
name <username>
password <password>
plugin capiplugin.so
number <phone_number_to_call>
protocol hdlc
ipcp-accept-local
ipcp-accept-remote
/dev/null
defaultroute
noipdefault
usepeerdns
debug
#-------------------------------
# pppd call trustta # to start the call
- ISDN led and one of the other 2 (B1 or B2) start to blink and the connection
is established
# killall pppd # to terminate the call
NOTE: At this time, after call termination,
if you want to call again, you have to
unload and reload trustusbta module.
o Every call must be preceded by trustusbta module unload and load
o Multilink not supported yet
Any feedback will be really appreciated.
Email me to losgarbo < at > libero < dot > it [GPGkey on keyservers]
Top