Hallo zusammen,
yavdr 0.4, Hardware laut Signatur. Nach apt-get install linux-media-dkms funktioniert leider meine Fernbedienung nicht mehr, die vorher einwandfrei tat.
Irgendwie scheint gar nichts anzukommen, doch der Reihe nach:
Das wichtigste aus dmesg:
[ 5.802517] IR RC5(x) protocol handler initialized
[ 5.808643] input: iMON Panel, Knob and Mouse(15c2:ffdc) as /devices/pci0000:00/0000:00:0b.0/usb2/2-6/2-6:1.0/input/input6
[ 5.810993] IR RC6 protocol handler initialized
[ 5.827254] EDAC MC: Ver: 2.1.0 Jan 24 2012
[ 5.828376] IR JVC protocol handler initialized
[ 5.830761] imon 2-6:1.0: 0xffdc iMON VFD, MCE IR (id 0x7e)
[ 5.836294] EDAC amd64_edac: v3.3.0
[ 5.837814] IR Sony protocol handler initialized
[ 5.844569] Linux media interface: v0.10
[ 5.851869] EDAC amd64: DRAM ECC disabled.
[ 5.851881] EDAC amd64: ECC disabled in the BIOS or no ECC capability, module will not load.
[ 5.851882] Either enable ECC checking or force module loading by setting 'ecc_enable_override'.
[ 5.851884] (Note that use of the override may cause unknown side effects.)
[ 5.858330] IR MCE Keyboard/mouse protocol handler initialized
[ 5.859815] WARNING: You are using an experimental version of the media stack.
[ 5.859819] As the driver is backported to an older kernel, it doesn't offer
[ 5.859820] enough quality for its usage in production.
[ 5.859821] Use it with care.
[ 5.859822] Latest git patches (needed if you report a bug to linux-media@vger.kernel.org):
[ 5.859823] 875e2e3edf48a206c64195666cf408dd3d119137 [media] omap3isp: Mark next captured frame as faulty when an SBL overflow occurs
[ 5.859824] c3cd257402fdcd650816ec25b83480a24912430a [media] omap3isp: video: Don't WARN() on unknown pixel formats
[ 5.859826] 22db44cb9cd67d56b02b2b5dceb10d3d1361b28b [media] as3645a: Add driver for LED flash controller
[ 5.869867] lirc_dev: IR Remote Control driver registered, major 249
[ 5.871249] IR LIRC bridge handler initialized
[ 5.877451] Registered IR keymap rc-imon-mce
[ 5.877764] input: iMON Remote (15c2:ffdc) as /devices/pci0000:00/0000:00:0b.0/usb2/2-6/2-6:1.0/rc/rc0/input7
[ 5.877922] rc0: iMON Remote (15c2:ffdc) as /devices/pci0000:00/0000:00:0b.0/usb2/2-6/2-6:1.0/rc/rc0
[ 5.897552] imon 2-6:1.0: iMON device (15c2:ffdc, intf0) on usb<2:3> initialized
[ 5.897576] usbcore: registered new interface driver imon
[ 5.899163] Linux video capture interface: v2.00
[ 5.899167] WARNING: You are using an experimental version of the media stack.
[...]
[ 7.157904] input: eventlircd as /devices/virtual/input/input9
[ 7.292339] svc: failed to register lockdv1 RPC service (errno 97).
[ 7.294836] NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
[ 7.295140] NFSD: starting 90-second grace period
[ 7.300440] input: eventlircd as /devices/virtual/input/input10
Alles anzeigen
root@vdr:~# dpkg -l | grep linux-media
ii linux-media-dkms 0~20111223.git278005.238~natty linux-media driver in DKMS format.
root@vdr:~# lsmod | grep imon
rc_imon_mce 12505 0
imon 32385 1
rc_core 26333 10 ir_lirc_codec,ir_mce_kbd_decoder,rc_imon_mce,ir_sony_decoder,ir_jvc_decoder,ir_rc6_decoder,imon,ir_rc5_decoder,ir_nec_decoder
root@vdr:~# ps awx | grep lirc
1048 ? S<s 0:00 /usr/sbin/eventlircd -f --socket=/var/run/lirc/lircd
1078 ? Ss 0:00 /usr/bin/irexec /etc/lirc/lircrc
1749 ? S<sl 7:39 /usr/bin/vdr --lirc=/var/run/lirc/lircd -v /srv/vdr/video.00 -c /var/lib/vdr -L /usr/lib/vdr/plugins -r /usr/lib/vdr/vdr-recordingaction -s /usr/lib/vdr/vdr-shutdown.wrapper -E /var/cache/vdr/epg.data -u vdr -g /tmp --port 6419 -w 0 -Pxine -r -Pmarkad -Piptv -Pconflictcheckonly -Pxvdr -t 10 -Pfemon -Pchannellists -Pdbus2vdr -Pyaepghd -Pquickepgsearch -Plcdproc -Pextrecmenu -Plive --port=8008 --ip=0.0.0.0 --epgimages=/var/cache/vdr/epgimages -Ptext2skin -Pwirbelscan -Pepgsearchonly -Prestfulapi --port=8002 --ip=0.0.0.0 --epgimages=/var/cache/vdr/epgimages --channellogos=/usr/share/vdr-channellogos -Pepgsearch -f /usr/bin/svdrpsend -Pmenuorg -Pskinelchi -Pstreamdev-server -Pdynamite
2517 pts/0 S+ 0:00 grep --color=auto lirc
root@vdr:~# cat /proc/bus/input/devices
I: Bus=0019 Vendor=0000 Product=0001 Version=0000
N: Name="Power Button"
P: Phys=PNP0C0C/button/input0
S: Sysfs=/devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input0
U: Uniq=
H: Handlers=kbd event0
B: PROP=0
B: EV=3
B: KEY=10000000000000 0
I: Bus=0019 Vendor=0000 Product=0001 Version=0000
N: Name="Power Button"
P: Phys=LNXPWRBN/button/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXPWRBN:00/input/input1
U: Uniq=
H: Handlers=kbd event1
B: PROP=0
B: EV=3
B: KEY=10000000000000 0
I: Bus=0003 Vendor=0b38 Product=0003 Version=0110
N: Name="USB-compliant keyboard"
P: Phys=usb-0000:00:0b.0-5/input0
S: Sysfs=/devices/pci0000:00/0000:00:0b.0/usb2/2-5/2-5:1.0/input/input2
U: Uniq=
H: Handlers=sysrq kbd event2
B: PROP=0
B: EV=120013
B: KEY=1000000000007 ff9f207ac14057ff febeffdfffefffff fffffffffffffffe
B: MSC=10
B: LED=7
I: Bus=0003 Vendor=0b38 Product=0003 Version=0110
N: Name="USB-compliant keyboard"
P: Phys=usb-0000:00:0b.0-5/input1
S: Sysfs=/devices/pci0000:00/0000:00:0b.0/usb2/2-5/2-5:1.1/input/input3
U: Uniq=
H: Handlers=kbd mouse0 event3
B: PROP=0
B: EV=1f
B: KEY=fe00000 0 0 877fff002c3027 bf00444400000000 1 c040b27c000 267bfad941dfed 9e000000000000 0
B: REL=143
B: ABS=100000000
B: MSC=10
I: Bus=0003 Vendor=1241 Product=f760 Version=0110
N: Name=" Wireless Keyboard/Mouse(2.4G)"
P: Phys=usb-0000:00:0b.1-3.2/input0
S: Sysfs=/devices/pci0000:00/0000:00:0b.1/usb1/1-3/1-3.2/1-3.2:1.0/input/input4
U: Uniq=
H: Handlers=sysrq kbd event4
B: PROP=0
B: EV=120013
B: KEY=1000000000007 ff9f207ac14057ff febeffdfffefffff fffffffffffffffe
B: MSC=10
B: LED=7
I: Bus=0003 Vendor=1241 Product=f760 Version=0110
N: Name=" Wireless Keyboard/Mouse(2.4G)"
P: Phys=usb-0000:00:0b.1-3.2/input1
S: Sysfs=/devices/pci0000:00/0000:00:0b.1/usb1/1-3/1-3.2/1-3.2:1.1/input/input5
U: Uniq=
H: Handlers=kbd mouse1 event5
B: PROP=0
B: EV=1f
B: KEY=837fff002c3027 bf00444400000000 1f0001 f848b27c000 667bfad941dfed 9e000000000000 0
B: REL=143
B: ABS=100000000
B: MSC=10
I: Bus=0003 Vendor=15c2 Product=ffdc Version=0000
N: Name="iMON Panel, Knob and Mouse(15c2:ffdc)"
P: Phys=usb-0000:00:0b.0-6/input1
S: Sysfs=/devices/pci0000:00/0000:00:0b.0/usb2/2-6/2-6:1.0/input/input6
U: Uniq=
H: Handlers=kbd mouse2 event6
B: PROP=0
B: EV=100007
B: KEY=10800320 200000200000000 30000 400110000 411000000801 e168000000000 10000002
B: REL=103
I: Bus=0003 Vendor=15c2 Product=ffdc Version=0000
N: Name="iMON Remote (15c2:ffdc)"
P: Phys=usb-0000:00:0b.0-6/input0
S: Sysfs=/devices/pci0000:00/0000:00:0b.0/usb2/2-6/2-6:1.0/rc/rc0/input7
U: Uniq=
H: Handlers=kbd event7
B: PROP=0
B: EV=100013
B: KEY=c00 0 108fc020 f4109100000000 30000 19000 18614002801 8e168000000000 200000000004ffe
B: MSC=10
I: Bus=0001 Vendor=13c2 Product=000e Version=0002
N: Name="DVB on-card IR receiver"
P: Phys=pci-0000:03:09.0/ir0
S: Sysfs=/devices/pci0000:00/0000:00:10.0/0000:03:09.0/input/input8
U: Uniq=
H: Handlers=kbd event8
B: PROP=0
B: EV=100013
B: KEY=fc812 a05204100000000 0 0 400040002800 1e168000000000 ffc
B: MSC=18
I: Bus=0003 Vendor=15c2 Product=ffdc Version=0000
N: Name="eventlircd"
P: Phys=/dev/input/event6
S: Sysfs=/devices/virtual/input/input9
U: Uniq=
H: Handlers=mouse3 event9
B: PROP=0
B: EV=7
B: KEY=30000 0 0 0 0
B: REL=102
I: Bus=0003 Vendor=15c2 Product=ffdc Version=0000
N: Name="eventlircd"
P: Phys=/dev/input/event7
S: Sysfs=/devices/virtual/input/input10
U: Uniq=
H: Handlers=event10
B: PROP=0
B: EV=3
B: KEY=30000 0 0 0 0
root@vdr:~# lsusb
Bus 002 Device 003: ID 15c2:ffdc SoundGraph Inc. iMON PAD Remote Controller
Bus 002 Device 002: ID 0b38:0003 Gear Head
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 006: ID 1241:f760 Belkin
Bus 001 Device 005: ID 05e3:070e Genesys Logic, Inc. USB 2.0 Card Reader
Bus 001 Device 002: ID 05e3:0605 Genesys Logic, Inc. USB 2.0 Hub [ednet]
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@vdr:~# modinfo imon
filename: /lib/modules/2.6.38-13-generic/updates/dkms/imon.ko
license: GPL
description: Driver for SoundGraph iMON MultiMedia IR/Display
author: Jarod Wilson <jarod@wilsonet.com>
srcversion: 533BB7E5866E52F63B9ACCB
alias: usb:v15C2p0046d*dc*dsc*dp*ic*isc*ip*
alias: usb:v15C2p0045d*dc*dsc*dp*ic*isc*ip*
alias: usb:v15C2p0044d*dc*dsc*dp*ic*isc*ip*
alias: usb:v15C2p0043d*dc*dsc*dp*ic*isc*ip*
alias: usb:v15C2p0042d*dc*dsc*dp*ic*isc*ip*
alias: usb:v15C2p0041d*dc*dsc*dp*ic*isc*ip*
alias: usb:v15C2p0040d*dc*dsc*dp*ic*isc*ip*
alias: usb:v15C2p003Fd*dc*dsc*dp*ic*isc*ip*
alias: usb:v15C2p003Ed*dc*dsc*dp*ic*isc*ip*
alias: usb:v15C2p003Dd*dc*dsc*dp*ic*isc*ip*
alias: usb:v15C2p003Cd*dc*dsc*dp*ic*isc*ip*
alias: usb:v15C2p003Bd*dc*dsc*dp*ic*isc*ip*
alias: usb:v15C2p003Ad*dc*dsc*dp*ic*isc*ip*
alias: usb:v15C2p0039d*dc*dsc*dp*ic*isc*ip*
alias: usb:v15C2p0038d*dc*dsc*dp*ic*isc*ip*
alias: usb:v15C2p0037d*dc*dsc*dp*ic*isc*ip*
alias: usb:v15C2p0036d*dc*dsc*dp*ic*isc*ip*
alias: usb:v15C2p0035d*dc*dsc*dp*ic*isc*ip*
alias: usb:v15C2p0034d*dc*dsc*dp*ic*isc*ip*
alias: usb:v15C2pFFDCd*dc*dsc*dp*ic*isc*ip*
depends: rc-core
vermagic: 2.6.38-13-generic SMP mod_unload modversions
parm: debug:Debug messages: 0=no, 1=yes (default: no) (bool)
parm: display_type:Type of attached display. 0=autodetect, 1=vfd, 2=lcd, 3=vga, 4=none (default: autodetect) (int)
parm: pad_stabilize:Apply stabilization algorithm to iMON PAD presses in arrow key mode. 0=disable, 1=enable (default). (int)
parm: nomouse:Disable mouse input device mode when IR device is open. 0=don't disable, 1=disable. (default: don't disable) (bool)
parm: pad_thresh:Threshold at which a pad push registers as an arrow key in kbd mode (default: 28) (int)
root@vdr:~# modinfo rc_imon_mce
filename: /lib/modules/2.6.38-13-generic/updates/dkms/rc-imon-mce.ko
author: Jarod Wilson <jarod@redhat.com>
license: GPL
srcversion: 533BB7E5866E52F63B9ACCB
depends: rc-core
vermagic: 2.6.38-13-generic SMP mod_unload modversions
root@vdr:~# ir-keytable
Found /sys/class/rc/rc0/ (/dev/input/event7) with:
Driver imon, table rc-imon-mce
Supported protocols: RC-6
Enabled protocols:
Repeat delay = 500 ms, repeat period = 125 ms
root@vdr:~# stop eventlircd
eventlircd stop/waiting
root@vdr:~# ps awx | grep lirc
1749 ? S<sl 7:47 /usr/bin/vdr --lirc=/var/run/lirc/lircd -v /srv/vdr/video.00 -c /var/lib/vdr -L /usr/lib/vdr/plugins -r /usr/lib/vdr/vdr-recordingaction -s /usr/lib/vdr/vdr-shutdown.wrapper -E /var/cache/vdr/epg.data -u vdr -g /tmp --port 6419 -w 0 -Pxine -r -Pmarkad -Piptv -Pconflictcheckonly -Pxvdr -t 10 -Pfemon -Pchannellists -Pdbus2vdr -Pyaepghd -Pquickepgsearch -Plcdproc -Pextrecmenu -Plive --port=8008 --ip=0.0.0.0 --epgimages=/var/cache/vdr/epgimages -Ptext2skin -Pwirbelscan -Pepgsearchonly -Prestfulapi --port=8002 --ip=0.0.0.0 --epgimages=/var/cache/vdr/epgimages --channellogos=/usr/share/vdr-channellogos -Pepgsearch -f /usr/bin/svdrpsend -Pmenuorg -Pskinelchi -Pstreamdev-server -Pdynamite
2529 pts/0 S+ 0:00 grep --color=auto lirc
root@vdr:~# ir-keytable -t
Testing events. Please, press CTRL-C to abort.
^C
Alles anzeigen
Es kam nichts an, daher habe ich abgebrochen. Ja, Batterien in der Fernbedienung sind voll - Empfänger funktioniert auch. Funktionierte mit yavdr0.4 vor dem apt-get install linux-media-dkms - und funktioniert nach wie vor mit dem yavdr0.3 den ich auf der selben Hardware alternativ boote.
Also Keytable löschen und nochmal testen.
root@vdr:~# ir-keytable -c
Old keytable cleared
root@vdr:~# ir-keytable -t
Testing events. Please, press CTRL-C to abort.
^C
wieder nichts.
root@vdr:~# ir-keytable -v
Found device /sys/class/rc/rc0/
Input sysfs node is /sys/class/rc/rc0/input7/
Event sysfs node is /sys/class/rc/rc0/input7/event7/
Parsing uevent /sys/class/rc/rc0/input7/event7/uevent
/sys/class/rc/rc0/input7/event7/uevent uevent MAJOR=13
/sys/class/rc/rc0/input7/event7/uevent uevent MINOR=71
/sys/class/rc/rc0/input7/event7/uevent uevent DEVNAME=input/event7
Parsing uevent /sys/class/rc/rc0/uevent
/sys/class/rc/rc0/uevent uevent NAME=rc-imon-mce
/sys/class/rc/rc0/uevent uevent DRV_NAME=imon
input device is /dev/input/event7
/sys/class/rc/rc0/protocols protocol rc-6 (disabled)
Found /sys/class/rc/rc0/ (/dev/input/event7) with:
Driver imon, table rc-imon-mce
Supported protocols: RC-6
Enabled protocols:
Repeat delay = 500 ms, repeat period = 125 ms
root@vdr:~#
Alles anzeigen
Dann mal mit evtest:
root@vdr:~# evtest /dev/input/event7
Input driver version is 1.0.1
Input device ID: bus 0x3 vendor 0x15c2 product 0xffdc version 0x0
Input device name: "iMON Remote (15c2:ffdc)"
Supported events:
Event type 0 (Sync)
Event type 1 (Key)
Event type 4 (Misc)
Event code 4 (ScanCode)
Event type 20 (Repeat)
Testing ... (interrupt to exit)
^C
Alles anzeigen
Kommt nichts, also mal das andere Event mit dem device (15c2:ffdc)
root@vdr:~# evtest /dev/input/event6
Input driver version is 1.0.1
Input device ID: bus 0x3 vendor 0x15c2 product 0xffdc version 0x0
Input device name: "iMON Panel, Knob and Mouse(15c2:ffdc)"
Supported events:
Event type 0 (Sync)
Event type 1 (Key)
Event code 1 (Esc)
Event code 28 (Enter)
Event code 103 (Up)
Event code 105 (Left)
Event code 106 (Right)
Event code 108 (Down)
Event code 113 (Mute)
Event code 114 (VolumeDown)
Event code 115 (VolumeUp)
Event code 128 (Stop)
Event code 139 (Menu)
Event code 164 (PlayPause)
Event code 168 (Rewind)
Event code 174 (Exit)
Event code 208 (Fast Forward)
Event code 212 (Camera)
Event code 226 (Media)
Event code 272 (LeftBtn)
Event code 273 (RightBtn)
Event code 353 (Select)
Event code 377 (TV)
Event code 389 (DVD)
Event code 392 (Audio)
Event code 393 (Video)
Event code 407 (Next)
Event code 412 (Previous)
Event type 2 (Relative)
Event code 0 (X)
Event code 1 (Y)
Event code 8 (Wheel)
Event type 20 (Repeat)
Testing ... (interrupt to exit)
^C
root@vdr:~#
Alles anzeigen
Auch nichts.
Was mir noch auffällt:
Bei der "alten" Installation hat es erst mit der Keytable rc_imon_pad funktioniert - und mit dem Protokoll "other".
Das kann ich aber nicht mehr setzen:
root@vdr:~# ir-keytable -p other
Invalid parameter(s)
ir-keytable: -p: (PROGRAM ERROR) Option should have been recognized!?
Try `ir-keytable --help' or `ir-keytable --usage' for more information.
Sollte da das Problem liegen?
Jetzt seit Ihr gefragt - irgendwelche weiteren Ideen?
BTW: Ich scheine nicht der einzige mit diesem Problem bei dieser Hardware zu sein - eine Lösung scheint es nach meinen Recherchen bisher nicht zu geben.