Skip to main content

Thread: Y0400052 remote with eyetv dtt stick


im trying use y0400052 remote control leadtek winfast analog tv receiver pci card elgato eyetv dtt dvb-t usb stick. know theres plenty of 'how infrared remote controller working' infos out there im kind of lost. feel free direct me appropriate place. part of confusion im both lost on general level , on specific level.

in days when had desktop , using leadtek pci card remote working ok via lirc. seems there new way of handling remotes via devinput , 'events' im unclear - need lirc anymore?

on specific level try following

pluggin in stick yields

code:
$ dmesg jun  5 20:18:27 xenon kernel: [ 1012.145923] ir nec protocol handler initialized jun  5 20:18:27 xenon kernel: [ 1012.156562] ir rc5(x) protocol handler initialized jun  5 20:18:27 xenon kernel: [ 1012.170871] ir rc6 protocol handler initialized jun  5 20:18:27 xenon kernel: [ 1012.178489] ir jvc protocol handler initialized jun  5 20:18:27 xenon kernel: [ 1012.192222] ir sony protocol handler initialized jun  5 20:18:27 xenon kernel: [ 1012.197335] lirc_dev: ir remote control driver registered, major 251  jun  5 20:18:27 xenon kernel: [ 1012.198688] ir lirc bridge handler initialized jun  5 20:18:28 xenon kernel: [ 1012.227662] dib0700: loaded support 15 different device-types jun  5 20:18:28 xenon kernel: [ 1012.280409] dvb-usb: found 'elgato eyetv dtt' in cold state, try load firmware jun  5 20:18:28 xenon kernel: [ 1012.295223] dvb-usb: downloading firmware file 'dvb-usb-dib0700-1.20.fw' jun  5 20:18:28 xenon kernel: [ 1012.499129] dib0700: firmware started successfully. jun  5 20:18:28 xenon kernel: [ 1013.000469] dvb-usb: found 'elgato eyetv dtt' in warm state. jun  5 20:18:28 xenon kernel: [ 1013.000637] dvb-usb: pass complete mpeg2 transport stream software demuxer. jun  5 20:18:28 xenon kernel: [ 1013.000816] dvb: registering new adapter (elgato eyetv dtt) jun  5 20:18:29 xenon kernel: [ 1013.253104] dvb: registering adapter 0 frontend 0 (dibcom 7000pc)... jun  5 20:18:29 xenon kernel: [ 1013.488232] dib0070: identified jun  5 20:18:29 xenon kernel: [ 1013.520250] registered ir keymap rc-dib0700-rc5 jun  5 20:18:29 xenon kernel: [ 1013.520596] input: ir-receiver inside usb dvb receiver /devices/pci0000:00/0000:00:1d.7/usb2/2-2/rc/rc0/input12 jun  5 20:18:29 xenon kernel: [ 1013.520793] rc0: ir-receiver inside usb dvb receiver /devices/pci0000:00/0000:00:1d.7/usb2/2-2/rc/rc0 jun  5 20:18:29 xenon kernel: [ 1013.521031] dvb-usb: schedule remote query interval 50 msecs. jun  5 20:18:29 xenon kernel: [ 1013.521043] dvb-usb: elgato eyetv dtt initialized , connected. jun  5 20:18:29 xenon kernel: [ 1013.523099] usbcore: registered new interface driver dvb_usb_dib0700
now can watch tv kaffeine, , there seems ir-receiver @ input12

edit: after unplugging , replugging became input13

code:
$ ls /sys/class/rc/rc1/input13/ capabilities  device  event12  id  modalias  name  phys  power  properties  subsystem  uevent  uniq
indicates input13 has event12, now

code:
$ evtest /dev/input/event12  input driver version 1.0.1 input device id: bus 0x3 vendor 0xfd9 product 0x21 version 0x100 input device name: "ir-receiver inside usb dvb receiver" supported events:   event type 0 (sync)   event type 1 (key)     event code 2 (1)     event code 3 (2)     event code 4 (3)     event code 5 (4)     event code 6 (5)     event code 7 (6)     event code 8 (7)     event code 9 (8)     event code 10 (9)     event code 11 (0)     event code 41 (grave)     event code 52 (dot)     event code 55 (kpasterisk)     event code 102 (home)     event code 103 (up)     event code 105 (left)     event code 106 (right)     event code 108 (down)     event code 111 (delete)     event code 113 (mute)     event code 114 (volumedown)     event code 115 (volumeup)     event code 116 (power)     event code 119 (pause)     event code 128 (stop)     event code 139 (menu)     event code 158 (back)     event code 164 (playpause)     event code 167 (record)     event code 168 (rewind)     event code 173 (refresh)     event code 207 (play)     event code 208 (fast forward)     event code 210 (print)     event code 223 (cancel)     event code 226 (media)     event code 352 (ok)     event code 354 (goto)     event code 355 (clear)     event code 358 (info)     event code 363 (channel)     event code 365 (epg)     event code 370 (subtitle)     event code 375 (screen)     event code 377 (tv)     event code 385 (radio)     event code 386 (tuner)     event code 388 (text)     event code 389 (dvd)     event code 392 (audio)     event code 393 (video)     event code 398 (red)     event code 399 (green)     event code 400 (yellow)     event code 401 (blue)     event code 402 (channelup)     event code 403 (channeldown)     event code 405 (last)     event code 407 (next)     event code 410 (shuffle)     event code 412 (previous)   event type 4 (misc)     event code 4 (scancode)   event type 20 (repeat) testing ... (interrupt exit)
now little patience , lot of pressing buttons on remote _sometimes_ response evtest

code:
event: time 1307298574.042934, type 4 (misc), code 4 (scancode), value 151f event: time 1307298582.652191, type 4 (misc), code 4 (scancode), value 1f3d event: time 1307298584.378077, type 4 (misc), code 4 (scancode), value 1511 event: time 1307298586.747068, type 4 (misc), code 4 (scancode), value 1f3d event: time 1307298600.854554, type 4 (misc), code 4 (scancode), value 1f3d
so _some_ commuication between remote control , computer established. a) doesnt print 1 line per butten , b) dont know next.

use ubuntu 11.04 and
code:
$ uname -a linux xenon 2.6.38-8-generic #42-ubuntu smp mon apr 11 03:31:24 utc 2011 x86_64 x86_64 x86_64 gnu/linux
any appreciated.

ok, think got it. uninstalled lirc , pointed me in right direction:
http://sourceforge.net/mailarchive/m...sg_id=27453752

firstly, trying different settings ir-keytable -p until ir-keytable -t reliably produced one scancode per each button pressed on remote. worked best me : ir-keytable -pnec . next wanted try different ir-keytable -c -w <keytable> , after searching while found remote control keytables @ /lib/udev/rc_keymaps/ on system. ended taking leadtek_y04g0051 file starting point write suitable keymaps file remote.

still have find how automagically load keymap moment im happy got kaffeine react important buttons.


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Multimedia Software [all variants] Y0400052 remote with eyetv dtt stick


Ubuntu

Comments