Menu

Tree [4ea2ce] usbb2k-api tip /
 History

Read Only access


File Date Author Commit
 autom4te.cache 2010-01-26 simon_6162 simon_6162 [4ea2ce] Re-arranging the svn repo
 connector 2010-01-26 simon_6162 simon_6162 [4ea2ce] Re-arranging the svn repo
 debug 2010-01-26 simon_6162 simon_6162 [4ea2ce] Re-arranging the svn repo
 deprecated 2010-01-26 simon_6162 simon_6162 [4ea2ce] Re-arranging the svn repo
 doc 2010-01-26 simon_6162 simon_6162 [4ea2ce] Re-arranging the svn repo
 gnomemeeting_connector 2010-01-26 simon_6162 simon_6162 [4ea2ce] Re-arranging the svn repo
 hal 2010-01-26 simon_6162 simon_6162 [4ea2ce] Re-arranging the svn repo
 logAnalyzer 2010-01-26 simon_6162 simon_6162 [4ea2ce] Re-arranging the svn repo
 lsyealink 2010-01-26 simon_6162 simon_6162 [4ea2ce] Re-arranging the svn repo
 scripts 2010-01-26 simon_6162 simon_6162 [4ea2ce] Re-arranging the svn repo
 src 2010-01-26 simon_6162 simon_6162 [4ea2ce] Re-arranging the svn repo
 templates 2010-01-26 simon_6162 simon_6162 [4ea2ce] Re-arranging the svn repo
 tools 2010-01-26 simon_6162 simon_6162 [4ea2ce] Re-arranging the svn repo
 AUTHORS 2010-01-26 simon_6162 simon_6162 [4ea2ce] Re-arranging the svn repo
 BUGS 2010-01-26 simon_6162 simon_6162 [4ea2ce] Re-arranging the svn repo
 COPYING 2010-01-26 simon_6162 simon_6162 [4ea2ce] Re-arranging the svn repo
 ChangeLog 2010-01-26 simon_6162 simon_6162 [4ea2ce] Re-arranging the svn repo
 Doxyfile 2010-01-26 simon_6162 simon_6162 [4ea2ce] Re-arranging the svn repo
 INSTALL 2010-01-26 simon_6162 simon_6162 [4ea2ce] Re-arranging the svn repo
 Makefile.am 2010-01-26 simon_6162 simon_6162 [4ea2ce] Re-arranging the svn repo
 Makefile.cvs 2010-01-26 simon_6162 simon_6162 [4ea2ce] Re-arranging the svn repo
 Makefile.in 2010-01-26 simon_6162 simon_6162 [4ea2ce] Re-arranging the svn repo
 NEWS 2010-01-26 simon_6162 simon_6162 [4ea2ce] Re-arranging the svn repo
 README 2010-01-26 simon_6162 simon_6162 [4ea2ce] Re-arranging the svn repo
 SkypeMateFeatures.txt 2010-01-26 simon_6162 simon_6162 [4ea2ce] Re-arranging the svn repo
 TODO 2010-01-26 simon_6162 simon_6162 [4ea2ce] Re-arranging the svn repo
 aclocal.m4 2010-01-26 simon_6162 simon_6162 [4ea2ce] Re-arranging the svn repo
 config.guess 2010-01-26 simon_6162 simon_6162 [4ea2ce] Re-arranging the svn repo
 config.h.in 2010-01-26 simon_6162 simon_6162 [4ea2ce] Re-arranging the svn repo
 config.sub 2010-01-26 simon_6162 simon_6162 [4ea2ce] Re-arranging the svn repo
 configure 2010-01-26 simon_6162 simon_6162 [4ea2ce] Re-arranging the svn repo
 configure.in 2010-01-26 simon_6162 simon_6162 [4ea2ce] Re-arranging the svn repo
 depcomp 2010-01-26 simon_6162 simon_6162 [4ea2ce] Re-arranging the svn repo
 install-sh 2010-01-26 simon_6162 simon_6162 [4ea2ce] Re-arranging the svn repo
 ltmain.sh 2010-01-26 simon_6162 simon_6162 [4ea2ce] Re-arranging the svn repo
 missing 2010-01-26 simon_6162 simon_6162 [4ea2ce] Re-arranging the svn repo
 mkinstalldirs 2010-01-26 simon_6162 simon_6162 [4ea2ce] Re-arranging the svn repo
 usbb2k_api.kdevelop 2010-01-26 simon_6162 simon_6162 [4ea2ce] Re-arranging the svn repo
 usbb2k_api.kdevelop.pcs 2010-01-26 simon_6162 simon_6162 [4ea2ce] Re-arranging the svn repo
 usbb2k_api.kdevses 2010-01-26 simon_6162 simon_6162 [4ea2ce] Re-arranging the svn repo

Read Me

Yealink USB B2K and USB B3G Driver for Unix


These devices are also known as Yamamoto, USB Telbox , USB Skype Diverter, Freshtel FT-102 VoIP USB Phone , etc


Yealink has many different products, but all of them have the same product code: 6993:b001 Freshtel FT-102 VoIP USB Phone.
Please do not use this driver with other products from Yealink. It will not break them, but might not work.
Since I do not own other products, I can not assure nor test the results.


The Yealink adapters this driver works are a "little black or gray boxes", in which one can connect

- RJ11 phone line
- RJ11 an analog telephone
- USB  PC


The driver itself does not help much without an application connector.
The only one I know is kb2kskype, although many more may come in the future!


In order to compile it, just go to the src folder and type `make`. You will need libusb ( http://libusb.sf.net ).
to install it, just run `usbb2k_api`. It must be suid, since it does talk to a USB device.

$cd src
$make
$sudo ./usbb2k_api -f

#to test it
$python ../tools/test_usbb2k.py


# Test the API using the following commands

1. in a Consol:
usbb2k_api

2. in a other Consol:
api_connect /tmp/usbb2k.sock

#Command for api_connect:
SWITCH USB/PSTN
RING 0 (stop ringing)
RING 1 (ring mode 1)
RING 2 (ring mode 2)

#Msg from api_connect:
HANDSET ON/OFF (pickup/off handset)
USB OK (confirm successful switch to USB mode)
KEY 01..09 (keyphone pressed)



The daemon will create a socket in /tmp/usbb2k.sock and sleep untill some program connects to the socket.
The protocol of the daemon is quite simple and one can have an idea out of it looking at src/fifoApi.h

The best way to test it is to run tools/test_usbb2k.py ( yes, you will need python for that ).



====================
HAL mode ( hardware abstraction layer )
====================

HAL mode has several advantages over normal mode

- multiple devices are supported at the same time
- HAL launches and kills the daemon automatically whenever a device is plugged in/out. ( just like a normal driver )

HAL mode is new and has not been as tested as the normal daemon mode. Nevertheless seens quite stable.
More documentation and intructions on how to install it are avaliable on the hal/ directory.


Marcos Diez marcos_at_unitron.com.br
20-01-2008




======================
B3G dialing features
======================


I have sucessifully implemented B3G dialig features. In order
to have B3G picking up the phone line, just type:



PICKUP_PSTN
JOIN_USB_AND_PSTN

To hang up, just use:

DETACH_USB_AND_PSTN
HANGUP_PSTN

Although B3G can still detect dialtones sent by the user, it can not generate dialtones.
That means you must play them userself using the audio channel.
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.