LinHES Forums http://forums.linhes.org/ |
|
Homebrew serial irblaster on R6.03 ... AGAIN!! http://forums.linhes.org/viewtopic.php?f=21&t=21978 |
Page 1 of 1 |
Author: | douw [ Thu Jan 13, 2011 1:45 pm ] |
Post subject: | Homebrew serial irblaster on R6.03 ... AGAIN!! |
So my mainboard died. I installed a new one and I did an auto upgrade from CD. Now lirc doesn't work once again. I put the script from kebe in LinHES issue 328 in /etc/runit and rebooted. Everything seems ok, except my remote does nothing, but irw returns nothing, irsend doesn't give any error either. Code: dmesg | grep lirc gives;Code: lirc_dev: IR Remote Control driver registered, major 61 lirc_serial: auto-detected active low receiver lirc_dev: lirc_register_plugin: sample_rate: 0 Code: dmesg | grep serial gives;Code: serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A lirc_serial: auto-detected active low receiver tveeprom 0-0050: Hauppauge model 26559, rev F089, serial# 10186907 Code: ls -l /dev/li* gives;Code: lrwxrwxrwx 1 root root 5 2011-01-13 19:26 /dev/lirc -> lirc0 crw-rw---- 1 root root 61, 0 2011-01-13 19:26 /dev/lirc0 srw-rw-rw- 1 root root 0 2011-01-13 20:28 /dev/lircd srw-rw-rw- 1 root root 0 2011-01-13 20:28 /dev/lircd1 Code: sudo sv restart lircd gives;Code: ok: run: lircd: (pid 8410) 1s Code: lsmod | grep lirc gives;Code: lirc_serial 14740 0
lirc_dev 13492 1 lirc_serial Please help! How can I test the serial port hardware further? |
Author: | Martian [ Thu Jan 13, 2011 4:18 pm ] |
Post subject: | |
Many motherboards have serial headers that aren't actually brought out to ports. You can check in your BIOS and see if perhaps multiple ports are listed and go from there. It could be that that "com1" / "ttys1" is actually just a header port and you are connected to the 2nd port. unlikely but possible. |
Author: | slowtolearn [ Thu Jan 13, 2011 4:29 pm ] |
Post subject: | |
For my serial IR receiver I had to add Code: setserial /dev/ttyS0 uart none to my startup scripts to disable the serial port, load the lirc_serial module and set the permissions correctly. Not running LinHES currently, but it looks like Service Menu->linHES Configuration->Remotes should handle this for you: http://knoppmyth.net/phpBB2/viewtopic.p ... =setserial
modprobe lirc_serial chmod 666 /dev/lirc0 |
Author: | douw [ Fri Jan 14, 2011 1:59 am ] |
Post subject: | |
Martian: The mobo only has the header, no com port on the back panel. The header is brought out with a ribbon to a DB9 on a bracket. The BIOS only list the one port with address and IRQ selectable. The BIOS corresponds with what is shown in my previous post. Slowtolearn: Isn't the script supposed to take care of that? Thanks for the replies guys. |
Author: | douw [ Sun Jan 16, 2011 4:10 am ] |
Post subject: | |
I restored the scipts to standard as for R6.03. The modules stil load and devices are listed correctly. But still no joy. Just check levels on the port, looks like what ever killed the mobo might have fried the lirc hardware too. |
Author: | douw [ Mon Jan 17, 2011 5:51 am ] |
Post subject: | |
No, got excited to quick, she works on winlirc. The search continues. |
Author: | knappster [ Mon Jan 17, 2011 9:42 pm ] |
Post subject: | |
I have virtually no knowledge of the workings of lirc, but I believe I just made the modifications in the following two posts on the bugs page and mine worked: http://linhes.org/bugs/issues/328#note-1 http://linhes.org/bugs/issues/328#note-9 I have a USB receiver (streamzap) and a homebrew serial blaster. |
Author: | douw [ Tue Jan 18, 2011 6:34 am ] |
Post subject: | |
I'm giving up, I don't have the time anymore to battle this. I bought a commercial hardware media player and a set top box from my satellite service provider with PVR built in. Bye, bye mythtv, it's been fun but my patience are wearing thinner and thinner the older I get. Maybe it's just because I have the money now to afford the alternatives? |
Author: | Martian [ Tue Jan 18, 2011 11:10 am ] |
Post subject: | |
While I understand the frustration a slightly less extreme approach would have been to purchase a Streamzap remote: http://www.streamzap.com/consumer/pc_remote/index.php |
Author: | douw [ Tue Jan 18, 2011 11:45 am ] |
Post subject: | |
Thanks Martian. It's not really the frustration factor that decided me. I simply don't have the tinker time anymore to play with a homemade media centre setup. I just love frustrating the hell out of myself and figuring something out eventually. The streamzap is rather dear over here in ZA, so the media player I bought was just a bit better option for me at basically the same price. Also, the new settop box is the bottom of the range one that enables the few HD channels we have over here, so that was also a considiration. I will keep my LinHES hardware functional anyway, and keep following it's progression as time permits. |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |