TV Remote Control, Lirc under FreeBSD 6.1

Garrett Cooper youshi10 at u.washington.edu
Fri May 26 16:05:06 PDT 2006


Evgeny Solovyov wrote:
>>>> Anybody use lirc under FreeBSD 6.x? (/usr/ports/comms/lirc)
>>>>
>>>> I have a Problems to use it:
>>>>
>>>>
>>>>
>>>> # lircd -n --device=/dev/ttyd0 /tmp/lirc.conf
>>>> lircd 0.7.2: lircd(irman) ready
>>>> ..
>>>>
>>>> # irw /var/lirc/lircd
>>>>
>>>> ..
>>>> lircd 0.7.2: accepted new client on /var/lirc/lircd
>>>> lircd 0.7.2: could not open /dev/ttyd0
>>>> lircd 0.7.2: irman_init(): Operation timed out
>>>> lircd 0.7.2: caught signal
>>>> Terminated
>>>> #
>>>>
>>>>
>>>> Does anyone have any ideas? Please help me.
>>> What are the permissions for /dev/ttyd0? Also, what groups do you 
>>> belong to?
>>> -Garrett
>>
>> with permissions is all Ok.
>>
>> # ls -l /var/lirc/lircd
>> srw-r--r--  1 root  wheel  0 May 27 00:24 /var/lirc/lircd=
>>
>>
>> And i try it als root.
>
>
> Sorry i was to fast  :)
>
> # ls -l /dev/ttyd0
> crw-------  1 root  wheel    0,  53 May 26 23:20 /dev/ttyd0
> #
Are you sure you're accessing that as root? Try adding world read 
permissions (and maybe world write permissions if the read permissions 
don't solve your problem) for the device because maybe lirc is being run 
by a secondary daemon user.
-Garrett


More information about the freebsd-questions mailing list