[mythtv-users] /dev/lirc0 missing

nightshade at podiluk.com nightshade at podiluk.com
Fri Mar 2 21:41:08 UTC 2007


> On 02/03/07, nightshade at podiluk.com <nightshade at podiluk.com> wrote:
>> Hello,
>>
>> I'm trying to get MythTv installed on FC6. I've followed the excellent
>> guide by Jarod. I did the part setting up lirc and when I used irw I did
>> get output when I pressed the buttons. I continued on with the install
>> and
>> everything went fine and I can watch TV and recored shows. I went to go
>> use my remote and nothing... I tried using irw to test and it just
>> returns
>> back to the prompt without doing anything. I have a MCE USB RC6 remote.
>>
>> Here are logs and config files of everything I can think of:
>>
>> [root at media1 log]# uname -r
>> 2.6.19-1.2911.fc6
>>
>> [root at media1 dev]# rpm -qa \*lirc\*
>> lirc-devices-0.8-3.fc6.at
>> lirc-lib-0.8.1-65_cvs20061130.fc6.at
>> lirc-kmdl-2.6.19-1.2911.fc6-0.8.1-65_cvs20061130.fc6.at
>> lirc-0.8.1-65_cvs20061130.fc6.at
>>
>> [root at media1 etc]# cat modprobe.conf
>> alias char-major-61 lirc_mceusb2
>
> You seem to be using the lirc_mceusb module below, not the mceusb2
> specified here. Perhaps you want the alias to read:
>
> alias char-major-61 lirc_mceusb
>
>> alias eth0 skge
>> alias eth1 forcedeth
>> alias scsi_hostadapter sata_sil
>> alias scsi_hostadapter1 sata_nv
>> alias snd-card-0 snd-intel8x0
>> options snd-card-0 index=0
>> options snd-intel8x0 index=0
>> remove snd-intel8x0 { /usr/sbin/alsactl store 0 >/dev/null 2>&1 || : ;
>> };
>> /sbin/modprobe -r --ignore-remove snd-intel8x0
>> alias snd-card-2 snd-mpu401
>> options snd-card-2 index=2
>> options snd-mpu401 index=2
>> remove snd-mpu401 { /usr/sbin/alsactl store 2 >/dev/null 2>&1 || : ; };
>> /sbin/modprobe -r --ignore-remove snd-mpu401
>> # nvidia kernel module
>> alias char-major-195 nvidia-1_0-9746
>> alias nvidia nvidia-1_0-9746
>> # ivtv modules setup
>> #alias char-major-81 videodev
>> #alias char-major-81-0 ivtv
>> install lirc_mceusb2 /sbin/modprobe ivtv; /sbin/modprobe
>> --ignore-install
>> lirc_mceusb
>
> This modprobe statement is referring to 2 different lirc modules. You
> probably want it to read
>
> install lirc_mceusb /sbin/modprobe ivtv; /sbin/modprobe
> --ignore-install lirc_mceusb
>
> if you really are using the lirc_mceusb module.
>
>>
>> [root at media1 rules.d]# cat lirc.rules
>> KERNEL=="lirc[0-9]*",   NAME="lirc%n"
>> KERNEL=="lirc0",                SYMLINK="lirc"
>>
>> [root at media1 dev]# /sbin/lsmod |grep irc
>> lirc_mceusb            13152  0
>> lirc_dev               16788  1 lirc_mceusb
>
> You are using the lirc_mceusb module at this point.
>
>> [root at media1 dev]# cat /var/log/dmesg |grep irc
>> lirc_dev: no version for "struct_module" found: kernel tainted.
>> lirc_dev: IR Remote Control driver registered, at major 61
>> usbcore: registered new interface driver lirc_mceusb
>> /var/tmp/bach-build/BUILD/lirc-0.8.1/drivers/lirc_mceusb/lirc_mceusb.c:
>> USB Microsoft IR Transceiver Driver v0.2
>
> Ditto here.
>
>> Feb 28 21:53:37 media1 lircd-0.8.1-CVS[8159]: lircd(userspace) ready
>> Feb 28 21:53:50 media1 lircd-0.8.1-CVS[8159]: accepted new client on
>> /dev/lircd
>> Feb 28 21:53:50 media1 lircd-0.8.1-CVS[8159]: could not open /dev/lirc
>> Feb 28 21:53:50 media1 lircd-0.8.1-CVS[8159]: default_init(): No such
>> device
>> Feb 28 21:53:50 media1 lircd-0.8.1-CVS[8159]: caught signal
>>
>> [root at media1 dev]# ll lirc*
>> srw-rw-rw- 1 root root 0 Feb 28 21:53 lircd
>
> No /dev/lirc or /dev/lirc0 devices usually means either the LIRC
> modules are not loaded correctly, or udev has not correctly created
> devices.
>
> I would correct the errors in your modprobe.conf file, and see if this
> fixes the problem. Everything else seems to be OK (make sure you have
> a good /etc/lircd.conf file for your remote).
>
> Nick
> --

OK, I tried some of your suggestions and things seem to be working a bit
better now. I changed modprobe.conf to:

[root at media1 mythtv]# cat /etc/modprobe.conf
alias char-major-61 lirc_mceusb
...
install lirc_mceusb /sbin/modprobe ivtv; /sbin/modprobe --ignore-install
lirc_mceusb

and i also modified my /etc/lirc.conf i had two remotes defined in there.
I want to also use the usb blaster built into the receiver. I had one for
my remote and one for my cable box. i removed the one for the cable box.
the remote i have is http://www.mythtv.org/wiki/index.php/MCE_Remote the
one on the far right. from that page they say that the mceusb2 driver can
now use the usb blaster. that is why i was trying to use it. not sure if i
went about it the wrong way or if i even need to load it. this is what i
get from lsmod now:

[root at media1 mythtv]# /sbin/lsmod |grep irc*
lirc_mceusb            13152  0
lirc_mceusb2           14724  0
lirc_dev               16788  2 lirc_mceusb,lirc_mceusb2

-Darren


More information about the mythtv-users mailing list