I had some problems with the lircd.conf files available. I had to create my own to get it to work with my PVR-350 remote.

I have attached my lircd.conf file just in case it will work for you.

Please let me know if it worked.

// Magnus

Joe Rizzo wrote:
I have posted this to the lirc mailing list, but figured it would be worth
posting here as many MythTV users are using the PVR-350.

I am unable to use the PVR-350 remote.  I never see output when running irw.

The system I am running on is Fedora Core 3 with the 2.6.9-1.724_FC3 kernel.

-- The driver loads --
# /sbin/modprobe lirc_i2c

# dmesg
lirc_dev: IR Remote Control driver registered, at major 61
lirc_i2c: chip found @ 0x18 (Hauppauge IR)
ivtv: i2c attach [client=Hauppauge IR,ok]
lirc_dev: lirc_register_plugin:sample_rate: 10

# lsmod |grep lirc
lirc_i2c                9092  0
lirc_dev               13708  1 lirc_i2c
i2c_core               22081  8
lirc_i2c,bttv,msp3400,saa7127,saa7115,tuner,tveeprom,i2c_algo_bit

# ls -la /dev/lirc*
crw-r--r--  1 root root 61, 0 Feb  6 07:57 /dev/lirc0

-- If I cat /dev/lirc0 and press buttons on the remote, I see output. -- #
cat /dev/lirc0 | od -ch
0000000 037 340 037 340 037 340 037 340 037 340 027 320 027 320 027 320
        e01f e01f e01f e01f e01f d017 d017 d017
0000020 027 320 027 320 027 320 037 341 037 341 037 341 037 341 037 341
        d017 d017 d017 e11f e11f e11f e11f e11f
0000040 027 321 027 321 027 321 027 321 027 321 027 321 027 321 037 305
        d117 d117 d117 d117 d117 d117 d117 c51f
0000060 027 305 027 306 027 306 037 301 027 302 037 303 037 303 027 306
        c517 c617 c617 c11f c217 c31f c31f c617
0000100 027 306 037 304 037 304 027 305 027 305 037 306 027 307 027 307
        c617 c41f c41f c517 c517 c61f c717 c717

-- lircd runs and attches to /dev/lirc0.  If I run irw and strace the
lircd process, I see lircd reading from /dev/lirc0.  I do not see it
writing however. irw attaches to /dev/lircd. --

# lircd -d /dev/lirc0 -n
# ls -l /dev/lirc*
crw-r--r--  1 root root 61, 0 Feb  6 07:57 /dev/lirc0
srw-rw-rw-  1 root root     0 Feb  6 08:02 /dev/lircd

# irw

# strace -p 1532
Process 1532 attached - interrupt to quit
select(8, [4 6 7], NULL, NULL, NULL)    = 1 (in [7])
gettimeofday({1107705875, 168161}, NULL) = 0
read(7, "\27\375", 2)                   = 2
gettimeofday({1107705875, 168401}, NULL) = 0
gettimeofday({1107705875, 168508}, NULL) = 0
select(8, [4 6 7], NULL, NULL, NULL)    = 1 (in [7])
gettimeofday({1107705875, 270118}, NULL) = 0
read(7, "\27\375", 2)                   = 2

# lircd -d /dev/lirc0 -n
lircd 0.7.1pre1: lircd(hauppauge) ready


lircd 0.7.1pre1: accepted new client on /dev/lircd
lircd 0.7.1pre1: removed client

----
I have tried lirc versions 0.7.0 and 0.7.1pre1.  I have seen posts with
simular symptoms.  Could someone point me in the right direction for
resloving this?

Based on the strace I think lircd is not writing to /dev/lircd.

Any help is appreciated,
Joe









_______________________________________________
mythtv-users mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
  


--
Signature Magnus Sandin
Cache miss - please take better aim next time

Get Firefox...

<<inline: firefox-s.png>>

# brand:                       Hauppauge

begin remote

  name  hauppauge-PVR-350
  bits           13
  eps            30
  aeps          100

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


      begin codes
          VOL+                     0x0000000000001790
          VOL-                     0x0000000000001791
          PREV.CH                  0x0000000000001792
          UP                       0x0000000000001794
          DOWN                     0x0000000000001795
          LEFT                     0x0000000000001796
          RIGHT                    0x0000000000001797
          VIDEOS                   0x0000000000001798
          MUSIC                    0x0000000000001799
          PICTURES                 0x000000000000179A
          GUIDE                    0x000000000000179B
          TV                       0x000000000000179C
          SKIP                     0x000000000000179E
          BACK/EXIT                0x000000000000179F
          CH+                      0x00000000000017A0
          CH-                      0x00000000000017A1
          1                        0x0000000000001781
          2                        0x0000000000001F82
          3                        0x0000000000001783
          4                        0x0000000000001F84
          5                        0x0000000000001785
          6                        0x0000000000001F86
          7                        0x0000000000001787
          8                        0x0000000000001F88
          9                        0x0000000000001789
          STAR                     0x0000000000001F8A
          0                        0x0000000000001780
          HASH                     0x0000000000001F8E
          RED                      0x000000000000178B
          GREEN                    0x0000000000001FAE
          YELLOW                   0x00000000000017B8
          BLUE                     0x0000000000001FA9
          OK                       0x00000000000017A5
          GO                       0x0000000000001FBB
          POWER                    0x00000000000017BD
          RADIO                    0x000000000000178C
          MENU                     0x000000000000178D
          MUTE                     0x0000000000001F8F
          STOP                     0x0000000000001FB6
          FFWD                     0x0000000000001FB4
          PLAY                     0x00000000000017B5
          REPLAY                   0x0000000000001FA4
          PAUSE                    0x00000000000017B0
          REC                      0x00000000000017B7
          FREW                     0x00000000000017B2
      end codes

end remote
_______________________________________________
mythtv-users mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

Reply via email to