Serial can't find my devices - Printable Version +- OpenMarine (https://forum.openmarine.net) +-- Forum: OpenPlotter (https://forum.openmarine.net/forumdisplay.php?fid=1) +--- Forum: Bug Reports (https://forum.openmarine.net/forumdisplay.php?fid=4) +--- Thread: Serial can't find my devices (/showthread.php?tid=4194) |
RE: Serial can't find my devices - b135802 - 2022-09-14 (2022-09-14, 11:59 AM)mgrouch Wrote: @b135802 Yes, @mgrouch, it does! The third device on the listing below. Why is is that Serial and lsusb can't find it, then?!? Code: pi@openplotter:~ $ sudo usb-devices RE: Serial can't find my devices - mgrouch - 2022-09-14 @b135802 The way lsusb is written it may or may not show all devices. So if you are looking for all USB devices do not use lsusb. RE: Serial can't find my devices - b135802 - 2022-09-14 (2022-09-14, 01:44 PM)mgrouch Wrote: @b135802 Ok, thanks @mgrouch. @Sailoog - does this give clues to why Serial isn't discovering my devices? RE: Serial can't find my devices - Sailoog - 2022-09-14 Ops, we forgot the basic rule, "when everything fails check the permissions" Probably the sudo command will make the difference. Try with "sudo lsusb". RE: Serial can't find my devices - b135802 - 2022-09-15 (2022-09-14, 07:49 PM)Sailoog Wrote: Ops, we forgot the basic rule, "when everything fails check the permissions" Sorry, I should have thought about that myself. Code: pi@openplotter:~ $ sudo lsusb There is the Usb-gps - device 013. Is that the problem - Serial doesn't have the right permissions? Why not, and how do one correct it? RE: Serial can't find my devices - Sailoog - 2022-09-15 you should check if the user pi is in the dialout group: Code: groups pi If dialout is not in the list run this: Code: sudo adduser pi dialout RE: Serial can't find my devices - b135802 - 2022-09-15 (2022-09-15, 10:48 AM)Sailoog Wrote: you should check if the user pi is in the dialout group: RE: Serial can't find my devices - mgrouch - 2022-09-15 (2022-09-15, 11:08 AM)b135802 Wrote:(2022-09-15, 10:48 AM)Sailoog Wrote: you should check if the user pi is in the dialout group: two more things to try: Shutdown pypilot and try lsusb as user pi Add pi user to tty group There is this bug report https://github.com/raspberrypi/linux/issues/3779 What do you have in udev? Code: ls -l /etc/udev/rules.d/ And another bug report against debian package https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1009654 RE: Serial can't find my devices - b135802 - 2022-09-15 Pypilot isn't installed. This is OP 3.0, 64 bit, and I just saw now that pypilot is in beta (wasn't aware). No luck despite adding pi to tty group. pi@openplotter:~ $ ls -l /etc/udev/rules.d/ total 72 -rw-r--r-- 1 root root 63312 Sep 11 16:33 70-snap.core.rules -rw-r--r-- 1 root root 1151 Sep 11 16:35 70-snap.nextcloud-desktop-client.rules -rw-r--r-- 1 root root 1883 Feb 23 2022 99-com.rules RE: Serial can't find my devices - mgrouch - 2022-09-15 unplug your USB-GPS temporarily from USB and do lsusb as pi user |