(23-Oct-2020, 10:13 AM)agent_kith Wrote:(23-Oct-2020, 08:36 AM)davem Wrote:By default, users are not part of the audio group, that's why when you run commands like "aplay -l" etc, you get nothing. But if you run something like "sudo aplay -l", then it will show up.
Likewise you may need to add your user to both audio and lirc (or whatever that group is doing)... To simplify things, you can run everything as the root user, it will have access to both your IR Blaster and audio device...
ahhh OK feel like a (sudo) idiot right now... lircd is run by root but still dont seem to get access to the device...
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC283 Analog [ALC283 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
david@NUC:/dev$ ps -ef |grep lirc
root 10811 1 0 11:57 ? 00:00:00 lircd
from syslog
Oct 23 14:59:05 NUC lircd-0.10.0[11673]: Warning: Cannot access device: ALSA:ALC283 Analog (hw:0,0)
Oct 23 14:59:05 NUC lircd-0.10.0[11673]: Warning: Running as root
Really appreciate your help. Time for more digging...