Skip to contentSkip to conversation

Hotkeys generating input as well as ACPI events

DISCUSSION Corentin Chary 2 participants 2 messages Apr 14, 2010 6 messages not in the archive HID

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#6 lore raw
Quoted 14 lines · Trent W. Buck

Corentin Chary <[email protected]>

Quoted 1 line · writes:

All seems ok and I was able to reproduce the issue (only in screen),

Hmm; I can also reproduce this as root on vt2, without screen.  It's more obvious if I run "cat -A" before typing; otherwise I only see a ~ and hear a beep.

Quoted 2 lines

but I don't really know what's the best way to fix it. Isn't there any way to "ignore" an input device in screen/fbcon ?

I don't know.  I guess that would be disconnecting

Quoted 9 lines

   /sys/devices/platform/eeepc/input/input8
   i.e. SUBSYSTEM=="input", NAME=="Asus EeePC extra buttons"

...from fbcon.  Obviously I don't want to disable the ACPI events, nor the normal keyboard input.  I'll try to find an fbcon guru.

I might be able to patch terminfo/termcap entries to discard those escape sequences, but it feels like a bodge.

If there is no way to ignore an input device in userspace, maybe the right way to do it is to add a way to disable an input device using some /sys/ file.

CC-ing linux-input, they probably have something to tell about that.

Signature · 9 lines
Corentin Chary
http://xf.iksaif.net

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
#7 lore raw
Quoted 25 lines · Corentin Chary
Quoted 14 lines · Trent W. Buck

Corentin Chary <[email protected]>

Quoted 1 line · writes:

All seems ok and I was able to reproduce the issue (only in screen),

Hmm; I can also reproduce this as root on vt2, without screen.  It's more obvious if I run "cat -A" before typing; otherwise I only see a ~ and hear a beep.

Quoted 2 lines

but I don't really know what's the best way to fix it. Isn't there any way to "ignore" an input device in screen/fbcon ?

I don't know.  I guess that would be disconnecting

Quoted 9 lines

   /sys/devices/platform/eeepc/input/input8
   i.e. SUBSYSTEM=="input", NAME=="Asus EeePC extra buttons"

...from fbcon.  Obviously I don't want to disable the ACPI events, nor the normal keyboard input.  I'll try to find an fbcon guru.

I might be able to patch terminfo/termcap entries to discard those escape sequences, but it feels like a bodge.

Quoted 6 lines

If there is no way to ignore an input device in userspace, maybe the right way to do it is to add a way to disable an input device using some /sys/ file.

CC-ing linux-input, they probably have something to tell about that.

I'd say kernel should settle on the delivery transport and simply not use both.

Signature · 5 lines
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html