LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Lirc won't work, Hauppauge PVR 350, not irrecord either (https://www.linuxquestions.org/questions/linux-hardware-18/lirc-wont-work-hauppauge-pvr-350-not-irrecord-either-388353/)

lagu2653 12-01-2005 01:40 PM

Lirc won't work, Hauppauge PVR 350, not irrecord either
 
I have lirc-0.7.0-5.i586.rpm, which was installed in June. I don't think I should uninstall it and install a newer version of it (either from MythTV site or from Packman) because about 40 other rpm packages depend on it. # irw returns nothing. Only root can read and write /dev/lirc (600). I installed MythTV using apt but lirc was not updated to lirc-0.7.0-6, which is in MythTV site rpm directory. I measured the voltage on the IR-receiver and there is a distinct change when I press the remote control buttons. The card (Hauppauge PVR 350) can record TV.

How do I get Lirc, irw or at least irrecord to work?
Code:

SuSEBurken:~ # /etc/init.d/lirc stop
Shutting down lircd                                                  done
SuSEBurken:~ # irrecord bjaffs

irrecord -  application for recording IR-codes for usage with lirc

Copyright (C) 1998,1999 Christoph Bartelmus(lirc@bartelmus.de)

irrecord: could not open /dev/lirc
irrecord: default_init(): No such device or address
irrecord: could not init hardware (lircd running ? --> close it, check permissions)

/etc/lircd.conf:
Code:

# brand:                      Hauppauge
# model no. of remote control: Grey (PVR-350)

begin remote

  name  hauppaugegrey
  bits          13
  eps            30
  aeps          100

  one            0    0
  zero            0    0
  gap          200000
  min_repeat      4
  toggle_bit      2


      begin codes
          OFF                      0x00000000000017FD
          GO                      0x0000000000001FFB
          1                        0x00000000000017C1
          2                        0x00000000000017C2
          3                        0x00000000000017C3
          4                        0x00000000000017C4
          5                        0x0000000000001FC5
          6                        0x0000000000001FC6
          7                        0x0000000000001FC7
          8                        0x0000000000001FC8
          9                        0x0000000000001FC9
          0                        0x00000000000017C0
          BACK/EXIT                0x00000000000017DF
          MENU                    0x0000000000001FCD
          CH+                      0x00000000000017E0
          OK                      0x00000000000017E5
          CH-                      0x00000000000017E1
          VOL-                    0x0000000000001FD1
          VOL+                    0x00000000000017D0
          RED                      0x0000000000001FCB
          GREEN                    0x0000000000001FEE
          YELLOW                  0x00000000000017F8
          BLUE                    0x0000000000001FE9
          MUTE                    0x00000000000017CF
          BLANK                    0x0000000000001FCC
          FULL                    0x00000000000017FC
          REW                      0x0000000000001FF2
          PLAY                    0x00000000000017F5
          FFW                      0x0000000000001FF4
          RECORD                  0x00000000000017F7
          STOP                    0x0000000000001FF6
          PAUSE                    0x00000000000017F0
          REPLAY                  0x0000000000001FE4
          SKIP                    0x00000000000017DE
      end codes

end remote


paradox101 12-02-2005 09:34 AM

LIRC
 
I believe /dev/lirc has to be chmod'd to 666 for all users and groups to r/w.

lagu2653 12-02-2005 11:26 AM

What do you do?
 
I uninstalled the lirc-0.7.0-5.i586.rpm, installed lirc-0.7.2.tar.gz, realized that mplayer didn't start, uninstalled lirc-0.7.2.tar.gz, installed lirc-0.7.0-5.i586.rpm and now /dev/lirc is gone.

What do you do? This problem must have been encountered before. Hauppauge PVR 350 is pretty common.

lagu2653 12-02-2005 05:15 PM

I got /dev/lirc back by reinstalling lirc-0.7.0-5.i586.rpm through yast. irrecord works after I loaded the lirc_i2c module. But I still haven't got irw to work.


All times are GMT -5. The time now is 11:12 AM.