Hi Fabian,

Thanks for the suggestion.  I have previously added the udev permissions
(which includes the FT323H VID:PID pair), and the errors and usb info I
showed in my original email where generated via sudo.  The user is also
part of the plugdev group so should have r/w access.

Best regards,
Christo

On Tue, Oct 20, 2020 at 7:35 PM Fabian Schwartau <fab...@opencode.eu> wrote:

> Hi Christo,
>
> this is probably caused by permission problems. Try with sudo, if it
> works you probably don't have permission to access the device. Search
> for "ftdi udev" on the search engine of your choise and you should find
> plenty of info.
>
> Best regards,
> Fabian
>
> Am 20.10.20 um 17:45 schrieb Christo Crause:
> > I'm a relatively new user of sigrok/PulseView and ran into an issue
> > trying to use an FT232H on an Adafruit breakout board.  When scanning
> > for FDTI devices (see output below) it gives the following error (which
> > seems to be similar to this bug report:
> > https://sigrok.org/bugzilla/show_bug.cgi?id=1316).  The key error seems
> > to be "Failed to get the FTDI strings", while the lsusb output seems to
> > indicate a problem listing certain descriptors such as iManufacturer,
> > iProduct etc.
> >
> > Any guidance on how to fix this would be appreciated.
> >
> > I can successfully connect to and pull data from a Rigol scope.
> >
> > sudo sigrok-cli -l 5 -d ftdi-la --scan
> > sr: [00:00.000000] log: libsigrok loglevel set to 5.
> > sr: [00:00.000077] backend: libsigrok 0.5.0/4:0:0 (rt: 0.5.0/4:0:0).
> > sr: [00:00.000165] backend: Libs: glib 2.54.1 (rt: 2.56.4/5604:4),
> > libzip 1.1.2, libserialport 0.1.1/1:0:1 (rt: 0.1.1/1:0:1), libusb-1.0
> > 1.0.21.11156, libftdi 1.3.
> > sr: [00:00.000200] backend: Host: x86_64-pc-linux-gnu, little-endian.
> > sr: [00:00.000225] backend: SCPI backends: TCP, RPC, serial, USBTMC.
> > sr: [00:00.000286] backend: Sanity-checking all drivers.
> > sr: [00:00.000322] backend: Sanity-checking all input modules.
> > sr: [00:00.000344] backend: Sanity-checking all output modules.
> > sr: [00:00.000368] backend: Sanity-checking all transform modules.
> > srd: libsigrokdecode loglevel set to 5.
> > sr: [00:00.017041] ftdi-la: Number of FTDI devices found: 1
> > sr: [00:00.018366] ftdi-la: Failed to get the FTDI strings: -7
> > sr: [00:00.018475] hwdriver: Scan of 'ftdi-la' found 0 devices.
> >
> > sudo lsusb  -v -d0x0403:
> >
> > Bus 001 Device 006: ID 0403:6014 Future Technology Devices
> > International, Ltd FT232H Single HS USB-UART/FIFO IC
> > Device Descriptor:
> >   bLength                18
> >   bDescriptorType         1
> >   bcdUSB               2.00
> >   bDeviceClass            0 (Defined at Interface level)
> >   bDeviceSubClass         0
> >   bDeviceProtocol         0
> >   bMaxPacketSize0        64
> >   idVendor           0x0403 Future Technology Devices International, Ltd
> >   idProduct          0x6014 FT232H Single HS USB-UART/FIFO IC
> >   bcdDevice            9.00
> >   iManufacturer           1 (error)
> >   iProduct                2 (error)
> >   iSerial                 3 (error)
> >   bNumConfigurations      1
> >   Configuration Descriptor:
> >     bLength                 9
> >     bDescriptorType         2
> >     wTotalLength           32
> >     bNumInterfaces          1
> >     bConfigurationValue     1
> >     iConfiguration          0
> >     bmAttributes         0x80
> >       (Bus Powered)
> >     MaxPower              100mA
> >     Interface Descriptor:
> >       bLength                 9
> >       bDescriptorType         4
> >       bInterfaceNumber        0
> >       bAlternateSetting       0
> >       bNumEndpoints           2
> >       bInterfaceClass       255 Vendor Specific Class
> >       bInterfaceSubClass    255 Vendor Specific Subclass
> >       bInterfaceProtocol    255 Vendor Specific Protocol
> >       iInterface              2 (error)
> >       Endpoint Descriptor:
> >         bLength                 7
> >         bDescriptorType         5
> >         bEndpointAddress     0x81  EP 1 IN
> >         bmAttributes            2
> >           Transfer Type            Bulk
> >           Synch Type               None
> >           Usage Type               Data
> >         wMaxPacketSize     0x0200  1x 512 bytes
> >         bInterval               0
> >       Endpoint Descriptor:
> >         bLength                 7
> >         bDescriptorType         5
> >         bEndpointAddress     0x02  EP 2 OUT
> >         bmAttributes            2
> >           Transfer Type            Bulk
> >           Synch Type               None
> >           Usage Type               Data
> >         wMaxPacketSize     0x0200  1x 512 bytes
> >         bInterval               0
> > Device Qualifier (for other device speed):
> >   bLength                10
> >   bDescriptorType         6
> >   bcdUSB               2.00
> >   bDeviceClass            0 (Defined at Interface level)
> >   bDeviceSubClass         0
> >   bDeviceProtocol         0
> >   bMaxPacketSize0        64
> >   bNumConfigurations      1
> > Device Status:     0x0000
> >   (Bus Powered)
> >
> > Best regards,
> > Christo
> >
> >
> > _______________________________________________
> > sigrok-devel mailing list
> > sigrok-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/sigrok-devel
> >
>
>
>
> _______________________________________________
> sigrok-devel mailing list
> sigrok-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sigrok-devel
>
_______________________________________________
sigrok-devel mailing list
sigrok-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sigrok-devel

Reply via email to