USB3 port problem

Asked by Pat

I have a small laptop running Ubuntu 16.04. The computer has two USB ports - one USB2 and one USB3.

Normally, I use one port for my wireless mouse adapter and one port for my wired internet connection which I connect via a cable and TP-Link USB 3 to Ethernet adapter. It usually doesn't matter which port is used with which.. I have no Ethernet port. When inserting the Ethernet adapter into either port, I usually get a message telling me that the wired connection is active. The computer has worked fine for some time with this configuration.

Today, I find that the Ethernet adapter will not work through the USB3 port. It works fine in the USB2 port.

The USB 3 port works OK with other devices such as the wireless mouse and an external SSD drive which tells me the port is actually working. For some reason it will no longer recognise the Ethernet adapter despite that working in the other port.

I have tried booting with the Ethernet adapter already inserted in the USB3 port and also inserting it after boot - it still will not work.
I am troubled by the fact that this problem has arisen suddenly. I know I could simply use the USB 2 port for the adapter but I would like to know why the problem has occurred more or less overnight....

Any and all help appreciated. Many thanks...

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Boot with the device unplugged and log in. When you connect the Ethernet device to the USB 3 port, run:

dmesg | tail

What is the output?

Then repeat the same with the USB 2 (after a reboot).

How is it different?

Revision history for this message
Pat (a-pat) said :
#2

Hello Andrew,
Thank you kindly for your response.

Here are the details you requested - USB3 port first:

pat@pat-laptop:~$ dmesg | tail
[ 4.976393] audit: type=1400 audit(1468575309.611:5): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-helper" pid=597 comm="apparmor_parser"
[ 4.976397] audit: type=1400 audit(1468575309.611:6): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/connman/scripts/dhclient-script" pid=597 comm="apparmor_parser"
[ 4.977302] audit: type=1400 audit(1468575309.611:7): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/sbin/ippusbxd" pid=601 comm="apparmor_parser"
[ 4.978300] audit: type=1400 audit(1468575309.611:8): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/sbin/tcpdump" pid=603 comm="apparmor_parser"
[ 4.978419] audit: type=1400 audit(1468575309.611:9): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/lightdm/lightdm-guest-session" pid=596 comm="apparmor_parser"
[ 4.978425] audit: type=1400 audit(1468575309.611:10): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/lightdm/lightdm-guest-session//chromium" pid=596 comm="apparmor_parser"
[ 5.180681] IPv6: ADDRCONF(NETDEV_UP): wlp1s0: link is not ready
[ 7.645500] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 7.645503] Bluetooth: BNEP filters: protocol multicast
[ 7.645507] Bluetooth: BNEP socket layer initialized

USB2:

pat@pat-laptop:~$ dmesg | tail
[ 5.048557] audit: type=1400 audit(1468575451.631:9): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/lightdm/lightdm-guest-session//chromium" pid=618 comm="apparmor_parser"
[ 5.048719] audit: type=1400 audit(1468575451.631:10): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/sbin/tcpdump" pid=625 comm="apparmor_parser"
[ 5.275862] IPv6: ADDRCONF(NETDEV_UP): wlp1s0: link is not ready
[ 5.277822] IPv6: ADDRCONF(NETDEV_UP): enxec086b1acf43: link is not ready
[ 5.277936] cdc_ether 1-6:2.0 enxec086b1acf43: kevent 12 may have been dropped
[ 5.283232] cdc_ether 1-6:2.0 enxec086b1acf43: kevent 12 may have been dropped
[ 5.290713] cdc_ether 1-6:2.0 enxec086b1acf43: kevent 12 may have been dropped
[ 7.294097] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 7.294100] Bluetooth: BNEP filters: protocol multicast
[ 7.294103] Bluetooth: BNEP socket layer initialized

As a relative newcomer to Ubuntu I will not pretend that the messages mean anything to me but I understand the dmesg command allows examination of the "Kernel Ring Buffer"..... which I again understand to be details of devices loaded at boot or "on the fly". Is this correct?

Kind regards, Pat.

Revision history for this message
daniel CURTIS (anoda) said :
#3

Hello. Pat, You wrote "that this problem has arisen suddenly", right? So, I have one question: do you recently updated your kernel? If yes can You try to boot an older kernel and see whats happen? Or try to update to the latest kernel, e.g. from -proposed?

According to Actionparsnip advice with 'dmesg' command, can You provide an output for 'sudo dmesg | grep -i usb' command too? And one more thing: are You using also Windows 7/8/ etc. system?

Best regards.

Revision history for this message
Pat (a-pat) said :
#4

Hello Daniel,
Thanks for your comments and suggestions.

I have recently updated my kernel (using commands sudo apt-get update && sudo apt-get upgrade) but that was some days ago. The problem arose yesterday afternoon.
Not sure how to boot to an older kernel but I have no doubt I can find out...

Output for the command you suggested.
This with the Ethernet adapter in the USB2 port and the wireless mouse adapter in the USB3 port:

[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-4.4.0-31-generic.efi.signed root=UUID=ed097a8d-3789-46f7-89b3-850042bca613 ro quiet splash usbcore.autosuspend=-1 vt.handoff=7
[ 0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.4.0-31-generic.efi.signed root=UUID=ed097a8d-3789-46f7-89b3-850042bca613 ro quiet splash usbcore.autosuspend=-1 vt.handoff=7
[ 1.048937] ACPI: bus type USB registered
[ 1.048950] usbcore: registered new interface driver usbfs
[ 1.048956] usbcore: registered new interface driver hub
[ 1.048968] usbcore: registered new device driver usb
[ 1.678364] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.678383] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 1.678399] uhci_hcd: USB Universal Host Controller Interface driver
[ 1.678541] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 1
[ 1.679764] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 1.679766] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.679767] usb usb1: Product: xHCI Host Controller
[ 1.679768] usb usb1: Manufacturer: Linux 4.4.0-31-generic xhci-hcd
[ 1.679770] usb usb1: SerialNumber: 0000:00:14.0
[ 1.679902] hub 1-0:1.0: USB hub found
[ 1.796389] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 2
[ 1.796428] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
[ 1.796430] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.796431] usb usb2: Product: xHCI Host Controller
[ 1.796433] usb usb2: Manufacturer: Linux 4.4.0-31-generic xhci-hcd
[ 1.796434] usb usb2: SerialNumber: 0000:00:14.0
[ 1.796692] hub 2-0:1.0: USB hub found
[ 1.800356] usb: port power management may be unreliable
[ 2.171773] usb 1-2: new full-speed USB device number 2 using xhci_hcd
[ 2.359040] usb 1-2: New USB device found, idVendor=046d, idProduct=c52b
[ 2.359042] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 2.359043] usb 1-2: Product: USB Receiver
[ 2.359044] usb 1-2: Manufacturer: Logitech
[ 2.365496] usbcore: registered new interface driver usbhid
[ 2.365498] usbhid: USB HID core driver
[ 2.367818] logitech-djreceiver 0003:046D:C52B.0003: hiddev0,hidraw0: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:00:14.0-2/input2
[ 2.475776] usb 1-4: new high-speed USB device number 3 using xhci_hcd
[ 2.487816] input: Logitech M570 as /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.2/0003:046D:C52B.0003/0003:046D:1028.0004/input/input8
[ 2.488198] logitech-hidpp-device 0003:046D:1028.0004: input,hidraw1: USB HID v1.11 Mouse [Logitech M570] on usb-0000:00:14.0-2:1
[ 2.702525] usb 1-4: New USB device found, idVendor=058f, idProduct=3822
[ 2.702528] usb 1-4: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[ 2.702529] usb 1-4: Product: USB 2.0 Camera
[ 3.328941] uvcvideo: Found UVC 1.00 device USB 2.0 Camera (058f:3822)
[ 3.332795] input: USB 2.0 Camera as /devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.0/input/input9
[ 3.332851] usbcore: registered new interface driver uvcvideo
[ 3.332853] USB Video Class driver (1.1.1)
[ 6.403612] usb 1-6: new high-speed USB device number 4 using xhci_hcd
[ 6.588387] usb 1-6: New USB device found, idVendor=2357, idProduct=0601
[ 6.588390] usb 1-6: New USB device strings: Mfr=1, Product=2, SerialNumber=6
[ 6.588391] usb 1-6: Product: USB 10/100/1000 LAN
[ 6.588392] usb 1-6: Manufacturer: TP-LINK
[ 6.588393] usb 1-6: SerialNumber: 000001000000
[ 6.599289] cdc_ether 1-6:2.0 eth0: register 'cdc_ether' at usb-0000:00:14.0-6, CDC Ethernet Device, ec:08:6b:1a:cf:43
[ 6.599394] usbcore: registered new interface driver cdc_ether

I am not dual-booting with any Windows or other system.

One more thing... I have just realised that the problem appears intermittent. By chance, I connected the adapter into the USB3 port this afternoon and the connection was made.

Thanks once again. Pat.

Revision history for this message
Launchpad Janitor (janitor) said :
#5

This question was expired because it remained in the 'Open' state without activity for the last 15 days.