View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 3 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Thu Jan 10, 2008 2:42 pm 
Offline
Joined: Mon Feb 14, 2005 10:57 am
Posts: 12
I have been reading many many posts on this topic and I still can't get it to work. I'm setting up an HD box using the Firewire and Comcast cable box. Everything works great, but I cannot get the serial IR remote to work.

KnoppMyth R5F27
Actisys 200 serial receiver. I'm trying to use the Hauppaugge A415 Remote. I should be able to right?

I removed the ir-kbd-i2c.ko module
I checked the permissions on /dev/ttyS0

I added the setserial /dev/ttyS0 uart none to the bootmisc.sh
I added lirc_serial to the hardware.config in /etc/lirc

Here is the info in /var/log/syslog:

lirc_serial: auto-detected active high receiver
lirc_dev: lirc_register_plugin: sample_rate: 0
lircd-0.8.2-CVS-pvr150[3729]: lircd(all) ready
ircd-0.8.2-CVS-pvr150[3729]: accepted new client on /dev/lircd
ircd-0.8.2-CVS-pvr150[3729]: could not get hardware features
ircd-0.8.2-CVS-pvr150[3729]: this device driver does not support the new LIRC interface
ircd-0.8.2-CVS-pvr150[3729]: major number of /dev/ttyS0 is 4
ircd-0.8.2-CVS-pvr150[3729]: LIRC major number is 61
ircd-0.8.2-CVS-pvr150[3729]: check if /dev/ttyS0 is a LIRC device
ircd-0.8.2-CVS-pvr150[3729]: caught signal
ircd-0.8.2-CVS-pvr150[3729]: lirc(all) ready


The process lircd is running
/usr/sbin/lircd --driver=default --device=/dev/ttyS0

I have my Hauppauge lircd.conf in /etc/lirc and my lircrc in ~/.myth

when I run irw, it kills lircd and all I see in the logfile is "caught signal"

Is there another device driver I should select?
Do I have to compile lircd from some particular version?
Should I switch to some USB IR receiver that is easier to install?

Thanks for reading. :-)

Keith

PS I tried irw /dev/ttyS0 and it said "connection rejected"


Last edited by warnek2 on Mon Jan 28, 2008 4:22 pm, edited 1 time in total.


Top
 Profile  
 
PostPosted: Wed Jan 16, 2008 4:39 pm 
Offline
Joined: Mon Feb 14, 2005 10:57 am
Posts: 12
Found a Wiki page that says to download actisys-install_v4.tgz from elgordo.
Well elgordo does not exist. Does anyone have this tar file?

Does anyone know how to configure lirc_sir for knoppmyth? I'm not having much luck. Is that the driver I should use?

Anything anyone can suggest is welcome.

PS. The Actisys200L_HowTo page does not show up in the Wiki table of contents. I found it by accident.


Top
 Profile  
 
PostPosted: Fri Jan 25, 2008 2:18 pm 
Offline
Joined: Mon Feb 14, 2005 10:57 am
Posts: 12
Install Serial IR Remote Driver (ActiSys IR200L)

Step One: Remove the lirc that is there:

apt-get remove lirc
updatedb
locate lirc_i2c|grep `uname -r` (Remove whatever it finds)
locate lirc_dev|grep `uname -r` (Remove whatever it finds)
locate irw|grep "/usr" (Remove whatever it finds)
locate irxevent|grep "/usr" (Remove whatever it finds)
locate lircd|grep "/usr" (Remove whatever it finds)
locate lircmd|grep "/usr" (Remove whatever it finds)

Step Two: Install lirc and compile ActiSys device driver:

cd /usr/src
wget http://prdownloads.sourceforge.net/lirc ... .2.tar.bz2
tar jxf lirc-0.8.2.tar.bz2
cd lirc-0.8.2
./setup.sh

(1) Driver configuration:
......(6)(IrDA Hardware)
......(5)(ActiSys Act200L SIR driver)
......(1)(COM1 (0x3f8,4))
(3) Save and Run configure.

make
make install

Step Three: Configure lirc and Knoppmyth

cd /etc/init.d
vi bootmisc.sh
Add the following to the bottom of the file:
setserial /dev/ttyS0 uart none
/etc/init.d/lirc start
Exit and save file (<esc>:x)

cd /etc/modutils
vi aliases
Add the following line anywhere in the file. (I put it in between Char60 and Char62)
alias char-major-61 lirc_sir
Exit and save file (<esc>:x)

update-modules # Don’t forget to do this command

cd /usr/sbin
ln –s /usr/local/sbin/lircd
ln –s /usr/local/sbin/lircmd

cd /etc/lirc
vi hardware.conf
Find the following lines and change them to:
DEVICE=”/dev/.static/dev/lirc”
MODULES=”lirc_dev lirc_sir”
Exit and save file (<esc>:x)

shutdown –r now #Reboot

Step Four: Verify driver and configuration.
When it comes back, Do the following to see if everything loaded correctly.

Check to make sure the correct kernel modules got loaded. There should be no other “lirc” modules listed.

lsmod |grep ir

lirc_sir 19392 0
lirc_dev 16722 lirc_sir

Verify the ActiSys receiver driver was compiled:
modinfo lirc_sir


filename: /lib/modules/2.6.18-chw-13/misc/lirc_sir.ko
description: LIRC driver for Actisys Act200L
author: Karl Bongers
license: GPL
vermagic: 2.6.18-chw-13 SMP preempt mod_unload 586 gcc-4.1
depends:
parm: debug:Enable debugging messages (bool)
parm: threshold:space detection threshold (3) (int)
parm: irq:Interrupt (4 or 3) (int)
parm: io:I/O address base (0x3f8 or 0x2f8) (int)

See if the LIRC Daemon is running on the correct device:
ps –ef |grep lirc

root 2836 lircd --driver=default --device=/dev/.static/dev/lirc

See if the LIRC Daemon is running and is ready:
tail /var/log/lircd

Jan 24 15:50:16 mythtv_HDTV lircd: lircd(act200l) ready
Jan 24 15:50:29 mythtv_HDTV lircd: accepted new client on /dev/lircd

Step Five: Test Remote and, if necessary, create lircd.conf file.

irw

Now press some buttons and you should see them displayed on the screen. If so, press <ctl>C to exit. You are done.
If you don’t see any response, your /etc/lirc/lircd.conf file may not be correct. If you are using a different remote than the Hauppauge A415, you can create your own config file for any remote you want by using the irrecord program.

cd /root (or any temporary directory will do)
ln -s /dev/.static/dev/lircd /dev/lirc
/etc/init.d/lirc stop
irrecord lircd.conf (or any temporary file name if you are just testing).

The program is self explanatory. After you complete the process, you need to copy the file you just created to /etc/lirc/lircd.conf. Next you need to go back to the first step (after re-booting) and run the irw command again. You should now see your buttons as you press them. If not, you need to go back and verify each and every step of the process. Make sure the serial port is enabled in BIOS and make sure the dongle is securely plugged in. Make sure your remote has fresh batteries. Make sure you back up the new lircd.conf file you just created so you don’t lose it. (VERY IMPORTANT) You need to make sure the button names in the lircd.conf file match the names in the /home/mythtv/.mythtv/lircrc file.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 16 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu