Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Other Community Discussions > 3rd Party Projects > Projects > Mythbuntu
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Ubuntu 9.10 is out!!!

When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu.

The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely.

Mythbuntu
Discussions for the Mythbuntu project.

 
Thread Tools Display Modes
Old October 10th, 2007   #1
mr_bungalow
5 Cups of Ubuntu
 
Join Date: Oct 2007
Location: Minneapolis
Beans: 18
Gutsy Gibbon Testing
getting homebrew serial reciever to work?

I followed the guides over at https://help.ubuntu.com/community/Install_Lirc_Gutsy and I can't seem to get this to work. Every time I try to do IRW I get
Code:
connect: connection refused
.
When I restart lircd nothing even populates in my dmesg. I think I'm close but I'm not sure where to go from here! I think I need kernel modules (?).
mr_bungalow is offline   Reply With Quote
Old October 10th, 2007   #2
superm1
Ubuntu Developer
 
superm1's Avatar
 
Join Date: Oct 2005
Location: Austin, TX
Beans: 2,725
Ubuntu 8.04 Hardy Heron
Re: getting homebrew serial reciever to work?

When LIRC was installed, did you choose the proper option for the serial receiver?

If not (or your not sure), then do this:

sudo dpkg-reconfigure lirc

Choose the serial receiver option (or the serial igor variant if you have an igor receiver built).


Since you are using your own remote configuration to go with the receiver, copy it into the /etc/lirc/lircd.conf file already there.

Open up mythbuntu control centre, and hit the checkbox to regenerate a dynamic button mappings.
superm1 is offline   Reply With Quote
Old October 10th, 2007   #3
mr_bungalow
5 Cups of Ubuntu
 
Join Date: Oct 2007
Location: Minneapolis
Beans: 18
Gutsy Gibbon Testing
Re: getting homebrew serial reciever to work?

I need LIRC (IRW or mode2) to work in order to create my own .lircd file. I did select the proper option to load the serial receiver.

In mythbuntu control center, I only have the option to select a remote and mine isn't available. When I try to select a remote, there is none that require no driver and the lirc_serial module.

For some reason SSH isn't working today so I'll try this when I get home over lunch.
mr_bungalow is offline   Reply With Quote
Old October 10th, 2007   #4
dannyboy79
Ubuntu addict and loving it
 
dannyboy79's Avatar
 
Join Date: May 2006
Location: Milwaukee,WI
Beans: 4,143
Ubuntu 7.04 Feisty Fawn
Send a message via AIM to dannyboy79
Re: getting homebrew serial reciever to work?

if you don't have a lircd.conf than you need to use irrecord first to create one. irw parses your lircd.conf so if it's not there, I am guessing that it's making lircd crash. After you run irw, and you get the error. What happens if you issue this command:
ps aux | grep lirc
Does it return a line like this:
root 5365 0.0 0.0 2876 576 ? Ss Oct05 0:00 /usr/sbin/lircd --device=/dev/lirc0 --device=/dev/lirc0

If not, than your lircd crashed and closed.

Just chose none for now with mythbuntu and we'll create your lircd.conf remote file outside of mythbuntu control setup. Some other things to check just in case, my serial port is COM1 where I have seen many guides that say the default is COM2. You can find this by looking at your dmesg output using this command:
dmesg | grep ttyS
If it returns this:
[ 1.521568] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[ 1.522180] 00:0a: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
Than that means that your serial receiver is connected to COM1 NOT COM2.
Also, if you're using the serial IR receiver, you'll need to disable the kernel serial support, See the wiki towards the bottom.

Then see lower on the website you linked to and follow the part: "Recording a Remote" This requires that NO other lircd is active, so if it's on, kill it using ps aux and kill the program id using "sudo kill xxxx". then follow the guide for creating a remote.

Good luck
__________________
Partimage and Ghost 4 Unix (G4U) are used to transfer OS to new Hard Drives-http://www.digitalissues.co.uk/html/...rtimage.html#1
dannyboy79 is offline   Reply With Quote
Old October 10th, 2007   #5
mr_bungalow
5 Cups of Ubuntu
 
Join Date: Oct 2007
Location: Minneapolis
Beans: 18
Gutsy Gibbon Testing
Re: getting homebrew serial reciever to work?

Thanks for the tips!! I figured out that everything was working but I needed to specify the -d in irrecord to point to lirc0 instead of lirc or ttys0. Once again, mythbuntu has amazed me!
mr_bungalow is offline   Reply With Quote
Old October 10th, 2007   #6
dannyboy79
Ubuntu addict and loving it
 
dannyboy79's Avatar
 
Join Date: May 2006
Location: Milwaukee,WI
Beans: 4,143
Ubuntu 7.04 Feisty Fawn
Send a message via AIM to dannyboy79
Re: getting homebrew serial reciever to work?

I forgot I was going to write that also except I didn't even know about the -d switch, I just created a symlink for /dev/lirc to point to /dev/lirc0. Not sure which is a better solution but most likely NOT mine as another symlink isn't the best thing. Good catch and glad you got it working. Mythbuntu has amazed me also!!
__________________
Partimage and Ghost 4 Unix (G4U) are used to transfer OS to new Hard Drives-http://www.digitalissues.co.uk/html/...rtimage.html#1
dannyboy79 is offline   Reply With Quote
Old October 27th, 2008   #7
latev
Just Give Me the Beans!
 
Join Date: Jun 2008
Location: Vancouver
Beans: 64
Send a message via Skype™ to latev
Re: getting homebrew serial reciever to work?

Hey guys, mind if I use your help for getting my Igor IR receiver to work under Ubuntu x64?
I've managed to get the lirc installed properly /I think/, the modules are in the kernel /lirc_serial_igor/ and seems like my IR is detected properly. However I don't seem to be receiving any input from my remote after I issue
cat /dev/lirc0

Any suggestions?
latev is offline   Reply With Quote
Old June 7th, 2009   #8
Murz
5 Cups of Ubuntu
 
Join Date: Sep 2007
Beans: 16
Exclamation Re: getting homebrew serial reciever to work?

Quote:
Originally Posted by latev View Post
Hey guys, mind if I use your help for getting my Igor IR receiver to work under Ubuntu x64?
I've managed to get the lirc installed properly /I think/, the modules are in the kernel /lirc_serial_igor/ and seems like my IR is detected properly. However I don't seem to be receiving any input from my remote after I issue
cat /dev/lirc0

Any suggestions?
Same problem on Kubuntu Jaunty amd64 and Igor Cesko's serial IR receiver (on 1 and 2 COM port). This receiver works good with Girder 3.2 and IgorXP.dll, but didn't work on lirc!

Code:
$ lircd -v
lircd 0.8.4a

$ ls /dev/lirc*
/dev/lirc0  /dev/lircd

$ lsmod | grep lirc
lirc_serial_igor       23336  0
lirc_dev               22088  1 lirc_serial_igor

$ cat /etc/lirc/hardware.conf | grep -v ^# | grep -v ^$
REMOTE="Home-brew (Igor Cesko's variant)(16x50 UART compatible serial port)"
REMOTE_MODULES="lirc_dev lirc_serial_igor"
REMOTE_DRIVER=""
REMOTE_LIRCD_CONF=""
REMOTE_LIRCD_ARGS=""
TRANSMITTER="None"
TRANSMITTER_MODULES=""
TRANSMITTER_DRIVER=""
TRANSMITTER_DEVICE=""
TRANSMITTER_LIRCD_CONF=""
TRANSMITTER_LIRCD_ARGS=""
START_LIRCD="true"
LOAD_MODULES="true"
LIRCMD_CONF=""
FORCE_NONINTERACTIVE_RECONFIGURATION="false"
START_LIRCMD=""
REMOTE_DEVICE="/dev/lirc0"
When I start "irw" or "mode2 -d /dev/lirc0" and press some keys on IR transmitter, I see no output.
How can I turn on more debug level for get additional info where is the problem? How I can sniff an input signals on com port (/dev/ttyS0)?
Murz is offline   Reply With Quote
Old June 8th, 2009   #9
SiHa
Dipped in Ubuntu
 
SiHa's Avatar
 
Join Date: Jul 2008
Location: Southampton, UK
Beans: 595
Ubuntu 9.10 Karmic Koala
Re: getting homebrew serial reciever to work?

Did you disable the kernel serial support?

https://help.ubuntu.com/community/InstallLirc/Gutsy, search for setserial

Last edited by SiHa; June 8th, 2009 at 11:20 AM..
SiHa is offline   Reply With Quote
Old June 10th, 2009   #10
Murz
5 Cups of Ubuntu
 
Join Date: Sep 2007
Beans: 16
Question Re: getting homebrew serial reciever to work?

Quote:
Originally Posted by SiHa View Post
Did you disable the kernel serial support?

https://help.ubuntu.com/community/InstallLirc/Gutsy, search for setserial
Yes, I disable it (all, ttyS0 and ttyS1) and restart lirc, but it isn't help. What can I try else?
Murz is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:04 PM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry