Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 337010

Summary: sys-apps/hal-0.5.14-r2 adds lirc as keyboard
Product: Gentoo Linux Reporter: Carl G. Pettit <c.pettit>
Component: [OLD] Core systemAssignee: Daniel Gryniewicz (RETIRED) <dang>
Status: RESOLVED OBSOLETE    
Severity: normal CC: freedesktop-bugs
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Carl G. Pettit 2010-09-12 22:07:32 UTC
The devinput driver for lirc creates some devices that HAL recognises as keyboards and mice. This prevents lirc clients from receiving input. More confusingly, those buttons that produce output corresponding to real keys (like the numeric keys) appear for all intents and purpose as functioning. This is not the case. Adding a rule will prevent this situation.

Suggested rule (Not fully tested):

<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
<device>
        <match key="linux.sysfs_path" contains="/sys/devices/virtual/rc">
                <merge key="info.ignore" type="bool">true</merge>
        </match>
</device>
</deviceinfo>

Anything that appears as in sys as an rc should be identified and ignored leaving lirc free from interference from all keyboard and mouse handlers.

Reproducible: Always
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2011-09-18 09:26:30 UTC
sys-apps/hal was removed from tree wrt #313389, closing as OBSOLETE