Dear visitor, welcome to VDR Portal. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.
|
|
Source code |
1 2 3 4 5 6 7 |
root@hd-vdr:~# lsusb Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 003 Device 002: ID 15c2:0036 SoundGraph Inc. Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 002: ID 04d9:2519 Holtek Semiconductor, Inc. Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub |
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 |
root@hd-vdr:~# lsmod Module Size Used by nfsd 241104 9 lockd 67724 1 nfsd nfs_acl 2844 1 nfsd auth_rpcgss 36576 1 nfsd sunrpc 191712 8 nfsd,lockd,nfs_acl,auth_rpcgss exportfs 4412 1 nfsd snd_hda_codec_nvhdmi 4828 1 snd_hda_codec_realtek 203328 1 arc4 1660 2 ecb 2524 2 autofs4 25568 0 ath9k 258744 0 mac80211 181140 1 ath9k led_class 4096 1 ath9k ath 8060 1 ath9k stv6110x 5344 2 lnbp21 2460 2 nvidia 9855940 50 psmouse 56500 0 lirc_imon 25872 2 lirc_dev 10804 3 lirc_imon cfg80211 93052 3 ath9k,mac80211,ath stv090x 56324 2 agpgart 34988 1 nvidia serio_raw 5280 0 joydev 10240 0 snd_hda_intel 26920 5 snd_hda_codec 75708 3 snd_hda_codec_nvhdmi,snd_hda_codec_realtek,snd_hda_intel snd_hwdep 7200 1 snd_hda_codec snd_pcm 75296 3 snd_hda_intel,snd_hda_codec snd_timer 22276 2 snd_pcm snd 59204 14 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer soundcore 7264 1 snd snd_page_alloc 9156 2 snd_hda_intel,snd_pcm i2c_nforce2 6784 0 shpchp 32272 0 ngene 22060 14 dvb_core 90600 1 ngene lp 8964 0 parport 35340 1 lp usbhid 38208 0 forcedeth 54152 0 |
|
|
Source code |
1 2 3 4 5 6 7 8 |
root@hd-vdr:~# cat /var/log/dmesg | grep lirc [ 12.277530] lirc_dev: IR Remote Control driver registered, major 61 [ 12.284038] lirc_imon: Driver for SoundGraph iMON MultiMedia IR/Display, v0.6 [ 12.284102] lirc_dev: lirc_register_driver: sample_rate: 0 [ 12.284237] lirc_imon: Registered iMON driver (lirc minor: 0) [ 12.292567] lirc_imon: iMON device (15c2:0036, intf0) on usb<3:2> initialized [ 12.294308] lirc_imon: iMON device (15c2:0036, intf1) on usb<3:2> initialized [ 12.294422] usbcore: registered new interface driver lirc_imon |
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
Feb 28 12:13:38 hd-vdr kernel: [ 12.277530] lirc_dev: IR Remote Control driver registered, major 61 Feb 28 12:13:38 hd-vdr kernel: [ 12.284038] lirc_imon: Driver for SoundGraph iMON MultiMedia IR/Display, v0.6 Feb 28 12:13:38 hd-vdr kernel: [ 12.284102] lirc_dev: lirc_register_driver: sample_rate: 0 Feb 28 12:13:38 hd-vdr kernel: [ 12.284237] lirc_imon: Registered iMON driver (lirc minor: 0) Feb 28 12:13:38 hd-vdr kernel: [ 12.292567] lirc_imon: iMON device (15c2:0036, intf0) on usb<3:2> initialized Feb 28 12:13:38 hd-vdr kernel: [ 12.294308] lirc_imon: iMON device (15c2:0036, intf1) on usb<3:2> initialized Feb 28 12:13:38 hd-vdr kernel: [ 12.294422] usbcore: registered new interface driver lirc_imon Feb 28 12:13:40 hd-vdr lircd-0.8.6[1498]: lircd(default) ready, using /var/run/lirc/lircd Feb 28 12:13:42 hd-vdr init: lirc main process (1761) terminated with status 1 Feb 28 12:13:42 hd-vdr init: lirc main process ended, respawning Feb 28 12:13:42 hd-vdr init: lirc main process (1781) terminated with status 1 Feb 28 12:13:42 hd-vdr init: lirc main process ended, respawning Feb 28 12:13:42 hd-vdr init: lirc main process (1803) terminated with status 1 Feb 28 12:13:42 hd-vdr init: lirc main process ended, respawning Feb 28 12:13:42 hd-vdr init: lirc main process (1815) terminated with status 1 Feb 28 12:13:42 hd-vdr init: lirc main process ended, respawning Feb 28 12:13:42 hd-vdr init: lirc main process (1833) terminated with status 1 Feb 28 12:13:42 hd-vdr init: lirc main process ended, respawning Feb 28 12:13:42 hd-vdr init: lirc main process (1846) terminated with status 1 Feb 28 12:13:42 hd-vdr init: lirc main process ended, respawning Feb 28 12:13:42 hd-vdr init: lirc main process (1864) terminated with status 1 Feb 28 12:13:42 hd-vdr init: lirc main process ended, respawning Feb 28 12:13:42 hd-vdr init: lirc main process (1879) terminated with status 1 Feb 28 12:13:42 hd-vdr init: lirc main process ended, respawning Feb 28 12:13:42 hd-vdr init: lirc main process (1887) terminated with status 1 Feb 28 12:13:42 hd-vdr init: lirc main process ended, respawning Feb 28 12:13:42 hd-vdr init: lirc main process (1901) terminated with status 1 Feb 28 12:13:42 hd-vdr init: lirc main process ended, respawning Feb 28 12:13:42 hd-vdr init: lirc main process (1918) terminated with status 1 Feb 28 12:13:42 hd-vdr init: lirc respawning too fast, stopped Feb 28 12:13:44 hd-vdr lircd-0.8.6[1498]: accepted new client on /var/run/lirc/lircd Feb 28 12:13:44 hd-vdr kernel: [ 19.520372] lirc_imon: IR port opened Feb 28 12:13:46 hd-vdr lircd-0.8.6[1498]: accepted new client on /var/run/lirc/lircd Feb 28 12:13:46 hd-vdr lircd-0.8.6[1498]: removed client |
|
|
Source code |
1 2 |
Feb 28 12:13:42 hd-vdr init: lirc main process (1761) terminated with status 1 Feb 28 12:13:42 hd-vdr init: lirc main process ended, respawning |
|
|
Source code |
1 |
Feb 28 12:13:46 hd-vdr lircd-0.8.6[1498]: removed client |
|
|
Source code |
1 |
lirc main process (1887) terminated with status 1 |
|
|
Source code |
1 |
connect: Connection refused |
|
|
Source code |
1 2 3 4 5 6 7 8 |
Mar 2 18:27:25 VDR lircd: accepted new client on /var/run/lirc/lircd Mar 2 18:27:25 VDR lircd: could not get hardware features Mar 2 18:27:25 VDR lircd: this device driver does not support the LIRC ioctl interface Mar 2 18:27:25 VDR lircd: major number of /dev/lirc0 is 189 Mar 2 18:27:25 VDR lircd: LIRC major number is 61 Mar 2 18:27:25 VDR lircd: check if /dev/lirc0 is a LIRC device Mar 2 18:27:25 VDR lircd: WARNING: Failed to initialize hardware Mar 2 18:27:31 VDR lircd: removed client |
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 |
Mar 14 18:59:59 [kernel] [13026.939586] lirc_dev: IR Remote Control driver registered, major 61 Mar 14 18:59:59 [kernel] [13026.940763] lirc_imon: Driver for SoundGraph iMON MultiMedia IR/Display, v0.6 Mar 14 18:59:59 [kernel] [13026.940783] lirc_dev: lirc_register_driver: sample_rate: 0 Mar 14 18:59:59 [kernel] [13026.940815] lirc_imon: Registered iMON driver (lirc minor: 0) Mar 14 18:59:59 [kernel] [13026.940848] input: iMON PAD IR Mouse (15c2:0036) as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.4/1-1.4.1/1-1.4.1:1.0/input/input5 Mar 14 18:59:59 [kernel] [13026.942098] lirc_imon: iMON device (15c2:0036, intf0) on usb<1:5> initialized Mar 14 18:59:59 [kernel] [13026.942634] lirc_imon: iMON device (15c2:0036, intf1) on usb<1:5> initialized Mar 14 18:59:59 [kernel] [13026.942649] usbcore: registered new interface driver lirc_imon .. Mar 14 19:01:31 [lircd-0.8.6] lircd(default) ready, using /var/run/lirc/lircd Mar 14 19:02:42 [kernel] [13190.406946] lirc_imon: IR port opened |

|
|
Source code |
1 2 3 4 5 6 7 8 9 10 |
$ cat /proc/bus/usb/devices T: Bus=01 Lev=03 Prnt=04 Port=00 Cnt=01 Dev#= 5 Spd=1.5 MxCh= 0 D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=15c2 ProdID=0036 Rev= 0.02 C:* #Ifs= 2 Cfg#= 1 Atr=80 MxPwr=100mA I:* If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=00 Prot=02 Driver=lirc_imon E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=10ms I:* If#= 1 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=00 Prot=00 Driver=lirc_imon E: Ad=82(I) Atr=03(Int.) MxPS= 8 Ivl=10ms |
|
|
Source code |
1 |
options usbhid quirks=0x15c2:0x0045:0x0004 |
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 |
$ lsusb Bus 001 Device 005: ID 15c2:0036 SoundGraph Inc. Bus 001 Device 004: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB Bus 001 Device 003: ID 05e3:070e Genesys Logic, Inc. X-PRO CR20xA USB 2.0 Internal Card Reader Bus 001 Device 002: ID 8087:0020 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 003: ID 413c:2003 Dell Computer Corp. Keyboard Bus 002 Device 002: ID 8087:0020 Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub |
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 |
$ dmesg | grep -i imon [ 4.773043] lirc_imon: Driver for SoundGraph iMON MultiMedia IR/Display, v0.6 [ 4.773076] lirc_imon 1-1.4.1:1.0: usb_probe_interface [ 4.773082] lirc_imon 1-1.4.1:1.0: usb_probe_interface - got id [ 4.773164] lirc_imon: Registered iMON driver (lirc minor: 0) [ 4.773272] input: iMON PAD IR Mouse (15c2:0036) as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.4/1-1.4.1/1-1.4.1:1.0/input/input2 [ 4.774730] lirc_imon: iMON device (15c2:0036, intf0) on usb<1:5> initialized [ 4.774744] lirc_imon 1-1.4.1:1.1: usb_probe_interface [ 4.774748] lirc_imon 1-1.4.1:1.1: usb_probe_interface - got id [ 4.775311] lirc_imon: iMON device (15c2:0036, intf1) on usb<1:5> initialized [ 4.775337] usbcore: registered new interface driver lirc_imon |
|
|
Source code |
1 2 |
$ lircd -n -d /dev/lirc0 lircd: lircd(default) ready, using /var/run/lirc/lircd |
|
|
Source code |
1 |
$ mode2 --raw --device /dev/lirc0 |
|
|
Source code |
1 2 3 |
$ tail -f /var/log/everything/current Mar 17 21:05:24 [kernel] [ 952.062551] lirc_imon: IR port opened Mar 17 21:05:49 [kernel] [ 977.576494] lirc_imon: IR port closed |
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 |
$ dmesg | grep -i imon [ 5.137798] lirc_imon: Driver for SoundGraph iMON MultiMedia IR/Display, v0.6 [ 5.137823] lirc_imon 1-1.4.1:1.0: usb_probe_interface [ 5.137827] lirc_imon 1-1.4.1:1.0: usb_probe_interface - got id [ 5.137881] lirc_imon: Registered iMON driver (lirc minor: 0) [ 5.137949] input: iMON PAD IR Mouse (15c2:0036) as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.4/1-1.4.1/1-1.4.1:1.0/input/input2 [ 5.139455] lirc_imon: iMON device (15c2:0036, intf0) on usb<1:5> initialized [ 5.139469] lirc_imon 1-1.4.1:1.1: usb_probe_interface [ 5.139472] lirc_imon 1-1.4.1:1.1: usb_probe_interface - got id [ 5.140116] lirc_imon: iMON device (15c2:0036, intf1) on usb<1:5> initialized [ 5.140142] usbcore: registered new interface driver lirc_imon |

Quoted
Original von thomas-t
Könnte es vielleicht damit zusammen hängen, dass zu meinem OrigenAE S10V mitgelieferte Fernbedienung eine Philips RC197 ist und diese laut MythTV Wiki mit dem LIRC mceusb2 und nicht dem imon Treiber zu verwenden ist?
This post has been edited 1 times, last edit by "gda" (Mar 18th 2010, 1:08pm)
Quoted
Original von gda
An deiner Stelle hätte ich es ja einfach ausprobiert, statt diese Anfrage zu posten. Wäre deutlich weniger Arbeit gewesen.
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 |
$ cat /proc/bus/usb/devices T: Bus=01 Lev=03 Prnt=04 Port=00 Cnt=01 Dev#= 5 Spd=1.5 MxCh= 0 D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=15c2 ProdID=0036 Rev= 0.02 C:* #Ifs= 2 Cfg#= 1 Atr=80 MxPwr=100mA I:* If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=00 Prot=02 Driver=(none) E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=10ms I:* If#= 1 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=00 Prot=00 Driver=(none) E: Ad=82(I) Atr=03(Int.) MxPS= 8 Ivl=10ms |


|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 |
$ modinfo lirc_imon filename: /lib/modules/2.6.32-gentoo-r7/misc/lirc_imon.ko license: GPL version: 0.6 description: Driver for SoundGraph iMON MultiMedia IR/Display author: Venky Raju <dev@venky.ws> srcversion: 8A6D6F49E4707EBEA9E66CE 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* alias: usb:v15C2pFFDAd*dc*dsc*dp*ic*isc*ip* alias: usb:v0AA8pFFDAd*dc*dsc*dp*ic*isc*ip* alias: usb:v04E8pFF30d*dc*dsc*dp*ic*isc*ip* alias: usb:v0AA8p8001d*dc*dsc*dp*ic*isc*ip* depends: lirc_dev vermagic: 2.6.32-gentoo-r7 SMP mod_unload CORE2 parm: debug:Debug messages: 0=no, 1=yes(default: no) (int) parm: display_type:Type of attached display. 0=autodetect, 1=vfd, 2=lcd, 3=vga, 4=none (default: autodetect) (int) parm: ir_protocol:Which IR protocol to use. 0=native iMON, 1=Windows Media Center Ed. (RC-6), 2=iMON w/o PAD stabilize (default: native iMON) (int) parm: nomouse:Disable mouse input device mode when IR device is open. 0=don't disable, 1=disable. (default: don't disable) (int) parm: pad_thresh:Threshold at which a pad push registers as an arrow key in kbd mode (default: 28) (int) |
|
|
Source code |
1 2 |
$ vi /etc/modprobe.d/lirc.conf options lirc_imon ir_protocol=1 |
|
|
Source code |
1 2 3 4 5 |
$ mode2 --raw --device /dev/lirc0 code: 0x0200000000000000 code: 0x0200001e00000000 code: 0x0200001e00000000 code: 0x0200001e00000000 |
|
|
Source code |
1 2 3 |
$ irw 0200001e00000000 00 KEY_ONE MCE_via_iMON 0200001e00000000 01 KEY_ONE MCE_via_iMON |
|
|
Source code |
1 2 3 4 5 6 7 |
Mar 18 21:31:38 [kernel] [ 99.247455] display port opened Mar 18 21:31:39 [kernel] [ 99.750314] lirc_imon: send_packet: packet tx failed (-32) Mar 18 21:31:39 [kernel] [ 99.750318] lirc_imon: vfd_write: send packet failed for packet #3 Mar 18 21:31:39 [kernel] [ 100.000155] lirc_imon: send_packet: packet tx failed (-32) Mar 18 21:31:39 [kernel] [ 100.000159] lirc_imon: vfd_write: send packet failed for packet #3 Mar 18 21:31:39 [kernel] [ 100.124433] lirc_imon: send_packet: packet tx failed (-32) Mar 18 21:31:39 [kernel] [ 100.124437] lirc_imon: vfd_write: send packet failed for packet #2 |
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
diff -Naur /usr/src/lirc-0.8.6/drivers/lirc_imon/lirc_imon.c lirc-0.8.6/drivers/lirc_imon/lirc_imon.c
--- /usr/src/lirc-0.8.6/drivers/lirc_imon/lirc_imon.c 2009-09-11 06:56:18.000000000 +0200
+++ lirc-0.8.6/drivers/lirc_imon/lirc_imon.c 2010-02-06 08:40:30.000000000 +0100
@@ -569,6 +569,14 @@
*/
static int send_packet(struct imon_context *context)
{
+ // Ensure that timing issues does not occur with iMon VFD 0x0036
+ unsigned long timeout = usecs_to_jiffies(20);
+ while (timeout)
+ {
+ // Let the process sleep for a while
+ set_current_state(TASK_INTERRUPTIBLE);
+ timeout = schedule_timeout(timeout);
+ }
unsigned int pipe;
int interval = 0;
int retval = 0;
|
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
$ rmmod lirc_imon $ cd lirc/drivers/lirc_imon/ $ wget http://launchpadlibrarian.net/38821679/lirc-0.8.6-VFD_0x0036_timing.patch $ patch lirc_imon.c lirc-0.8.6-VFD_0x0036_timing.patch $ cd ../.. $ ./autogen.sh $ ./setup.sh $ ./configure.sh $ make && make install $ modprobe lirc_imon # Start LCDd in the foreground: $ LCDd -f -r 4 # Start a separate terminal and enter: $ lcdproc |
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
unsigned int pipe;
int interval = 0;
int retval = 0;
struct usb_ctrlrequest *control_req = NULL;
// Ensure that timing issues does not occur with iMon VFD 0x0036
unsigned long timeout = usecs_to_jiffies(20);
while (timeout)
{
// Let the process sleep for a while
set_current_state(TASK_INTERRUPTIBLE);
timeout = schedule_timeout(timeout);
}
|
|
|
Source code |
1 2 |
Mar 21 16:16:51 [kernel] [ 228.722794] lirc_imon: send_packet: packet tx failed (-32) Mar 21 16:16:51 [kernel] [ 228.722798] lirc_imon: vfd_write: send packet failed for packet #3 |