<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Nick & Jarod<br><br>> Date: Thu, 24 Jun 2010 02:19:08 +0100<br>> From: knowledgejunkie@gmail.com<br>> To: mythtv-users@mythtv.org<br>> Subject: Re: [mythtv-users] Lirc_serial and mceusb v2<br>> <br>> On 23 June 2010 01:39, Joseph Flack <jflackmd@hotmail.com> wrote:<br>> > Jarod's fix does not seem to work. I am missing soemthing....<br>> ><br>> > Here is the lirc.conf in /etc/modprob.d/ Do I need to delete something?<br>> > ----------------------------------------------------<br>> > alias char-major-61-0 mceusb<br>> > alias char-major-61-1 lirc_serial<br>> <br>> I'm not sure if these alias lines are required for new versions of<br>> LIRC which use different major numbers for their nodes. Jarod will<br>> know for sure.<br>> <br>> > options lirc_serial irq=4 io=0x3f8<br>> > install lirc_serial setserial /dev/ttyS0 uart none ; /modprobe<br>> > --ignore-install lirc_serial<br>> <br>> There's a path error in the last line - it should be:<br>> <br>> install lirc_serial setserial /dev/ttyS0 uart none; /sbin/modprobe<br>> --ignore-install lirc_serial<br>> <br>> > --------------------------------------------------------<br>> > Here is what I now have in<br>> > /etc/rc.d/rc.local<br>> ><br>> > ---------------------------------------<br>> > touch /var/lock/subsys/local<br>> ><br>> > /usr/sbin/lircd --driver=lirc_serial --device=/dev/lirc1 \<br>> > --output=/var/run/lirc/lircd1 --pidfiles=/var/run/lirc/lircd1.pid<br>> <br>> The driver to use with the lirc_serial module is "default", not "lirc_serial".<br>> <br>> > -------------------------------------------------------<br>> ><br>> > Jarod's change in /etc/sysconfig/modules/lirc.modules<br>> ><br>> > #!/bin/sh<br>> ><br>> > /bin/setserial /dev/ttyS0 uart none >/dev/null 2>&1<br>> > /sbin/modprode lirc_serial >/dev/null 2>&1<br>> <br>> You have a typo in the last line above - it should be:<br>> <br>> /sbin/modprobe lirc_serial >/dev/null 2>&1<br>> <br>> I'd also check the permissions on the file after you've corrected it.<br>> <br>> > I get only one /dev/lirc*<br>> ><br>> > # ls -l /dev/lirc*<br>> > crw-rw---- 1 root root 249, 0 Jun 22 20:14 /dev/lirc0<br>> <br>> Due to the typo above I think - I bet it'll work when you fix these errors.<br>> <br>> Cheers,<br>> Nick<br>> <br>> -- <br>> Nick Morrott<br>> <br>Nick and Jarod:<br><br>Thanks for your time. Still working to get the serial blaster working.<br>1) I corrected all the typos, but I could not find the last one you indicated, above.<br>2) I had earlier yum installed gnome-lirc-properties from the regular repository. Its broken of course. Could this have changed something?<br>3) permissions on lirc.modules are ok.<br><br>still getting:<br><br>[root@MYTHTVNEW ~]# lsmod | grep lirc<br>lirc_mceusb 16308 0 <br>lirc_dev 12221 1 lirc_mceusb<br><br><br>4) For Jarod, after running 'modprobe lirc_serial debug=1<br>dmseg<br>excerpts:<br>......<br>Non-volatile memory driver v1.3<br>Linux agpgart interface v0.103<br>Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled<br>serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A<br>00:0e: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A<br>......<br>iTCO_wdt: No card detected<br>lirc_mceusb: Windows Media Center Edition USB IR Transceiver driver for LIRC 1.90<br>lirc_mceusb: Daniel Melander <lirc@rajidae.se>, Martin Blatter <martin_a_blatter@yahoo.com>, Dan Conti <dconti@acm.wwu.edu><br>usb 2-2: reset full speed USB device using uhci_hcd and address 2<br>8139cp: 10/100 PCI Ethernet driver v1.3 (Mar 22, 2004)<br>.<br>....<br>parport0: PC-style at 0x378 (0x778), irq 7 [PCSPP,TRISTATE]<br>lirc_mceusb 2-2:1.0: lirc_dev: driver lirc_mceusb registered at minor = 0<br>lirc_mceusb 2-2:1.0: usb reset config ret 0<br>lirc_mceusb 2-2:1.0: Registered Pinnacle Systems PCTV Remote USB on usb2:2<br>usbcore: registered new interface driver lirc_mceusb<br>Linux video capture interface: v2.00<br>microcode: CPU0 updated to revision 0xa3, date = 2007-08-13 <br>microcode: CPU1 updated to revision 0xa3, date = 2007-08-13 <br>....<br>RPC: Registered tcp transport module.<br>RPC: Registered tcp NFSv4.1 backchannel transport module.<br>eth0: no IPv6 routers present<br>fuse init (API version 7.13)<br>lirc_serial: auto-detected active high receiver<br>lirc_serial lirc_serial.0: lirc_dev: driver lirc_serial registered at minor = 1<br>[root@MYTHTVNEW ~]# <br><br>Or <br>[root@MYTHTVNEW ~]# dmesg | grep lirc<br>lirc_dev: IR Remote Control driver registered, major 249 <br>lirc_mceusb: Windows Media Center Edition USB IR Transceiver driver for LIRC 1.90<br>lirc_mceusb: Daniel Melander <lirc@rajidae.se>, Martin Blatter <martin_a_blatter@yahoo.com>, Dan Conti <dconti@acm.wwu.edu><br>lirc_mceusb 2-2:1.0: lirc_dev: driver lirc_mceusb registered at minor = 0<br>lirc_mceusb 2-2:1.0: usb reset config ret 0<br>lirc_mceusb 2-2:1.0: Registered Pinnacle Systems PCTV Remote USB on usb2:2<br>usbcore: registered new interface driver lirc_mceusb<br>lirc_serial: auto-detected active high receiver<br>lirc_serial lirc_serial.0: lirc_dev: driver lirc_serial registered at minor = 1<br>[root@MYTHTVNEW ~]# <br><br>Thanks guys. Make I should give up, unistall the Fedora lirc with yum and compile from the source code?<br><br><br><br><br>                                            <br /><hr />Hotmail has tools for the New Busy. Search, chat and e-mail from your inbox. <a href='http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_1' target='_new'>Learn more.</a></body>
</html>