• 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
"No devices found!" on Ubuntu 18.04.2 on VMWare/Mac
#1
Accessing the Au board from the alchetry-labs IDE works great. 
But, neither the GUI loader, nor the standalone CLI (*) detect the device. The OS recognizes the USB board (see usb-devices).

Any pointers?

Thanks!!

(*) rebuilt version from Github with "$ g++ -o loader src/*.cpp -L ./lib/linux/ -lftd2xx -lpthread -std=c++11"


Code:
$ loader -l
No devices found!
No devices found!
Couldn't find device!

# plug in

$ loader -l
Devices: 
  0: Unknown
  1: Unknown
Couldn't find device!

# OS sees device 
$ usb-devices 
...
T:  Bus=03 Lev=02 Prnt=05 Port=00 Cnt=01 Dev#=  7 Spd=480 MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=0403 ProdID=6010 Rev=07.00
S:  Manufacturer=Alchitry
S:  Product=Alchitry Au
S:  SerialNumber=FT3KRFFN
C:  #Ifs= 2 Cfg#= 1 Atr=80 MxPwr=500mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=ftdi_sio
I:  If#= 1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=ftdi_sio

# rule is there
$ cat /etc/udev/rules.d/99-alchitry.rules 
SUBSYSTEM!="usb|usb_device", GOTO="ft2232_rules_end"
ACTION!="add", GOTO="ft2232_rules_end"

ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6010", MODE="0666", GROUP="dialout"

LABEL="ft2232_rules_end"

# right group
$ groups `whoami`
... dialout ...

(10-25-2019, 03:49 AM)oter Wrote: Accessing the Au board from the alchetry-labs IDE works great. 
But, neither the GUI loader, nor the standalone CLI (*) detect the device. The OS recognizes the USB board (see usb-devices).

Any pointers?

Thanks!!

(*) rebuilt version from Github with "$ g++ -o loader src/*.cpp -L ./lib/linux/ -lftd2xx -lpthread -std=c++11"


Code:
$ loader -l
No devices found!
No devices found!
Couldn't find device!

# plug in

$ loader -l
Devices: 
  0: Unknown
  1: Unknown
Couldn't find device!

# OS sees device 
$ usb-devices 
...
T:  Bus=03 Lev=02 Prnt=05 Port=00 Cnt=01 Dev#=  7 Spd=480 MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=0403 ProdID=6010 Rev=07.00
S:  Manufacturer=Alchitry
S:  Product=Alchitry Au
S:  SerialNumber=FT3KRFFN
C:  #Ifs= 2 Cfg#= 1 Atr=80 MxPwr=500mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=ftdi_sio
I:  If#= 1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=ftdi_sio

# rule is there
$ cat /etc/udev/rules.d/99-alchitry.rules 
SUBSYSTEM!="usb|usb_device", GOTO="ft2232_rules_end"
ACTION!="add", GOTO="ft2232_rules_end"

ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6010", MODE="0666", GROUP="dialout"

LABEL="ft2232_rules_end"

# right group
$ groups `whoami`
... dialout ...

To see if this issue is somehow related to VMWare being in the middle, I switched to a Pi and recompiled the loader CLI (using https://github.com/alchitry/alchitry-loader, linked with the 1.4.8 ARMv7 hard-float lib from https://www.ftdichip.com/Drivers/D2XX.htm). Same g++ command as previously documented.

Works great on Pi :-)

For now, in my automation env, I'm going to scp my bins to this Pi and load the Au that way.

Is there some way to run the IDE with --as-loader switch so I could use the java based code to download on the Linux/VMWare/Mac combo (as I mentioned earlier, it all works great on that setup so long as I use the IDE to download)?

Thanks!
  Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)