FTDI Community

Please login or register.

Login with username, password and session length.
Advanced Search  

News:

Welcome to the FTDI Community!

Please read our Welcome Note

Technical Support enquires
please contact the team
@ FTDI Support


New Bridgetek Community is now open

Please note that we have created the Bridgetek Community to discuss all Bridgetek products e.g. EVE, MCU.

Please follow this link and create a new user account to get started.

Bridgetek Community

Author Topic: NOOB 0 devs from FT_CreateDeviceInfoList  (Read 7367 times)

namklak

  • Newbie
  • *
  • Posts: 1
    • View Profile
NOOB 0 devs from FT_CreateDeviceInfoList
« on: November 30, 2020, 05:40:43 PM »

Hi,
I'm a bare metal embedded C programmer/hardware guy forced to help a friend with a startup - I'm trying to write a driver for Linux (Linux is where I'm a noob).

Device info
[413395.811848] usb 2-1: new full-speed USB device number 9 using xhci_hcd
[413395.968277] usb 2-1: New USB device found, idVendor=0403, idProduct=6015, bcdDevice=10.00
[413395.968281] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[413395.968284] usb 2-1: Product: MK3-USB Interface
[413395.968285] usb 2-1: Manufacturer: VictronEnergy
[413395.968287] usb 2-1: SerialNumber: HQ1901RBVH3
[413395.972452] ftdi_sio 2-1:1.0: FTDI USB Serial Device converter detected
[413395.972510] usb 2-1: Detected FT-X
[413395.973142] usb 2-1: FTDI USB Serial Device converter now attached to ttyUSB0

I'm writing a little test driver that uses DX33.  When I call FT_CreateDeviceInfoList, I get 0 devices.

I can open /dev/ttyUSB0 and read some data, but I feel because I'm a linux rookie I should use the ftdi driver. 

Any ideas on why I see 0 devices?

Thanks,
-Namklak
Logged