Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 May 2006 16:04:58 -0700
From:      Garrett Cooper <youshi10@u.washington.edu>
To:        freebsd-questions@freebsd.org
Subject:   Re: TV Remote Control, Lirc under FreeBSD 6.1
Message-ID:  <4477899A.7090504@u.washington.edu>
In-Reply-To: <44779ED6.8030807@gmx.net>
References:  <44778F35.3050006@gmx.net> <44777B6C.9000800@u.washington.edu>	<44779D56.6080003@gmx.net> <44779ED6.8030807@gmx.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4477899A.7090504>