LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 12-16-2007, 04:28 PM   #1
gothicbob
Member
 
Registered: Sep 2005
Location: Birmingham / Bath Uk
Distribution: Kubuntu 8.10, Debain 4.0
Posts: 86

Rep: Reputation: 16
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.
 
Old 12-16-2007, 06:05 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 12,142

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
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/
 
Old 12-16-2007, 06:34 PM   #3
gothicbob
Member
 
Registered: Sep 2005
Location: Birmingham / Bath Uk
Distribution: Kubuntu 8.10, Debain 4.0
Posts: 86

Original Poster
Rep: Reputation: 16
ah cool, thanks for that link. I'll check it out and see what I can do
 
Old 01-06-2008, 02:06 PM   #4
gothicbob
Member
 
Registered: Sep 2005
Location: Birmingham / Bath Uk
Distribution: Kubuntu 8.10, Debain 4.0
Posts: 86

Original Poster
Rep: Reputation: 16
would a serial port pci card solve these problems?
 
Old 01-06-2008, 03:10 PM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 12,142

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
Yes since it would be a real hardware device.
 
Old 01-06-2008, 03:12 PM   #6
gothicbob
Member
 
Registered: Sep 2005
Location: Birmingham / Bath Uk
Distribution: Kubuntu 8.10, Debain 4.0
Posts: 86

Original Poster
Rep: Reputation: 16
awesome thanks, gonna buy one now
 
Old 12-13-2009, 04:04 PM   #7
mattip
LQ Newbie
 
Registered: Dec 2009
Posts: 1

Rep: Reputation: 0
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
USB to serial converter asprakash Linux - Hardware 2 03-15-2007 12:47 AM
Help with cutecom serial/USB converter required alex.pujols Linux - Newbie 0 09-14-2005 12:32 AM
pilot-link not working with USB Serial-USB Converter with m105 calmofthestorm Linux - Laptop and Netbook 0 09-03-2005 03:03 PM
USB to Serial Converter on Serial Modem bongski55 Linux - General 3 08-29-2005 11:04 AM
USB serial converter problem linuxBill Linux - Software 3 04-23-2003 09:14 AM


All times are GMT -5. The time now is 12:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration