LinHES Forums
http://forum.linhes.org/

Help setting up IR Blaster
http://forum.linhes.org/viewtopic.php?f=2&t=7372
Page 1 of 1

Author:  darwin [ Wed Dec 14, 2005 10:28 pm ]
Post subject:  Help setting up IR Blaster

Hi,

I'm using R5A26 and I've been trying to set up an IR Blaster to change channels on my Dish Network receiver. I've been using the How-To at

http://losdos.dyndns.org:8080/public/my ... _LIRC.html

All of the compiling in stage 1 went relatively smoothly, and stage 2 was going well until I tried to install the ledxmit_serial module:

root@mythtv:/home/mythtv# /sbin/modprobe ledxmit_serial
FATAL: Error inserting ledxmit_serial (/lib/modules/2.6.13.2-chw-3/misc/ledxmit_serial.ko): Device or resource busy

I don't know too much about this but I'm guessing something is already using com1? I only have one serial port.

How do I troubleshoot this or work around it?

Thanks,

Jon

Author:  Greg Frost [ Wed Dec 14, 2005 10:38 pm ]
Post subject: 

setserial /dev/ttyS0 uart none
or
setserial /dev/ttyS1 uart none

depending on which com port you are using.

Author:  darwin [ Thu Dec 15, 2005 12:14 am ]
Post subject: 

I tried that, but got the same result:

root@mythtv:/home/mythtv# /bin/setserial /dev/ttyS0 uart none
root@mythtv:/home/mythtv# /sbin/modprobe ledxmit_serial
FATAL: Error inserting ledxmit_serial (/lib/modules/2.6.13.2-chw-3/misc/ledxmit_serial.ko): Device or resource busy

Is there anything else it might be?

Author:  Greg Frost [ Thu Dec 15, 2005 12:33 am ]
Post subject: 

Did you do it for ttyS1? I seem to recall that it configured everything to use COM2 by default.

Author:  darwin [ Thu Dec 15, 2005 7:44 am ]
Post subject: 

That's right, the tutorial is set up for ttyS1 - COM2. My motherboard only has one serial port, though, so I changed everything to use ttyS0 - COM1.

Author:  Lev [ Fri Dec 16, 2005 7:12 pm ]
Post subject: 

darwin wrote:
That's right, the tutorial is set up for ttyS1 - COM2. My motherboard only has one serial port, though, so I changed everything to use ttyS0 - COM1.


I just installed on R5A22 last week following those instructions. Even though the instructions give you some options to change to ttyS0 (Com1) if you only have 1 serial port, I found this didn't work - though I can't remember if I get hung up on exactly the same part as you.

So I started over, and modified the myth-ledxmit.sh installation script from this:
Code:
--with-major=72 --with-port=0x2f8 --with-irq=3 --with-transmitter \
 


to this:

Code:
--with-major=72 --with-port=0x3f8 --with-irq=4 --with-transmitter \


which are the port and irq settings for Com1 rather than Com2.

After that, it all went smoothly.

Lev.

Author:  darwin [ Sat Dec 17, 2005 2:52 pm ]
Post subject: 

Thanks Lev,

That was the trick. Now I have everything loading smoothly and I'm up to step 4, testing. I'm having another difficulty here, but I'll post about that in a seperate thread.

Thanks again,

Jon

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/