Bug #550
lircd/run setserial command
Status: | Closed | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | jams | % Done: | 0% |
|
Category: | - | Spent time: | - | |
Target version: | - |
Description
An update today reminded me of this issue. If one is using a serial remote control, the run script for lircd has an error:
/usr/bin/setserial /dev/serial_port uart none
should be
/usr/bin/setserial /dev/$serial_port uart none
It's using a static "/dev/serial_port" string instead of the "$serial_port" variable.
The module loaded after this command is "lirc_serial". Probably 99% of the time this is correct. However some serial IR receivers (like mine) need the "lirc_sir" module.
Perhaps a solution is to add another /etc/systemconfig property where this driver can be set and the lircd/run script uses it like other properties it currently uses.