From owner-freebsd-questions@FreeBSD.ORG Fri May 26 23:05:00 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7D84216AC63 for ; Fri, 26 May 2006 23:05:00 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout1.cac.washington.edu (mxout1.cac.washington.edu [140.142.32.134]) by mx1.FreeBSD.org (Postfix) with ESMTP id BA0A843D48 for ; Fri, 26 May 2006 23:04:59 +0000 (GMT) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.139]) by mxout1.cac.washington.edu (8.13.6+UW06.03/8.13.6+UW06.03) with ESMTP id k4QN4xMa021238 for ; Fri, 26 May 2006 16:04:59 -0700 X-Auth-Received: from [128.208.5.99] (nilakantha.cs.washington.edu [128.208.5.99]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.6+UW06.03/8.13.6+UW06.03) with ESMTP id k4QN4wDO025935 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Fri, 26 May 2006 16:04:59 -0700 Message-ID: <4477899A.7090504@u.washington.edu> Date: Fri, 26 May 2006 16:04:58 -0700 From: Garrett Cooper User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <44778F35.3050006@gmx.net> <44777B6C.9000800@u.washington.edu> <44779D56.6080003@gmx.net> <44779ED6.8030807@gmx.net> In-Reply-To: <44779ED6.8030807@gmx.net> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CHARSET_IS_KOI8R 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_CHARSET_FARAWAY 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __USER_AGENT 0' Subject: Re: TV Remote Control, Lirc under FreeBSD 6.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 May 2006 23:05:06 -0000 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