[mythtv-users] LIRC in Mythbuntu 8.04.1

Harry Devine lifter89 at comcast.net
Tue Nov 4 11:55:18 UTC 2008


steve.goodey at bt.com wrote:
>    
>   
>> Steve,
>>
>> Not to re-hash an old topic, but I just re-installed my box 
>> with Mythbuntu 8.10, so I followed this thread that we worked 
>> on for my LIRC.  Only now, it doesn't work, and I'm not 
>> really sure why.  My /var/log/messages shows the following 
>> for my lirc_serial:
>>
>> Nov  3 23:19:53 hdevine-desktop kernel: [   18.409777] lirc_dev: IR 
>> Remote Contr
>> ol driver registered, major 61
>> Nov  3 23:19:53 hdevine-desktop kernel: [   18.414350] 
>> lirc_serial: use 
>> 'setseri
>> al /dev/ttySX uart none'
>> Nov  3 23:19:53 hdevine-desktop kernel: [   18.414351] 
>> lirc_serial: or 
>> compile t
>> he serial port driver as module and
>> Nov  3 23:19:53 hdevine-desktop kernel: [   18.414353] 
>> lirc_serial: make 
>> sure th
>> is module is loaded first
>>
>>
>> I followed the steps that you had mentioned, same as I did 
>> last time, but it appears that it doesn't work this time.  Any ideas?
>>
>> Harry
>>
>>
>>     
>
> Harry,
>
> I was afraid this might happen with a new version! Can you confirm that
> you followed the steps mentioned exactly and if so were there any error
> messages after any step?
>
> Now I have to say that in no way am I an expert on any of this, but from
> your /var/log/message it seems to mention a problem with setserial.
>
> "lirc_serial: use  'setserial /dev/ttySX uart none" have you checked
> that that line in autoserial.conf is correct?
>
> Just to emphasise, retrace your steps to make sure you haven't missed a
> step, made a typo. Failing that, hopefully someone on the list who knows
> what they are doing can help.
>
> Seems you've have a right battle on hands with this.
>
> Regards, Steve.
>
>   
I'm pretty certain that I didn't make any typos (well, I did at first 
but corrected it).  Here's what I did:
1) setup a custom remote in MCC
2) copied my lircd.conf for my remote to /etc/lirc and made it root 
owner and root group
3) copied my lircrc to /home/hdevine/.lirc, renamed it to mythtv and 
gave it hdevine owner and hdevine group
4) added modprobe lirc_serial to /etc/init.d/bootmisc.sh
5) ran the dpkg-reconfigure setserial command and chose manual
6) modified /var/lib/setserial/autoserial.conf by adding "setserial 
/dev/ttyS0 uart none"
7) copied the autoserial.conf to /etc/serial.conf
8) rebooted

Just to be clear, I originally had "/dev/tty/S0 uart none" in 
autoserial.conf and that didn't work.  I realized that it needed to be 
/dev/ttys0 instead so I tried that and got nothing.  Then, based on the 
/var/log/messages error, I changed it to "setserial /dev/ttys0 uart 
none" as it is now.

Hopefully someone has some idea what I'm missing.  Thanks again for the 
help!
Harry



More information about the mythtv-users mailing list