MikeTeo.net

A Software Technologist's Blog (Wanna Email Me?)

Archive for the ‘Electronics’ Category

Arduino IDE : USB Ports Not Found

Jun-27-2009 By miketeo

If you have upgraded or installed Fedora Core 11, you might find that your USB ports are not listed or the Serial Port menu is greyed out on the Arduino IDE. This is due to a change of group ownership for the /dev/ttyUSBx ports in FC11.

To resolve this, simply add your user (eg. myuser) to the dialout group in /etc/group like this:

dialout:x:18:myuser

Then logout from your desktop and re-login back again.

The UsbMouse library from arduino.nl doesn’t seem to compile correctly in my Arduino 0015. I have modified the package to resolve the compilation issues and repackaged it.

  1. Simply uncompress the new library in your <arduino-folder>/hardware/libraries.
  2. Then go to the UsbMouse folder and run:
    avr-g++  -Wall -Os -I. -DUSB_CFG_CLOCK_KHZ=16000  -mmcu=atmega168  -c usbdrvasm.S  -c usbdrv.c

    Modify the above command as needed for the clock frequency for your arduino board.

Download the re-packaged Usbmouse library.