← Back to team overview

mythbuntu-bugs team mailing list archive

[Bug 778296] Re: lirc not working correctly on 2.6.38 kernel

 

Ok I understand Tivo remote to be different beast.  So I am trying to
get hauppauge remote to get working.

I upgraded to 2.6.39 rc5 kernel and still dont see any output on irw. I
change protocol to rc-5 for hauppauge remote using following ir-keytable
-p RC-5.  or  echo rc-5 > /sys/class/rc/rc0/protocols. Still nothing
with irw. I get some output on ir-keytable -t as follows.

Testing events. Please, press CTRL-C to abort.
1304993996.717659: event MSC: scancode = 1e14
1304993996.831658: event MSC: scancode = 1e14
1304993996.944659: event MSC: scancode = 1e14
1304993997.057612: event MSC: scancode = 1e14
1304993997.170613: event MSC: scancode = 1e14
1304993997.283661: event MSC: scancode = 1e14
1304993999.131674: event MSC: scancode = 1e25
1304993999.257630: event MSC: scancode = 1e25
1304993999.358638: event MSC: scancode = 1e25
1304993999.484633: event MSC: scancode = 1e25
1304993999.996684: event MSC: scancode = 1e17
1304994000.122683: event MSC: scancode = 1e17
1304994000.222640: event MSC: scancode = 1e17
1304994000.348641: event MSC: scancode = 1e17
1304994000.860694: event MSC: scancode = 1e1a
1304994000.986683: event MSC: scancode = 1e1a
1304994001.087646: event MSC: scancode = 1e1a


# /etc/lirc/hardware.conf
#
#Chosen Remote Control
REMOTE="Hauppauge"
REMOTE_MODULES="lirc_dev mceusb"
REMOTE_DRIVER="devinput"
REMOTE_DEVICE="/dev/input/event6"
REMOTE_SOCKET=""
REMOTE_LIRCD_CONF="lircd.conf"
REMOTE_LIRCD_ARGS=""

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

#Enable lircd
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="false"

lircd.conf
#
# this config file was automatically generated
# using lirc-0.8.3pre1(default) on Sat Jun 21 12:36:46 2008
#
# contributed by Matthew Wright
#
# brand:  Hauppauge (HRV-1600 RT Remote)
# model no. of remote control: A415-HPG-A
# devices being controlled by this remote:
#

begin remote

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

  one           919   852
  zero          919   852
  plead         930
  gap          112908
  toggle_bit_mask 0x800

     begin codes
          power                    0x17BD
          go                       0x17BB
          tv                       0x179C
          videos                   0x1798
          music                    0x1799
          pictures                 0x179A
          guide                    0x179B
          radio                    0x178C
          exit                     0x179F
          menu                     0x178D
          prevch                   0x1792
          mute                     0x178F
          up                       0x1794
          down                     0x1795
          left                     0x1796
          right                    0x1797
          ok                       0x17A5
          volup                    0x1790
          voldown                  0x1791
          chup                     0x17A0
          chdown                   0x17A1
          record                   0x17B7
          stop                     0x17B6
          rewind                   0x17B2
          fastfwd                  0x17B4
          play                     0x17B5
          replay                   0x17A4
          skip                     0x179E
          pause                    0x17B0
end codes
end Remote


Any suggestions as to how to move forward. 

Thank you in advance
Dhabud

-- 
You received this bug notification because you are a member of Mythbuntu
Bug Team, which is subscribed to lirc in Ubuntu.
https://bugs.launchpad.net/bugs/778296

Title:
  lirc not working correctly on 2.6.38 kernel

Status in “lirc” package in Ubuntu:
  New

Bug description:
  Binary package hint: lirc

  lirc not working correctl y on 2.6.38 kernel. I reverted back to lirc
  not working correctly on 2.6.35 kernel and it starts working. I
  understand that mceusb is now part of kernel driver. So I have
  accordingly changed hardware.conf. I dont see anything on irw or ir-
  keytable -t when i press my remote(s). Tried multiple remotes to see
  the input. I can confirm that there is /dev/lirc0. When I do cat
  /dev/lirc0 and press remote I see garbage spew on the screen.

  My IR Receiver is
  Bus 003 Device 002: ID 0471:0815 Philips (or NXP) eHome Infrared Receiver

  # ir-keytable
  Found /sys/class/rc/rc0/ (/dev/input/event5) with:
          Driver mceusb, table rc-rc6-mce
          Supported protocols: NEC RC-5 RC-6 JVC SONY LIRC
          Enabled protocols: LIRC
          Repeat delay = 500 ms, repeat period = 33 ms

  
  # /etc/lirc/hardware.conf
  #
  #Chosen Remote Control
  REMOTE="Windows Media Center Transceivers/Remotes (all)"
  REMOTE_MODULES="lirc_dev mceusb"
  REMOTE_DRIVER="devinput"
  REMOTE_DEVICE="/dev/input/event5" (found using ir-keytable)
  REMOTE_SOCKET=""
  REMOTE_LIRCD_CONF="lircd.conf" (Copy /usr/share/lirc/remotes/devinput/lircd.conf.devinput to /etc/lirc/lircd.conf)
  REMOTE_LIRCD_ARGS=""

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

  #Enable lircd
  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"

  ProblemType: Bug
  DistroRelease: Ubuntu 11.04
  Package: lirc 0.8.7-0ubuntu4.1
  ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
  Uname: Linux 2.6.38-8-generic x86_64
  NonfreeKernelModules: nvidia
  Architecture: amd64
  Date: Fri May  6 01:12:38 2011
  InstallationMedia: Mythbuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100427.1)
  ProcEnviron:
   LANGUAGE=en_US:en
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: lirc
  UpgradeStatus: Upgraded to natty on 2011-05-02 (3 days ago)


References