Go Down

Topic: Linux: 2 duemilenova's. standard user only One works; root both work (Read 657 times) previous topic - next topic

Hi
I have 2 duemilenova's attached to my Linux redhat enterprise edition 6.
When I start the Arduino IDE (I tried 1.03; 1.5.2 and 1.5.3 all behave the same) as standard user (jan) I only see 1 usb port. I verified and it is always the same Arduino that works.
I tried the "bad Arduino" on windows xp where I had no issues.
I tried as root and both Arduino's work fine.
I'm new to Linux and a desktop platform but my bet is that there is some configuration issue.
I've tried what I could find but I still have no clue what could be wrong.
All commands below have been executed as jan (so not root).
After disconnecting and reconnecting I see the following in dmesg
Code: [Select]

bash-4.1$ dmesg | tail -30
ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
ftdi_sio 1-1.1:1.0: device disconnected
usb 1-1.1: new full speed USB device number 14 using ehci_hcd
usb 1-1.1: New USB device found, idVendor=0403, idProduct=6001
usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1.1: Product: FT232R USB UART
usb 1-1.1: Manufacturer: FTDI
usb 1-1.1: SerialNumber: A9007TX5
usb 1-1.1: configuration #1 chosen from 1 choice
ftdi_sio 1-1.1:1.0: FTDI USB Serial Device converter detected
usb 1-1.1: Detected FT232RL
usb 1-1.1: Number of endpoints 2
usb 1-1.1: Endpoint 1 MaxPacketSize 64
usb 1-1.1: Endpoint 2 MaxPacketSize 64
usb 1-1.1: Setting MaxPacketSize 64
usb 1-1.1: FTDI USB Serial Device converter now attached to ttyUSB0
usb 2-1.2: new full speed USB device number 7 using ehci_hcd
usb 2-1.2: New USB device found, idVendor=0403, idProduct=6001
usb 2-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 2-1.2: Product: FT232R USB UART
usb 2-1.2: Manufacturer: FTDI
usb 2-1.2: SerialNumber: A8008Izj
usb 2-1.2: configuration #1 chosen from 1 choice
ftdi_sio 2-1.2:1.0: FTDI USB Serial Device converter detected
usb 2-1.2: Detected FT232RL
usb 2-1.2: Number of endpoints 2
usb 2-1.2: Endpoint 1 MaxPacketSize 64
usb 2-1.2: Endpoint 2 MaxPacketSize 64
usb 2-1.2: Setting MaxPacketSize 64
usb 2-1.2: FTDI USB Serial Device converter now attached to ttyUSB1


lsusb reports both boards
Code: [Select]
bash-4.1$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 011: ID 0a5c:217f Broadcom Corp. Bluetooth Controller
Bus 001 Device 013: ID 04b3:310c IBM Corp. Wheel Mouse
Bus 001 Device 006: ID 17ef:480f Lenovo Integrated Webcam [R5U877]
Bus 001 Device 014: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC
Bus 002 Device 007: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC
bash-4.1$



only /dev/ttyUSB0 is visible in arduino

Code: [Select]
bash-4.1$ ls -l /dev/ttyU*
crw-rw-rw-. 1 root dialout 188, 0 Feb 27 16:17 /dev/ttyUSB0
crw-rw-rw-. 1 root dialout 188, 1 Feb 27 16:17 /dev/ttyUSB1
bash-4.1$

The only difference I see is the 0 and 1 before Feb for which I have no clue what it means. I found nothing in the man pages and when looking on google on what this value stands for.
executed as root I get he same result (except for the names having a black background)
Code: [Select]
[root@oc3604553758 jan]# ls -l /dev/ttyU*
crw-rw-rw-. 1 root dialout 188, 0 Feb 27 16:17 /dev/ttyUSB0
crw-rw-rw-. 1 root dialout 188, 1 Feb 27 16:17 /dev/ttyUSB1
[root@oc3604553758 jan]#

As I belong to the dialout group this should be fine

Code: [Select]
bash-4.1$ groups
jan uucp dialout lock desktop_admin_r
bash-4.1$

Anyone has a clue what is wrong?
NewLinuxUser

I tired with a 3th duemilenove board and 2 of them work and 1 doesn't.
It is kind of wierd because I can get the "bad board" to work in my xp VM.


Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy