Jump to content

Howto: Mandriva Linux 2006 + lirc


devries
 Share

Recommended Posts

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. :)

Link to comment
Share on other sites

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:

irmodul.jpg

 

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 by josk
Link to comment
Share on other sites

What happens when you start irw? Perhaps a /dev/serial get´s created instead of /dev/lirc/serial?

 

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 by josk
Link to comment
Share on other sites

Try linking 0 to serial (ln -s /dev/lirc/0 /dev/lirc/serial) while you figure it out. :)

 

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?

Link to comment
Share on other sites

  • 2 months later...
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. :)

 

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 ??

Link to comment
Share on other sites

  • 7 months later...
Guest hantulennon
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"

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...