Gadget serial driver support addition

GARG Shivam shivam.garg at thalesgroup.com
Mon Aug 24 06:30:58 UTC 2020


Hi HPS,

Please find the dmesg and usbconfig output with 12.1-RELEASE

Installing the 12-STABLE and 13-current and will update you by tomorrow.

dmesg output...

=====
usbd_req_re_enumerate: addr=1, set address failed! (USB_ERR_TIMEOUT, ignored)
usbd_setup_device_desc: getting device descriptor at addr 1 failed, USB_ERR_TIMEOUT
usbd_req_re_enumerate: addr=1, set address failed! (USB_ERR_TIMEOUT, ignored)
usbd_setup_device_desc: getting device descriptor at addr 1 failed, USB_ERR_TIMEOUT
usb_alloc_device: Failure selecting configuration index 0:USB_ERR_TIMEOUT, port 3, addr 1 (ignored)
=====

usbconfig output...


====
ugen0.2: <Linux 4.1.8-rt8+gbd51baffc04e with fsl-usb2-udc Gadget Serial v2.4> at usbus0
ugen2.1: <Intel EHCI root HUB> at usbus2, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA)
ugen1.1: <Intel EHCI root HUB> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA)
ugen0.1: <0x8086 XHCI root HUB> at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA)
ugen2.2: <vendor 0x8087 product 0x8000> at usbus2, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA)
ugen1.2: <vendor 0x8087 product 0x8008> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA)
ugen2.3: <Broadcom Corp 5880> at usbus2, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (100mA)
ugen1.3: <CN0767N97248757EB6DZA01 LaptopIntegratedWebcamHD> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA)
ugen0.2: <Linux 4.1.8-rt8+gbd51baffc04e with fsl-usb2-udc Gadget Serial v2.4> at usbus0, cfg=255 md=HOST spd=HIGH (480Mbps) pwr=ON (2mA)
====

Thanks
Shivam



-----Original Message-----
From: Hans Petter Selasky <hps at selasky.org> 
Sent: Friday, August 21, 2020 11:24 PM
To: GARG Shivam <shivam.garg at thalesgroup.com>; freebsd-usb at freebsd.org
Subject: Re: Gadget serial driver support addition

On 2020-08-21 19:45, GARG Shivam wrote:
> Hi All,
> 
> I am using the Gadget Serial driver Vendor ID : 0x0525 and Product ID : 0xa4a7 as a USB serial driver. FreeBSD 12.1 does not recognize this device and continuously enumerate the device
> 
> Can anyone help me how I can add this support into my FreeBSD.
> 
>>From the Gadget Serial page, FreeBSD need to support the "Support for Host-side USB". Any direction will make my day.

Hi,

What is printed in dmesg?

What does usbconfig say?

Have you tried a 12-stable kernel?

Can you try to boot a 13-current kernel?

--HPS


More information about the freebsd-usb mailing list