Re: TP-LINK USB no carrier after speed test

From: Ivan Quitschal <tezeka_at_hotmail.com>
Date: Thu, 15 Sep 2022 15:36:59 UTC

On Thu, 15 Sep 2022, Ivan Quitschal wrote:

>
>
> On Thu, 15 Sep 2022, Hans Petter Selasky wrote:
>
>> On 9/15/22 17:18, Hans Petter Selasky wrote:
>>> On 9/15/22 17:16, Ivan Quitschal wrote:
>>>> 
>>>> Hi All
>>>> 
>>>> Does anybody have any idea what could be happening here?.
>>>> I have a laptop DELL INSPIRON 3511 and everything works just fine, 
>>>> literally everything. even the iwlwifi0.
>>>> 
>>>> But in order to use my full 600mbps, i dont use the wireless but a 
>>>> TP-LINK USB ethernet connected on "ue0"
>>>> 
>>>> ugen0.6: <TP-Link USB 10/100/1000 LAN> at usbus0, cfg=0 md=HOST spd=HIGH 
>>>> (480Mbps) pwr=ON (200mA)
>>>> 
>>>> 
>>>> but something really strange is happening .. everytime i open the 
>>>> chromium e do a speedtest (could be speedtest.net or any other) , at the 
>>>> end of the test the eth interface dies .. it changes from full-duplex to 
>>>> half-duplex/no carrier and the only way to get the internet back thru ue0 
>>>> is by rebooting the whole thing.
>>>> not even a "service netif restart" does anything
>>>> 
>>>> if anyone has any ideas why is that , would be appreciated
>>>> 
>>> 
>>> Hi,
>>> 
>>> I think it some new features they use in the USB data protocol which we 
>>> don't support. Check the Linux code.
>>> 
>>> Between does:
>>> 
>>> usbconfig -d 0.6 reset
>>> 
>>> recover the device?
>>> 
>>> --HPS
>>> 
>> 
>> Hi,
>> 
>> Search for axge on bugzilla:
>> 
>> I suspect you are using this chipset:
>> 
>> Try:
>> 
>> usbconfig show_ifdrv
>> 
>> To know for sure.
>> 
>> Also see:
>> 
>> https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbugs.freebsd.org%2Fbugzilla%2Fshow_bug.cgi%3Fid%3D210488&amp;data=05%7C01%7C%7Ce7f888b3635f4e898ca308da972fa69b%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637988528164303655%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=zvw7m8lJ%2FHocK%2FXJIDfdPv%2FArCpE5pk9lYz%2BY8WzMCc%3D&amp;reserved=0
>> 
>> --HPS
>> 
>
>
> Hi Hans,
>
> actually the driver i use is not agxe (i thought it would be by the time i
> bought the usbcard)
>
> this is the module im using
>
> if_ure.ko
>
> and thank you , yes, reseting the usb entry with your command worked just 
> fine.
> i got the internet back after doing this
>
> usbconfig -d 0.6 reset
>
> do we have a bug here then?
>
> thank you
>
> --tzk
>

oh, i forgot to mention that the ure driver freezes not during the 
download test but in the middle of the upload, always

dont know if that helps

thanks

--tzk