devries Posted October 20, 2005 Report Share Posted October 20, 2005 Mandriva has finally updated lirc to version 0.71 so that it can be used by the remotes that come with the popular Hauppaugge WinTV cards. There are many places on the web that help you get lirc working. For example aRTee has a very good article on his website that explains how you should get lirc working (link). However for most people the following short explenation should be enough: -1- intall 'lirc-0.7.1-5mdk' and 'lirc-remotes-0.6.6-4mdk'. -2- copy from /usr/share/lirc-remotes the lircd.conf for your remote to /etc (for example for the Hauppauge remotes: cp /usr/share/lirc-remotes/hauppauge/lircd.conf.hauppauge /etc/lircd.conf -3- Open with your favorite text editor '/etc/sysconfig/lircd' and change the 'DRIVER=xxxxxx' line to 'DRIVER=DEFAULT' and the 'HWMOD=xxxxx' line to HWMOD=<the lirc module for your card. (for example for the Hauppage card: lirc-i2c) -4- Open the Mandriva Control Center, system, services and start the 'lircd' service. -5- open a console and type: irw (if you get a permission problem, log in as root and type: chomd 666 /dev/lirc/0). Press some buttons on your remote ad you should get to see soem output. Good luck. :) Quote Link to comment Share on other sites More sharing options...
josk Posted October 21, 2005 Report Share Posted October 21, 2005 (edited) I'll test your HowTo. Only problem is that I have homebrew IR module and Kingman 12 in 1 Universal Remotecontrol. I found couple conf files for remote. I hope it will work. Mine IR module: Do you think that in my case I have to put these options? # Hardware driver module to load HWMOD=lirc_serial DEVICE=/dev/lirc/serial # Serial port for the receiver (for serial driver) COM_PORT=/dev/ttyS0 DRIVER_OPTS="irq=4 io=0x3f8" Ok, that doesnt seems to work for me. Lircd service start just ok but i dont find: /dev/lirc/serial I also did: modprobe lirc_serial What I should to do next??? Edited October 21, 2005 by josk Quote Link to comment Share on other sites More sharing options...
devries Posted October 21, 2005 Author Report Share Posted October 21, 2005 What happens when you start irw? Perhaps a /dev/serial get´s created instead of /dev/lirc/serial? Quote Link to comment Share on other sites More sharing options...
josk Posted October 22, 2005 Report Share Posted October 22, 2005 (edited) What happens when you start irw? Perhaps a /dev/serial get´s created instead of /dev/lirc/serial? <{POST_SNAPBACK}> Starting lircd service (service lircd start) it creates /dev/lirc/0 Starting IRW -> Nothing. Just back to the command line [root@domain.com]# I cant understand why that /dev/lirc/0 is created cause I have configured to use lirc_serial instead??? Edited October 22, 2005 by josk Quote Link to comment Share on other sites More sharing options...
devries Posted October 22, 2005 Author Report Share Posted October 22, 2005 Try linking 0 to serial (ln -s /dev/lirc/0 /dev/lirc/serial) while you figure it out. :) Quote Link to comment Share on other sites More sharing options...
josk Posted October 22, 2005 Report Share Posted October 22, 2005 Try linking 0 to serial (ln -s /dev/lirc/0 /dev/lirc/serial) while you figure it out. :) <{POST_SNAPBACK}> I made that symbolic link. When I start IRW it hangs on. So I start pressing buttons of my remotecontrol but nothing happends. More tips? Quote Link to comment Share on other sites More sharing options...
devries Posted October 22, 2005 Author Report Share Posted October 22, 2005 If IRW 'hangs' that is good. You probably only need to try a different lirc.conf. Quote Link to comment Share on other sites More sharing options...
k3nz0o Posted December 25, 2005 Report Share Posted December 25, 2005 Mandriva has finally updated lirc to version 0.71 so that it can be used by the remotes that come with the popular Hauppaugge WinTV cards. There are many places on the web that help you get lirc working. For example aRTee has a very good article on his website that explains how you should get lirc working (link). However for most people the following short explenation should be enough: -1- intall 'lirc-0.7.1-5mdk' and 'lirc-remotes-0.6.6-4mdk'. -2- copy from /usr/share/lirc-remotes the lircd.conf for your remote to /etc (for example for the Hauppauge remotes: cp /usr/share/lirc-remotes/hauppauge/lircd.conf.hauppauge /etc/lircd.conf -3- Open with your favorite text editor '/etc/sysconfig/lircd' and change the 'DRIVER=xxxxxx' line to 'DRIVER=DEFAULT' and the 'HWMOD=xxxxx' line to HWMOD=<the lirc module for your card. (for example for the Hauppage card: lirc-i2c) -4- Open the Mandriva Control Center, system, services and start the 'lircd' service. -5- open a console and type: irw (if you get a permission problem, log in as root and type: chomd 666 /dev/lirc/0). Press some buttons on your remote ad you should get to see soem output. Good luck. :) <{POST_SNAPBACK}> I got pixelview playtv pro here ( bt878 chipset ) I already follow the steps cp /usr/share/lirc-remotes/pixelview/lircd.conf.playtv_pro to /etc/lircd.conf and then edit /etc/sysconfig/lircd I use lirc_i2c as the HWMOD, I dont if this is the right type for my PixelView then I restart my lirc daemon... then I do "dmesg" it said : lirc_dev: IR Remote Control driver registered, at major 61 rivatv: Video4Linux driver for NVIDIA cards rivatv: Version 0.8.5 rivatv: MMX processor extension enabled ivtv: ==================== START INIT IVTV ==================== ivtv: version 0.2.0 (rc3f) loading ivtv: Linux version: 2.6.12-12mdk 686 gcc-4.0 ivtv: In case of problems please include the debug info ivtv: between the START INIT IVTV and END INIT IVTV lines when ivtv: mailing the ivtv-devel mailinglist. ivtv: ==================== END INIT IVTV ==================== cx2388x v4l2 driver version 0.0.4 loaded lirc_dev: IR Remote Control driver registered, at major 61 The bttv_* interface is obsolete and will go away, please use the new, sysfs based interface instead. lirc_gpio (-1): card type 0x25, id 0x0 lirc_dev: lirc_register_plugin: sample_rate: 12 lirc_gpio (0): driver registered then I type "irw" as normal user [kenzo@kenzo ~]$ irw connect: Connection refused whats that mean ?? Quote Link to comment Share on other sites More sharing options...
devries Posted December 27, 2005 Author Report Share Posted December 27, 2005 See step 5 :) Quote Link to comment Share on other sites More sharing options...
Guest hantulennon Posted August 3, 2006 Report Share Posted August 3, 2006 I got pixelview playtv pro here ( bt878 chipset )I already follow the steps cp /usr/share/lirc-remotes/pixelview/lircd.conf.playtv_pro to /etc/lircd.conf and then edit /etc/sysconfig/lircd I use lirc_i2c as the HWMOD, I dont if this is the right type for my PixelView then I restart my lirc daemon... then I do "dmesg" it said : lirc_dev: IR Remote Control driver registered, at major 61 rivatv: Video4Linux driver for NVIDIA cards rivatv: Version 0.8.5 rivatv: MMX processor extension enabled ivtv: ==================== START INIT IVTV ==================== ivtv: version 0.2.0 (rc3f) loading ivtv: Linux version: 2.6.12-12mdk 686 gcc-4.0 ivtv: In case of problems please include the debug info ivtv: between the START INIT IVTV and END INIT IVTV lines when ivtv: mailing the ivtv-devel mailinglist. ivtv: ==================== END INIT IVTV ==================== cx2388x v4l2 driver version 0.0.4 loaded lirc_dev: IR Remote Control driver registered, at major 61 The bttv_* interface is obsolete and will go away, please use the new, sysfs based interface instead. lirc_gpio (-1): card type 0x25, id 0x0 lirc_dev: lirc_register_plugin: sample_rate: 12 lirc_gpio (0): driver registered then I type "irw" as normal user [kenzo@kenzo ~]$ irw connect: Connection refused whats that mean ?? open /etc/sysconf/lirc fill driver with "default" fill module with "lirc_gpio" if device is "/dev/lirc", comment it (#) and uncomment device "/dev/input/ir" Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.