Ftdi - device or resource busy

From Attie's Wiki
Revision as of 23:20, 14 March 2010 by 192.168.0.1 (Talk)

Jump to: navigation, search

Using Fedora 12, my various FTDI devices are inaccessible to any user other than root.

The error message presented by trying to use minicom is:

$ minicom
minicom: cannot open /dev/ttyUSB0: Device or resource busy
$ 

This has been driving me crazy for weeks. I have been using su to access the serial ports, but I have finally found a reason!

In /lib/udev/rules.d/95-devkit-power-wup.rules you may well find the following line:

SUBSYSTEM=="tty", SUBSYSTEMS=="usb", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6001", ATTRS{serial}=="A80?????", ENV{...{bla bla}

This line is very over aggressive with its match. The serial number (A80?????) will match far too many devices, and as the Vendor ID and Product ID are that of an FTDI chip... well... It seems that the "Watts Up? Pro" uses an FTDI chip.

My fix is to comment this line out and restart - it worked a treat :D

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox