Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#9767 - lircd rc.d file force to use option -d

Attached to Project: Arch Linux
Opened by Shogun (ShogunPanda) - Wednesday, 05 March 2008, 17:10 GMT
Last edited by Greg (dolby) - Wednesday, 30 July 2008, 16:08 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Paul Mattal (paul)
Architecture All
Severity Medium
Priority Normal
Reported Version 2007.08-2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Hi guys!
I have an Audigy NX USB soundcard which has its remote and I can use it with lirc by using driver alsa_usb.
But when I start the service, I notice that the service file in /etc/rc.d forces me to use option -d even if I don't have a LIRC_DEVICE set in /etc/conf.d/lircd.

I attach a patch which fixes this problem.
Best regards!
Shoggun

Additional info:
Package version: extra/lirc 0.8.2-10

My /etc/conf.d/lircd file
---BEGIN---
#
# Parameters for lirc daemon
#
LIRC_DEVICE=""
LIRC_DRIVER="alsa_usb"
LIRC_EXTRAOPTS=""
LIRC_CONFIGFILE=""
---END---

Steps to reproduce:
1-Try to start lircd with LIRC_DEVICE="" set in /etc/conf.d/lircd
This task depends upon

Closed by  Greg (dolby)
Wednesday, 30 July 2008, 16:08 GMT
Reason for closing:  Fixed
Comment by kujub (kujub) - Friday, 23 May 2008, 10:17 GMT
Thanks for the patch, but have an even better one. :)

My problem was:
In my /etc/conf.d/lircd I use
LIRC_DRIVER="dev/input"
which requires something like
LIRC_DEVICE="name=USB IR Receiver USB IR Receiver"
but that did not work because there were no quotes around $LIRC_DEVICE in /etc/rc.d/lircd.
(Maybe I should open a separate bug for this, but than it would be really very very simple ;-)
Comment by Eric Belanger (Snowman) - Wednesday, 23 July 2008, 03:17 GMT
Should work now in lirc 0.8.3 in testing repo. Report any success or problems.
Comment by kujub (kujub) - Wednesday, 23 July 2008, 17:46 GMT
Works here. Thank you very much !

Loading...