Skip to contentSkip to conversation

MS multimedia keys

Bluez-users Walt 4 participants 11 messages Aug 15, 2004 Bluetooth drivers

lore
Share & tools
lore

Walt

author
#0 lore raw

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

maintainer
#1 lore raw

Hi Walt,

Quoted 5 lines

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

#2 lore raw
In reply to Walt

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):

Quoted 9 lines

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

Quoted 9 lines

-------------------------------------------------------
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

#3 lore raw

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):

Quoted 26 lines

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):

Quoted 18 lines

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

maintainer
#4 lore raw

Hi Michal,

Quoted 17 lines

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

#5 lore raw
Quoted 20 lines · Marcel Holtmann

Hi Michal,

Quoted 17 lines

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

Quoted 4 lines

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.

Signature · 2 lines
Vojtech Pavlik
SuSE Labs, SuSE CR
#6 lore raw

Marcel,

that means, that these keys will never work?

Michal

Dne ne 15. srpna 2004 15:10 Vojtech Pavlik napsal(a):

Quoted 21 lines · Marcel Holtmann
Quoted 20 lines

Hi Michal,

Quoted 17 lines

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

Quoted 6 lines
Quoted 4 lines

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

maintainer
#7 lore raw
In reply to Vojtech Pavlik

Hi Vojtech,

Quoted 10 lines
Quoted 10 lines
Quoted 9 lines

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

Quoted 6 lines
Quoted 4 lines

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

#8 lore raw
Quoted 15 lines · Marcel Holtmann

Hi Vojtech,

Quoted 13 lines
Quoted 13 lines
Quoted 9 lines

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.

Quoted 7 lines
Quoted 3 lines
Quoted 1 line

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.

Signature · 2 lines
Vojtech Pavlik
SuSE Labs, SuSE CR
#9 lore raw

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):

Quoted 29 lines · Marcel Holtmann
Quoted 16 lines

Hi Vojtech,

Quoted 14 lines
Quoted 14 lines
Quoted 9 lines

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.

Quoted 7 lines
Quoted 3 lines
Quoted 1 line

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
Quoted 7 lines

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

maintainer
#10 lore raw
In reply to Bc. Michal Semler

Hi Michal,

Quoted 2 lines

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