You are not logged in.

#1 2012-03-22 19:56:06

diederick76
Member
Registered: 2010-02-14
Posts: 169

Bluetooth keyboard: keys without scan codes

Hi,

I've bought a HP Touchpad Bluetooth keyboard and it works brilliantly, even some of the special keys on the top row, such as volume up/down, play/pause and home, work out of the box. However, three others in that row don't even seem to produce scan codes, at least showkey -s doesn't show any.

My question: I;m sure that the HP Touchpad uses them, so they must produce some kind of signal. Is there any way to find out which ones, and to catch them?

Thanks for any help!

Offline

#2 2012-03-23 03:51:48

MisterAnderson
Member
Registered: 2011-09-04
Posts: 285

Re: Bluetooth keyboard: keys without scan codes

Try running "xev" in a terminal then press the keys and see if it gives you anything for them.


D:

Offline

#3 2012-03-23 07:08:09

diederick76
Member
Registered: 2010-02-14
Posts: 169

Re: Bluetooth keyboard: keys without scan codes

I tried that. I didn't show anything. Nor does showkey -s outside of X. Also, dmesg doesn't show anything when I press any of those keys :-(

Could it be that the current Linux kernel does just not recognize those keys?

Last edited by diederick76 (2012-03-23 14:14:19)

Offline

#4 2012-03-24 02:05:49

MisterAnderson
Member
Registered: 2011-09-04
Posts: 285

Re: Bluetooth keyboard: keys without scan codes

It's possible, but you'll need someone more knowledgeable than me to answer that. Sorry, I'm out of ideas. big_smile


D:

Offline

#5 2012-03-24 13:06:04

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Bluetooth keyboard: keys without scan codes

Does acpi_listen show you anything?


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#6 2012-03-24 18:29:54

diederick76
Member
Registered: 2010-02-14
Posts: 169

Re: Bluetooth keyboard: keys without scan codes

.:B:. wrote:

Does acpi_listen show you anything?

No. The three keys in question have a keyboard icon, brightness down icon and brightness up icon on them. The brightness keys are also on the main keyboard of the notebook I'm trying this on. When I press one of those, acpi_listen does show events. But before acpi can receive key events, they must have key codes, right?

Last edited by diederick76 (2012-03-24 18:32:53)

Offline

#7 2012-03-24 19:51:07

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Bluetooth keyboard: keys without scan codes

So acpi_listen does show results wink.

You can use the acpi handler scripts to link an action to them.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#8 2012-03-24 19:59:10

diederick76
Member
Registered: 2010-02-14
Posts: 169

Re: Bluetooth keyboard: keys without scan codes

.:B:. wrote:

So acpi_listen does show results wink.

You can use the acpi handler scripts to link an action to them.

I think I wasn't clear. My setup is a notebook with a keyboard attached and an extra bluetooth wireless. Two of the three keys that show no results on the bluetooth keyboard have equivalent keys on the attached keyboard. When I press these keys on the bluetooth keyboard, acpi_listen shows nothing. When I press the equivalent keys on the attached keyboard, they work, as acpi_listen shows.

Sorry for being unclear on that, and thanks for helping me so far!

Any idea how I should find out more?

Offline

#9 2012-03-24 23:06:38

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Bluetooth keyboard: keys without scan codes

No, sorry. If you don't get any scancodes, xev nor acpi_listen report anything, then I don't know.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

Board footer

Powered by FluxBB