[mythtv-users] Lirc and laptop IR ports

Michael Lynch lynchmv at gmail.com
Fri Nov 10 20:49:25 UTC 2006


On 11/10/06, Melvin J. Cureton <melvincureton at melcrys.com> wrote:
>
>
> I have a Dell Inspiron 8000 that has a built-in IRDA port. How do I know the
> address of that port. I know if it were plugged into a serial port I'd just
> point to that serial port and set the communication settings. Any ideas on
> how to find this one. Would it still show on a serial port? What kind of
> name would it show up as? I am running FC6. I went by Jarod's instructions
> for a serial receiver just to see if I could find it by accident but don't
> think that worked since irw won't run. I plan on having another test Myth FE
> running on another laptop that has an integrated IR port. Any help would be
> greatly appreciated.
>
>
>
> Thank You
> Melvin Cureton
> melvincureton at melcrys.com
>

I just played around with this so on an IBM Thinkpad T43 and Slackware
10.2.  I build lirc from source to get the modules I needed, but I
think the rpm's have them all built by default.

This is from memory mostly, but here is what I've got.

===================================

-In your BIOS, set your IR port to a specific I/O and IRQ (I/O 0x2f8 -
IRQ 3 for example)

-Boot to linux

-$> dmesg |grep tty
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a NS16550A
The above line will tell you which tty your serial port is on (ttyS1
in this example)

-$>setserial /dev/ttyS1 uart none
The above line 'releases' the serial port (my lack of knowledge shows here)

-$>modprobe lirc_sir
Loads the lirc module

-$>ls -l /dev/lirc*
/dev/lirc0
/dev/lircd|
/dev/lircm|
Gets your lirc device (/dev/lirc0 in this example)

-$>irrecord -d /dev/lirc0
Records input from /dev/lirc0


=====================================

HTH


More information about the mythtv-users mailing list