Tra i regali che ho ricevuto questo S.Natale c’è questo simpatico telefono VoIP USB

Ovviamente nella confezione c’è solo il CD con i driver per window$, quindi vediamo un po’ come farlo andare (almeno in parte) anche sul nostro pinguino:
- prima di tutto vediamo un po’ cosa ci dice lsusb e dmesg:
user@linux ~$ lsusb -v
[…]
Bus 002 Device 002: ID 6993:b700 Freshtel
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x6993 Freshtel
idProduct 0xb700
bcdDevice 0.01
iManufacturer 1 Yealink Network Technology Ltd.
iProduct 2 VOIP USB Phone
[…]
user@linux ~$ dmesg | grep Yealink
hiddev96: USB HID v1.10 Device [Yealink Network Technology Ltd. VOIP USB Phone ] on usb-0000:00:10.0-2
Ok, quindi il telefono è un Yealink, una breve visita al sito Yealink mi permette di scoprire che si tratta di un USB-P1KH.
- googlando un po’ inizio a scoprire come far funzionare l’audio del telefono (come una normalissima scheda audio), basta infatti caricare il driver snd-usb-audio (Device drivers->Sound->Advanced Linux Sound Architecture->USB Devices->USB Audio/Midi driver)
- Quindi per far convivere sia il telefono che la vostra scheda audio bisogna impostare la scheda audio di default (a me impostava erroneamente il telefono), per questo problema ho scritto questo post
- a questo puntoho scoperto l’esistenza di un driver nel kernel chiamato yealink (Device drivers->Input Device support->Miscellaneous devices->Yealink usb-p1k voip phone), il problema che questo driver è per il modello p1k, non per il modello p1kh quindi di fatto non riesce a gestire il mio telefono
- ho trovato alla fine un progetto yeaphone tuttavia sulla mia gentoo sembra non funzionare a meno di pesanti modifiche agli ebuild di alcune sue dipendenze, quindi per ora mi accontento di utilizzarlo come scheda audio, in attesa di scoprire altre novità… ovviamente se voi avete altre notizie sarò ben lieto di leggerle 🙂
EOF
Hi DoppiaVu,
do you have the possibility to do record the USB messages for that phone? I would be interested how the protocol differs from the P1K or the P1KH.
It would be great to see a log of the bundled Windows driver (SkypeMate?) talking to the phone for writing to the display, reading key presses and activating the buzzer (-> select a different ring tone in SkypeMate).
In the past I used http://benoit.papillault.free.fr/usbsnoop/ (windows) for this task or ran a windows guest in Linux and recorded data via usbmon.
I added the device here http://www.qbik.ch/usb/devices/showdev.php?id=4368 and linked to your page for the device descriptor (hope that’s ok).
Regards,
-Thomas
Hi Thomas,
in this moment I am busy with my Master Thesis, so I don’t have a lot of free time, but I will try to do what you ask as soon as possible.
Walter
PS: no problem for the link 🙂
Hi DoppiaVu,
good news! You can download an update version of the yealink kernel module from http://www.devbase.at/svn/view.cgi/yealink-module/trunk/?root=voip
It supports the P1K, B2K, P4K (improved but from the original driver) and the P1KH with both USB IDs 6993:b001 and your 6993:b700.
Note that you have to detach the usbhid module first (or patch usbhid), eg. using the little tool from http://www.devbase.at/svn/view.cgi/yealink-tools/trunk/detach-yealink.sh?root=experimental&view=log
Regards,
-Thomas
PS: The driver is not heavily tested yet…
Hi Thomas,
Thanks a lot, I hope to have the time to try the new module tomorrow.
If there will be some news, I’ll give you some feedbacks.
Bye,
Walter
Hi Thomas,
I just tried a little the new module: Wow I can digit!!!
I tried it with skype and i can compose a number, I also tried to write and read the LCD lines (through sysfs) and works fine!
Thank you for your work!
Great!
I wish you the best for your Master Thesis.
-Thomas
Thanks!
Walter
Ciao Walter… Ho anch’io tra le mani il mitico voip phone di skype,
Quando usavo xp non mi andava, lo portato dal mio rivenditore che lo ha provato senza problemi. Ora uso Linux Mint ed ho provato a seguire la tua utile guida, solo che…
lsusb -v
[…]
Bus 001 Device 007: ID 6993:b001 Freshtel FT-102 VoIP USB Phone
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.01
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x6993 Freshtel
idProduct 0xb001 FT-102 VoIP USB Phone
bcdDevice 0.00
iManufacturer 1
iProduct 2
iSerial 0
bNumConfigurations 1
[…]
dmesg | grep Yealink
[29106.515804] input: Yealink usb-p1k as /devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1:1.3/input/input13
[29106.574162] /build/buildd/linux-2.6.24/drivers/input/misc/yealink.c: Yealink phone driver:yld-20051230
In teoria è lo stesso, ora viene il bello:
snd-usb-audio (Device drivers->Sound->Advanced Linux Sound Architecture->USB Devices->USB Audio/Midi driver)
bash: syntax error near unexpected token `Device’
Curioso, no???
Aggiungo che uso fastweb e su un test fatto su adunanza.net mi diceva che una porta era aperta ma l’altra era chiusa, e peggio sul mio router non si potevano aprire, in teoria perché funzioni il viop phone dovrebbero essere aperte entrambe.
Questo è tutto quello che so, se riuscissi a darmi qualche dritta te ne sarei veramente grato.
Grazie mille per l’attenzione che mi ha fin qui dedicato, grazie.
ciao doppiavu, mi hanno appena regalato questo telefono:
Bus 002 Device 007: ID 6993:b700 Freshtel
Come scheda audio funziona alla grande, basta solo regolare i volumi.
Uso ubuntu 9.10 come faccio a far funzionare la tastiera?
i moduli presenti nel kernel 2.6.31 sono aggiornati o devo seguire la procedura dei post sopra?
ciao e grazie