[mythtv-users] Serial Hauppauge Remote: mode2 "OK", irw says "connect: Connection refused"

Larry larry at foxgulch.com
Thu Jan 11 14:51:26 UTC 2007


My lirc enabled remote once functioned OK in MythTV.  But I spoke
crossly one day and it hasn't worked since.

# ls -al /dev/lir*
lrwxrwxrwx 1 root users     5 Jan 11 07:22 /dev/lirc -> lirc0
crw-rw---- 1 root users 61, 0 Jan 11 07:22 /dev/lirc0
srw-rw-rw- 1 root users     0 Jan 11 07:30 /dev/lircd
prw-rw-r-- 1 root users     0 Jan 11 07:30 /dev/lircm

All the little deamons are running or can be forced to run ....
# /sbin/service lircd restart
Stopping infrared remote control mouse daemon:             [FAILED]
Stopping infrared remote control daemon:                   [FAILED]
Starting infrared remote control daemon:                   [  OK  ]
Starting infrared remote control mouse daemon:             [  OK  ]

Mode2 runs.....
#mode2 --device=/dev/lirc0
space 16777215
pulse 960
space 829
pulse 1825
space 1724
.....
( etc. with a button push until terminated with Cntrl+C)

But  irw refuses to run, witness:
# irw /dev/lircd
connect: Connection refused
irw /dev/lirc0
connect: Connection refused


Needless to say my Hauppauge Remote doesn't function within MythTV either.
But a week or so ago,  it worked OK.  [;-(

Would someone nudge me in the direction of diagnosing whats wrong?
I've been fighting with this daily for two weeks! (Yes, I know I what
that says about me and it's not very flattering [;-)
Thank you,
Larry

------------------------------------------------
I read and heeded the advice I found here:
http://sourceforge.net/mailarchive/message.php?msg_id=122
posted by Eli Crumrine
namely:
mode2 -d /dev/lirc0 # test the device working
chgrp -R users /dev/lirc* # allow all in group "users" access to the 
lirc devices
chmod -R g+rw /dev/lirc* # allow that group to read/write to devices
lircd --device=/dev/lirc0 # run lircd on device /dev/lirc0

and I removed the symlink (per suggestion from Eli C.ref. above)
lrwxrwxrwx 1 root root     5 Jan 10 08:55 /dev/lirc -> lirc0
using
# unlink /dev/lirc

but the symlink is restored after reboot and removal doesn't help
start irw functioning anyway.
-------------------------------
Other info .....
mythfrontend --version = 0.20.20060828-3
kernel version  = 2.6.18-1.2869.fc6
yum says these packages are installed:
Installed Packages
lirc.i386                                0.8.1-65_cvs20061130.f installed
lirc-devices.noarch                      0.8-3.fc6.at           installed
lirc-doc.i386                            0.8.1-1.fc6            installed
lirc-kmdl-2.6.18-1.2869.fc6.i686         0.8.1-65_cvs20061130.f installed
lirc-lib.i386                            0.8.1-65_cvs20061130.f installed

--------------------------
 From a reboot, here's the system lirc related output
after I removed all lirc rpms except lirc-lib.i386
reinstalled them with yum and rebooted.
(I hope this is helpful)
--------------------------
# cat /var/log/messages | grep lirc
Jan 11 06:53:56 lian Erased: lirc
Jan 11 06:55:37 lian Erased: lirc-kmdl-2.6.18-1.2869.fc6
Jan 11 06:55:42 lian Erased: lirc-devices
Jan 11 07:03:54 lian Installed: lirc-devices.noarch 0.8-3.fc6.at
Jan 11 07:03:58 lian Installed: lirc-kmdl-2.6.18-1.2869.fc6.i686 
0.8.1-65_cvs20061130.fc6.at
Jan 11 07:11:27 lian Installed: lirc.i386 0.8.1-65_cvs20061130.fc6.at
Jan 11 07:12:11 lian lircd-0.8.1-CVS[3291]: lircd(userspace) ready
Jan 11 07:12:11 lian lircd-0.8.1-CVS[3291]: accepted new client on 
/dev/lircd
Jan 11 07:12:11 lian lircd-0.8.1-CVS[3291]: could not get file 
information for /dev/lirc
Jan 11 07:12:11 lian lircd-0.8.1-CVS[3291]: default_init(): No such file 
or directory
Jan 11 07:12:11 lian lircd-0.8.1-CVS[3291]: caught signal
Jan 11 07:18:53 lian lircd-0.8.1-CVS[3354]: lircd(userspace) ready
Jan 11 07:18:53 lian lircd-0.8.1-CVS[3354]: accepted new client on 
/dev/lircd
Jan 11 07:18:53 lian lircd-0.8.1-CVS[3354]: could not get file 
information for /dev/lirc
Jan 11 07:18:53 lian lircd-0.8.1-CVS[3354]: default_init(): No such file 
or directory
Jan 11 07:18:53 lian lircd-0.8.1-CVS[3354]: caught signal
Jan 11 07:22:59 lian kernel: lirc_dev: IR Remote Control driver 
registered, at major 61
Jan 11 07:22:59 lian kernel: lirc_serial: auto-detected active low receiver
Jan 11 07:22:59 lian kernel: lirc_dev: lirc_register_plugin: sample_rate: 0
Jan 11 07:30:43 lian lircd-0.8.1-CVS[3277]: lircd(userspace) ready
Jan 11 07:30:43 lian lircd-0.8.1-CVS[3277]: accepted new client on 
/dev/lircd



More information about the mythtv-users mailing list