(26-Oct-2020, 07:00 AM)davem Wrote: [ -> ] (24-Oct-2020, 04:40 PM)Bromf Wrote: [ -> ] (24-Oct-2020, 02:34 PM)davem Wrote: [ -> ] (23-Oct-2020, 01:08 PM)agent_kith Wrote: [ -> ] (23-Oct-2020, 12:49 PM)davem Wrote: [ -> ]
Lirc is so under-documented and lags several releases behind any current OS...users generally have to experiment with major breakage before one stumbles upon a working recipe...only to find an update kills it all.
Elsewhere I use Flirc... but some mapping and keycodes would be needed for Snakeoil. Triggerhappy is the go-to currently for Flirc.
Maybe AK could add it to the todo list...but you or I could do some research too...
https://packages.debian.org/buster/triggerhappy
http://manpages.ubuntu.com/manpages/prec...thd.1.html
Thanks Bromf,
I will do some reading when I get a chance. I only need 2 codes (vol up/down) and I have them already.
I am getting a bit stuck and would love some suggestions. (luckily work has been quietish the last couple of days..) I bought the jaycar emitter plugged in the headphone jack of my NUC. Eventually worked out the right config details. When I do an IRSend, I cant see any signal when viewing with my phone camera.[edit: just confirmed that the camera does not pick up output from the emitter, so ignore that point] In the log its misleading - the earlier part suggests an issue unable to connect to a socket but later it seems to go through without error ! I mean it wouldnt be able to deinit the headphone jack if it couldnt connect ??? Am I reading this correctly ?
Oct 29 10:27:28 NUC lircd-0.10.0[8995]: Info: Initializing ALSA:HDA Intel PCH: ALC283 Analog (hw:0,0)...
Oct 29 10:27:28 NUC irsend: lirc_command_run: Sending: SEND_ONCE amp KEY_VOLUMEUP
Oct 29 10:27:28 NUC lircd[8995]: Cannot connect to server socket err = No such file or directory
Oct 29 10:27:28 NUC lircd[8995]: Cannot connect to server request channel
Oct 29 10:27:28 NUC lircd[8995]: jack server is not running or cannot be started
.
.
Oct 29 10:27:28 NUC lircd-0.10.0[8995]: Info: Using custom output device 0: ALSA:HDA Intel PCH: ALC283 Analog (hw:0,0) with default high output latency 0.034830
Oct 29 10:27:28 NUC lircd[8995]: lircd-0.10.0[8995]: Info: Using carrier frequency 32000
Oct 29 10:27:28 NUC lircd-0.10.0[8995]: Info: Using carrier frequency 32000
Oct 29 10:27:28 NUC irsend: lirc_command_run, state: 0, input: "BEGIN"
Oct 29 10:27:28 NUC irsend: lirc_command_run, state: 1, input: "SEND_ONCE amp KEY_VOLUMEUP"
Oct 29 10:27:28 NUC irsend: lirc_command_run, state: 2, input: "SUCCESS"
Oct 29 10:27:28 NUC irsend: lirc_command_run, state: 3, input: "END"
Oct 29 10:27:28 NUC irsend: lirc_command_run: data:END, status:0
Oct 29 10:27:28 NUC lircd[8995]: lircd-0.10.0[8995]: Info: removed client
Oct 29 10:27:28 NUC lircd-0.10.0[8995]: Info: removed client
Oct 29 10:27:28 NUC lircd[8995]: lircd-0.10.0[8995]: Info: Deinitializing ALSA:HDA Intel PCH: ALC283 Analog (hw:0,0)...
done some more testing (mixing up devices etc) and am now confident that I am not getting anything out of the emitter.
More trial and error and numerous reloads of lircd and the errors have disappeared. but nothing in irw (not really sure yet if I should see anything in irw...)