This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TUSB4041I-Q1: How to configure usb-hub for Raspberry-Pi?

Part Number: TUSB4041I-Q1

HI,

I developed my pcb with TUSB4041 (it is based on reference design from TI).
Unfortunatelly after connecting it to Raspberry Pi Zero W 2 it is not recognized as usb-hub but 'vendor specific class'. To the chip an eeprom is connected via i2c, but it is left unprogrammed (it is for future use).
The hub has 2 ports routed to external USB connectors and one connected to usb-to-ethernet chip (xr22800). The fourth port is not used.

What should I do to make it working?

Below I provide information of the system.

Regards,

Piotr Romaniuk

pi@raspberrypi:~ $ lsb_release -a
No LSB modules are available.
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 10 (buster)
Release: 10
Codename: buster

pi@raspberrypi:~ $ lsusb
Bus 001 Device 002: ID 0451:80ff Texas Instruments, Inc.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

pi@raspberrypi:~ $ lsusb -t
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=dwc_otg/1p, 480M
|__ Port 1: Dev 2, If 0, Class=Vendor Specific Class, Driver=, 480M

pi@raspberrypi:~ $ lsusb -d 0451:80FF -v

Bus 001 Device 002: ID 0451:80ff Texas Instruments, Inc.
Couldn't open device, some information will be missing
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 255 Vendor Specific Class
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x0451 Texas Instruments, Inc.
idProduct 0x80ff
bcdDevice 1.01
iManufacturer 0
iProduct 0
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x0012
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xc0
Self Powered
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 0

pi@raspberrypi:~ $ sudo grep usb /var/log/syslog [UPDATED LOG CONTENTS - ONLY PART for tusb4041, no old logs]

Feb 13 08:21:15 raspberrypi mtp-probe: checking bus 1, device 2: "/sys/devices/platform/soc/3f980000.usb/usb1/1-1"
Feb 13 08:21:15 raspberrypi kernel: [ 0.141959] usbcore: registered new interface driver usbfs
Feb 13 08:21:15 raspberrypi kernel: [ 0.142045] usbcore: registered new interface driver hub
Feb 13 08:21:15 raspberrypi kernel: [ 0.142149] usbcore: registered new device driver usb
Feb 13 08:21:15 raspberrypi kernel: [ 2.045407] usbcore: registered new interface driver lan78xx
Feb 13 08:21:15 raspberrypi kernel: [ 2.048187] usbcore: registered new interface driver smsc95xx
Feb 13 08:21:15 raspberrypi kernel: [ 3.033976] dwc_otg 3f980000.usb: DWC OTG Controller
Feb 13 08:21:15 raspberrypi kernel: [ 3.036346] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1
Feb 13 08:21:15 raspberrypi kernel: [ 3.038715] dwc_otg 3f980000.usb: irq 89, io mem 0x00000000
Feb 13 08:21:15 raspberrypi kernel: [ 3.045780] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
Feb 13 08:21:15 raspberrypi kernel: [ 3.050347] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
Feb 13 08:21:15 raspberrypi kernel: [ 3.052797] usb usb1: Product: DWC OTG Controller
Feb 13 08:21:15 raspberrypi kernel: [ 3.055161] usb usb1: Manufacturer: Linux 5.10.63-v7+ dwc_otg_hcd
Feb 13 08:21:15 raspberrypi kernel: [ 3.057542] usb usb1: SerialNumber: 3f980000.usb
Feb 13 08:21:15 raspberrypi kernel: [ 3.066990] usbcore: registered new interface driver usb-storage
Feb 13 08:21:15 raspberrypi kernel: [ 3.098942] usbcore: registered new interface driver usbhid
Feb 13 08:21:15 raspberrypi kernel: [ 3.101535] usbhid: USB HID core driver
Feb 13 08:21:15 raspberrypi kernel: [ 3.404189] usb 1-1: new high-speed USB device number 2 using dwc_otg
Feb 13 08:21:15 raspberrypi kernel: [ 3.644520] usb 1-1: New USB device found, idVendor=0451, idProduct=80ff, bcdDevice= 1.01
Feb 13 08:21:15 raspberrypi kernel: [ 3.649545] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
Feb 13 08:21:15 raspberrypi kernel: [ 8.839207] usbcore: registered new interface driver brcmfmac