r342378: usbconfig takes 3-5 minutes to read the bus
Hans Petter Selasky
hps at selasky.org
Fri Jan 4 16:11:31 UTC 2019
On 1/4/19 5:05 PM, Hans Petter Selasky wrote:
> On 1/4/19 4:27 PM, Matthias Apitz wrote:
>> El día viernes, enero 04, 2019 a las 12:45:47p. m. +0100, Hans Petter
>> Selasky escribió:
>>
>>> On 1/4/19 11:46 AM, Matthias Apitz wrote:
>>>> Jan 4 11:26:39 c720-r342378 kernel: uhub_read_port_status: port 13,
>>>> wPortStatus=0x07a0, wPortChange=0x0000, err=USB_ERR_NORMAL_COMPLETION
>>>> Jan 4 11:26:41 c720-r342378 kernel: uhub_read_port_status: port 1,
>>>> wPortStatus=0xe070, wPortChange=0x161e, err=USB_ERR_TIMEOUT
>>>> Jan 4 11:26:41 c720-r342378 kernel: uhub_read_port_status: port 2,
>>>> wPortStatus=0x0500, wPortChange=0x0000, err=USB_ERR_NORMAL_COMPLETION
>>>
>>> Hi,
>>>
>>> The problem appears to be that one of the USB HUBs port status request
>>> don't respond: USB_ERR_TIMEOUT, which in turn blocks the enumeration
>>> thread.
>>>
>>> Can you try the attached kernel patch and send new debug log?
>>
>> Hi,
>>
>> I applied the patch and the new debug output is attached.
>>
>> And it works now as it should, without any devd(8) hook. I just start
>> pcsdd as a service via rc.conf and can attach or withdraw the security
>> token. When the token is not attached GnuPG asks me to insert it and
>> when it is inserted I'm asked for the PIN. All as it should be
>>
>> A big THANKS!
>>
>> Should I file a PR to get your patch included upstream?
>>
>
> No PR needed, but I might need you to test one more patch.
>
Can you try this patch aswell and attach new logs?
Thank you!
--HPS
-------------- next part --------------
A non-text attachment was scrubbed...
Name: usb.diff
Type: text/x-patch
Size: 1813 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-usb/attachments/20190104/3af6bdc9/attachment.bin>
More information about the freebsd-usb
mailing list