LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   lirc and usb>serial converter (https://www.linuxquestions.org/questions/linux-software-2/lirc-and-usb-serial-converter-607162/)

gothicbob 12-16-2007 03:28 PM

lirc and usb>serial converter
 
A while ago I build an IR reciever following the guide on the website:
http://lnx.manoweb.com/lirc/?partTyp...e=introduction

But I was still using windows back then, and I had a serial port on my computer, so using winLirc I setup everything using COM1. However I'm now on my next computer and I have linux.

I have no serial port now, but I do usefully have a usb to serial converter, so I've plugged that in, and plugged my IR reciever into the converter. However when I setup Lirc I don't know which port to select (choice of COM1 to COM4 or other)

lsusb gives:
Bus 001 Device 005: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port

Is there a way I can set this usb to serial converter to appear as COM1? or does anyone know quite what I'm doing wrong. Thanks in advance for any help.

michaelk 12-16-2007 05:05 PM

linux serial port device IDs are ttySx (where x starts at 0) so COM1 is the same as ttyS0. USB serial adapter device IDs are ttyUSBx.

However, according to the lirc FAQ it does not appear to work.
http://www.lirc.org/faq.html

Here is another idea.
http://usbirboy.sourceforge.net/

gothicbob 12-16-2007 05:34 PM

ah cool, thanks for that link. I'll check it out and see what I can do :)

gothicbob 01-06-2008 01:06 PM

would a serial port pci card solve these problems?

michaelk 01-06-2008 02:10 PM

Yes since it would be a real hardware device.

gothicbob 01-06-2008 02:12 PM

awesome thanks, gonna buy one now :)

mattip 12-13-2009 03:04 PM

SUCCESS with pinnacle and usb->serial
 
Using a Pinnacle TV remote, pinnacle tv receiver on a serial port header, and a cheap pl2303 usb-to-serial adapter, I can now do lirc.

From the command line (as root) do:

lircd -n -H pinsys -d /dev/ttyUSB1

or in /etc/lirc/hardware.conf set these fields:

REMOTE_DRIVER="pinsys"
REMOTE_DEVICE="/dev/ttyUSB1"
REMOTE_SOCKET=""
REMOTE_LIRCD_CONF="pinnacle_systems/lircd.conf.pctv"
LOAD_MODULES="false"

and then run
/etc/init.d/lirc start

Matti


All times are GMT -5. The time now is 04:25 AM.