← Back to team overview

mythbuntu-bugs team mailing list archive

[Bug 582274] [NEW] Leadtek WinFast DTV Dongle Gold remote not working with lirc after update to ubuntu 10.04

 

Public bug reported:

Binary package hint: lirc

When I had Ubuntu 9.04 my remote and LIRC was working great, then I
updated to Ubuntu 10.04 and I believe my problem is the HAL is taking
the device as a keyboard and not allowing LIRC to use the device.

When I use the remotes number keys in a terminal, they act like keyboard
presses, if I type in 'IRW' I get this output...

matt@myth:~$ irw
^[[A^[[B^[[D^[[C

The above happens when I press the UP, DOWN, LEFT, RIGHT keys.

I have tried using a remote.fdi file and also editing the lirc.fdi file in this location...
/usr/share/hal/fdi/preprobe/20thirdparty

But I believe this only works up to 9.10 Ubuntu and now 10.04 requires
UDEV rules instead of FDI files which no longer work.

Can anyone help me to fix this, or confirm that is the problem?


lshal output...

udi = '/org/freedesktop/Hal/devices/temp/134'
  info.ignore = true  (bool)
  info.parent = '/org/freedesktop/Hal/devices/usb_device_413_6029_noserial_if1'  (string)
  info.product = 'Ignored Device'  (string)
  info.subsystem = 'input'  (string)
  info.udi = '/org/freedesktop/Hal/devices/ignored-device'  (string)
  input.device = '/dev/input/event7'  (string)
  input.originating_device = '/org/freedesktop/Hal/devices/usb_device_413_6029_noserial_if1'  (string)
  input.product = 'Leadtek WinFast DTV Dongle Gold'  (string)
  linux.device_file = '/dev/input/event7'  (string)
  linux.hotplug_type = 2  (0x2)  (int)
  linux.subsystem = 'input'  (string)
  linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:10.4/usb1/1-5/1-5:1.1/input/input7/event7'  (string)

udi = '/org/freedesktop/Hal/devices/temp/131'
  info.ignore = true  (bool)
  info.parent = '/org/freedesktop/Hal/devices/usb_device_413_6029_noserial'  (string)
  info.product = 'Ignored Device'  (string)
  info.subsystem = 'input'  (string)
  info.udi = '/org/freedesktop/Hal/devices/ignored-device'  (string)
  input.device = '/dev/input/event6'  (string)
  input.originating_device = '/org/freedesktop/Hal/devices/usb_device_413_6029_noserial'  (string)
  input.product = 'IR-receiver inside an USB DVB receiver'  (string)
  linux.device_file = '/dev/input/event6'  (string)
  linux.hotplug_type = 2  (0x2)  (int)
  linux.subsystem = 'input'  (string)
  linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:10.4/usb1/1-5/input/input6/event6'  (string)

udi = '/org/freedesktop/Hal/devices/usb_device_413_6029_noserial_dvb_2'
  dvb.device = '/dev/dvb/adapter0/frontend0'  (string)
  info.capabilities = {'dvb'} (string list)
  info.category = 'dvb'  (string)
  info.parent = '/org/freedesktop/Hal/devices/usb_device_413_6029_noserial'  (string)
  info.product = 'DVB Device'  (string)
  info.subsystem = 'dvb'  (string)
  info.udi = '/org/freedesktop/Hal/devices/usb_device_413_6029_noserial_dvb_2'  (string)
  linux.device_file = '/dev/dvb/adapter0/frontend0'  (string)
  linux.hotplug_type = 2  (0x2)  (int)
  linux.subsystem = 'dvb'  (string)
  linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:10.4/usb1/1-5/dvb/dvb0.frontend0'  (string)

udi = '/org/freedesktop/Hal/devices/usb_device_413_6029_noserial_dvb_1'
  dvb.device = '/dev/dvb/adapter0/dvr0'  (string)
  info.capabilities = {'dvb'} (string list)
  info.category = 'dvb'  (string)
  info.parent = '/org/freedesktop/Hal/devices/usb_device_413_6029_noserial'  (string)
  info.product = 'DVB Device'  (string)
  info.subsystem = 'dvb'  (string)
  info.udi = '/org/freedesktop/Hal/devices/usb_device_413_6029_noserial_dvb_1'  (string)
  linux.device_file = '/dev/dvb/adapter0/dvr0'  (string)
  linux.hotplug_type = 2  (0x2)  (int)
  linux.subsystem = 'dvb'  (string)
  linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:10.4/usb1/1-5/dvb/dvb0.dvr0'  (string)

udi = '/org/freedesktop/Hal/devices/usb_device_413_6029_noserial_dvb_0'
  dvb.device = '/dev/dvb/adapter0/net0'  (string)
  info.capabilities = {'dvb'} (string list)
  info.category = 'dvb'  (string)
  info.parent = '/org/freedesktop/Hal/devices/usb_device_413_6029_noserial'  (string)
  info.product = 'DVB Device'  (string)
  info.subsystem = 'dvb'  (string)
  info.udi = '/org/freedesktop/Hal/devices/usb_device_413_6029_noserial_dvb_0'  (string)
  linux.device_file = '/dev/dvb/adapter0/net0'  (string)
  linux.hotplug_type = 2  (0x2)  (int)
  linux.subsystem = 'dvb'  (string)
  linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:10.4/usb1/1-5/dvb/dvb0.net0'  (string)

udi = '/org/freedesktop/Hal/devices/usb_device_413_6029_noserial_dvb'
  dvb.device = '/dev/dvb/adapter0/demux0'  (string)
  info.capabilities = {'dvb'} (string list)
  info.category = 'dvb'  (string)
  info.parent = '/org/freedesktop/Hal/devices/usb_device_413_6029_noserial'  (string)
  info.product = 'DVB Device'  (string)
  info.subsystem = 'dvb'  (string)
  info.udi = '/org/freedesktop/Hal/devices/usb_device_413_6029_noserial_dvb'  (string)
  linux.device_file = '/dev/dvb/adapter0/demux0'  (string)
  linux.hotplug_type = 2  (0x2)  (int)
  linux.subsystem = 'dvb'  (string)
  linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:10.4/usb1/1-5/dvb/dvb0.demux0'  (string)


lircd.conf

# brand: Leadtek
# model no. of remote control: Y04G0051
# devices being controlled by this remote: Supplied with 'Winfast DTV Dongle GOLD'
#

begin remote

  name  Y04G0051
  bits           16
  eps            30
  aeps          100
  one             0     0
  zero            0     0
  pre_data_bits   16
  gap             110000

  pre_data        0x8001

      begin codes
          KEY_POWER                0x0164
          KEY_TV                   0x0179
          KEY_PREVIOUS             0x00A8
          KEY_NEXT                 0x00D0
	  KEY_TIME		   0x0167
          KEY_REWIND               0x019C
          KEY_STOP                 0x0080
          KEY_PLAY                 0x00CF
          KEY_FASTFORWARD          0x0197
          KEY_RECORD               0x00A7
          KEY_1                    0x0002
          KEY_2                    0x0003
          KEY_3                    0x0004
          KEY_4                    0x0005
          KEY_5                    0x0006
          KEY_6                    0x0007
          KEY_7                    0x0008
          KEY_8                    0x0009
          KEY_9                    0x000A
          KEY_DOT                  0x0034
          KEY_0                    0x000B
#same as ok         KEY_DIGITS               0x0160
          KEY_EPG                  0x016D
          KEY_ZOOM                 0x0177
          KEY_CAMERA               0x00D4
          KEY_MENU                 0x008B
          KEY_OK                   0x0160
          KEY_UP                   0x0067
          KEY_DOWN                 0x006C
          KEY_LEFT                 0x0069
          KEY_RIGHT                0x006A
#same as stop          KEY_ESC                  0x0080
          KEY_HOMEPAGE             0x0081
          KEY_VIDEO                0x0189
          KEY_AUDIO                0x0188
          KEY_MUTE                 0x0071
          KEY_SLEEP                0x008E
          KEY_CHANNELDOWN          0x0193
          KEY_CHANNELUP            0x0192
          KEY_VOLUMEDOWN           0x0072
          KEY_VOLUMEUP             0x0073
          KEY_RED                  0x018E
          KEY_GREEN                0x018F
          KEY_YELLOW               0x0190
          KEY_BLUE                 0x0191
          KEY_TEXT                 0x0184
          KEY_NEW                  0x00B5
          KEY_FAVORITES            0x016B
          KEY_CLEAR                0x0001
      end codes

end remote


hardware.conf

# Arguments which will be used when launching lircd
LIRCD_ARGS=""

#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

# Run "lircd --driver=help" for a list of supported drivers.
DRIVER="dev/input"
# If DEVICE is set to /dev/lirc and devfs is in use /dev/lirc/0 will be
# automatically used instead
DEVICE="/dev/input/event7"
MODULES=""

# Default configuration files for your hardware if any
LIRCD_CONF=""
LIRCMD_CONF=""

** Affects: lirc (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Leadtek WinFast DTV Dongle Gold remote not working with lirc after update to ubuntu 10.04
https://bugs.launchpad.net/bugs/582274
You received this bug notification because you are a member of Mythbuntu
Bug Team, which is subscribed to lirc in ubuntu.

Status in “lirc” package in Ubuntu: New

Bug description:
Binary package hint: lirc

When I had Ubuntu 9.04 my remote and LIRC was working great, then I updated to Ubuntu 10.04 and I believe my problem is the HAL is taking the device as a keyboard and not allowing LIRC to use the device.

When I use the remotes number keys in a terminal, they act like keyboard presses, if I type in 'IRW' I get this output...

matt@myth:~$ irw
^[[A^[[B^[[D^[[C

The above happens when I press the UP, DOWN, LEFT, RIGHT keys.

I have tried using a remote.fdi file and also editing the lirc.fdi file in this location...
/usr/share/hal/fdi/preprobe/20thirdparty

But I believe this only works up to 9.10 Ubuntu and now 10.04 requires UDEV rules instead of FDI files which no longer work. 

Can anyone help me to fix this, or confirm that is the problem? 


lshal output...

udi = '/org/freedesktop/Hal/devices/temp/134'
  info.ignore = true  (bool)
  info.parent = '/org/freedesktop/Hal/devices/usb_device_413_6029_noserial_if1'  (string)
  info.product = 'Ignored Device'  (string)
  info.subsystem = 'input'  (string)
  info.udi = '/org/freedesktop/Hal/devices/ignored-device'  (string)
  input.device = '/dev/input/event7'  (string)
  input.originating_device = '/org/freedesktop/Hal/devices/usb_device_413_6029_noserial_if1'  (string)
  input.product = 'Leadtek WinFast DTV Dongle Gold'  (string)
  linux.device_file = '/dev/input/event7'  (string)
  linux.hotplug_type = 2  (0x2)  (int)
  linux.subsystem = 'input'  (string)
  linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:10.4/usb1/1-5/1-5:1.1/input/input7/event7'  (string)

udi = '/org/freedesktop/Hal/devices/temp/131'
  info.ignore = true  (bool)
  info.parent = '/org/freedesktop/Hal/devices/usb_device_413_6029_noserial'  (string)
  info.product = 'Ignored Device'  (string)
  info.subsystem = 'input'  (string)
  info.udi = '/org/freedesktop/Hal/devices/ignored-device'  (string)
  input.device = '/dev/input/event6'  (string)
  input.originating_device = '/org/freedesktop/Hal/devices/usb_device_413_6029_noserial'  (string)
  input.product = 'IR-receiver inside an USB DVB receiver'  (string)
  linux.device_file = '/dev/input/event6'  (string)
  linux.hotplug_type = 2  (0x2)  (int)
  linux.subsystem = 'input'  (string)
  linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:10.4/usb1/1-5/input/input6/event6'  (string)

udi = '/org/freedesktop/Hal/devices/usb_device_413_6029_noserial_dvb_2'
  dvb.device = '/dev/dvb/adapter0/frontend0'  (string)
  info.capabilities = {'dvb'} (string list)
  info.category = 'dvb'  (string)
  info.parent = '/org/freedesktop/Hal/devices/usb_device_413_6029_noserial'  (string)
  info.product = 'DVB Device'  (string)
  info.subsystem = 'dvb'  (string)
  info.udi = '/org/freedesktop/Hal/devices/usb_device_413_6029_noserial_dvb_2'  (string)
  linux.device_file = '/dev/dvb/adapter0/frontend0'  (string)
  linux.hotplug_type = 2  (0x2)  (int)
  linux.subsystem = 'dvb'  (string)
  linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:10.4/usb1/1-5/dvb/dvb0.frontend0'  (string)

udi = '/org/freedesktop/Hal/devices/usb_device_413_6029_noserial_dvb_1'
  dvb.device = '/dev/dvb/adapter0/dvr0'  (string)
  info.capabilities = {'dvb'} (string list)
  info.category = 'dvb'  (string)
  info.parent = '/org/freedesktop/Hal/devices/usb_device_413_6029_noserial'  (string)
  info.product = 'DVB Device'  (string)
  info.subsystem = 'dvb'  (string)
  info.udi = '/org/freedesktop/Hal/devices/usb_device_413_6029_noserial_dvb_1'  (string)
  linux.device_file = '/dev/dvb/adapter0/dvr0'  (string)
  linux.hotplug_type = 2  (0x2)  (int)
  linux.subsystem = 'dvb'  (string)
  linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:10.4/usb1/1-5/dvb/dvb0.dvr0'  (string)

udi = '/org/freedesktop/Hal/devices/usb_device_413_6029_noserial_dvb_0'
  dvb.device = '/dev/dvb/adapter0/net0'  (string)
  info.capabilities = {'dvb'} (string list)
  info.category = 'dvb'  (string)
  info.parent = '/org/freedesktop/Hal/devices/usb_device_413_6029_noserial'  (string)
  info.product = 'DVB Device'  (string)
  info.subsystem = 'dvb'  (string)
  info.udi = '/org/freedesktop/Hal/devices/usb_device_413_6029_noserial_dvb_0'  (string)
  linux.device_file = '/dev/dvb/adapter0/net0'  (string)
  linux.hotplug_type = 2  (0x2)  (int)
  linux.subsystem = 'dvb'  (string)
  linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:10.4/usb1/1-5/dvb/dvb0.net0'  (string)

udi = '/org/freedesktop/Hal/devices/usb_device_413_6029_noserial_dvb'
  dvb.device = '/dev/dvb/adapter0/demux0'  (string)
  info.capabilities = {'dvb'} (string list)
  info.category = 'dvb'  (string)
  info.parent = '/org/freedesktop/Hal/devices/usb_device_413_6029_noserial'  (string)
  info.product = 'DVB Device'  (string)
  info.subsystem = 'dvb'  (string)
  info.udi = '/org/freedesktop/Hal/devices/usb_device_413_6029_noserial_dvb'  (string)
  linux.device_file = '/dev/dvb/adapter0/demux0'  (string)
  linux.hotplug_type = 2  (0x2)  (int)
  linux.subsystem = 'dvb'  (string)
  linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:10.4/usb1/1-5/dvb/dvb0.demux0'  (string)


lircd.conf

# brand: Leadtek
# model no. of remote control: Y04G0051
# devices being controlled by this remote: Supplied with 'Winfast DTV Dongle GOLD'
#

begin remote

  name  Y04G0051
  bits           16
  eps            30
  aeps          100
  one             0     0
  zero            0     0
  pre_data_bits   16
  gap             110000

  pre_data        0x8001

      begin codes
          KEY_POWER                0x0164
          KEY_TV                   0x0179
          KEY_PREVIOUS             0x00A8
          KEY_NEXT                 0x00D0
	  KEY_TIME		   0x0167
          KEY_REWIND               0x019C
          KEY_STOP                 0x0080
          KEY_PLAY                 0x00CF
          KEY_FASTFORWARD          0x0197
          KEY_RECORD               0x00A7
          KEY_1                    0x0002
          KEY_2                    0x0003
          KEY_3                    0x0004
          KEY_4                    0x0005
          KEY_5                    0x0006
          KEY_6                    0x0007
          KEY_7                    0x0008
          KEY_8                    0x0009
          KEY_9                    0x000A
          KEY_DOT                  0x0034
          KEY_0                    0x000B
#same as ok         KEY_DIGITS               0x0160
          KEY_EPG                  0x016D
          KEY_ZOOM                 0x0177
          KEY_CAMERA               0x00D4
          KEY_MENU                 0x008B
          KEY_OK                   0x0160
          KEY_UP                   0x0067
          KEY_DOWN                 0x006C
          KEY_LEFT                 0x0069
          KEY_RIGHT                0x006A
#same as stop          KEY_ESC                  0x0080
          KEY_HOMEPAGE             0x0081
          KEY_VIDEO                0x0189
          KEY_AUDIO                0x0188
          KEY_MUTE                 0x0071
          KEY_SLEEP                0x008E
          KEY_CHANNELDOWN          0x0193
          KEY_CHANNELUP            0x0192
          KEY_VOLUMEDOWN           0x0072
          KEY_VOLUMEUP             0x0073
          KEY_RED                  0x018E
          KEY_GREEN                0x018F
          KEY_YELLOW               0x0190
          KEY_BLUE                 0x0191
          KEY_TEXT                 0x0184
          KEY_NEW                  0x00B5
          KEY_FAVORITES            0x016B
          KEY_CLEAR                0x0001
      end codes

end remote


hardware.conf

# Arguments which will be used when launching lircd
LIRCD_ARGS=""

#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

# Run "lircd --driver=help" for a list of supported drivers.
DRIVER="dev/input"
# If DEVICE is set to /dev/lirc and devfs is in use /dev/lirc/0 will be
# automatically used instead
DEVICE="/dev/input/event7"
MODULES=""

# Default configuration files for your hardware if any
LIRCD_CONF=""
LIRCMD_CONF=""





Follow ups

References