Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Aug 2020 13:46:43 +0000
From:      GARG Shivam <shivam.garg@thalesgroup.com>
To:        Hans Petter Selasky <hps@selasky.org>, "freebsd-usb@freebsd.org" <freebsd-usb@freebsd.org>
Subject:   RE: Gadget serial driver support addition
Message-ID:  <MRXP264MB090465C4F2E71F6B388006E4F8560@MRXP264MB0904.FRAP264.PROD.OUTLOOK.COM>
In-Reply-To: <MRXP264MB09045AF58CE881047B7D6190F8560@MRXP264MB0904.FRAP264.PROD.OUTLOOK.COM>
References:  <MRXP264MB090413682FAAEFD5292AFF7BF85B0@MRXP264MB0904.FRAP264.PROD.OUTLOOK.COM> <254501b3-79fa-edaa-1b49-08b0132e86a6@selasky.org> <MRXP264MB09045AF58CE881047B7D6190F8560@MRXP264MB0904.FRAP264.PROD.OUTLOOK.COM>

index | next in thread | previous in thread | raw e-mail

Similar observation at 12-Stable and 13-current.

Thanks
Shivam



-----Original Message-----
From: GARG Shivam 
Sent: Monday, August 24, 2020 12:01 PM
To: Hans Petter Selasky <hps@selasky.org>; freebsd-usb@freebsd.org
Subject: RE: Gadget serial driver support addition

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@selasky.org>
Sent: Friday, August 21, 2020 11:24 PM
To: GARG Shivam <shivam.garg@thalesgroup.com>; freebsd-usb@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

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?MRXP264MB090465C4F2E71F6B388006E4F8560>