I upgraded my system to Ubuntu 22.04 and sadly, this issue does impact
that version also :(

I have setup a bond, to try and get the wifi to be used after a reboot,
but it's not very reliable, so I have to physically disconnect and re-
connect the USB ethernet every time the computer reboots, or power
cycles.

I found a much simpler way to reproduce the problem, that does not
require rebooting.

I was trying to see if I could "simulate" a disconnect somehow and came across 
this:
https://unix.stackexchange.com/questions/276352/disable-a-usb-port-in-linux

link@woody:~> lspci -k| grep -i usb -A2 
00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI 
Controller (rev 21)
        Subsystem: Acer Incorporated [ALI] Sunrise Point-LP USB 3.0 xHCI 
Controller
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_pci

echo "0000:00:14.0" | sudo tee /sys/bus/pci/drivers/xhci_hcd/unbind
echo "0000:00:14.0" | sudo tee /sys/bus/pci/drivers/xhci_hcd/bind


I get all of this as the controller comes back online.


[447821.011157] xhci_hcd 0000:00:14.0: xHCI Host Controller
[447821.011178] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus 
number 1
[447821.012331] xhci_hcd 0000:00:14.0: hcc params 0x200077c1 hci version 0x100 
quirks 0x0000000081109810
[447821.015401] xhci_hcd 0000:00:14.0: xHCI Host Controller
[447821.015421] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus 
number 2
[447821.015436] xhci_hcd 0000:00:14.0: Host supports USB 3.0 SuperSpeed
[447821.015591] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, 
bcdDevice= 5.15
[447821.015605] usb usb1: New USB device strings: Mfr=3, Product=2, 
SerialNumber=1
[447821.015613] usb usb1: Product: xHCI Host Controller
[447821.015621] usb usb1: Manufacturer: Linux 5.15.0-141-generic xhci-hcd
[447821.015628] usb usb1: SerialNumber: 0000:00:14.0
[447821.016229] hub 1-0:1.0: USB hub found
[447821.016281] hub 1-0:1.0: 12 ports detected
[447821.019232] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, 
bcdDevice= 5.15
[447821.019236] usb usb2: New USB device strings: Mfr=3, Product=2, 
SerialNumber=1
[447821.019238] usb usb2: Product: xHCI Host Controller
[447821.019239] usb usb2: Manufacturer: Linux 5.15.0-141-generic xhci-hcd
[447821.019240] usb usb2: SerialNumber: 0000:00:14.0
[447821.019347] hub 2-0:1.0: USB hub found
[447821.019362] hub 2-0:1.0: 6 ports detected
[447821.353581] usb 2-1: new SuperSpeed USB device number 2 using xhci_hcd
[447821.374034] usb 2-1: New USB device found, idVendor=2537, idProduct=1068, 
bcdDevice= 1.00
[447821.374048] usb 2-1: New USB device strings: Mfr=1, Product=2, 
SerialNumber=3
[447821.374054] usb 2-1: Product: NS1068
[447821.374059] usb 2-1: Manufacturer: Norelsys
[447821.374064] usb 2-1: SerialNumber: 0123456789ABCDE
[447821.375435] usb-storage 2-1:1.0: USB Mass Storage device detected
[447821.375795] usb-storage 2-1:1.0: Quirks match for vid 2537 pid 1068: 800000
[447821.375939] scsi host3: usb-storage 2-1:1.0
[447821.501420] usb 1-5: new full-speed USB device number 2 using xhci_hcd
[447821.652213] usb 1-5: New USB device found, idVendor=04ca, idProduct=3016, 
bcdDevice= 0.01
[447821.652230] usb 1-5: New USB device strings: Mfr=0, Product=0, 
SerialNumber=0
[447821.781429] usb 1-6: new full-speed USB device number 3 using xhci_hcd
[447821.933038] usb 1-6: New USB device found, idVendor=04f3, idProduct=2561, 
bcdDevice=57.11
[447821.933054] usb 1-6: New USB device strings: Mfr=4, Product=14, 
SerialNumber=0
[447821.933061] usb 1-6: Product: Touchscreen
[447821.933067] usb 1-6: Manufacturer: ELAN
[447821.946704] input: ELAN Touchscreen Stylus as 
/devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:04F3:2561.0006/input/input42
[447821.947277] input: ELAN Touchscreen as 
/devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:04F3:2561.0006/input/input43
[447821.947752] input: ELAN Touchscreen UNKNOWN as 
/devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:04F3:2561.0006/input/input44
[447821.947967] input: ELAN Touchscreen UNKNOWN as 
/devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:04F3:2561.0006/input/input45
[447821.948427] hid-multitouch 0003:04F3:2561.0006: input,hiddev0,hidraw1: USB 
HID v1.10 Device [ELAN Touchscreen] on usb-0000:00:14.0-6/input0
[447822.073432] usb 1-7: new high-speed USB device number 4 using xhci_hcd
[447822.230405] usb 1-7: New USB device found, idVendor=04f2, idProduct=b5f7, 
bcdDevice=92.26
[447822.230420] usb 1-7: New USB device strings: Mfr=1, Product=2, 
SerialNumber=0
[447822.230428] usb 1-7: Product: HD WebCam
[447822.230433] usb 1-7: Manufacturer: Chicony Electronics Co.,Ltd.
[447822.234796] usb 1-7: Found UVC 1.00 device HD WebCam (04f2:b5f7)
[447822.259994] input: HD WebCam: HD WebCam as 
/devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/input/input47
[447822.385536] usb 1-8: new high-speed USB device number 5 using xhci_hcd
[447822.534472] usb 1-8: New USB device found, idVendor=0bda, idProduct=0129, 
bcdDevice=39.60
[447822.534487] usb 1-8: New USB device strings: Mfr=1, Product=2, 
SerialNumber=3
[447822.534494] usb 1-8: Product: USB2.0-CRW
[447822.534500] usb 1-8: Manufacturer: Generic
[447822.534505] usb 1-8: SerialNumber: 20100201396000000
[447822.665487] usb 1-9: new full-speed USB device number 6 using xhci_hcd
[447822.817061] usb 1-9: New USB device found, idVendor=04f3, idProduct=0c03, 
bcdDevice= 1.43
[447822.817075] usb 1-9: New USB device strings: Mfr=1, Product=2, 
SerialNumber=0
[447822.817081] usb 1-9: Product: ELAN:Fingerprint
[447822.817086] usb 1-9: Manufacturer: ELAN
[447822.916341] scsi 3:0:0:0: Direct-Access     ATA      WDC WD3200BEVT-6 1A13 
PQ: 0 ANSI: 6
[447822.916601] sd 3:0:0:0: Attached scsi generic sg1 type 0
[447822.916825] sd 3:0:0:0: [sdb] 625142448 512-byte logical blocks: (320 
GB/298 GiB)
[447822.917310] sd 3:0:0:0: [sdb] Write Protect is off
[447822.917313] sd 3:0:0:0: [sdb] Mode Sense: 43 00 00 00
[447822.917586] sd 3:0:0:0: [sdb] Write cache: disabled, read cache: enabled, 
doesn't support DPO or FUA
[447822.963602]  sdb: sdb1
[447822.964445] sd 3:0:0:0: [sdb] Attached SCSI disk


But no USB Ethernet. I have to physically disconnect and re-connect it
to get this.


[447881.733044] usb 2-3: new SuperSpeed USB device number 3 using xhci_hcd
[447881.753811] usb 2-3: New USB device found, idVendor=0bda, idProduct=8153, 
bcdDevice=30.00
[447881.753825] usb 2-3: New USB device strings: Mfr=1, Product=2, 
SerialNumber=6
[447881.753832] usb 2-3: Product: USB 10/100/1000 LAN
[447881.753837] usb 2-3: Manufacturer: Realtek
[447881.753841] usb 2-3: SerialNumber: 000027
[447881.885609] r8152-cfgselector 2-3: reset SuperSpeed USB device number 3 
using xhci_hcd
[447881.927159] r8152 2-3:1.0: load rtl8153a-4 v2 02/07/20 successfully
[447881.954062] r8152 2-3:1.0 eth0: v1.12.13
[447881.984216] r8152 2-3:1.0 enx00e04c681327: renamed from eth0
[447882.024100] bond0: (slave enx00e04c681327): making interface the new active 
one
[447882.024297] bond0: (slave enx00e04c681327): Enslaving as an active 
interface with an up link
[447885.895787] r8152 2-3:1.0 enx00e04c681327: carrier on

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2092711

Title:
  USB Ethernet adapter does not show up on boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2092711/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to