Hello,
I have recently bought a bluetooth "Smart Keyboard" for my Nokia 770.
But this keyboard, doesn't have a sdp server and was not supported by
bluez-tools.
(Here are the caracteristics of my keyboard:
bd addr : 00:0A:3A:2E:7B:AC
name : KEYBOARD
CoD (Class of Device/Service) : 0x001f00
)
So i have make some change in your source code to support him.
Here is my patch and the patched tar.gz (with my makefiles, and i have
verify that files wasn't modified recently on CVS).
As you will see i have created a new file devices.h and i have suggested
an architecture to manage different peripherals.
As I work for Sagem Communication, this keyboard now will work on our
Sagem Linux phone (in developpement).
(I Gonna make it work now on my Nokia 770, but I don't know how to do it
yet, as it use dbus... and i am asking me if that was really necessary,
and if hidd is used on the Nokia 770...).
I notice the hidd deamon may need some minor improvement now, like forking
and doing a "search device" on a signal event. Or reading a configuration
file that contains knows devices and connect them on other signal... (or
using dbus... ?). (just thinking... trying to share ideas...).
PS: I don't have a "secure" mail server to suscribe myself to bluez-devel
mail list. So could you please add one of my email to the bluez-devel mail
list ?
(personnal email: [email protected], professionnal email:
[email protected], should be the one in sender field of this
email).
PS2: Any comments about my patche are welcome...
- - - - - - -
Cordialement,
Jean-Jacques.
" Ce courriel et les documents qui y sont attaches peuvent contenir des informations confidentielles. Si vous n'etes pas le destinataire escompte, merci d'en informer l'expediteur imm?diatement et de detruire ce courriel ainsi que tous les documents attaches de votre systeme informatique. Toute divulgation, distribution ou copie du pr?sent courriel et des documents attaches sans autorisation prealable de son emetteur est interdite."
" This e-mail and any attached documents may contain confidential or proprietary information. If you are not the intended recipient, please advise the sender immediately and delete this e-mail and all attached documents from your computer system. Any unauthorised disclosure, distribution or copying hereof is prohibited."
Hi Jean-Jacques,
> I have recently bought a bluetooth "Smart Keyboard" for my Nokia 770.
> But this keyboard, doesn't have a sdp server and was not supported by
> bluez-tools.
>
> (Here are the caracteristics of my keyboard:
> bd addr : 00:0A:3A:2E:7B:AC
> name : KEYBOARD
> CoD (Class of Device/Service) : 0x001f00
> )
>
> So i have make some change in your source code to support him.
> Here is my patch and the patched tar.gz (with my makefiles, and i have
> verify that files wasn't modified recently on CVS).
>
> As you will see i have created a new file devices.h and i have
> suggested an architecture to manage different peripherals.
I have put a file fakehid.txt in the CVS with the characteristics of
this keyboard and also the presenter device.
> As I work for Sagem Communication, this keyboard now will work on our
> Sagem Linux phone (in developpement).
Make sure to send me one for testing ;)
> (I Gonna make it work now on my Nokia 770, but I don't know how to do
> it yet, as it use dbus... and i am asking me if that was really
> necessary, and if hidd is used on the Nokia 770...).
The Nokia 770 has no supported HID support. However you can install an
applet that gives you keyboard support. This however runs hidd and so it
should not be a big problem to integrate it.
> I notice the hidd deamon may need some minor improvement now, like
> forking and doing a "search device" on a signal event. Or reading a
> configuration file that contains knows devices and connect them on
> other signal... (or using dbus... ?). (just thinking... trying to
> share ideas...).
The hidd needs D-Bus support and a small redesign. However at the moment
we are just finishing the D-Bus support in hcid and its sdpd integration
and so it might take some time before we start looking at hidd. However
feel free to propose something.
> PS: I don't have a "secure" mail server to suscribe myself to
> bluez-devel mail list. So could you please add one of my email to the
> bluez-devel mail list ?
> (personnal email: [email protected], professionnal email:
> [email protected], should be the one in sender field of
> this email).
No idea what this means. Nobody needs a secure mail server to subscribe
to bluez-devel. Simply use the webform to subscribe.
> PS2: Any comments about my patche are welcome...
It needs a little bit nicer and cleaner integration work, but it seem a
good step forward to make this keyboard work under Linux.
Regards
Marcel
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel