[opensuse-kernel] Terratec RC with Samsung IR remote dysfunctional (0419:0001)
Dear Jiri, I tried to contact Robert Schedel on this topic (and copied linux-usb as well), but for some reason, Robert doesn't respond, and linux-usb is down. Since you're the master of input of the openSUSE kernel, it would be very nice to look into this issue: I try to get a RC labeled Terratec to work with the accompanied usb IR receiver, that introduced itself as: Bus 002 Device 002: ID 0419:0001 Samsung Info. Systems America, Inc. IrDA Remote Controller. The product is a Terratec Cinergy S2 PCI HD, but I plan to use the RC/IR adaptor independently in a small Intel Atom based system from Shuttle as a simple remote vdr device (that even doesn't have any PCI slots itself..) The distro is openSUSE 11.2, that I made running diskless with kiwi and the i586/default kernel from: http://download.opensuse.org/repositories/home:/frispete:/kernel-2.6.31/open... That build contains Roberts samsung203b-2.6.29 and samsung171b-2.6.31 patches, even if they seem not to be necessary, since I have one with a wDescriptorLength of 184, that .31 should support out of the box - thanks to Roberts previous work. Obviously, it does not, at least not in the setup over here: I have lirc-0.8.6 (from build service vdr:) installed, that is using these options: /usr/sbin/lircd -H samsung -d /dev/hidraw2 Further I copied /usr/share/lirc/remotes/samsung/lircd.conf.samsung to /etc/lirc/lircd.conf. Now a simple irw should reveal some keys pushed, doesn't it? Well, it doesn't, but the receiver is alive, since it responds with flashing a red LED on each push. After building the kernel with CONFIG_HID_DEBUG=y, and loading hid with debug=1, a lot of stuff is written into the log. Between 21:53:46 and 21:56:47, I pushed all keys on the RC (some more then once), but starting the daemon resulted in "Failed to initialize hardware" as soon as I start irw, similar to running irrecord (after stopping lircd): ~# irrecord -H samsung -d /dev/hidraw2 xyz irrecord - application for recording IR-codes for usage with lirc Copyright (C) 1998,1999 Christoph Bartelmus(lirc@bartelmus.de) irrecord: initializing '/dev/hidraw2' irrecord: could not init hardware (lircd running ? --> close it, check permissions) OTOH, I'm able to catch key presses with: ~# cat /dev/hidraw2 | hexdump -C 00000000 00 04 04 00 00 00 00 00 00 00 04 00 00 00 00 00 |................| 00000010 00 00 00 04 08 00 00 00 00 00 00 00 04 00 00 00 |................| 00000020 00 00 00 00 00 04 10 00 00 00 00 00 00 00 04 00 |................| 00000030 00 00 00 00 00 00 00 04 01 00 00 00 00 00 00 00 |................| 00000040 04 00 00 00 00 00 00 00 00 03 82 00 00 00 00 00 |................| 00000050 00 00 03 00 00 00 00 00 00 00 00 04 04 00 00 00 |................| 00000060 00 00 00 00 04 00 00 00 00 00 00 00 00 04 01 00 |................| 00000070 00 00 00 00 00 00 04 00 00 00 00 00 00 00 00 04 |................| 00000080 02 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 |................| 00000090 00 04 02 00 00 00 00 00 00 00 04 00 00 00 00 00 |................| 000000a0 00 00 00 04 02 00 00 00 00 00 00 00 04 00 00 00 |................| 000000b0 00 00 00 00 00 04 02 00 00 00 00 00 00 00 04 00 |................| Each key dumps 16 bytes. Apart from that, the repetition doesn't work either, although the LED in the receiver is flashing continuesly. Do you have any idea, what's going wrong here? Thanks in advance, Pete
participants (1)
-
Hans-Peter Jansen