[mythtv-users] LIRC problems
Frederick Martin
fwmartin at gmail.com
Wed Oct 19 18:22:02 EDT 2005
On 10/19/05, Roger McClurg <roger at mcclurgstudios.com> wrote:
> I am installing Mythtv on Gentoo Linux. I am using a VIA EPIA M10000
> with a PVR-350 for hardware. I can't seem to get lirc working right.
> I've followed evry howto I can find for Mythtv and this
> hardware/software, searched the archives, and monitored this list, but I
> can't find an answer.
>
> I've loaded the modules and got lircd.conf setup correctly (I think),
> but I don't get a character device /dev/lirc0, instead I get a
> /dev/lirc/0. Irrecord works OK, but irw errors out with "Connection
> refused". I tried giving it /dev/lirc/0 as a socket with the same
> results. I tried a symlink /dev/lirc0-> /dev/lirc/0 with the same results.
>
> I sure would appreciate any help.
>
> Here is some info that might help:
> -------------------------------------------------------------------------------------------
> pvr ~ # cat /etc/modules.d/ivtv
> alias char-major-81 videodev
> alias char-major-81-0 ivtv
> alias char-major-81-1 ivtv
> alias char-major-61 lirc_i2c
> add above ivtv lirc_dev lirc_i2c
> ----------------------------------------------------------------------------------------------------
> pvr ~ # lsmod
> Module Size Used by
> tda9887 12728 0
> msp3400 25672 0
> saa7127 12348 0
> saa7115 14296 0
> tuner 26760 0
> ivtv 217236 1
> snd_pcm_oss 48128 0
> snd_mixer_oss 17152 1 snd_pcm_oss
> snd_seq_oss 32384 0
> snd_seq_midi_event 6272 1 snd_seq_oss
> snd_seq 49744 4 snd_seq_oss,snd_seq_midi_event
> at76c503_rfmd 4972 0
> at76c503 102144 1 at76c503_rfmd
> at76_usbdfu 6052 1 at76c503
> bttv 148880 0
> video_buf 17636 1 bttv
> i2c_algo_bit 8808 2 ivtv,bttv
> btcx_risc 3912 1 bttv
> tveeprom 11640 1 bttv
> lirc_i2c 6756 0
> i2c_core 17840 9
> tda9887,msp3400,saa7127,saa7115,tuner,bttv,i2c_algo_bit,tveeprom,lirc_i2c
> lirc_dev 11500 1 lirc_i2c
> irda 113496 0
> snd_via82xx 22720 0
> snd_ac97_codec 79768 1 snd_via82xx
> snd_pcm 83144 3 snd_pcm_oss,snd_via82xx,snd_ac97_codec
> snd_timer 21220 2 snd_seq,snd_pcm
> snd_page_alloc 7620 2 snd_via82xx,snd_pcm
> snd_mpu401_uart 6176 1 snd_via82xx
> snd_rawmidi 20384 1 snd_mpu401_uart
> snd_seq_device 6860 3 snd_seq_oss,snd_seq,snd_rawmidi
> snd 46916 11
> snd_pcm_oss,snd_mixer_oss,snd_seq_oss,snd_seq,snd_via82xx,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
> soundcore 7552 1 snd
> usb_storage 47780 0
> ehci_hcd 43304 0
> uhci_hcd 30732 0
> ohci_hcd 33668 0
> -----------------------------------------------------------------------
> pvr ~ # ll /dev/lirc*
> lr-xr-xr-x 1 root root 11 Oct 19 17:51 /dev/lirc0 -> /dev/lirc/0
> srw-rw-rw- 1 root root 0 Oct 19 13:43 /dev/lircd
>
> /dev/lirc:
> total 0
> drwxr-xr-x 1 root root 0 Dec 31 1969 .
> drwxr-xr-x 1 root root 0 Dec 31 1969 ..
> crw------- 1 root root 61, 0 Dec 31 1969 0
> ------------------------------------------------------------------------
> pvr ~ # cat /etc/lircd.conf
> # brand: Hauppauge
> # model no. of remote control: Grey (PVR-350)
>
> begin remote
>
> name hauppaugegrey
> bits 13
> eps 30
> aeps 100
>
> one 0 0
> zero 0 0
> gap 200000
> min_repeat 4
> toggle_bit 2
>
>
> begin codes
> OFF 0x00000000000017FD
> GO 0x0000000000001FFB
> 1 0x00000000000017C1
> 2 0x00000000000017C2
> 3 0x00000000000017C3
> 4 0x00000000000017C4
> 5 0x0000000000001FC5
> 6 0x0000000000001FC6
> 7 0x0000000000001FC7
> 8 0x0000000000001FC8
> 9 0x0000000000001FC9
> 0 0x00000000000017C0
> BACK/EXIT 0x00000000000017DF
> MENU 0x0000000000001FCD
> CH+ 0x00000000000017E0
> OK 0x00000000000017E5
> CH- 0x00000000000017E1
> VOL- 0x0000000000001FD1
> VOL+ 0x00000000000017D0
> RED 0x0000000000001FCB
> GREEN 0x0000000000001FEE
> YELLOW 0x00000000000017F8
> BLUE 0x0000000000001FE9
> MUTE 0x00000000000017CF
> BLANK 0x0000000000001FCC
> FULL 0x00000000000017FC
> REW 0x0000000000001FF2
> PLAY 0x00000000000017F5
> FFW 0x0000000000001FF4
> RECORD 0x00000000000017F7
> STOP 0x0000000000001FF6
> PAUSE 0x00000000000017F0
> REPLAY 0x0000000000001FE4
> SKIP 0x00000000000017DE
> end codes
>
> end remote
>
>
>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
What is in the /etc/conf.d/lircd file? Do you have LIRCD_OPTS="-d
/dev/lirc/0" in it?
More information about the mythtv-users
mailing list