Bug 114656

Summary: udev lirc rule broken
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Ludwig Nussel <lnussel>
Component: BasesystemAssignee: Kay Sievers <kasievers>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Beta 4   
Target Milestone: ---   
Hardware: Other   
OS: All   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: udev.get_input_lirc.sh patch

Description Ludwig Nussel 2005-09-01 08:50:46 UTC
The udev rule for lirc doesn't work, it should be this way: 
KERNEL=="event*", PROGRAM=="/sbin/udev.get_input_lirc.sh %k", RESULT=="*IR*", 
SYMLINK+="input/ir" 
 
Would it make sense to have that in a separate rules file and put it into the 
lirc package instead of the udev package? The program is called for every 
event device but the link is only used by (our) lirc.
Comment 1 Ludwig Nussel 2005-09-01 08:52:36 UTC
Created attachment 48423 [details]
udev.get_input_lirc.sh patch

patch for udev.get_input_lirc.sh to only do something if lirc is actually
configured to use an input device
Comment 2 Kay Sievers 2005-09-01 12:36:27 UTC
Sure, makes sense to get that into the lirc package. Care to add it, or should I
correct it in the udev package?
Comment 3 Ludwig Nussel 2005-09-01 12:52:25 UTC
Ok, I'll add 51-lirc.rules and udev.get_input_lirc.sh it to the lirc package 
then. 
Comment 4 Ludwig Nussel 2005-09-01 14:53:51 UTC
lirc package submitted, you can remove the input/ir line from udev. 
Comment 5 Kay Sievers 2005-09-01 15:43:37 UTC
Done. Thanks!