Return-Path: To: Marcel Holtmann Cc: bluez-devel@lists.sourceforge.net Subject: =?ISO-8859-1?Q?R=E9f=2E_=3A_Re=3A_bluez_=3A_new_bluetooth_keyboard?= =?ISO-8859-1?Q?_supported_by_hidd=2E?= Message-ID: Date: Fri, 15 Sep 2006 19:08:16 +0200 From: "Jean-Jacques BRUCKER" Content-Type: multipart/mixed; boundary="=_mixed 005E2462C12571EA_=" MIME-Version: 1.0 List-ID: --=_mixed 005E2462C12571EA_= Content-Type: multipart/alternative; boundary="=_alternative 005E2462C12571EA_=" --=_alternative 005E2462C12571EA_= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Thx to answer me so fast, sorry that in the precedent patch i forget to=20 clean fakehid.c. This is done in this patch. As, I have see in the cvs you = should have a J3 Keyboard too... :-) About my Nokia, I know the applet but i don't have take the time to=20 analyse source codes. Gonna retry to suscribe list with webform at home. - - - - - - - Cordialement, Jean-Jacques. Marcel Holtmann 15/09/2006 18:34 Remis le : 15/09/2006 18:33 =20 Pour : Jean-Jacques BRUCKER cc : bluez-devel@lists.sourceforge.net Objet : Re: bluez : new bluetooth keyboard supported by hidd. 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. >=20 > (Here are the caracteristics of my keyboard:=20 > bd addr : 00:0A:3A:2E:7B:AC > name : KEYBOARD > CoD (Class of Device/Service) : 0x001f00 > ) >=20 > 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). >=20 > 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: jjbrucker@free.fr, professionnal email: > jean-jacques.brucker@sagem.com, 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 " Ce courriel et les documents qui y sont attaches peuvent contenir des inf= ormations confidentielles. Si vous n'etes pas le destinataire escompte, me= rci d'en informer l'expediteur imm=E9diatement et de detruire ce courriel = ainsi que tous les documents attaches de votre systeme informatique. Toute = divulgation, distribution ou copie du pr=E9sent courriel et des documents a= ttaches sans autorisation prealable de son emetteur est interdite."=20 " This e-mail and any attached documents may contain confidential or propri= etary 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." --=_alternative 005E2462C12571EA_= Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
 Thx to answer me so fast, sorr= y that in the precedent patch i forget to clean fakehid.c. This is done in = this patch. As, I have see in the cvs you should have a J3 Keyboard too... = :-)
About my Nokia, I know the= applet but i don't have take the time to analyse source codes.
<= br> Gonna retry to suscribe list wi= th webform at home.



  -  -  -  -  -  -  -
Cordialement,=
Jean-Jacques.



Marcel Holtmann <marcel@= holtmann.org>

15/09/= 2006 18:34
Remis le : 15/09/20= 06 18:33

      &= nbsp;
      &n= bsp; Pour :        Jean-Jacques BRUCKER <jean-jacque= s.brucker@sagem.com>
 =       cc :        bluez-devel@lists.sou= rceforge.net
    &nb= sp;   Objet :        Re: bluez : new bluetooth key= board supported by hidd.



Hi Jean-Jacques,

> I have recently bought a blue= tooth "Smart Keyboard" for my Nokia 770.
> But this keyboar= d, doesn't have a sdp server and was not supported by
> bluez-tools.<= br>>
> (Here are the caracteristics of my keyboard:  
>= ;         bd addr : 00:0A:3A:2E:7B:AC
>   &n= bsp;     name : KEYBOARD
>         CoD = (Class of Device/Service) : 0x001f00
> )
>
> So i have m= ake some change in your source code to support him.
> Here is my patc= h 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 architec= ture to manage different peripherals.

I have put a file fakehid.txt = in the CVS with the characteristics of
this keyboard and also the presen= ter device.

> As I work for Sagem Communication, this keyboard no= w will work on our
> Sagem Linux phone (in developpement).

Mak= e 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 suppor= t. However you can install an
applet that gives you keyboard support. Th= is 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 no= w, like
> forking and doing a "search device" on a signal e= vent. Or reading a
> configuration file that contains knows devices a= nd connect them on
> other signal... (or using dbus... ?). (just thin= king... trying to
> share ideas...).

The hidd needs D-Bus supp= ort and a small redesign. However at the moment
we are just finishing th= e D-Bus support in hcid and its sdpd integration
and so it might take so= me time before we start looking at hidd. However
feel free to propose so= mething.

> PS: I don't have a "secure" mail server to s= uscribe myself to
> bluez-devel mail list. So could you please add on= e of my email to the
> bluez-devel mail list ?
> (personnal ema= il: jjbrucker@free.fr, professionnal email:
> jean-jacques.brucker@sa= gem.com, should be the one in sender field of

> this email).

No idea what this means. Nobody n= eeds a secure mail server to subscribe
to bluez-devel. Simply use the we= bform to subscribe.

> PS2: Any comments about my patche are welco= me...

It needs a little bit nicer and cleaner integration work, but = it seem a
good step forward to make this keyboard work under Linux.
<= br>Regards

Marcel






" Ce courriel et les documents qui y sont attaches peuvent contenir de= s informations confidentielles. Si vous n'etes pas le destinataire escompt= e, merci d'en informer l'expediteur imm=E9diatement et de detruire ce courr= iel ainsi que tous les documents attaches de votre systeme informatique. T= oute divulgation, distribution ou copie du pr=E9sent courriel et des docume= nts attaches sans autorisation prealable de son emetteur est interdite.&quo= t;

" This e-mail and any attached documents may contain confidential or p= roprietary information. If you are not the intended recipient, please advis= e the sender immediately and delete this e-mail and all attached documents = from your computer system. Any unauthorised disclosure, distribution or cop= ying hereof is prohibited."
--=_alternative 005E2462C12571EA_=-- --=_mixed 005E2462C12571EA_= Content-Type: application/octet-stream; name="hidd_enhance2.patch.bz2" Content-Disposition: attachment; filename="hidd_enhance2.patch.bz2" Content-Transfer-Encoding: base64 QlpoOTFBWSZTWVpJNMMADpbfgWYwf3////////6////+ACBgEvwHfOlXJ4p0jp3ObPb776n2CUbe QtOO7vurdTCmugbsrfY600oFA60BoSRJoCIym8g0Ro1PSbVNNlP1Q8hNGg2k9BPKPQJmaFANAjTQ hGowVPU801DUaek0yeo09Ro0yHqAAaAAAamaRI0mIMQyaDT1NHqGQAAAAAAAACTUSJqanqaJ6aZJ 5T00yQHpG1NADIaDQ0aaAADIG1IlPU9QaZqABoA9J6m1AAaGgBoANBpoACREIAg0hoJqPQBT01Te mkR4j1Gp+oQejR6moD1PU00N7eBzhWgkKkm5C0VEB3aAlJPLikMOBhZZSqrRCWrcEpjTVW1Cku7V VVVVVVVVVWyqbGFxqpQio+L8PDTVFFyGWQUVQQzVVVVVVVVVVVVVVVVW5Y2KrTUKYWlXCoLItU00 XVyAKIkLqJV2XLiNBVtzz+H1KNY+R0xfBjLFA0VhyMBCURmVypTlCcz39SCHSsRWKa6LWKiAZ11R mB6NQagG7Kw3ZqY9YSwe84TgxBeiqFVoRJEhaZVEVaceMRNa0Uq8YYPBkurFQZhgqzp4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