Author Topic: UBUNTU 18.04 and USB disconnection  (Read 5426 times)

gawrcool

  • Active Member
  • *
  • Posts: 11
UBUNTU 18.04 and USB disconnection
« on: July 09, 2019, 05:08:25 PM »
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:
Code: [Select]
<[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

  • Administrator
  • Hero Member
  • *****
  • Posts: 2060
Re: UBUNTU 18.04 and USB disconnection
« Reply #1 on: July 10, 2019, 07:27:11 AM »
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

  • Active Member
  • *
  • Posts: 11
Re: UBUNTU 18.04 and USB disconnection
« Reply #2 on: July 10, 2019, 07:34:55 AM »
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

  • Administrator
  • Hero Member
  • *****
  • Posts: 2060
Re: UBUNTU 18.04 and USB disconnection
« Reply #3 on: July 10, 2019, 07:58:29 AM »
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