Roaster Not Connected - Linux


#1

Hello RoastWorld - I’m a long-time HotTop roaster, but moved on to the Bullet a week ago, wanting to step up to a model with computer profiling and a bit larger capacity. I’ve done my seasoning roasts plus one, and have been delighted by the range of adjustment available…it will take some getting used to. I’ve also been delighted by the general atmosphere of mutual respect apparent on this forum.

Being a Linux user, I thought that finding a version of software that will work would be the most difficult issue, but my problem seems to be hardware related. I’ve read all the tangentially related items here, but haven’t found an issue exactly like mine.

When I connect the Bullet to a computer by USB, the lsusb command in a terminal appears not to see the Bullet. I’ve tried 5 different cables (for 2 or 3 of them, the micro USB side didn’t seem to seat very deeply). I’ve tried 2 different computers (1 running Mint, the other a simpler/older Ubuntu). I’ve tried all 5 cables on both computers. On both computers, I’ve tried all of the USB ports (2 each) available. Always the lsusb command finds nothing.

Running aillio-ts-2.0.3-x86_64.AppImage (I was hoping it might force the locating of the roaster), I was delighted to find that the software appears to operate (I won’t go into the different things I tried before that particular AppImage), but it shows “Roaster Not Connected” as the status. Is there a way, somehow, tell the Bullet to open up USB communication? Or, might be an actual hardware problem (after all, 2 or 3 of the 5 cables tried feel pretty shaky on the micro USB end of the connection)?

Apologies for a possibly stupid newb question. Thank you.


#2

If you try searching for linux using the magnifying glass icon in the upper right of the screen you’ll find a few threads that mention details about usb connections. Sorry I’m not more of a linux hack to help further.
FWIW, it takes a bit of careful attention to connect the provided cable to the micro usb connector on my bullet too, one of the new V2 batch from SM in March.
Cheers, - Brad


#3

Please search this forum about how to set it up, and maybe try this release instead: 2.5.6


#4

Brad & Jacob,

Thank you for the encouragement to re-read the linux related posts. One of them pointed out that the “STMicroelectronics” in the list resulting from lsusb is the, not entirely expected, designation for the Bullet. So, hooray, I have a connection.

Now I’ll just need to do the udev rules exercise to get running (fingers crossed). Jacob, thanks for the link to 2.5.6. It looks promising.

Kerry


#5

Hmmm, thanks to Matthew and tacvbo (and a little review of syntax), I’ve gotten my computers to recognize the Bullet. Still get the “Roaster Not Connected” message from RoasTime.

I will keep fumbling on. dmesg result is:

[11819.695209] IPv6: ADDRCONF(NETDEV_UP): wlp2s0: link is not ready

[11819.696431] IPv6: ADDRCONF(NETDEV_UP): enp1s0f0: link is not ready

[11820.726907] IPv6: ADDRCONF(NETDEV_UP): enp1s0f0: link is not ready

[15063.784811] usb 3-2: new full-speed USB device number 4 using xhci_hcd

[15063.914800] usb 3-2: New USB device found, idVendor=0483, idProduct=a27e

[15063.914808] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3

[15063.914813] usb 3-2: Product: Aillio LTD- Bullet R1 ROASTER FS

[15063.914817] usb 3-2: Manufacturer: STMicroelectronics

[15063.914821] usb 3-2: SerialNumber: 000000000200

[15064.177861] cdc_acm 3-2:1.0: ttyACM0: USB ACM device

[15064.178133] usbcore: registered new interface driver cdc_acm

[15064.178136] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters

[15156.639726] usb 3-2: USB disconnect, device number 4

[15158.453567] usb 3-1: new full-speed USB device number 5 using xhci_hcd

[15158.583463] usb 3-1: New USB device found, idVendor=0483, idProduct=a27e

[15158.583474] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3

[15158.583483] usb 3-1: Product: Aillio LTD- Bullet R1 ROASTER FS

[15158.583491] usb 3-1: Manufacturer: STMicroelectronics

[15158.583496] usb 3-1: SerialNumber: 000000000200

[15158.584355] cdc_acm 3-1:1.0: ttyACM0: USB ACM device

[15186.934542] usb 3-1: USB disconnect, device number 5

[15202.257916] usb 3-1: new full-speed USB device number 6 using xhci_hcd

[15202.387723] usb 3-1: New USB device found, idVendor=0483, idProduct=a27e

[15202.387731] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3

[15202.387736] usb 3-1: Product: Aillio LTD- Bullet R1 ROASTER FS

[15202.387739] usb 3-1: Manufacturer: STMicroelectronics

[15202.387743] usb 3-1: SerialNumber: 000000000200

[15202.388569] cdc_acm 3-1:1.0: ttyACM0: USB ACM device

[15222.317831] usb 3-1: USB disconnect, device number 6

[15223.766099] usb 3-2: new full-speed USB device number 7 using xhci_hcd

[15223.895795] usb 3-2: New USB device found, idVendor=0483, idProduct=a27e

[15223.895802] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3

[15223.895807] usb 3-2: Product: Aillio LTD- Bullet R1 ROASTER FS

[15223.895810] usb 3-2: Manufacturer: STMicroelectronics

[15223.895814] usb 3-2: SerialNumber: 000000000200

[15223.896496] cdc_acm 3-2:1.0: ttyACM0: USB ACM device

[15253.528777] usb 3-2: USB disconnect, device number 7

[15754.246292] usb 3-2: new full-speed USB device number 8 using xhci_hcd

[15754.376099] usb 3-2: New USB device found, idVendor=0483, idProduct=a27e

[15754.376108] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3

[15754.376112] usb 3-2: Product: Aillio LTD- Bullet R1 ROASTER FS

[15754.376116] usb 3-2: Manufacturer: STMicroelectronics

[15754.376119] usb 3-2: SerialNumber: 000000000200

[15754.376997] cdc_acm 3-2:1.0: ttyACM0: USB ACM device


Ubuntu 20.04 instructions for RoasTime
#6

Swapped out USB cable, and managed to get rid of the USB disconnect issue. Still no conversation with RoasTime…still ‘Roaster Not Connected.’

No connection between roaster and Artisan either. Message on Artisan is something like ‘AillioR1’ object has no attribute ‘parent pipe’.

New dmesg output:

[ 81.470832] usb 3-1: new full-speed USB device number 2 using xhci_hcd
[ 81.600879] usb 3-1: New USB device found, idVendor=0483, idProduct=a27e
[ 81.600883] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 81.600885] usb 3-1: Product: Aillio LTD- Bullet R1 ROASTER FS
[ 81.600887] usb 3-1: Manufacturer: STMicroelectronics
[ 81.600888] usb 3-1: SerialNumber: 000000000200
[ 81.683427] cdc_acm 3-1:1.0: ttyACM0: USB ACM device
[ 81.683661] usbcore: registered new interface driver cdc_acm
[ 81.683664] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters

The SerialNumber appears to be unlikely, but probably not important. Everything else looks reasonable to my untutored eye. Running out of ideas.


#7

Hah - Success…sort of. The driver Linux uses for the Bullet is the cdc_acm driver, written by CCS. On the CCS website, there is a hint that to receive data from the USB device, one must execute (in a terminal) cat /dev/ttyACM0 (the ACMzero, is my specific situation, of course, others will vary). With that process running in a terminal, the Bullet connects with RoasTime.

The big downside to this news is that I will need to run RoasTime as Administrator, which I really don’t want to do. My lesser user(s) can’t run sudo with the right PW. Oh well, maybe there’s a stroke of inspiration in my future.


#8

Glad you got it figured out!
I will ask Matthew about why it needs to run as admin.


#9

Ok, with the help of your post here, I was able to get mine working (without administrator). This is on Ubuntu 20.04, your mileage may vary on other distros.

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.


#10

Thanks for this!