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

Bug 219569

Summary: app-misc/lirc-0.8.3_pre1 - won't start from init since udev-119 installed (/dev/usb/hiddev0)
Product: Gentoo Linux Reporter: Allan K <sonofzev>
Component: Current packagesAssignee: udev maintainers <udev-bugs>
Status: RESOLVED NEEDINFO    
Severity: normal CC: media-tv
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Allan K 2008-04-28 05:06:30 UTC
Hi 

Since I did my latest update on the weekend which included a udev update. lircd will not start from the init script provided. However, lircd will start from commandline and when added to /etc/conf.d/local.start. This behaviour has been consistent on 2 systems. 1 is an opteron170 (32 bit march=athlon-xp). The other is a Pentium4 (32-bit march=i686) 

The output in /var/log/messages when trying to run a client (irw) is 
Apr 28 14:28:54 media1 lircd-0.8.3pre1[15321]: initializing '/dev/usb/hiddev0'
Apr 28 14:28:54 media1 lircd-0.8.3pre1[15321]: unable to open '/dev/usb/hiddev0'

I can manually run lircd using lircd --driver=dvico --device=/dev/hiddev0 

My /etc/conf.d/lircd file contains the following line which worked without issue before the update. 

LIRCD_OPTS="--driver=dvico --device=/dev/usb/hiddev0"

cheers

Allan 

Reproducible: Always

Steps to Reproduce:
1.Make sure no lircd processes are running (stop any init processes or killall lircd) 

2. Issue "/etc/init.d/lircd start" 

3. execute irw twice 


Actual Results:  
First attempt of running irw it returns a cursor. 

second attempt returns 
"connect: Connection refused" 

before going back to the cursor. 

See description for output from /var/log/messages 





Expected Results:  
irw normal behaviour is to wait for input from the remote and display it on the screen.
Comment 1 Matthias Schwarzott gentoo-dev 2008-04-28 07:24:09 UTC
Not finding device nodes that existed before is a udev issue.

You explicitly write about udev-119. What was the last version of udev that worked?