Based on Steves reverse engineering there's now experimental support for the P4K phone.
The module has an additional parameter "default_model" that will pre configure the phone to either a P1K or a P4K.
insmod yealink.ko default_model=P1K
insmod yealink.ko default_model=P4K
The model is runtime configurable by using /sys/…/model on a phone by phone basis.
There should be support for BACKLIGHT and SPEAKER via the show-, hide-, and get_icon interface.
I don't have the hardware myself so I would have to rely on some of you guys to test it.
Have fun,
Henk
- bug fix in usbb2k-api
- new ring tone for ubb2k-api
The CVS version now contains some experimental ringtone support.
For example:
echo -n RING > /sys/..../show_icon
sleep 10
echo -n RING > /sys/..../hide_icon
You should be able to customise the ringtone via: /sys/.../ringtone
by writing a binary initialisation string. (see yealink.h defalt_ringtone for format)
cheers,
hve
This project is now also home of a kernel module for the USB-P1K
Checkout:
export CVS_RSH="ssh"
cvs -z3 -d:ext:anoncvs@savannah.nongnu.org:/cvsroot/usbb2k-api co yealink-module
- pthread function
- claimd interface detach usbhid if failed (now it's working on FC3)
- python gui for teststing the api
- sample of gnomemeeting DBUS connector (alpha stage)
Initial code now available in CVS repository.
The so far implemented daemon is now available through the CVS. The actual version can work but still needs to be cleaned up and bugtracked.