Page MenuHomeFreeBSD

USBExperimental
ActivePublic

Details

Description

Groups related to USB stuff.

Recent Activity

Today

rkitover_gmail.com added a comment to D55682: ure: fix spurious link flaps from MII.

Thank you pouria!

Mon, Mar 16, 3:04 PM · network, USB
pouria closed D55682: ure: fix spurious link flaps from MII.
Mon, Mar 16, 10:40 AM · network, USB
pouria accepted D55682: ure: fix spurious link flaps from MII.

I've to apply your patch again and wait to see the new logs.
Will tell you.

Mon, Mar 16, 10:31 AM · network, USB
zlei added a comment to D55682: ure: fix spurious link flaps from MII.

Apologies if I'm being impatient, but when does the patch go into the tree?

Mon, Mar 16, 4:42 AM · network, USB
rkitover_gmail.com added a comment to D55682: ure: fix spurious link flaps from MII.

Apologies if I'm being impatient, but when does the patch go into the tree?

Mon, Mar 16, 3:04 AM · network, USB

Thu, Mar 12

rkitover_gmail.com updated the diff for D55631: axge: fix spurious link down from MII, frozen TX.

Remove frozen TX handling, unneeded if link up

Thu, Mar 12, 11:14 AM · USB, network
rkitover_gmail.com added a comment to D55631: axge: fix spurious link down from MII, frozen TX.

I think I can remove the frozen TX fix given that the link doesn't go down, I'll do that and test it out, then update this patch.

Thu, Mar 12, 11:02 AM · USB, network

Wed, Mar 11

pouria accepted D55682: ure: fix spurious link flaps from MII.
Wed, Mar 11, 8:57 PM · network, USB
rkitover_gmail.com updated the diff for D55631: axge: fix spurious link down from MII, frozen TX.

Update for style(9)

Wed, Mar 11, 8:33 PM · USB, network
rkitover_gmail.com updated the diff for D55682: ure: fix spurious link flaps from MII.

Fix for style(9)

Wed, Mar 11, 8:20 PM · network, USB
pouria added a comment to D55682: ure: fix spurious link flaps from MII.

Sorry about the style violations, I will read the guide more carefully and adjust both DRs.

Wed, Mar 11, 5:17 PM · network, USB
rkitover_gmail.com added a comment to D55682: ure: fix spurious link flaps from MII.

Sorry about the style violations, I will read the guide more carefully and adjust both DRs.

Wed, Mar 11, 3:25 PM · network, USB

Tue, Mar 10

pouria added a comment to D55682: ure: fix spurious link flaps from MII.

Thanks!

So apparently the issue still manifests for you due to some kind of configuration difference between our systems.

I'd like to fix this as well.

Can you give me your log? Do a:

grep -E 'ure|ue0' /var/log/messages

, may be ue1 depending on configuration.

Tue, Mar 10, 6:01 PM · network, USB
pouria added a comment to D55631: axge: fix spurious link down from MII, frozen TX.

style.9

Tue, Mar 10, 5:58 PM · USB, network
rkitover_gmail.com added a comment to D55682: ure: fix spurious link flaps from MII.

So apparently the issue still manifests for you due to some kind of configuration difference between our systems.

Tue, Mar 10, 4:27 PM · network, USB
pouria accepted D55682: ure: fix spurious link flaps from MII.

My results are different, are you applying to CURRENT?

Yes

Tue, Mar 10, 11:28 AM · network, USB

Mon, Mar 9

rkitover_gmail.com added a comment to D55682: ure: fix spurious link flaps from MII.

My results are different, are you applying to CURRENT?

Mon, Mar 9, 11:54 PM · network, USB
pouria added a comment to D55682: ure: fix spurious link flaps from MII.

Can you please verify which behaviors happen for you with and without the patch?

Mon, Mar 9, 4:12 PM · network, USB

Fri, Mar 6

rkitover_gmail.com added a comment to D55682: ure: fix spurious link flaps from MII.

Can you please verify which behaviors happen for you with and without the patch?

Fri, Mar 6, 11:01 PM · network, USB
pouria added a comment to D55682: ure: fix spurious link flaps from MII.

Despite the Ethernet port being connected, after replugging in the USB dock it reports that ue0 is DOWN, even though the Ethernet lights are on and the other Ethernet endpoint reports connected and UP:

Fri, Mar 6, 10:02 PM · network, USB
pouria added a comment to D55682: ure: fix spurious link flaps from MII.

Despite the Ethernet port being connected, after replugging in the USB dock it reports that ue0 is DOWN, even though the Ethernet lights are on and the other Ethernet endpoint reports connected and UP:

% mdo tail -f /var/log/messages
Mar  7 01:20:09 cornelia kernel: ugen0.11: <GenesysLogic USB3.1 Hub> at usbus0
Mar  7 01:20:09 cornelia kernel: uhub3 on uhub0
Mar  7 01:20:09 cornelia kernel: uhub3: <GenesysLogic USB3.1 Hub, class 9/0, rev 3.20/6.63, addr 18> on usbus0
Mar  7 01:20:09 cornelia kernel: uhub3: 4 ports with 4 removable, self powered
Mar  7 01:20:10 cornelia kernel: ugen0.12: <Realtek USB 10/100/1000 LAN> at usbus0
Mar  7 01:20:10 cornelia kernel: ure0 on uhub3
Mar  7 01:20:10 cornelia kernel: ure0: <Realtek USB 10/100/1000 LAN, class 0/0, rev 3.20/31.00, addr 19> on usbus0
Mar  7 01:20:10 cornelia kernel: miibus0: <MII bus> on ure0
Mar  7 01:20:10 cornelia kernel: rgephy0: <RTL8251/8153 1000BASE-T media interface> PHY 0 on miibus0
Mar  7 01:20:10 cornelia kernel: rgephy0:  none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 1000baseT-FDX-master, auto
Mar  7 01:20:10 cornelia kernel: ue0: <USB Ethernet> on ure0
Mar  7 01:20:10 cornelia kernel: ue0: Ethernet address: 00:e0:4c:a4:4e:ef
Mar  7 01:20:10 cornelia kernel: ue0: link state changed to DOWN
Mar  7 01:20:10 cornelia kernel: ugen0.13: <GenesysLogic USB2.1 Hub> at usbus0
Mar  7 01:20:10 cornelia kernel: uhub4 on uhub0
Mar  7 01:20:10 cornelia kernel: uhub4: <GenesysLogic USB2.1 Hub, class 9/0, rev 2.10/6.63, addr 20> on usbus0
Mar  7 01:20:11 cornelia kernel: uhub4: 4 ports with 4 removable, self powered
Fri, Mar 6, 9:57 PM · network, USB
rkitover_gmail.com added a comment to D55682: ure: fix spurious link flaps from MII.

The initial link flaps on device initialization is not fixed by this patch, but, if you run with and without the patch for like an hour or two, you will see the difference.

Fri, Mar 6, 9:56 PM · network, USB
pouria added a comment to D55682: ure: fix spurious link flaps from MII.

Unfortunately, even after applying your patch, I still have the issue:

Fri, Mar 6, 9:44 PM · network, USB
rkitover_gmail.com added a comment to D55682: ure: fix spurious link flaps from MII.

Thank you. I also have:

Fri, Mar 6, 12:42 PM · network, USB
rkitover_gmail.com updated the diff for D55631: axge: fix spurious link down from MII, frozen TX.

Update for style(9)

Fri, Mar 6, 12:39 PM · USB, network
rkitover_gmail.com updated the diff for D55682: ure: fix spurious link flaps from MII.

Update for style(9)

Fri, Mar 6, 12:38 PM · network, USB
rkitover_gmail.com updated the diff for D55631: axge: fix spurious link down from MII, frozen TX.

Update for style(9)

Fri, Mar 6, 12:33 PM · USB, network
rkitover_gmail.com updated the diff for D55682: ure: fix spurious link flaps from MII.

Fix for style(9)

Fri, Mar 6, 12:25 PM · network, USB
pouria added inline comments to D55682: ure: fix spurious link flaps from MII.
Fri, Mar 6, 11:29 AM · network, USB
rkitover_gmail.com updated the diff for D55682: ure: fix spurious link flaps from MII.

Remove frozen TX fix, only needed for axge

Fri, Mar 6, 3:38 AM · network, USB
lwhsu added a reviewer for D55682: ure: fix spurious link flaps from MII: kevlo.
Fri, Mar 6, 2:25 AM · network, USB
rkitover_gmail.com added reviewers for D55682: ure: fix spurious link flaps from MII: adrian, USB, network.
Fri, Mar 6, 1:30 AM · network, USB
rkitover_gmail.com added projects to D55682: ure: fix spurious link flaps from MII: USB, network.
Fri, Mar 6, 1:29 AM · network, USB

Tue, Mar 3

rkitover_gmail.com added a comment to D55631: axge: fix spurious link down from MII, frozen TX.

Started as pull request here:

Tue, Mar 3, 1:28 PM · USB, network
rkitover_gmail.com added reviewers for D55631: axge: fix spurious link down from MII, frozen TX: adrian, USB, network.
Tue, Mar 3, 1:25 PM · USB, network
rkitover_gmail.com added projects to D55631: axge: fix spurious link down from MII, frozen TX: network, USB.
Tue, Mar 3, 1:23 PM · USB, network

Sun, Feb 15

ziaee added a comment to D54231: libusb20_dev_open(3) and libusb20_be_device_foreach(3) man pages..

Thanks @adrian ! I merged this into the tree. Since these functions appear to have existed for a while, I'm going to MFC these too. Thank you so much for this submission and your patience @unitrunker_unitrunker.net!

Sun, Feb 15, 6:04 PM · USB
ziaee closed D54231: libusb20_dev_open(3) and libusb20_be_device_foreach(3) man pages..
Sun, Feb 15, 6:02 PM · USB
adrian accepted D54231: libusb20_dev_open(3) and libusb20_be_device_foreach(3) man pages..

looks good plz land

Sun, Feb 15, 5:02 PM · USB
ziaee added a comment to D54231: libusb20_dev_open(3) and libusb20_be_device_foreach(3) man pages..

Ping, the proposed docs are okay from manpages side, but needs review by someone who understands USB.

Sun, Feb 15, 4:39 PM · USB

Jan 21 2026

ziaee added a comment to D54231: libusb20_dev_open(3) and libusb20_be_device_foreach(3) man pages..

Okay, over to USB

Jan 21 2026, 9:29 PM · USB

Jan 20 2026

unitrunker_unitrunker.net updated the diff for D54218: Introduce libusb20_dev_open_with_flags for shared vs. exclusive access..

D54218: Introduce libusb20_dev_open_with_flags for shared vs. exclusive access.
rebased

Jan 20 2026, 10:21 AM · USB
unitrunker_unitrunker.net updated the diff for D54296: PR 291774: expand range of errors reported by libusb_open(3).

D54296: PR 291774: expand range of errors reported by libusb_open(3)
rebased to latest

Jan 20 2026, 9:43 AM · USB
unitrunker_unitrunker.net updated the diff for D54231: libusb20_dev_open(3) and libusb20_be_device_foreach(3) man pages..

D54231: libusb20_dev_open(3) and libusb20_be_device_foreach(3) man pages.
Fixed linter warnings.

Jan 20 2026, 9:19 AM · USB

Jan 19 2026

ziaee added a comment to D54231: libusb20_dev_open(3) and libusb20_be_device_foreach(3) man pages..

Hey Rick! Thanks for the ping. Tip: use the linter,

mandoc -Tlint here/is/the/manual
Jan 19 2026, 5:25 PM · USB

Jan 11 2026

unitrunker_unitrunker.net added a watcher for USB: unitrunker_unitrunker.net.
Jan 11 2026, 1:09 AM

Dec 23 2025

unitrunker_unitrunker.net updated the diff for D54218: Introduce libusb20_dev_open_with_flags for shared vs. exclusive access..

D54218: Introduce libusb20_dev_open_with_flags for shared vs. exclusive access.
RETURN VALUES

Dec 23 2025, 7:15 PM · USB
unitrunker_unitrunker.net updated the diff for D54218: Introduce libusb20_dev_open_with_flags for shared vs. exclusive access..

D54218: Introduce libusb20_dev_open_with_flags for shared vs. exclusive access.
punctuation

Dec 23 2025, 7:11 PM · USB
unitrunker_unitrunker.net added inline comments to D54231: libusb20_dev_open(3) and libusb20_be_device_foreach(3) man pages..
Dec 23 2025, 7:06 PM · USB
unitrunker_unitrunker.net updated the diff for D54231: libusb20_dev_open(3) and libusb20_be_device_foreach(3) man pages..

D54231: libusb20_dev_open(3) and libusb20_be_device_foreach(3) man pages.
punctuation

Dec 23 2025, 7:01 PM · USB