bnusbick Posted January 24, 2016 Report Share Posted January 24, 2016 When I try to load a sketch as avr on lubuntu 14.04, it doesn't see ttyACM0. When I look at dmesg after plugging in the USB cable, I see the following: [ 3926.056332] usb 7-1: new full-speed USB device number 8 using uhci_hcd[ 3926.229344] usb 7-1: New USB device found, idVendor=1d50, idProduct=60a5[ 3926.229356] usb 7-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0[ 3926.229364] usb 7-1: Product: USB IO Board [ 3926.229370] usb 7-1: Manufacturer: Unknown [ 3926.231265] cdc_acm 7-1:1.0: This device cannot do calls on its own. It is not a modem.[ 3926.231317] cdc_acm 7-1:1.0: ttyACM0: USB ACM device[ 3926.241342] input: Unknown USB IO Board as /devices/pci0000:00/0000:00:1d.1/usb7/7-1/7-1:1.2/input/input19[ 3926.241760] hid-generic 0003:1D50:60A5.0007: input,hidraw1: USB HID v1.01 Mouse [unknown USB IO Board ] on usb-0000:00:1d.1-1/input2[ 3926.996188] usb 7-1: USB disconnect, device number 8 Notice how the last message is a disconnect, When I plug in an arduino UNO, I see the following with no disconnect, and I do see ttyACM0 as a port choice in DesignLab 1.07:[ 2431.588322] usb 7-1: new full-speed USB device number 7 using uhci_hcd[ 2431.789434] usb 7-1: New USB device found, idVendor=2341, idProduct=0043[ 2431.789447] usb 7-1: New USB device strings: Mfr=1, Product=2, SerialNumber=220[ 2431.789455] usb 7-1: Manufacturer: Arduino (www.arduino.cc)[ 2431.789461] usb 7-1: SerialNumber: 649353435333517072D0[ 2431.791364] cdc_acm 7-1:1.0: ttyACM0: USB ACM device I did run ./ubuntu-setup.sh and it says libftdi-dev is already the newest version. What do I need to do to be able to get the AVR usb to work under lubuntu 14.04? Thanks,Blake Quote Link to comment Share on other sites More sharing options...
bnusbick Posted January 24, 2016 Author Report Share Posted January 24, 2016 I resolved this issue by moving SW1 to the opposite position. I then couldn't down load the code due to the following message:avrdude: ser_open(): can't open device "/dev/ttyACM0": Device or resource busy After trying several suggestions to no avail, the following worked for me:sudo apt-get purge modemmanager Blake Quote Link to comment Share on other sites More sharing options...
Jack Gassett Posted January 25, 2016 Report Share Posted January 25, 2016 Hey Blake, It sounds similar to a problem that happens in Windows. If you have a sketch running that outputs data on the serial port then the drivers will pick up your device as a serial mouse and start treating the data that it receives as mouse data! Under windows turning off the serial mouse enumeration solves the problem, or adding a 2-3 second delay to your sketch before it starts outputting data will also help. Good to know how to disable it under linux too. Thanks,Jack. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.