So, I have tried everything I know how to do to solve this. Granted, that's not a lot. When I use either the Arduino IDE, or Eclipse with the Sloeber add in, I am unable to select a Port to program my device. The Ports menu item is greyed out as though there are no ports to select from. I am fairly sure it is not a permissions issue as I have addressed that.
Here is what I have:
- Lenovo Laptop
- UBUNTU 18.04.04 (just reinstalled to see if that was a problem)
- Arduino 1.8.12 (latest)
- Eclipse (latest)
- USBTinyisp programmer
- Arduino nano
I also have a desktop machine that works perfectly and is similarly configured. I know the hardware works on the desktop. On the laptop I can program the device using the USB port directly, but not using the programmer. With a direct USB connect the port menu item allows me to select /dev/ttyUSB0.
What I have done:
- I added myself to the dialout group.
- I added a .rules file for the programmer. It has this data
SUBSYSTEM=="usb", ATTRS{idVendor}=="1781", ATTRS{idProduct}=="0c9f", MODE="666", GROUP="dialout"
I can see the programmer with the lsusb command.
Bus 002 Device 011: ID 1781:0c9f Multiple Vendors USBtiny
udevadm monitor gives the following results:
KERNEL[62983.772850] add /devices/pci0000:00/0000:00:14.0 /usb2/2-2 (usb) KERNEL[62983.773098] add /devices/pci0000:00/0000:00:14.0/usb2/2-2/2-2:1.0 (usb) KERNEL[62983.773185] bind /devices/pci0000:00/0000:00:14.0/usb2/2-2 (usb) UDEV [62983.784387] add /devices/pci0000:00/0000:00:14.0/usb2/2-2 (usb) UDEV [62983.789501] add /devices/pci0000:00/0000:00:14.0/usb2/2-2/2-2:1.0 (usb) UDEV [62983.791610] bind /devices/pci0000:00/0000:00:14.0/usb2/2-2 (usb)
All the same as my desktop, which works fine, so I think I am doing the
right thing.
Any help would be greatly appreciated, and yes, I have to use the USBtinyisp because on my production board the serial port is in use therefore I can only program the device using the programmer.