Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Users

Lirc and laptop IR ports

 

 

MythTV users RSS feed   Index | Next | Previous | View Threaded


melvincureton at MELCRYS

Nov 10, 2006, 12:10 PM

Post #1 of 8 (1552 views)
Permalink
Lirc and laptop IR ports

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


melvincureton at MELCRYS

Nov 10, 2006, 12:21 PM

Post #2 of 8 (1535 views)
Permalink
Re: Lirc and laptop IR ports [In reply to]

This is what shows in /var/log/messages.

Nov 10 14:59:04 localhost lircd-0.8.1-CVS[3009]: lircd(userspace) ready
Nov 10 14:59:07 localhost lircd-0.8.1-CVS[3009]: accepted new client on /dev/lircd
Nov 10 14:59:07 localhost lircd-0.8.1-CVS[3009]: could not get file information for /dev/lirc
Nov 10 14:59:07 localhost lircd-0.8.1-CVS[3009]: default_init(): No such file or directory
Nov 10 14:59:07 localhost lircd-0.8.1-CVS[3009]: caught signal
Nov 10 14:59:12 localhost lircd-0.8.1-CVS[3036]: lircd(userspace) ready
Nov 10 14:59:14 localhost lircd-0.8.1-CVS[3036]: caught signal
Nov 10 14:59:14 localhost lircd-0.8.1-CVS[3059]: lircd(userspace) ready
Nov 10 14:59:21 localhost lircd-0.8.1-CVS[3059]: accepted new client on /dev/lircd
Nov 10 14:59:21 localhost lircd-0.8.1-CVS[3059]: could not get file information for /dev/lirc
Nov 10 14:59:21 localhost lircd-0.8.1-CVS[3059]: default_init(): No such file or directory
Nov 10 14:59:21 localhost lircd-0.8.1-CVS[3059]: caught signal
Nov 10 15:03:58 localhost lircd-0.8.1-CVS[3106]: lircd(userspace) ready
Nov 10 15:04:01 localhost lircd-0.8.1-CVS[3106]: caught signal
Nov 10 15:04:01 localhost lircd-0.8.1-CVS[3129]: lircd(userspace) ready
Nov 10 15:04:05 localhost lircd-0.8.1-CVS[3129]: accepted new client on /dev/lircd
Nov 10 15:04:05 localhost lircd-0.8.1-CVS[3129]: could not get file information for /dev/lirc
Nov 10 15:04:05 localhost lircd-0.8.1-CVS[3129]: default_init(): No such file or directory
Nov 10 15:04:05 localhost lircd-0.8.1-CVS[3129]: caught signal
Nov 10 15:04:16 localhost lircd-0.8.1-CVS[3157]: lircd(userspace) ready
Nov 10 15:04:19 localhost lircd-0.8.1-CVS[3157]: accepted new client on /dev/lircd
Nov 10 15:04:19 localhost lircd-0.8.1-CVS[3157]: could not get file information for /dev/lirc
Nov 10 15:04:19 localhost lircd-0.8.1-CVS[3157]: default_init(): No such file or directory
Nov 10 15:04:19 localhost lircd-0.8.1-CVS[3157]: caught signal
Nov 10 15:05:28 localhost lircd-0.8.1-CVS[3202]: lircd(userspace) ready
Nov 10 15:05:32 localhost lircd-0.8.1-CVS[3202]: accepted new client on /dev/lircd
Nov 10 15:05:32 localhost lircd-0.8.1-CVS[3202]: could not get file information for /dev/lirc
Nov 10 15:05:32 localhost lircd-0.8.1-CVS[3202]: default_init(): No such file or directory
Nov 10 15:05:32 localhost lircd-0.8.1-CVS[3202]: caught signal
Nov 10 15:05:50 localhost lircd-0.8.1-CVS[3246]: lircd(userspace) ready
Nov 10 15:05:54 localhost lircd-0.8.1-CVS[3246]: caught signal
Nov 10 15:24:16 localhost lircd-0.8.1-CVS[3307]: lircd(userspace) ready
Nov 10 15:24:19 localhost lircd-0.8.1-CVS[3307]: accepted new client on /dev/lircd
Nov 10 15:24:19 localhost lircd-0.8.1-CVS[3307]: could not get file information for /dev/lirc
Nov 10 15:24:19 localhost lircd-0.8.1-CVS[3307]: default_init(): No such file or directory
Nov 10 15:24:19 localhost lircd-0.8.1-CVS[3307]: caught signal
Nov 10 15:24:44 localhost lircd-0.8.1-CVS[3322]: lircd(userspace) ready
Nov 10 15:24:48 localhost lircd-0.8.1-CVS[3322]: accepted new client on /dev/lircd
Nov 10 15:24:48 localhost lircd-0.8.1-CVS[3322]: could not get file information for /dev/lirc
Nov 10 15:24:48 localhost lircd-0.8.1-CVS[3322]: default_init(): No such file or directory
Nov 10 15:24:48 localhost lircd-0.8.1-CVS[3322]: caught signal
Nov 10 15:24:51 localhost lircd-0.8.1-CVS[3337]: lircd(userspace) ready
Nov 10 15:25:08 localhost lircd-0.8.1-CVS[3337]: accepted new client on /dev/lircd
Nov 10 15:25:08 localhost lircd-0.8.1-CVS[3337]: could not get file information for /dev/lirc
Nov 10 15:25:08 localhost lircd-0.8.1-CVS[3337]: default_init(): No such file or directory
Nov 10 15:25:08 localhost lircd-0.8.1-CVS[3337]: caught signal

Thank You
Melvin Cureton
melvincureton [at] melcrys

________________________________

From: mythtv-users-bounces [at] mythtv on behalf of Melvin J. Cureton
Sent: Fri 11/10/2006 3:10 PM
To: mythtv-users [at] mythtv
Subject: [mythtv-users] Lirc and laptop IR ports


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


lynchmv at gmail

Nov 10, 2006, 12:49 PM

Post #3 of 8 (1532 views)
Permalink
Re: Lirc and laptop IR ports [In reply to]

On 11/10/06, Melvin J. Cureton <melvincureton [at] melcrys> 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
>

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
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


daworm at comcast

Nov 10, 2006, 1:01 PM

Post #4 of 8 (1534 views)
Permalink
Re: Lirc and laptop IR ports [In reply to]

Melvin J. Cureton 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.

To the best of my knowledge, lirc will not run on an IRDA port. IRDA
modulates the IR signal in a completely different way than used by
remote controls.

See http://www.lirc.org/irda.html

Jeff.

--
I haven't smoked for 2 months, 3 weeks and 3 days,
saving $385.82 and not smoking 2,572.17 cigarettes.
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


lynchmv at gmail

Nov 10, 2006, 5:23 PM

Post #5 of 8 (1511 views)
Permalink
Re: Lirc and laptop IR ports [In reply to]

>
> To the best of my knowledge, lirc will not run on an IRDA port. IRDA
> modulates the IR signal in a completely different way than used by
> remote controls.
>
> See http://www.lirc.org/irda.html
>
> Jeff.
>
>

Note, my previously mentioned configuration was only for capturing ir
signals and was not tested for sending them.
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


fancypantalons at gmail

Nov 10, 2006, 6:40 PM

Post #6 of 8 (1522 views)
Permalink
Re: Lirc and laptop IR ports [In reply to]

>
> > To the best of my knowledge, lirc will not run on an IRDA port. IRDA
> > modulates the IR signal in a completely different way than used by
> > remote controls.
> >
> > See http://www.lirc.org/irda.html
> >
> > Jeff.
> >
> >
>
> Note, my previously mentioned configuration was only for capturing ir
> signals and was not tested for sending them.
>

Even for capturing an IrDA port is unlikely to be able to properly receive
CIR (consumer IR) signals reliably. Even if you could get it to work, it
would likely only operate at very specific distances, with rather limited
range (see the aforementioned page for details).

Brett.


lynchmv at gmail

Nov 10, 2006, 7:19 PM

Post #7 of 8 (1513 views)
Permalink
Re: Lirc and laptop IR ports [In reply to]

>
> Even for capturing an IrDA port is unlikely to be able to properly receive
> CIR (consumer IR) signals reliably. Even if you could get it to work, it
> would likely only operate at very specific distances, with rather limited
> range (see the aforementioned page for details).
>
> Brett.
>

With that being said, I have used irrecord with the irda port on my
T43 in the aforementioned setup to capture 4 different remotes in my
house. Comparing the captured files to the ones available via the web
it is properly capturing the signals. The remotes I'm capturing are
various ones that have come with my devices over the years and also my
grey hauppauge remote that came with the pvr-350.
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


gary.dawes at gmail

Nov 11, 2006, 11:57 AM

Post #8 of 8 (1523 views)
Permalink
Re: Lirc and laptop IR ports [In reply to]

On 11/11/06, Michael Lynch <lynchmv [at] gmail> wrote:
>
> >
> > Even for capturing an IrDA port is unlikely to be able to properly
> receive
> > CIR (consumer IR) signals reliably. Even if you could get it to work,
> it
> > would likely only operate at very specific distances, with rather
> limited
> > range (see the aforementioned page for details).
> >
> > Brett.
> >
>
> With that being said, I have used irrecord with the irda port on my
> T43 in the aforementioned setup to capture 4 different remotes in my
> house. Comparing the captured files to the ones available via the web
> it is properly capturing the signals. The remotes I'm capturing are
> various ones that have come with my devices over the years and also my
> grey hauppauge remote that came with the pvr-350.
> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>

I've gotton lirc to work on a Dell latitude d600. just set the irda / com
port in the bios, and compile the lirc_module for serial ports (lirc_sir),
and point it to the com port.

I needed to run setserial dev/ttyS1 uart none (i'm using com2, com1 is
ttyS0). works fine with a Sky remote control (i'm in the UK), but the
receiver is in such a poor position on the laptop that it's only useful for
curiosity value.


hop this helps.

gary

MythTV users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.