Author Topic: Hauppauge HVR-1600 card and with remote A415-HPG-A --- not working ---  (Read 5587 times)

anupindi007

  • Regular Poster
  • **
  • Posts: 30
    • View Profile
 Hi,
I am trying to install  HVR-1600 card and with remote A415-HPG-A.  Its not working, I couldn't figure out where is the issue and can any one help on this? how to troubleshoot..   Thanks in Advance.

Configuration Details:
a.Mother Board: ASUS m2n68-vm
b.Ubuntu Intrepid   Ver 2.6.27-14 ($uname -r 2.6.27-14-generic)
c. LinuxMCE LinuxMCE-0810 alpha2 32bit version
d. Hauppauge WinTV-HVR-1600 (Model 1178 ) card
e. remote A415-HPG-A model.


$lspci |grep "Multimedia video controller"
01:07.0 Multimedia video controller: Conexant Systems, Inc. CX23418 Single-Chip MPEG-2 Encoder with Integrated Analog Video/Broadcast Audio Decoder


$lspci -v |grep "Multimedia video controller"
01:07.0 Multimedia video controller: Conexant Systems, Inc. CX23418 Single-Chip MPEG-2 Encoder with Integrated Analog Video/Broadcast Audio Decoder


$dmesg | grep cx18|grep "Initialized card"
[   19.220636] cx18-0: Initialized card: Hauppauge HVR-1600


$ dmesg | grep cx18
[   18.757641] cx18:  Start initialization, version 1.2.0
[   18.757689] cx18-0: Initializing card 0
[   18.757693] cx18-0: Autodetected Hauppauge card
[   18.758141] cx18 0000:01:07.0: PCI INT A -> Link[LNKB] -> GSI 18 (level, low) -> IRQ 18
[   18.759770] cx18-0: cx23418 revision 01010000 (B)
[   18.969915] cx18-0: Autodetected Hauppauge HVR-1600
[   18.969917] cx18-0: Simultaneous Digital and Analog TV capture supported
[   19.082940] tuner 1-0061: chip found @ 0xc2 (cx18 i2c driver #0-1)
[   19.095969] cs5345 0-004c: chip found @ 0x98 (cx18 i2c driver #0-0)
[   19.134453] cx18-0: Registered device video0 for encoder MPEG (64 x 32 kB)
[   19.134456] DVB: registering new adapter (cx18)
[   19.220550] cx18-0: DVB Frontend registered
[   19.220552] cx18-0: Registered DVB adapter0 for TS (32 x 32 kB)
[   19.220583] cx18-0: Registered device video32 for encoder YUV (16 x 128 kB)
[   19.220608] cx18-0: Registered device vbi0 for encoder VBI (20 x 51984 bytes)
[   19.220633] cx18-0: Registered device video24 for encoder PCM audio (256 x 4 kB)
[   19.220636] cx18-0: Initialized card: Hauppauge HVR-1600
[   19.220652] cx18:  End initialization
[   54.921228] cx18-0: loaded v4l-cx23418-cpu.fw firmware (158332 bytes)
[   55.155769] cx18-0: loaded v4l-cx23418-apu.fw firmware V00120000 (141200 bytes)
[   55.161969] cx18-0: FW version: 0.0.74.0 (Release 2007/03/12)
[   55.990816] cx18-0 843: loaded v4l-cx23418-dig.fw firmware (16382 bytes)
[   56.009656] cx18-0 843: verified load of v4l-cx23418-dig.fw firmware (16382 bytes)



$ cat /etc/lirc/hardware.conf
#Chosen Remote Control
REMOTE="None"
REMOTE_MODULES=""
REMOTE_DRIVER=""
REMOTE_DEVICE=""
REMOTE_LIRCD_CONF=""
REMOTE_LIRCD_ARGS=""

#Chosen IR Transmitter
TRANSMITTER="None"
TRANSMITTER_MODULES=""
TRANSMITTER_DRIVER=""
TRANSMITTER_DEVICE=""
TRANSMITTER_LIRCD_CONF=""
TRANSMITTER_LIRCD_ARGS=""

#Enable lircd
##sriniOriginal## START_LIRCD="false"
START_LIRCD="true"

#Don't start lircmd even if there seems to be a good config file
#START_LIRCMD="false"

#Try to load appropriate kernel modules
LOAD_MODULES="true"

# Default configuration files for your hardware if any
LIRCMD_CONF=""
d load of v4l-cx23418-dig.fw firmware (16382 bytes)

anupindi007 Note: drives detected shows blank, may be need right configuration file.
 - o-


$cat /etc/lirc/lircd.conf
# this config file was automatically generated
# using lirc-0.5.5pre8 on Sun Apr 18 11:43:45 1999
#
# contributed by Jens Leuschner <leuschner@gmx.net>
#
# brand:             Hauppauge
# model:             
# supported devices: WinTV primo; WinTV pci; WinTV radio
#
# This config file will work with both homebrew receivers and
# original Hauppauge TV cards !!!
#

begin remote

  name  Hauppauge
  bits           13
  flags SHIFT_ENC
  eps            30
  aeps          100

  one           950   830
  zero          950   830
  plead         960
  gap          89584
  repeat_bit      2

      begin codes
          TV                       0x000000000000100F
          RADIO                    0x000000000000100C
          FULL_SCREEN              0x000000000000102E
          CH+                      0x0000000000001020
          CH-                      0x0000000000001021
          VOL-                     0x0000000000001011
          VOL+                     0x0000000000001010
          MUTE                     0x000000000000100D
          SOURCE                   0x0000000000001022
          1                        0x0000000000001001
          2                        0x0000000000001002
          3                        0x0000000000001003
          4                        0x0000000000001004
          5                        0x0000000000001005
          6                        0x0000000000001006
          7                        0x0000000000001007
          8                        0x0000000000001008
          9                        0x0000000000001009
          0                        0x0000000000001000
          RESERVED                 0x000000000000101E
          MINIMIZE                 0x0000000000001026
      end codes

end remote


#
# this config file was automatically generated
# using lirc-0.6.6(animax) on Tue Apr 15 19:50:27 2003
#
# contributed by
#
# brand:             Hauppauge
# model no. of remote control:
# devices being controlled by this remote: PVR 2/350
#

begin remote

  name  hauppauge_pvr
  bits           13
  flags RC5|CONST_LENGTH
  eps            30
  aeps          100

  one           969   811
  zero          969   811
  plead        1097
  gap          114605
  toggle_bit      2


      begin codes
          Power                    0x00000000000017FD
          Go                       0x00000000000017FB
          1                        0x00000000000017C1
          2                        0x00000000000017C2
          3                        0x00000000000017C3
          4                        0x00000000000017C4
          5                        0x00000000000017C5
          6                        0x00000000000017C6
          7                        0x00000000000017C7
          8                        0x00000000000017C8
          9                        0x00000000000017C9
          Back/Exit                0x00000000000017DF
          0                        0x00000000000017C0
          Menu                     0x00000000000017CD
          Red                      0x00000000000017CB
          Green                    0x00000000000017EE
          Yellow                   0x00000000000017F8
          Blue                     0x00000000000017E9
          Ch+                      0x00000000000017E0
          Ch-                      0x00000000000017E1
          Vol-                     0x00000000000017D1
          Vol+                     0x00000000000017D0
          Ok                       0x00000000000017E5
          Mute                     0x00000000000017CF
          Blank                    0x00000000000017CC
          Full                     0x00000000000017FC
          Rewind                   0x00000000000017F2
          Play                     0x00000000000017F5
          Forward                  0x00000000000017F4
          Record                   0x00000000000017F7
          Stop                     0x00000000000017F6
          Pause                    0x00000000000017F0
          Replay                   0x00000000000017E4
          Skip                     0x00000000000017DE
      end codes

end remote


#
# this config file was automatically generated
# using lirc-0.7.0(any) on Sun Nov 28 20:25:09 2004
#
# contributed by
#
# brand:   Hauppauge 350
# Created: G.J. Werler (The Netherlands)
# Project: Mythtv Fedora Pundit-R www.mythtvportal.com
# Date:    2004/11/28
# model no. of remote control: Hauppauge A415-HPG
# devices being controlled by this remote: PVR-350
#

begin remote

  name  Hauppauge_350
  bits           13
  flags RC5|CONST_LENGTH
  eps            30
  aeps          100

  one           969   811
  zero          969   811
  plead        1097
  gap          114605
  toggle_bit      2


      begin codes
          Go                       0x00000000000017BB
          Power                    0x00000000000017BD
          TV                       0x000000000000179C
          Videos                   0x0000000000001798
          Music                    0x0000000000001799
          Pictures                 0x000000000000179A
          Guide                    0x000000000000179B
          Radio                    0x000000000000178C
          Up                       0x0000000000001794
          Left                     0x0000000000001796
          Right                    0x0000000000001797
          Down                     0x0000000000001795
          OK                       0x00000000000017A5
          Back/Exit                0x000000000000179F
          Menu/i                   0x000000000000178D
          Vol+                     0x0000000000001790
          Vol-                     0x0000000000001791
          Prev.Ch                  0x0000000000001792
          Mute                     0x000000000000178F
          Ch+                      0x00000000000017A0
          Ch-                      0x00000000000017A1
          Record                   0x00000000000017B7
          Stop                     0x00000000000017B6
          Rewind                   0x00000000000017B2
          Play                     0x00000000000017B5
          Forward                  0x00000000000017B4
          Replay/SkipBackward      0x00000000000017A4
          Pause                    0x00000000000017B0
          SkipForward              0x000000000000179E
          1                        0x0000000000001781
          2                        0x0000000000001782
          3                        0x0000000000001783
          4                        0x0000000000001784
          5                        0x0000000000001785
          6                        0x0000000000001786
          7                        0x0000000000001787
          8                        0x0000000000001788
          9                        0x0000000000001789
          Asterix                  0x000000000000178A
          0                        0x0000000000001780
          #                        0x000000000000178E
          Red                      0x000000000000178B
          Green                    0x00000000000017AE
          Yellow                   0x00000000000017B8
          Blue                     0x00000000000017A9
      end codes

end remote
#
# this config file was automatically generated
# using lirc-0.7.0pre4(serial) on Sun Oct  2 00:24:32 2005
#
# contributed by anton|ganthaler.at and juergen.wilhelm|aon.at
# members of linux user group Vorarlberg www.lugv.at
#
# for ir remote controler from Hauppauge WinTV Nexus-S
# most of the keys are supported
#
# brand:                       Hauppauge
# model no. of remote control: WinTV Nexus-S
# devices being controlled by this remote:
#

begin remote

  name  Hauppauge_WinTV_Nexus-S
  bits           13
  flags RC5|CONST_LENGTH
  eps            30
  aeps          100

  one           944   828
  zero          944   828
  plead         980
  gap          113932
  min_repeat      1
  toggle_bit      2


      begin codes
          Up                       0x0000000000001794
          Down                     0x0000000000001795
          Left                     0x0000000000001796
          Right                    0x0000000000001797
          Power                    0x00000000000017BD
          Ok                       0x00000000000017A5
          Menu                     0x000000000000178D
          Back                     0x000000000000179F
          Red                      0x000000000000178B
          Green                    0x00000000000017AE
          Yellow                   0x00000000000017B8
          Blue                     0x00000000000017A9
          0                        0x0000000000001780
          1                        0x0000000000001781
          2                        0x0000000000001782
          3                        0x0000000000001783
          4                        0x0000000000001784
          5                        0x0000000000001785
          6                        0x0000000000001786
          7                        0x0000000000001787
          8                        0x0000000000001788
          9                        0x0000000000001789
          Play                     0x00000000000017B5
          Pause                    0x00000000000017B0
          Stop                     0x00000000000017B6
          Record                   0x00000000000017B7
          FastFwd                  0x00000000000017B4
          FastRwd                  0x00000000000017B2
          Channel+                 0x00000000000017A0
          Channel-                 0x00000000000017A1
          Volume+                  0x0000000000001790
          Volume-                  0x0000000000001791
          Mute                     0x000000000000178F
          Timers                   0x000000000000178A
          Recordings               0x000000000000178E
          Back                     0x000000000000179F
          Record                   0x00000000000017B7
          Pause                    0x00000000000017B0
      end codes

end remote


begin remote
  name            HVR-1100
  bits            16
  eps             30
  aeps            100
  one             0     0
  zero            0     0
  gap             135862
  pre_data_bits   16
  pre_data        0x8001

  begin codes
       Go              0x0161
       power           0x0074
       Tv              0x0179
       Videos          0x0189
       Music           0x0188
       Pictures        0x016F
       Guide           0x016D
       Radio           0x0181
       Up              0x0067
       Down            0x006C
       Left            0x0069
       Right           0x006A
       Ok              0x001C
       Back/edit       0x00AE
       Menu            0x008B
       Vol+            0x0073
       Vol-            0x0072
       PrevChan        0x019C
       Chan+           0x0192
       Chan-           0x0193
       Mute            0x0071
       Record          0x00A7
       Stop            0x0080
       replay          0x00A8
       SKip            0x00D0
       play            0x00CF
       Previous        0x00A5
       Next            0x00A3
       Pause           0x0077
       1               0x0002
       2               0x0003
       3               0x0004
       4               0x0005
       5               0x0006
       6               0x0007
       7               0x0008
       8               0x0009
       9               0x000A
       *               0x0184
       0               0x000B
       #               0x0172
       red             0x018E
       green           0x018F
       yellow          0x0190
       blue            0x0191

  end codes

end remote

anupindi007 Note:  I am not able to see  remote model Hauppauge "A415-HPG-A", means its not figured properly?
- o -
« Last Edit: May 24, 2009, 11:43:35 pm by anupindi007 »

nswint

  • Regular Poster
  • **
  • Posts: 39
    • View Profile
# model no. of remote control: Hauppauge A415-HPG
# devices being controlled by this remote: PVR-350
#

begin remote

  name  Hauppauge_350


If you run irw check to see if your A415-HPG Remote reports as Hauppauge_350, that looks like the current name for the remote.

I also need to pm you about your kernel upgrade and the hvr-1600s.  Once I get my alpha2 setup stable I'm going to install on my main automation server with my hvr-1600s. 

anupindi007

  • Regular Poster
  • **
  • Posts: 30
    • View Profile
hi,
I have followed the link  "http://www.mythtv.org/wiki/LIRC_on_Ubuntu_Edgy_Eft"
a. Setup build environment (Install latest drivers lirc-0.8.5) - done

b. Compile driver module -
    it shows HVR-1300 and Hauppauge TV card options(i have tested both)

c. Testing LIRC $ dmesg |tail
shows fine:
   - [   21.789438] lirc_i2c: chip 0x10020 found @ 0x71 (Hauppauge PVR150)
  -  [   21.789455] lirc_dev: lirc_register_plugin: sample_rate: 10

but not showing like
" ivtv0: i2c attach to card #0 ok [client=Hauppauge IR (PVR150), addr=71]"


 dcerouter_113317:~# dmesg | grep lirc
[   21.654157] lirc_dev: IR Remote Control driver registered, major 61
[   21.789438] lirc_i2c: chip 0x10020 found @ 0x71 (Hauppauge PVR150)
[   21.789455] lirc_dev: lirc_register_plugin: sample_rate: 10
dcerouter_113317:~# dmesg | grep Hauppauge
[   18.909962] cx18-0: Autodetected Hauppauge card
[   19.161885] tveeprom 0-0050: Hauppauge model 74041, rev C6B2, serial# 5321284
[   19.161899] cx18-0: Autodetected Hauppauge HVR-1600
[   19.412705] cx18-0: Initialized card: Hauppauge HVR-1600
[   21.789438] lirc_i2c: chip 0x10020 found @ 0x71 (Hauppauge PVR150)


d.  mode2 -d /dev/lirc0 
Note: used mode2 -d /dev/lirc/0 and and push a few buttons on the remote.  The remote is responding well. I can see code:<hex values>.
[As per "http://en.gentoo-wiki.com/wiki/LIRC"  look the Warning: When.. the /dev/lirc device node will disappear again..But the device node will not be visible as /dev/lirc, but might be located in a different location like e.g. /dev/lirc/0 ..]


e. ps ax |grep lirc
 4081 ?        S<     0:00 [lirc_dev]
 32489 pts/26   S+     0:00 grep lirc

Not running default the following processes and after manually running mannually processed you can see:
 ps ax |grep lirc
 1490 ?        Ss     0:00 /usr/sbin/lircd --device=/dev/lirc/0
 1541 ?        Ss     0:00 /usr/sbin/lircmd
 4081 ?        S<     0:00 [lirc_dev]



f.  sudo /etc/init.d/lirc start
  lirc not exist and /etc/init.d/lircd exist.
   - $which lirc   : retuns blank
   - $which lircd  : returns      > /usr/local/sbin/lircd
   - I have created a file /etc/init.d/lirc
     #! /bin/sh
#
# This is an init script for Debian Sid
# Copy it to /etc/init.d/lirc and type
# > update-rc.d lirc defaults 20
#


test -f /usr/local/sbin/lircd || exit 0

case "$1" in
  start)
    # in case your lirc dev points are not created automatically, the next
    # line will create them.
    test -c /dev/lirc || (mkdir -p -- . /dev && /bin/mknod /dev/lirc c 61 0)
    echo -n "Starting lirc daemon: lircd"
    start-stop-daemon --start --quiet --exec /usr/local/sbin/lircd -- --device=/dev/lirc
    echo "."
    ;;
  stop)
    echo -n "Stopping lirc daemon: lircd"
    start-stop-daemon --stop --quiet --exec /usr/local/sbin/lircd
    echo "."
    ;;
  reload|force-reload)
    start-stop-daemon --stop --quiet --signal 1 --exec /usr/local/sbin/lircd
    ;;
  restart)
    echo -n "Stopping lirc daemon: lircd"
    start-stop-daemon --stop --quiet --exec /usr/local/sbin/lircd
    sleep 1
    echo -n "Starting lirc daemon: lircd"
    start-stop-daemon --start --quiet --exec /usr/local/sbin/lircd -- --device=/dev/lirc
    echo "."
    ;;
  *)
    echo "Usage: /etc/init.d/lircd {start|stop|reload|restart|force-reload}"
    exit 1
                 - o-

anupindi007>
1.  Ref of c: ivtv client is  not attached to /dev/lirc/0 device, how to resolve this.

2. Ref of d: /dev/lirc/0 where should i point device permanently instaed of /dev/lirc0.

3. Ref of e: how and where should i add to load permanently /usr/sbin/lircd and /usr/sbin/lircmd process? I stuck here.  If I go and check on linuxmce screen for the remotes, AVWizard remote not detected.

Thanks








     

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
*hmm*

I wanna bitch slap all of you.

Seriously.

You all are making this _WAY TOO HARD_

Get a USB UIRT, and _BE DONE WITH IT_. Use _THAT_ to control your remote, and control your A/V devices.

As for the HVR-1600, it will not be supported correctly until a proper device template is done. Use the PVR-150/250/500/USB2 and HDHomeRun templates as a guide to do this, along with their appropriate setup scripts. STOP DUCT TAPING THINGS AND DO IT RIGHT SO EVERYONE ELSE CAN BENEFIT FROM PLUG AND PLAY EXPERIENCE!

-Thom

-Thom