Home › Evil Mad Scientist Forums › Egg-Bot › Cannot connect to eggbot – linux › Reply To: Cannot connect to eggbot – linux
December 23, 2018 at 7:58 am
#27025
Mike K
Participant
The value for self.usb_device_path
is
/sys/devices/pci0000:00/0000:00:14.0/usb2/2-6
mike@E7440:/sys/class/tty$ cat /sys/devices/pci0000:00/0000:00:14.0/usb2/2-6
cat: '/sys/devices/pci0000:00/0000:00:14.0/usb2/2-6': Is a directory
mike@E7440:/sys/class/tty$ ls /sys/devices/pci0000:00/0000:00:14.0/usb2/2-6
2-6:1.0 bDeviceClass bNumConfigurations devnum ltm_capable quirks urbnum
2-6:1.1 bDeviceProtocol bNumInterfaces devpath manufacturer removable version
authorized bDeviceSubClass busnum driver maxchild remove
avoid_reset_quirk bmAttributes configuration ep_00 port speed
bcdDevice bMaxPacketSize0 descriptors idProduct power subsystem
bConfigurationValue bMaxPower dev idVendor product uevent
mike@E7440:/sys/class/tty$ cat /sys/devices/pci0000:00/0000:00:14.0/usb2/2-6/idVendor
04d8
I’ve found that the error being generated is actually “Permission Denied”, but that error message is swallowed by read_line. However, inkscape runs as user mike and that user is able to cat the file without any issue.