monome / norns

norns is many sound instruments.
http://monome.org
GNU General Public License v3.0
633 stars 147 forks source link

hciuart service fails #1699

Closed xmacex closed 1 year ago

xmacex commented 1 year ago

A very minor thing, but the hciuart systemd service is always failing. Upon inspection

● hciuart.service - Configure Bluetooth Modems connected by UART
     Loaded: loaded (/lib/systemd/system/hciuart.service; enabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Mon 2023-09-11 22:30:26 BST; 25min ago
    Process: 373 ExecStart=/usr/bin/btuart (code=exited, status=1/FAILURE)
        CPU: 108ms

Sep 11 22:30:19 norns systemd[1]: Starting Configure Bluetooth Modems connected by UART...
Sep 11 22:30:26 norns btuart[414]: Can't set device: Protocol not supported
Sep 11 22:30:26 norns btuart[414]: Can't initialize device: Protocol not supported
Sep 11 22:30:26 norns btuart[414]: bcm43xx_init
Sep 11 22:30:26 norns btuart[414]: Flash firmware /lib/firmware/brcm/BCM43430A1.hcd
Sep 11 22:30:26 norns btuart[414]: Set BDADDR UART: b8:27:eb:0e:53:89
Sep 11 22:30:26 norns btuart[414]: Set Controller UART speed to 921600 bit/s
Sep 11 22:30:26 norns systemd[1]: hciuart.service: Control process exited, code=exited, status=1/FAILURE
Sep 11 22:30:26 norns systemd[1]: hciuart.service: Failed with result 'exit-code'.
Sep 11 22:30:26 norns systemd[1]: Failed to start Configure Bluetooth Modems connected by UART.

norns has no BlueTooth modems connected by UART, and as I understand BlueTooth is disabled in the kernel. I might be wrong, and it's used in development or the wifi dongle on factory norns or something (I have a shield).

I suggest considering disabling this service in the norns image so it won't be there to fail -- it's tragic life is lived in hopeless disappointment. systemctl hciuart disable.