Steve Agnew wrote: 
> I've made a bit of progress and managed to compile a version of the
> Thingiverse Knob software that works well with Jivelite just sending
> KEYCODE_SPACE, KEYCODE_MINUS, KEYCODE_EQUAL, and MMKEY_SCAN_PREV_TRACK
> and MMKEY_SCAN_NEXT_TRACK. It's not pretty but it works connected
> directly to a USB port.
> 
> I've been following your suggestion for making it work with Squeezelite.
> I'm currently testing with a standard wired (not RF) USB keyboard and
> although inputlircd seems to be running OK the key presses don't seem to
> be getting through. On the tweaks page it shows LIRC as running, and on
> the IR page there is a prompt to Install LIRC.
> 
> What did your lircd.conf and licrc files look like when you were testing
> the mini usb keyboard? Am I heading in the wrong direction?
> 
> Thanks for your help.
> 
> Steve Agnew
Great work! it is often a challenge to get the keycodes right.

You don't active LIRC support in the webgui, nor use lircd.conf or
lircrc files with inputlircd as it replaces lircd and you have to launch
it from the user commands.

Please review my 'initial post'
(https://forums.slimdevices.com/showthread.php?111787-ANNOUNCE-piCorePlayer-6-0-0&p=973186&viewfull=1#post973186)
regarding inputlircd.  The manpage link is also helpful.

I did not create an inputlircd mapping file for the mini usb keyboard,
just found which keys generated the 'keycodes that squeezelite supports'
(https://github.com/ralph-irving/squeezelite/blob/master/ir.c#L103). 
You will also need to update squeezelite to v1.9.7-1237-pCP from the pcp
web interface to support all the keycodes.

You also have add the -i option to the Various Options field and if you
change the Log level setting to ir=debug on the squeezelite page and
save then you can see the IR codes in /var/log/pcp_squeezelite.log



Ralphy

*1*-Touch, *5*-Classics, *3*-Booms, *1*-UE Radio
'Squeezebox client builds'
(https://sourceforge.net/projects/lmsclients/files/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezebox%20client%20builds&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=111787

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to