OpenMarine
Daisy USB do not create /dev/ttyACMx - Printable Version

+- OpenMarine (https://forum.openmarine.net)
+-- Forum: OpenPlotter (https://forum.openmarine.net/forumdisplay.php?fid=1)
+--- Forum: General discussion (https://forum.openmarine.net/forumdisplay.php?fid=2)
+--- Thread: Daisy USB do not create /dev/ttyACMx (/showthread.php?tid=2842)



Daisy USB do not create /dev/ttyACMx - it-slav - 2020-08-12

Hi

I have been using my daisy USB connected to ubuntu many years and versions and it has been working flawless.

When connecting to openplotter it does not create any new device.
/var/log/messages:
Aug 12 14:11:39 openplotter kernel: [78739.094382] usb 1-1.4: new full-speed USB device number 15 using dwc_otg
Aug 12 14:11:40 openplotter kernel: [78739.230592] usb 1-1.4: New USB device found, idVendor=16d0, idProduct=0b03, bcdDevice= 4.00
Aug 12 14:11:40 openplotter kernel: [78739.230609] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Aug 12 14:11:40 openplotter kernel: [78739.230619] usb 1-1.4: Product: dAISy AIS Receiver
Aug 12 14:11:40 openplotter kernel: [78739.230628] usb 1-1.4: Manufacturer: Adrian Studer
Aug 12 14:11:40 openplotter kernel: [78739.230637] usb 1-1.4: SerialNumber: 54B8135125003200
Aug 12 14:11:40 openplotter mtp-probe: checking bus 1, device 15: "/sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4"
Aug 12 14:11:40 openplotter mtp-probe: bus: 1, device: 15 was not an MTP device
Aug 12 14:11:40 openplotter mtp-probe: checking bus 1, device 15: "/sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4"
Aug 12 14:11:40 openplotter mtp-probe: bus: 1, device: 15 was not an MTP device

I guess I have to fiddle with udev rules to get it working.

I have connected a USB GPS and that works perfectly well.

I use openplotter "2020-03-24-OpenPlotter-v2-Starting.img" image

Tried to search the forum but could not see anyone else with similiar issue

Thanks
/PeterA


RE: Daisy USB do not create /dev/ttyACMx - Sailoog - 2020-08-12

Not sure but It could be that the Daisy devices are another victim of this: https://forum.openmarine.net/showthread.php?tid=1807&pid=15187#pid15187

what is your kernel version?


RE: Daisy USB do not create /dev/ttyACMx - it-slav - 2020-08-12

Code:
pi@openplotter:~ $ uname -a
Linux openplotter 5.4.51-v7+ #1327 SMP Thu Jul 23 10:58:46 BST 2020 armv7l GNU/Linux



RE: Daisy USB do not create /dev/ttyACMx - it-slav - 2020-08-13

Reverting to an older kernel/firmware with:

Code:
sudo rpi-update bafd743eeb3e8a2a863936594cd7201a0af136fa
solved the issue
Now /dev/ttyAMA0 is created and I can connect to it with 

Code:
minicom -b 38400 -D /dev/ttyACM0 -8


Thanks


RE: Daisy USB do not create /dev/ttyACMx - Sailoog - 2020-08-13

that confirms the source of your problem. Wait for the next kernel and try again, it should be fixed.