2004-08-15 05:42:31

by Walter King

[permalink] [raw]
Subject: [Bluez-users] MS multimedia keys

I have the ms bluetooth wireless desktop. I was using kernel 2.6.7
patched, hidd and hidp, and everything was fine. I upgraded to 2.6.8,
first rc2 and now final, and the multimedia stopped working. I checked
hcidump, and those keys, as well as the alt. function f* keys, dont
produce output.
Thanks
Walt


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users


2004-08-15 19:27:43

by CIJOML

[permalink] [raw]
Subject: Re: [Bluez-users] MS multimedia keys

Marcel,

so you must remap it to lower numbers first before you'll send it into
keyboard.c???

Michal

Dne ne 15. srpna 2004 21:05 Vojtech Pavlik napsal(a):
> On Sun, Aug 15, 2004 at 07:16:15PM +0200, Marcel Holtmann wrote:
> > Hi Vojtech,
> >
> > > > > Eigene Musik
> > > > > keyboard.c: can't emulate rawmode for keycode 255
> > > > > keyboard.c: can't emulate rawmode for keycode 255
> > > > > Messenger
> > > > > keyboard.c: can't emulate rawmode for keycode 252
> > > > > keyboard.c: can't emulate rawmode for keycode 252
> > > > > Abmelden
> > > > > keyboard.c: can't emulate rawmode for keycode 248
> > > > > keyboard.c: can't emulate rawmode for keycode 248
> > > >
> > > > this problem is because in drivers/char/keyboard.c the
> > > > x86_keycodes[256] array miss the line for the last 16 keycode
> > > > translations.
> > > >
> > > > Vojtech, any reason why they are not filled in?
> > >
> > > Because rawmode only can express 240 different scancodes.
> >
> > may you explain this a little bit. I found a posting from you on the
> > LKML where you said this has something do to with the PS/2 protocol, but
> > I still can't follow it.
>
> The PS/2 protocol has valid keycodes in these two ranges:
>
> 00 to 5f and e0 00 to e0 5f
>
> The first is the classic XT set and the other is the extended set. Of
> course there are exceptions and also some of the 60-7f and e060-e07f can
> be used. This gives approximately 240 possible scancodes.
>
> The table maps those 240 scancodes to the first 240 Linux keycodes.
> Keycodes above this limit don't have any mapping, because it'd have to
> be identical with some already used, or cause a protocol violation.


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2004-08-15 19:05:09

by Vojtech Pavlik

[permalink] [raw]
Subject: Re: [Bluez-users] MS multimedia keys

On Sun, Aug 15, 2004 at 07:16:15PM +0200, Marcel Holtmann wrote:
> Hi Vojtech,
>
> > > > Eigene Musik
> > > > keyboard.c: can't emulate rawmode for keycode 255
> > > > keyboard.c: can't emulate rawmode for keycode 255
> > > > Messenger
> > > > keyboard.c: can't emulate rawmode for keycode 252
> > > > keyboard.c: can't emulate rawmode for keycode 252
> > > > Abmelden
> > > > keyboard.c: can't emulate rawmode for keycode 248
> > > > keyboard.c: can't emulate rawmode for keycode 248
> > >
> > > this problem is because in drivers/char/keyboard.c the x86_keycodes[256]
> > > array miss the line for the last 16 keycode translations.
> > >
> > > Vojtech, any reason why they are not filled in?
> >
> > Because rawmode only can express 240 different scancodes.
>
> may you explain this a little bit. I found a posting from you on the
> LKML where you said this has something do to with the PS/2 protocol, but
> I still can't follow it.

The PS/2 protocol has valid keycodes in these two ranges:

00 to 5f and e0 00 to e0 5f

The first is the classic XT set and the other is the extended set. Of
course there are exceptions and also some of the 60-7f and e060-e07f can
be used. This gives approximately 240 possible scancodes.

The table maps those 240 scancodes to the first 240 Linux keycodes.
Keycodes above this limit don't have any mapping, because it'd have to
be identical with some already used, or cause a protocol violation.

--
Vojtech Pavlik
SuSE Labs, SuSE CR

2004-08-15 17:16:15

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] MS multimedia keys

Hi Vojtech,

> > > Eigene Musik
> > > keyboard.c: can't emulate rawmode for keycode 255
> > > keyboard.c: can't emulate rawmode for keycode 255
> > > Messenger
> > > keyboard.c: can't emulate rawmode for keycode 252
> > > keyboard.c: can't emulate rawmode for keycode 252
> > > Abmelden
> > > keyboard.c: can't emulate rawmode for keycode 248
> > > keyboard.c: can't emulate rawmode for keycode 248
> >
> > this problem is because in drivers/char/keyboard.c the x86_keycodes[256]
> > array miss the line for the last 16 keycode translations.
> >
> > Vojtech, any reason why they are not filled in?
>
> Because rawmode only can express 240 different scancodes.

may you explain this a little bit. I found a posting from you on the
LKML where you said this has something do to with the PS/2 protocol, but
I still can't follow it.

Regards

Marcel




-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2004-08-15 13:59:04

by CIJOML

[permalink] [raw]
Subject: Re: [Bluez-users] MS multimedia keys

Marcel,

that means, that these keys will never work?

Michal

Dne ne 15. srpna 2004 15:10 Vojtech Pavlik napsal(a):
> On Sun, Aug 15, 2004 at 12:28:41PM +0200, Marcel Holtmann wrote:
> > Hi Michal,
> >
> > > and when pressed this is sent into dmesg:
> > >
> > > Eigene Dateien
> > > keyboard.c: can't emulate rawmode for keycode 253
> > > keyboard.c: can't emulate rawmode for keycode 253
> > > Eigene Bilder
> > > keyboard.c: can't emulate rawmode for keycode 254
> > > keyboard.c: can't emulate rawmode for keycode 254
> > > Eigene Musik
> > > keyboard.c: can't emulate rawmode for keycode 255
> > > keyboard.c: can't emulate rawmode for keycode 255
> > > Messenger
> > > keyboard.c: can't emulate rawmode for keycode 252
> > > keyboard.c: can't emulate rawmode for keycode 252
> > > Abmelden
> > > keyboard.c: can't emulate rawmode for keycode 248
> > > keyboard.c: can't emulate rawmode for keycode 248
> >
> > this problem is because in drivers/char/keyboard.c the x86_keycodes[256]
> > array miss the line for the last 16 keycode translations.
> >
> > Vojtech, any reason why they are not filled in?
>
> Because rawmode only can express 240 different scancodes.


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2004-08-15 13:10:09

by Vojtech Pavlik

[permalink] [raw]
Subject: Re: [Bluez-users] MS multimedia keys

On Sun, Aug 15, 2004 at 12:28:41PM +0200, Marcel Holtmann wrote:

> Hi Michal,
>
> > and when pressed this is sent into dmesg:
> >
> > Eigene Dateien
> > keyboard.c: can't emulate rawmode for keycode 253
> > keyboard.c: can't emulate rawmode for keycode 253
> > Eigene Bilder
> > keyboard.c: can't emulate rawmode for keycode 254
> > keyboard.c: can't emulate rawmode for keycode 254
> > Eigene Musik
> > keyboard.c: can't emulate rawmode for keycode 255
> > keyboard.c: can't emulate rawmode for keycode 255
> > Messenger
> > keyboard.c: can't emulate rawmode for keycode 252
> > keyboard.c: can't emulate rawmode for keycode 252
> > Abmelden
> > keyboard.c: can't emulate rawmode for keycode 248
> > keyboard.c: can't emulate rawmode for keycode 248
>
> this problem is because in drivers/char/keyboard.c the x86_keycodes[256]
> array miss the line for the last 16 keycode translations.
>
> Vojtech, any reason why they are not filled in?

Because rawmode only can express 240 different scancodes.

--
Vojtech Pavlik
SuSE Labs, SuSE CR

2004-08-15 10:28:41

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] MS multimedia keys

Hi Michal,

> and when pressed this is sent into dmesg:
>
> Eigene Dateien
> keyboard.c: can't emulate rawmode for keycode 253
> keyboard.c: can't emulate rawmode for keycode 253
> Eigene Bilder
> keyboard.c: can't emulate rawmode for keycode 254
> keyboard.c: can't emulate rawmode for keycode 254
> Eigene Musik
> keyboard.c: can't emulate rawmode for keycode 255
> keyboard.c: can't emulate rawmode for keycode 255
> Messenger
> keyboard.c: can't emulate rawmode for keycode 252
> keyboard.c: can't emulate rawmode for keycode 252
> Abmelden
> keyboard.c: can't emulate rawmode for keycode 248
> keyboard.c: can't emulate rawmode for keycode 248

this problem is because in drivers/char/keyboard.c the x86_keycodes[256]
array miss the line for the last 16 keycode translations.

Vojtech, any reason why they are not filled in?

Regards

Marcel




-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2004-08-15 10:15:50

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] MS multimedia keys

Hi Michal,

> with 2.6.8-mh1 some keys doesn't work, and some produces wrong output.
> I posted list of these behavior few mounths ago, search mailing list.

this is true and I had it on my todo list, but actually this has very
low priority. However the original problem was the missing report
protocol mode that is only part of 2.6.8-mh1.

Regards

Marcel




-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2004-08-15 09:32:15

by CIJOML

[permalink] [raw]
Subject: Re: [Bluez-users] MS multimedia keys

and when pressed this is sent into dmesg:

Eigene Dateien
keyboard.c: can't emulate rawmode for keycode 253
keyboard.c: can't emulate rawmode for keycode 253
Eigene Bilder
keyboard.c: can't emulate rawmode for keycode 254
keyboard.c: can't emulate rawmode for keycode 254
Eigene Musik
keyboard.c: can't emulate rawmode for keycode 255
keyboard.c: can't emulate rawmode for keycode 255
Messenger
keyboard.c: can't emulate rawmode for keycode 252
keyboard.c: can't emulate rawmode for keycode 252
Abmelden
keyboard.c: can't emulate rawmode for keycode 248
keyboard.c: can't emulate rawmode for keycode 248

Michal

Dne ne 15. srpna 2004 10:40 Bc. Michal Semler napsal(a):
> Hi Marcel,
>
> with 2.6.8-mh1 some keys doesn't work, and some produces wrong output.
> I posted list of these behavior few mounths ago, search mailing list.
>
> Michal
>
> Dne ne 15. srpna 2004 07:42 Walt napsal(a):
> > I have the ms bluetooth wireless desktop. I was using kernel 2.6.7
> > patched, hidd and hidp, and everything was fine. I upgraded to 2.6.8,
> > first rc2 and now final, and the multimedia stopped working. I checked
> > hcidump, and those keys, as well as the alt. function f* keys, dont
> > produce output.
> > Thanks
> > Walt
> >
> >
> > -------------------------------------------------------
> > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
> > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
> > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
> > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
> > _______________________________________________
> > Bluez-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/bluez-users


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2004-08-15 08:40:00

by CIJOML

[permalink] [raw]
Subject: Re: [Bluez-users] MS multimedia keys

Hi Marcel,

with 2.6.8-mh1 some keys doesn't work, and some produces wrong output.
I posted list of these behavior few mounths ago, search mailing list.

Michal

Dne ne 15. srpna 2004 07:42 Walt napsal(a):
> I have the ms bluetooth wireless desktop. I was using kernel 2.6.7
> patched, hidd and hidp, and everything was fine. I upgraded to 2.6.8,
> first rc2 and now final, and the multimedia stopped working. I checked
> hcidump, and those keys, as well as the alt. function f* keys, dont
> produce output.
> Thanks
> Walt
>
>
> -------------------------------------------------------
> SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
> 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
> Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
> http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
> _______________________________________________
> Bluez-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bluez-users


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2004-08-15 07:34:13

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] MS multimedia keys

Hi Walt,

> I have the ms bluetooth wireless desktop. I was using kernel 2.6.7
> patched, hidd and hidp, and everything was fine. I upgraded to 2.6.8,
> first rc2 and now final, and the multimedia stopped working. I checked
> hcidump, and those keys, as well as the alt. function f* keys, dont
> produce output.

Use kernel 2.6.8-mh1, because the report protocol mode is not yet ready
for mainline. If you use a plain 2.6.8 you only get boot protocol mode
support.

Regards

Marcel




-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users