[mythtv-users] Lirc_serial and mceusb v2

Joseph Flack jflackmd at hotmail.com
Thu Jun 24 04:59:54 UTC 2010


Nick & Jarod

> Date: Thu, 24 Jun 2010 02:19:08 +0100
> From: knowledgejunkie at gmail.com
> To: mythtv-users at mythtv.org
> Subject: Re: [mythtv-users] Lirc_serial and mceusb v2
> 
> On 23 June 2010 01:39, Joseph Flack <jflackmd at hotmail.com> wrote:
> > Jarod's fix does not seem to work.  I am missing soemthing....
> >
> > Here is the lirc.conf in /etc/modprob.d/  Do I need to delete something?
> > ----------------------------------------------------
> > alias char-major-61-0 mceusb
> > alias char-major-61-1 lirc_serial
> 
> I'm not sure if these alias lines are required for new versions of
> LIRC which use different major numbers for their nodes. Jarod will
> know for sure.
> 
> > options lirc_serial irq=4 io=0x3f8
> > install lirc_serial setserial /dev/ttyS0 uart none ; /modprobe
> > --ignore-install lirc_serial
> 
> There's a path error in the last line - it should be:
> 
> install lirc_serial setserial /dev/ttyS0 uart none; /sbin/modprobe
> --ignore-install lirc_serial
> 
> > --------------------------------------------------------
> > Here is what I now have  in
> > /etc/rc.d/rc.local
> >
> > ---------------------------------------
> > touch /var/lock/subsys/local
> >
> > /usr/sbin/lircd --driver=lirc_serial --device=/dev/lirc1 \
> > --output=/var/run/lirc/lircd1 --pidfiles=/var/run/lirc/lircd1.pid
> 
> The driver to use with the lirc_serial module is "default", not "lirc_serial".
> 
> > -------------------------------------------------------
> >
> > Jarod's change in /etc/sysconfig/modules/lirc.modules
> >
> > #!/bin/sh
> >
> > /bin/setserial /dev/ttyS0 uart none >/dev/null 2>&1
> > /sbin/modprode lirc_serial >/dev/null 2>&1
> 
> You have a typo in the last line above - it should be:
> 
> /sbin/modprobe lirc_serial >/dev/null 2>&1
> 
> I'd also check the permissions on the file after you've corrected it.
> 
> > I get only one /dev/lirc*
> >
> > # ls -l /dev/lirc*
> > crw-rw---- 1 root root 249, 0 Jun 22 20:14 /dev/lirc0
> 
> Due to the typo above I think - I bet it'll work when you fix these errors.
> 
> Cheers,
> Nick
> 
> -- 
> Nick Morrott
> 
Nick and Jarod:

Thanks for your time.  Still working to get the serial blaster working.
1) I corrected all the typos, but I could not find the last one you indicated, above.
2) I had earlier yum installed gnome-lirc-properties from the regular repository.  Its broken of course. Could this have changed something?
3) permissions on lirc.modules are ok.

still getting:

[root at MYTHTVNEW ~]# lsmod | grep lirc
lirc_mceusb            16308  0 
lirc_dev               12221  1 lirc_mceusb


4) For Jarod, after running 'modprobe lirc_serial debug=1
dmseg
excerpts:
......
Non-volatile memory driver v1.3
Linux agpgart interface v0.103
Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
00:0e: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
......
iTCO_wdt: No card detected
lirc_mceusb: Windows Media Center Edition USB IR Transceiver driver for LIRC 1.90
lirc_mceusb: Daniel Melander <lirc at rajidae.se>, Martin Blatter <martin_a_blatter at yahoo.com>, Dan Conti <dconti at acm.wwu.edu>
usb 2-2: reset full speed USB device using uhci_hcd and address 2
8139cp: 10/100 PCI Ethernet driver v1.3 (Mar 22, 2004)
.
....
parport0: PC-style at 0x378 (0x778), irq 7 [PCSPP,TRISTATE]
lirc_mceusb 2-2:1.0: lirc_dev: driver lirc_mceusb registered at minor = 0
lirc_mceusb 2-2:1.0: usb reset config ret 0
lirc_mceusb 2-2:1.0: Registered Pinnacle Systems PCTV Remote USB on usb2:2
usbcore: registered new interface driver lirc_mceusb
Linux video capture interface: v2.00
microcode: CPU0 updated to revision 0xa3, date = 2007-08-13 
microcode: CPU1 updated to revision 0xa3, date = 2007-08-13 
....
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
eth0: no IPv6 routers present
fuse init (API version 7.13)
lirc_serial: auto-detected active high receiver
lirc_serial lirc_serial.0: lirc_dev: driver lirc_serial registered at minor = 1
[root at MYTHTVNEW ~]# 

Or 
[root at MYTHTVNEW ~]# dmesg | grep lirc
lirc_dev: IR Remote Control driver registered, major 249 
lirc_mceusb: Windows Media Center Edition USB IR Transceiver driver for LIRC 1.90
lirc_mceusb: Daniel Melander <lirc at rajidae.se>, Martin Blatter <martin_a_blatter at yahoo.com>, Dan Conti <dconti at acm.wwu.edu>
lirc_mceusb 2-2:1.0: lirc_dev: driver lirc_mceusb registered at minor = 0
lirc_mceusb 2-2:1.0: usb reset config ret 0
lirc_mceusb 2-2:1.0: Registered Pinnacle Systems PCTV Remote USB on usb2:2
usbcore: registered new interface driver lirc_mceusb
lirc_serial: auto-detected active high receiver
lirc_serial lirc_serial.0: lirc_dev: driver lirc_serial registered at minor = 1
[root at MYTHTVNEW ~]# 

Thanks guys.  Make I should give up, unistall the Fedora lirc with yum and compile from the source code?




 		 	   		  
_________________________________________________________________
Hotmail has tools for the New Busy. Search, chat and e-mail from your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-users/attachments/20100624/d5503e2b/attachment.htm>


More information about the mythtv-users mailing list