LIRC is now supported on Ubuntu
LIRC is now supported on Ubuntu
You can now use most standard IR remote controls with fit-PC2 running Ubuntu.
See http://bit.ly/78n0e
See http://bit.ly/78n0e
Re: LIRC is now supported on Ubuntu
I tryed it with igor cheskos driver but a module is missing.
The sub tree /ubuntu/media/lirc is missing ..is this ok ?
The AT90S2323-10 USB IR receiver is detected.
http://www.cesko.host.sk/IgorPlugUSB/Ig ... R)_eng.htm
regards mpc8248
root@fitpc2:~# dpkg-reconfigure lirc
* Stopping remote control daemon(s): LIRC [ OK ]
* Reloading kernel event manager... [ OK ]
ls: cannot access /lib/modules/2.6.24-34-fitpc2/ubuntu/media/lirc/: No such file or directory * Loading LIRC modules [ OK ]
* Starting remote control daemon(s) : LIRC [ OK ]
root@fitpc2:~#
root@fitpc2:~# irrecord test.ir
irrecord - application for recording IR-codes for usage with lirc
Copyright (C) 1998,1999 Christoph Bartelmus(lirc@bartelmus.de)
irrecord: could not get file information for /dev/lirc
irrecord: default_init(): No such file or directory
irrecord: could not init hardware (lircd running ? --> close it, check permissions)
root@fitpc2:~# lsusb
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 002: ID 03eb:21fe Atmel Corp.
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
root@fitpc2:~# uname -r
2.6.24-34-fitpc2
root@fitpc2:~# lsmod | grep lirc
lirc_igorplugusb 8964 0
lirc_dev 14456 1 lirc_igorplugusb
usbcore 135592 4 lirc_igorplugusb,ehci_hcd,uhci_hcd
The sub tree /ubuntu/media/lirc is missing ..is this ok ?
The AT90S2323-10 USB IR receiver is detected.
http://www.cesko.host.sk/IgorPlugUSB/Ig ... R)_eng.htm
regards mpc8248
root@fitpc2:~# dpkg-reconfigure lirc
* Stopping remote control daemon(s): LIRC [ OK ]
* Reloading kernel event manager... [ OK ]
ls: cannot access /lib/modules/2.6.24-34-fitpc2/ubuntu/media/lirc/: No such file or directory * Loading LIRC modules [ OK ]
* Starting remote control daemon(s) : LIRC [ OK ]
root@fitpc2:~#
root@fitpc2:~# irrecord test.ir
irrecord - application for recording IR-codes for usage with lirc
Copyright (C) 1998,1999 Christoph Bartelmus(lirc@bartelmus.de)
irrecord: could not get file information for /dev/lirc
irrecord: default_init(): No such file or directory
irrecord: could not init hardware (lircd running ? --> close it, check permissions)
root@fitpc2:~# lsusb
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 002: ID 03eb:21fe Atmel Corp.
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
root@fitpc2:~# uname -r
2.6.24-34-fitpc2
root@fitpc2:~# lsmod | grep lirc
lirc_igorplugusb 8964 0
lirc_dev 14456 1 lirc_igorplugusb
usbcore 135592 4 lirc_igorplugusb,ehci_hcd,uhci_hcd
Re: LIRC is now supported on Ubuntu
In our 2.6.24-34-fitpc2 kernel lirc module present under drivers/input/lirc and appropriate device node is /dev/lirc0.
To enable lirc just follow the manual http://fit-pc2.com/wiki/index.php?title ... _in_Ubuntu
To enable lirc just follow the manual http://fit-pc2.com/wiki/index.php?title ... _in_Ubuntu
Code: Select all
sudo irrecord -d /dev/lirc0 -f /etc/lirc/your_remote_name.conf
Compulab's Linux support
Re: LIRC is now supported on Ubuntu
Has anyone gotten an apple remote (A1156) to work with fit-PC2? The strange thing is that I can fit-PC2 to pick up the buttons with irrecord but it fails to show any buttons being pushed when using irw. Any idea? If you got it to work can you post your lircd.conf? I've tried several different ones posted on numerous websites.
Thanks!
Thanks!
Re: LIRC is now supported on Ubuntu
Try to run and press buttons on your remote. You should see waveforms of IR signals. Ensure that you have same waveform while pressing on same button, that signals for all buttons have same length, may be you will see something unusual. If you do not have xmode2 - it`s in lirc-x package.
Code: Select all
sudo xmode2 -d /dev/lirc0
Compulab's Linux support
Re: LIRC is now supported on Ubuntu
Hi Denis,
First off, thanks for you help. I can see the frequency but I don't understand how this helps me with lircd. The frequencies seem to be the same. The only thing that differs is how long I hold down the button for. Holding it longer shows a longer frequency obviously. I've attached an image displaying this.
Does this mean the remote will not work with irw? My goal is to get the remote to work with XBMC.
First off, thanks for you help. I can see the frequency but I don't understand how this helps me with lircd. The frequencies seem to be the same. The only thing that differs is how long I hold down the button for. Holding it longer shows a longer frequency obviously. I've attached an image displaying this.
Does this mean the remote will not work with irw? My goal is to get the remote to work with XBMC.
- Attachments
-
- Picture 1.png (32 KiB) Viewed 22976 times
Re: LIRC is now supported on Ubuntu
Xmode picture is fine, it means that your remote is sending appropriate signals, kernel driver is capable to decode them. Here are things that can be verified:
1. While recording with irrecord do you receive "Signal length is 39" messages in dialog? If not - start irrecord again. You should press remote buttons about 1 sec, not release them immediately.
2. Check if /etc/lirc/your_remote_name.conf was created properly and contains button`s names and their raw_codes.
3. Don`t forget to copy your_remote_name.conf to /etc/lircd.conf before testing with irw
1. While recording with irrecord do you receive "Signal length is 39" messages in dialog? If not - start irrecord again. You should press remote buttons about 1 sec, not release them immediately.
2. Check if /etc/lirc/your_remote_name.conf was created properly and contains button`s names and their raw_codes.
3. Don`t forget to copy your_remote_name.conf to /etc/lircd.conf before testing with irw
Code: Select all
sudo cp /etc/lirc/your_remote_name.conf /etc/lircd.conf
sudo /etc/init.d/lirc restart
irw
Compulab's Linux support
Re: LIRC is now supported on Ubuntu
Hi Denis I have tried your steps. I actually followed your walkthrough you posted [1]. Still not working though. Have you tried with an apple remote or did you try with some other generic remote?
[1]
http://bit.ly/78n0e
[1]
http://bit.ly/78n0e
Re: LIRC is now supported on Ubuntu
I have tried several remotes, even some buttons of air conditioner controller give good signal (like in picture you have sent).
Let`s debug step by step.
1. Do you receive "Signal length is 39" messages in irrecord dialog?
2. /etc/lirc/your_remote_name.conf contains button`s names and their raw_codes?
3. /etc/lircd.conf and /etc/lirc/your_remote_name.conf are the same files?
Let`s debug step by step.
1. Do you receive "Signal length is 39" messages in irrecord dialog?
2. /etc/lirc/your_remote_name.conf contains button`s names and their raw_codes?
3. /etc/lircd.conf and /etc/lirc/your_remote_name.conf are the same files?
Compulab's Linux support
Re: LIRC is now supported on Ubuntu
Sorry for the delay in reply. I'm still working on this. I will try to get you some postings once I get out of work! Thanks Denis for being patient!