With the help of the post here (Roaster Not Connected - Linux - #5 by beowulf), I was able to get it working on Ubuntu 20.04. Figured I’d post instructions for anyone else who was having the same issues I was having (mainly that it wouldn’t connect unless I was administrator).
Step 1, add the following udev rules - edit the file /etc/udev/rules.d/99-aillio.rules
and make the contents look like this:
SUBSYSTEM=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="5741", MODE:="0666", GROUP="dialout"
SUBSYSTEM=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="a27e", MODE:="0666", GROUP="dialout
Step 2: Reload your udev rules:
$ sudo udevadm control --reload-rules
Step 3: Add yourself to the dialout
group.
$ sudo usermod -a -G dialout yourusername
Step 4: Log out, and back in.
Step 5: Unplug the usb for the roaster (if it was plugged in) and plug it back into your computer.
Step 6: Start the RoasTime application.
That’s it, you should be good. As far as I can tell, no cat
is required. When you first connect the roaster, /dev/ttyACM0
is available with dialout
permissions, but when you connect the app, it goes away (not really sure how this works) and something like /dev/bus/usb/001/005
is used instead.
If you are having trouble getting it to work without administrator, launch the app as administrator and let it connect to the roaster. Do something like this in a terminal:
$ sudo lsof | grep -i aillio | grep usb
It should show the usb device it’s using. Then you can type:
$ ls -lh /dev/bus/usb/001/005
It should return something like this:
crw-rw-r-- 1 root dialout 189, 0 Jun 16 15:38 /dev/bus/usb/001/005
If it’s not in the dialout
group, something is wrong with your udev rules.