[Bug 425389] Re: Not works with Apple Remote on MacBook Pro 5,5
Jesus Miguel Mercado Murillo
jesusmmm at gmail.com
Sat Sep 26 21:27:28 UTC 2009
Steps to reproduce the problem:
1. Install lirc_0.8.5-0ubuntu3.
2. Install gnome-lirc-properties_0.3.1-0ubuntu2.
3. Run gnome-lirc-properties and click Auto-detect button.
Actual results:
The /etc/hardware.conf file is changed, the REMOTE_LIRCD_ARGS="" line was replaced with REMOTE_LIRCD_ARGS="''" an the REMOTE_MODULES="" was replaced with REMOTE_MODULES="''".
$ sudo /etc/init.d/lirc start
* Loading LIRC modules [ OK ]
* Unable to load LIRC kernel modules. Verify your
* selected kernel modules in /etc/lirc/hardware.conf
Expected results:
$ sudo /etc/init.d/lirc start
* Loading LIRC modules [ OK ]
* Starting remote control daemon(s) : LIRC [ OK ]
Now the /etc/init.d/lirc daemon can't start, because it does not
understand the hardware.conf file
This is not a lirc bug, it's a gnome-lirc-properties bug. Because gnome-
lirc-properties incorrectly changes the hardware.conf file.
Browsing in the gnome-lirc-properties source code, the shellquote.py file is the problematic.
When receives a "" string return "''".
I attach a patch that resolves the problem.
** Attachment added: "This patch resolves the problem the quotes in the hardware.conf file"
http://launchpadlibrarian.net/32499483/quotes.patch
--
Not works with Apple Remote on MacBook Pro 5,5
https://bugs.launchpad.net/bugs/425389
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list