News:

Attention: For security reasons,please choose a user name *different* from your login name.
Also make sure to choose a secure password and change it regularly.

Main Menu

UBUNTU 18.04 and USB disconnection

Started by gawrcool, July 09, 2019, 05:08:25 PM

Previous topic - Next topic

gawrcool

Hi,
I bought the CYC1000 from arrow and I downloaded their driver for linux(64).
I'm facing a problem with the FTDI Serial Device:
Here is the dmesg output:
<[36809.287957] usb 1-5: new high-speed USB device number 12 using xhci_hcd
[36809.440371] usb 1-5: New USB device found, idVendor=0403, idProduct=6010, bcdDevice= 7.00
[36809.440376] usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[36809.440380] usb 1-5: Product: Arrow USB Blaster
[36809.440383] usb 1-5: Manufacturer: Arrow
[36809.440387] usb 1-5: SerialNumber: AR2EEYXG
[36809.444376] usb 1-5: Ignoring serial port reserved for JTAG
[36809.446352] ftdi_sio 1-5:1.1: FTDI USB Serial Device converter detected
[36809.446406] usb 1-5: Detected FT2232H
[36809.446588] usb 1-5: FTDI USB Serial Device converter now attached to ttyUSB0
[36809.480243] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
[36809.480263] ftdi_sio 1-5:1.1: device disconnected

As you see the serial device is attached to ttyUSB0 but get disconnected after a few millisec (last 2 lines).
Anyone has an advice for this?
Regards,
Olivier

JH

Hi,

did you test with other USB-cabel or on other USB Port on your host PC?

Is your OS native or VM?

Do you have annother PC to try out? Maybe with Win OS?

br
John

gawrcool

Hi John,
I looked at the rules from the arrow driver and I commented the last line, then it's Ok now.
Quote# Arrow-USB-Programmer
SUBSYSTEM=="usb",\
ENV{DEVTYPE}=="usb_device",\
ATTR{idVendor}=="0403",\
ATTR{idProduct}=="6010",\
MODE="0666",\
NAME="bus/usb/$env{BUSNUM}/$env{DEVNUM}",\
RUN+="/bin/chmod 0666 %c"

# Interface number zero is a JTAG.
SUBSYSTEM=="usb",\
ATTRS{idVendor}=="0403",\
ATTRS{idProduct}=="6010",\
ATTR{interface}=="Arrow USB Blaster",\
ATTR{bInterfaceNumber}=="00",\
# RUN="/bin/sh -c 'echo $kernel > /sys/bus/usb/drivers/ftdi_sio/unbind'"

I don't know why this line is there !

Ty for your suggestion.
Olivier

JH

Hi,
good to hear that it works now. I will forward your notes to arrow, so they can fix this in a future update
br
John