LIRC - Failed to initialize hardware - Mac & IrDroid
Joe Dugandzic <[email protected]> Tue, 24 Sep 2019 17:53:43 -0700
| Newsgroups | gmane.comp.hardware.lirc |
|---|---|
| Message-ID | <CAK9FZYwRQVXkL0QpVJYzhch9uquPjNyBLfH6qvgZSEC-crSzvQ@mail.gmail.com> |
Hello again, So I've made some good progress thanks to Alec & Bengt, but it seems that my Lirc install just won't work with my IrDroid. I managed to use Bengt's IrScrutinizer to capture and export the .conf file for my custom remote, and Lirc doesn't seem to have an issue parsing it. But somehow it just won't initiate the hardware. To be specific, I'm running Lirc 0.9.4d installed via MacPorts on macOS Sierra - https://ports.macports.org/port/lirc/summary Here's the error log that I get when running Lirc as a daemon "interactively"... Sep 24 12:27:05 lircd-0.9.4d[33564] <Info>: Info: lircd: Opening log, level: Info Sep 24 12:27:05 lircd-0.9.4d[33564] <Warning>: Warning: Running as root Sep 24 12:27:05 lircd-0.9.4d[33564] <Info>: Info: Using remote: Candles. Sep 24 12:27:05 lircd-0.9.4d[33564] <Notice>: Notice: lircd(irtoy) ready, using /var/run/lirc/lircd Sep 24 12:27:07 lircd-0.9.4d[33564] <Notice>: Notice: accepted new client on /var/run/lirc/lircd Sep 24 12:27:07 lircd-0.9.4d[33564] <Warning>: Warning: Failed to initialize hardware Sep 24 12:27:07 lircd-0.9.4d[33564] <Error>: Error: error processing command: send_once Candles Candle_ON Sep 24 12:27:07 lircd-0.9.4d[33564] <Error>: Error: transmission failed Sep 24 12:27:07 lircd-0.9.4d[33564] <Info>: Info: removed client And for reference, the relevant info from lirc_options.conf: [lircd] nodaemon = False driver = irtoy device = /dev/cu.usbmodem00000001 output = /var/run/lirc/lircd pidfile = /var/run/lirc/lircd.pid plugindir = /opt/local/lib/lirc/plugins permission = 666 allow-simulate = No repeat-max = 600 #effective-user = #listen = [address:]port #connect = host[:port] #loglevel = 6 #uinput = ... #release = ... #logfile = ... [lircmd] uinput = False nodaemon = False # [modinit] # code = /usr/sbin/modprobe lirc_serial # code1 = /usr/bin/setfacl -m g:lirc:rw /dev/uinput # code2 = ... # [lircd-uinput] # release-timeout = 200 I have tried setting the device to cu.usbmodem*** and tty.usbmodem*** with no luck. (I used both of these successfully with IrScrutinizer, so I know they're the right devices.) I tried a full restart to ensure the device wasn't being "held onto" by some other process, with no luck. I do know that my Mac can see and use it, as I was able to capture my remote via IrScrutinizer and then transmit the codes back out of the device and the "flameless candles" turned on and off appropriately per command. It just seems something is messed up with Lirc. Any and all help would be sincerely appreciated! :-) Thx, --Joe