Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
PVR-250 ir remote not working [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
theCheat
n00b
n00b


Joined: 23 Oct 2003
Posts: 43
Location: Atlanta

PostPosted: Wed Mar 01, 2006 3:03 pm    Post subject: PVR-250 ir remote not working [solved] Reply with quote

I had my Hauppauge PVR-250 remote working in mythtv with kernel version 2.6.12-gentoo-r10 but now it doesn't.
I get the lirc_dev and lirc_i2c modules loaded and /dev/lirc/0 exists as a char device major 61, minor 0.
I start lircd with -d /dev/lirc/0 (i've also done the LIRCD_OPTS="-d /dev/lirc/0" in /etc/conf.d/lircd) and everything looks fine... (this is lirc version 0.8.0, btw).
The problem is irw doesn't give me any output. I even started lircd manually with -n -d /dev/lirc/0 and when irw starts it accepts the client.
Doing a cat of /dev/lirc/0 and pressing buttons give output.
I've searched the forums and nothing i've found seems to apply to this problem, much less work to solve it.
I'd greatly appreciate any help. Thanks.
_________________
Join the unanswered post brigade!!


Last edited by theCheat on Wed Mar 01, 2006 4:09 pm; edited 1 time in total
Back to top
View user's profile Send private message
theCheat
n00b
n00b


Joined: 23 Oct 2003
Posts: 43
Location: Atlanta

PostPosted: Wed Mar 01, 2006 3:42 pm    Post subject: I solved my problem Reply with quote

With lircd NOT RUNNING I used
Code:
irrecord -d /dev/lirc/0 temp1
to create a new config file to replace /etc/lircd.conf (the temp1 is so that I could verify the codes.) Not all of the codes were correct, so, with lircd NOT RUNNING i did a
Code:
cat /dev/lirc/0 | hexdump
to see the codes for each button and manuall edit the config file to reflect the correct codes. Then after restarting lircd, irw gave the output corresponding to my /etc/lircd.conf file. I then just had to make sure that my .mthtv/lircrc file was using the correct names for the codes. (Clear as mud?)
I have the Silver and Black remote. Here is my /etc/lircd.conf file:
Code:

# Please make this file available to others
# by sending it to <lirc@bartelmus.de>
#
# this config file was automatically generated
# using lirc-0.8.0(hauppauge) on Wed Mar  1 11:12:03 2006
#
# contributed by
#
# brand:                       temp1
# model no. of remote control:
# devices being controlled by this remote:
#

begin remote

  name  Hauppauge
  bits           13
  eps            30
  aeps          100

  one             0     0
  zero            0     0
  gap          200979
  toggle_bit      2


      begin codes
          Power                    0x17FD
          Go                       0x17FB
          1                        0x17C1
          2                        0x17C2
          3                        0x17C3
          4                        0x17C4
          5                        0x17C5
          6                        0x17C6
          7                        0x17C7
          8                        0x17C8
          9                        0x17C9
          Back                     0x17DF
          0                        0x17C0
          Menu                     0x17CD
          Red                      0x17CB
          Green                    0x17EE
          ChUp                     0x17E0
          Left                     0x17D1
          Ok                       0x17E5
          Right                    0x17D0
          ChDown                   0x17E1
          Yellow                   0x17F8
          Blue                     0x17E9
          Mute                     0x17CF
          Blank                    0x17CC
          Full                     0x17FC
          Rewind                   0x17F2
          Play                     0x17F5
          FastForward              0x17F4
          Record                   0x17F7
          Stop                     0x17F6
          Pause                    0x17F0
          Replay                   0x17E4
          Skip                     0x17DE
      end codes

end remote





Here is my .mythtv/lircrc file"
Code:
begin
    prog = mythtv
    button = Power
    config = Esc
end

begin
    prog = mythtv
    button = Go
# Swap the PiP windows
    config = N
end

begin
    prog = mythtv
    button = 1
    config = 1
end

begin
    prog = mythtv
    button = 2
    config = 2
end

begin
    prog = mythtv
    button = 3
    config = 3
end

begin
    prog = mythtv
    button = 4
    config = 4
end

begin
    prog = mythtv
    button = 5
    config = 5
end

begin
    prog = mythtv
    button = 6
    config = 6
end

begin
    prog = mythtv
    button = 7
    config = 7
end

begin
    prog = mythtv
    button = 8
    config = 8
end

begin
    prog = mythtv
    button = 9
    config = 9
end

begin
    prog = mythtv
    button = Back
    config = Esc
end

begin
    prog = mythtv
    button = 0
    config = 0
end

begin
    prog = mythtv
    button = Menu
    config = M
end

# Below are keys used with the Hauppauge Grey remote

begin
   prog = mythtv
# This is the Red key
# We'll use it for "Delete"
   button = Red
   config = D
end

begin
   prog = mythtv
# This is the Green key
# We'll use it for "Information"
   button = Green
   config = I
end

# Note the "repeat =" strings in the volume and channel.
# This means that if you hold down the key, every nth instance will be
# passed.  This depends on your system, so you may want to increase or
# decrease this and see what happens.  repeat = 1 is probably too
# fast.

begin
  prog = mythtv
# This is the Yellow key
# Use it as a volume key
  button = Yellow
  repeat = 3
  config = F10
end

begin
  prog = mythtv
# This is the Blue key
# Use it as a volume key
  button = Blue
  repeat = 3
  config = F11
end

begin
    prog = mythtv
    button = ChUp
# This is the "up" on the central diamond
    repeat = 3
    config = Up
end

begin
    prog = mythtv
    button = ChDown
# This is the "down" on the central diamond
    repeat = 3
    config = Down
end

begin
    prog = mythtv
    button = Left
# This is the "left" on the central diamond
    repeat = 3
    config = Left
end

begin
    prog = mythtv
    button = Right
# This is the "right" on the central diamond
    repeat = 3
    config = Right
end

begin
    prog = mythtv
# Middle button on the diamond
    button = Ok
    config = Return
end

begin
    prog = mythtv
    button = Mute
    config = F9
end

begin
   prog = mythtv
# Change focus for PiP (to change channel in the other window)
   button = Blank
   config = B
end

begin
   prog = mythtv
# Toggle PiP on/off
   button = Full
   config = V
end

begin
    prog = mythtv
    button = Rewind
    config = Left
end

begin
    prog = mythtv
    button = Play
    config = P
end

begin
    prog = mythtv
    button = FastForward
    config = Right
end

begin
  prog = mythtv
  button = Record
  config = R
end

begin
   prog = mythtv
# Teletext
   button = Stop
   config = T
end

begin
    prog = mythtv
    button = Pause
    config = P
end

begin
   prog = mythtv
   button = Replay
# Use for backwards commercial skip
    config = Q
end

begin
   prog = mythtv
   button = Skip
# Use for forward commercial skip
    config = Z
end


_________________
Join the unanswered post brigade!!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum