hi everyone!
i am trying control Thorlabs device with libftdi on my linux host.
could you please give me reference to simple example to do that?
Controllers Thorlabs use FTDI type FT232BM.
I have linux Debian host with libftdi-dev, libftdi1, libftdi1-2 and
libftdi1-dev packages installed on it.
find_all.c example code did not find my Thorlabs controller.
#gcc -lftdi find_all.c
#./a.out
Number of FTDI devices found: 0
#dmesg
gives next message:
[141031.955462] usb 3-3: new full-speed USB device number 13 using xhci_hcd
[141032.112341] usb 3-3: New USB device found, idVendor=0403, idProduct=faf0,
bcdDevice=10.00
[141032.112346] usb 3-3: New USB device strings: Mfr=1, Product=2,
SerialNumber=3
[141032.112348] usb 3-3: Product: Brushed Motor Controller
[141032.112350] usb 3-3: Manufacturer: Thorlabs
[141032.112352] usb 3-3: SerialNumber: 27253948
[141032.117097] ftdi_sio 3-3:1.0: FTDI USB Serial Device converter detected
[141032.117168] usb 3-3: Detected FT-X
[141032.117384] usb 3-3: FTDI USB Serial Device converter now attached to
ttyUSB0
#lsusb
gives:
Bus 003 Device 013: ID 0403:faf0 Future Technology Devices International, Ltd
Thanks in advances.
----
Dr. Andrii Rybak
--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx
|