Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - mitchd123

Pages: [1]
1
Users / Re: Lirc & serial - I'm missing something simple?
« on: October 06, 2008, 08:27:56 pm »
Thom,  thank you VERY much for your reply.   

If anyone else has made a basic lirc homemade serial receiver work, I'd love to know how. http://www.lirc.org/receivers.html This is going to be a show stopper for me with LinuxMCE.   I know I'm not smart enough to get through option #2.

My home has a myth backend server like the core, but I'm not willing to put a separate front end in each room.  If I were to use a Linux MCE supported receiver on the core in the basement, I doubt it would provide reliable transportation to the second floor on the opposite side of the house.  My setup is described here: http://forums.gentoo.org/viewtopic-t-466803-highlight-.html I'm using cat 5 with a balun in each room for video, along with serial.   It offers absolutely silent operation, the limitation being no HDTV.

At this point I'll probably revert back to my original plan of installing Gentoo with Mythtv on top of it, and leverage VMware Server to serve a number of Wyse terminals which the kids use for homework.  The native, non-virtualized setup described here: http://www.freewysemonkeys.com/modules.php?name=Forums&file=viewtopic&p=3807&highlight=#3807

Thanks for your response.  You saved me at least another week of floundering trying to get it to work. 



2
Users / Lirc & serial - I'm missing something simple?
« on: October 06, 2008, 05:49:06 am »
Bear with me, newbie to LinuxMCE, but I've worked with LIRC many times before...but I'm really stumped.

For years I've used mythtv on Gentoo, and wanted to give LinuxMCE a try.

I loaded the remote and serial receiver:
(details)
In the admin tool under wizard, devices, media-director,  at the bottom of the page I've added a Infrared Remote Control.  I've clicked on add a remote, manufacturer Zenith, device category Remote Controls < Peripherals, selected auto filter, and in the device template, I've selected TV, then I clicked on pick device template.  It returns back to the main page, and at the bottom I've selected Infrared Receivers "default" which I assume is what I should use for a serial attached homebrew receiver.   At the bottom I then clicked on update.  (I know the hardware is all good because I had it working on another computer with mythtv.)  At this point I rebooted my system to be sure everything loads correctly.   While waiting for it to reboot, I loaded the Zenith TV codes on my OneForAll 6131 Universal remote.  There are four potential codes for a Zenith TV on the remote, and I'll try them all if necessary, 0017 0463 0016 0092


I see device #42 and #46 take a long time to start and I get an error message saying devices did not load correctly.  I jumped into KDE, and see the error message...Starting device 42 default, and the next line says Timeout waiting for device registration.   

Dropped into a terminal and did a sudo su:

lsmod |grep lirc   which shows only lirc_dev  I noticed /dev/lirc0 is not created. 

modprobe -a lirc_serial  which loads and creates /dev/lirc0

when I try irw  it give me "No such file or directory"

I checked /etc/lircd.conf  and it appears correct

Worth noting, I've set these options in the  /etc/hardware.conf file
START_LIRCMD=false
LOAD_MODULES=false
DRIVER="default"
DEVICES="/dev/lirc0"
MODULES="/lirc_serial"
LIRCD-CONF=/etc/lirc/lircd.conf
LIRCMD_CONF=/etc/lirc/lircmd.conf

Figuring perhaps I messed up a setting trying to get it to work, I uninstalled lirc and in Pluto admin removed the remote and default serial device, clicked update.  I deleted the /etc/lirc directory, and rebooted.

This time everything came up fine with serial and the remote removed. 

I again added the serial with default, and the remote.

#46 was hanging which is the serial device.  The log showed, no port specified.  Back in pluto admin next to the core in the right pane I added available serial ports /dev/ttyS0   and then I clicked update.  rebooted router, and again hanging on #46.

Reviewing the log I see " Not starting device 46 default - binary is not found, probably it is in the middle of installation." 

Any clues on how to get past this?    I can list /dev/ttyS0 and there is only one physical serial port on this motherboard.   I know the port is working because I was previously able to manually configure lirc without LinuxMCE and it worked fine with mythtv.  I switched to the methods I read about in the forums to get the Media Director/main interface also working. 

Any hints would be greatly appreciated.   I appears the serial port is locked by something else, and lirc_serial is not loading on startup. 

setserial -g /dev/ttyS0   
/dev/ttys0, UART: 16550A, Port: 0x03f8, IRQ: 4

















Pages: [1]