Skip to main content

Topics

This section allows you to view all Topics made by this member. Note that you can only see Topics made in areas you currently have access to.

Topics - MisterE

1
USB Infrared Toy / Problems with a HID divice
In my other thread i have problems with the irtoy. I also found a Zotac IR Receiver.
It seems this one likes to behave like a keyboard.
I found two sites with a udev rule. Tried both. It does not seem to work for me.

Quote
root@raspberrypi:/etc/udev/rules.d# cat 10-local.rules
# http://ben.periton.co.uk/2012/06/config ... e-control/
#SUBSYSTEM=="usb" , ATTRS{idVendor}=="0471", ATTRS{idProduct}=="20cc", SYMLINK+="remote", ACTION=="add", RUN+="/sbin/initctl --quiet emit --no-wait ir-ready"

# https://sourceforge.net/p/lirc/git/ci/d ... guide.html
SUBSYSTEM=="usb", ATTRS{idVendor}=="0471", ATTRS{idProduct}=="20cc",
MODE="0660", GROUP="lirc",
RUN="/bin/sh -c 'echo -n $kernel:1.0 > /sys/bus/usb/drivers/usbhid/unbind'"


After a reboot i see
Quote
[  54.859074] input: PHILIPS MCE USB IR Receiver- Spinel plus as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.5/1-1.5:1.0/0003:0471:20CC.0001/input/input0
[  54.912086] hid-generic 0003:0471:20CC.0001: input,hiddev0,hidraw0: USB HID v1.00 Keyboard [PHILIPS MCE USB IR Receiver- Spinel plus] on usb-3f980000.usb-1.5/input0

I Assume this whole "hid-generic" line should dissapear? What will be the device name?


Another solution would be a working alternative. Anyone ideas? I have a couple (simple) requirements:
* small, casing, should be placed under the TV
* must have a usb cord
* receiver is enough
* if it works with the ancient lirc versions is a plus
* easy to order in Holland
2
USB Infrared Toy / RaspberryPi3: does not register all keypresses with IRW
Spend more time as expected with this "toy". Hope someone can help.
The device did not work on my raspberry pi 3 with the Rasbian verion of LIRC. (0.9.0).
According to the wiki you should be able to use the "irman" driver.

After some hours i tried Fedora. It has version 0.9.5 of LIRC. And i found out that the device is only supported by version 0.9.2
It works fine with Fedora.

So i tried to manually compile the latest LIRC sources (stable and unstable). After many struggles it compiled. It works but if i start "irw" it registers two keypresses and it seems to "hang". Some keypresses afterwards are registered.

Then i found this helpful guide: https://gist.github.com/bullshit/918d74db9473355d7181
Installed  using this steps, but with version pre1-2 instead of pre1-1.
The same problem.

Hope someone can help. I am at the point to give up.

Firmware is updated to v22 (story on its own).

( ! ) Fatal error: Uncaught exception 'Elk_Exception' with message 'Please try again. If you come back to this error screen, report the error to an administrator.' in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
( ! ) Elk_Exception: Please try again. If you come back to this error screen, report the error to an administrator. in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
Call Stack
#TimeMemoryFunctionLocation
10.01252283000session_write_close ( )...(null):0
20.01282414600ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.01282415376Database_MySQL->query( ).../DatabaseHandler.php:119
40.05792554112Database_MySQL->error( ).../Db-mysql.class.php:273