We have moved! This forum is now read only. (June 03)

New community website: https://community.snakeoil-os.net (June 03)

Join us in the new community by Creating a new account. (June 04)


IR blaster functionality
#13
(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... Wink
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.  Sad

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...)
Reply


Messages In This Thread
IR blaster functionality - by davem - 12-Oct-2020, 06:23 PM
RE: IR blaster functionality - by agent_kith - 14-Oct-2020, 08:07 AM
RE: IR blaster functionality - by davem - 14-Oct-2020, 10:49 AM
RE: IR blaster functionality - by davem - 23-Oct-2020, 08:36 AM
RE: IR blaster functionality - by agent_kith - 23-Oct-2020, 10:13 AM
RE: IR blaster functionality - by davem - 23-Oct-2020, 12:08 PM
RE: IR blaster functionality - by agent_kith - 23-Oct-2020, 12:11 PM
RE: IR blaster functionality - by davem - 23-Oct-2020, 12:49 PM
RE: IR blaster functionality - by agent_kith - 23-Oct-2020, 01:08 PM
RE: IR blaster functionality - by davem - 24-Oct-2020, 02:34 PM
RE: IR blaster functionality - by Bromf - 24-Oct-2020, 04:40 PM
RE: IR blaster functionality - by davem - 26-Oct-2020, 07:00 AM
RE: IR blaster functionality - by davem - 29-Oct-2020, 07:42 AM
RE: IR blaster functionality - by agent_kith - 29-Oct-2020, 01:12 PM
RE: IR blaster functionality - by davem - 29-Oct-2020, 03:53 PM
RE: IR blaster functionality - by agent_kith - 29-Oct-2020, 04:15 PM
RE: IR blaster functionality - by davem - 29-Oct-2020, 05:35 PM
RE: IR blaster functionality - by davem - 30-Oct-2020, 06:17 AM
RE: IR blaster functionality - by agent_kith - 30-Oct-2020, 08:19 AM
RE: IR blaster functionality - by davem - 30-Oct-2020, 02:01 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  New setup, query about output and adding functionality shaitan667 4 3,117 26-Jan-2020, 12:49 PM
Last Post: Bromf



Users browsing this thread: 1 Guest(s)
[-]
Our Sponsors
{myadvertisements[zone_4]}

[-]
Latest Threads
Android Firefox issues with forum
Last Post: agent_kith
10-Jun-2025 04:45 PM
» Replies: 21
» Views: 2580
[split] Possible To Load Snakeoil OS in ...
Last Post: Snoopy8
09-Jun-2025 06:43 AM
» Replies: 14
» Views: 1760
Snakeoil 1.4.3 (High End U3)
Last Post: hkphantomgtr
05-Jun-2025 03:58 PM
» Replies: 67
» Views: 9955
Snakeoil with Ubuntu Desktop ?
Last Post: Snoopy8
02-Jun-2025 09:38 AM
» Replies: 8
» Views: 1050
Add IR remote control using Flirc USB in...
Last Post: Snoopy8
31-May-2025 03:50 PM
» Replies: 5
» Views: 775
Work In Progress: 1.4.4
Last Post: hkphantomgtr
29-May-2025 11:44 PM
» Replies: 44
» Views: 5773
SQ difference - Raspberry Pi vs x86_64?
Last Post: Snoopy8
27-May-2025 02:16 PM
» Replies: 42
» Views: 6201
Snakeoil 1.4.0 (High End)
Last Post: aabman
25-May-2025 11:35 AM
» Replies: 93
» Views: 16274
new install issues
Last Post: carlodim
23-May-2025 09:56 AM
» Replies: 42
» Views: 5437
Is this project still alive?
Last Post: agent_kith
20-May-2025 03:11 PM
» Replies: 10
» Views: 1407

[-]
SnakeoilOS Mission Statement

Our mission is to create a free to use computer OS that is easy to install, intuitive to operate and play music that will connect and engage with you emotionally.

SnakeoilOS gives you the freedom to spend more time on listening, enjoying and exploring music. Wasting time on computers is now a thing of the past! Everything is constantly evolving/improving. Please check back often for updates.

If you like this project, do show your support with a small token donation. All donations collected will be used to run this website, and for purchasing new equipment for the project.