usb ports quit working

Issues related to hardware problems
hoodcanaljim
Posts: 290
Joined: 2006/02/05 17:49:10

usb ports quit working

Post by hoodcanaljim » 2019/07/11 02:44:27

Hi
I have a Dell precision 390 with 7 usb ports running Centos 7 linux. I plugged in a old graphics tablet to see if it could work, it didn't. But after I unplugged it my keyboard/ mouse (wireless logitech w/usb dongle) quit working. It turns out that only one usb port in working the one at the rear next to the ethernet port.
I have pluged in my cell phone into all the ports but only the one at the rear shows the phone loading in the /var/log/messages file. The others seem to have power as the phone reacts to the connection and shows charging.
This appears in dmesg
dmesg | grep -i usb
[ 0.309141] ACPI: bus type USB registered
[ 0.309165] usbcore: registered new interface driver usbfs
[ 0.309177] usbcore: registered new interface driver hub
[ 0.309197] usbcore: registered new device driver usb
[ 0.893587] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 0.893862] ehci-pci 0000:00:1d.7: new USB bus registered, assigned bus number 1
[ 0.903059] ehci-pci 0000:00:1d.7: USB 2.0 started, EHCI 1.00
[ 0.903145] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 0.903150] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.903154] usb usb1: Product: EHCI Host Controller
[ 0.903157] usb usb1: Manufacturer: Linux 3.10.0-957.21.3.el7.x86_64 ehci_hcd
[ 0.903161] usb usb1: SerialNumber: 0000:00:1d.7
[ 0.903333] hub 1-0:1.0: USB hub found
[ 0.903550] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 0.903573] uhci_hcd: USB Universal Host Controller Interface driver
[ 0.903825] uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2
[ 0.903896] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
[ 0.903898] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.903901] usb usb2: Product: UHCI Host Controller
[ 0.903903] usb usb2: Manufacturer: Linux 3.10.0-957.21.3.el7.x86_64 uhci_hcd
[ 0.903905] usb usb2: SerialNumber: 0000:00:1d.0
[ 0.904026] hub 2-0:1.0: USB hub found
[ 0.904379] uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3
[ 0.904457] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001
[ 0.904459] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.904462] usb usb3: Product: UHCI Host Controller
[ 0.904464] usb usb3: Manufacturer: Linux 3.10.0-957.21.3.el7.x86_64 uhci_hcd
[ 0.904466] usb usb3: SerialNumber: 0000:00:1d.1
[ 0.904577] hub 3-0:1.0: USB hub found
[ 0.904930] uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4
[ 0.905013] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001
[ 0.905016] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.905018] usb usb4: Product: UHCI Host Controller
[ 0.905021] usb usb4: Manufacturer: Linux 3.10.0-957.21.3.el7.x86_64 uhci_hcd
[ 0.905023] usb usb4: SerialNumber: 0000:00:1d.2
[ 0.905136] hub 4-0:1.0: USB hub found
[ 0.905482] uhci_hcd 0000:00:1d.3: new USB bus registered, assigned bus number 5
[ 0.905557] usb usb5: New USB device found, idVendor=1d6b, idProduct=0001
[ 0.905559] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.905562] usb usb5: Product: UHCI Host Controller
[ 0.905564] usb usb5: Manufacturer: Linux 3.10.0-957.21.3.el7.x86_64 uhci_hcd
[ 0.905566] usb usb5: SerialNumber: 0000:00:1d.3
[ 0.905676] hub 5-0:1.0: USB hub found
[ 0.905832] usbcore: registered new interface driver usbserial_generic
[ 0.905841] usbserial: USB Serial support registered for generic
[ 0.909850] usbcore: registered new interface driver usbhid
[ 0.909851] usbhid: USB HID core driver
[ 1.398022] usb 2-1: new full-speed USB device number 2 using uhci_hcd
[ 1.584051] usb 2-1: New USB device found, idVendor=046d, idProduct=c52b
[ 1.584057] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1.584059] usb 2-1: Product: USB Receiver
[ 1.584062] usb 2-1: Manufacturer: Logitech
[ 2.178690] logitech-djreceiver 0003:046D:C52B.0003: hiddev0,hidraw0: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:00:1d.0-1/input2
[ 2.327369] input: Logitech Unifying Device. Wireless PID:4055 as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1:1.2/0003:046D:C52B.0003/input/input2
[ 2.327494] logitech-djdevice 0003:046D:C52B.0004: input,hidraw1: USB HID v1.11 Mouse [Logitech Unifying Device. Wireless PID:4055] on usb-0000:00:1d.0-1:1
[ 2.329558] input: Logitech Unifying Device. Wireless PID:2011 as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1:1.2/0003:046D:C52B.0003/input/input3
[ 2.329790] logitech-djdevice 0003:046D:C52B.0005: input,hidraw2: USB HID v1.11 Keyboard [Logitech Unifying Device. Wireless PID:2011] on usb-0000:00:1d.0-1:2
[ 4.012131] usb usb2-port2: Cannot enable. Maybe the USB cable is bad?
[ 6.144210] usb usb2-port2: Cannot enable. Maybe the USB cable is bad?
[ 6.144234] usb usb2-port2: attempt power cycle
[ 10.837083] usb usb2-port2: Cannot enable. Maybe the USB cable is bad?
[ 12.165102] usb usb2-port2: Cannot enable. Maybe the USB cable is bad?
[ 12.165125] usb usb2-port2: attempt power cycle
[ 13.996068] usb usb2-port2: Cannot enable. Maybe the USB cable is bad?
[ 15.327058] usb usb2-port2: Cannot enable. Maybe the USB cable is bad?
[ 15.327080] usb usb2-port2: unable to enumerate USB device
[ 3940.764854] usbcore: registered new interface driver usb-storage

lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Not sure if this means my motherboard is shot or if there is any way to recover from this?
Well after reading google searches and Centos forum post I realize I don't know anything about how the usb ports work.

Thanks
Jim

User avatar
TrevorH
Forum Moderator
Posts: 26910
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: usb ports quit working

Post by TrevorH » 2019/07/11 11:49:59

Did you reboot afterwards? If so and it didn't help then try power cycling the machine.

I've seen USB ports get put offline when an error occurs and nothing short of a total hardware reset (via poweroff) gets them back.
CentOS 5 died in March 2017 - migrate NOW!
CentOS 6 goes EOL sooner rather than later, get upgrading!
Full time Geek, part time moderator. Use the FAQ Luke

hoodcanaljim
Posts: 290
Joined: 2006/02/05 17:49:10

Re: usb ports quit working

Post by hoodcanaljim » 2019/07/11 12:18:53

Trevor

I've rebooted and shutdown for 10 min. before restarting but nothings helped. I did see someone posted about power down, remove battery, hold down the power button until no lights remain on the motherboard. Is that what you mean?

Thanks
Jim

User avatar
TrevorH
Forum Moderator
Posts: 26910
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: usb ports quit working

Post by TrevorH » 2019/07/11 12:22:46

Just a power off ought to be enough. If they still don't work after that then I would expect a hardware problem. If the ports are directly attached to the motherboard then there's not much you can do but if they are off a cable attached to a pin-out on the board then you could try removing and replacing the cable (also it needs to be on the right way round but if it used to work and you didn't remove it/replace it already then it's probably already the right way round).
CentOS 5 died in March 2017 - migrate NOW!
CentOS 6 goes EOL sooner rather than later, get upgrading!
Full time Geek, part time moderator. Use the FAQ Luke

hoodcanaljim
Posts: 290
Joined: 2006/02/05 17:49:10

Re: usb ports quit working

Post by hoodcanaljim » 2019/07/11 13:24:32

Trevor

Well I tried the power off / remove battery trick. And while it worked now I can't boot into Centos 7, I can boot into Debian from the same grub menu, but it "Entering emergency mode. Exit the shell to continue".
Looking at the google search for Dracut emergency scares me. Would someone be willing to lead me out of the woods and back to the light.
Oh the front usb slot worked in Debian, which it didn't before.

Thanks
Jim

User avatar
TrevorH
Forum Moderator
Posts: 26910
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: usb ports quit working

Post by TrevorH » 2019/07/11 14:13:14

Scroll back up the console messages using Shift-PgUp and find out what the error was. Perhaps you changed some BIOS option - like UEFI enable/disable?
CentOS 5 died in March 2017 - migrate NOW!
CentOS 6 goes EOL sooner rather than later, get upgrading!
Full time Geek, part time moderator. Use the FAQ Luke

hoodcanaljim
Posts: 290
Joined: 2006/02/05 17:49:10

Re: usb ports quit working

Post by hoodcanaljim » 2019/07/11 14:40:27

Trevor

Long list of the same error
dracut-initqueue[375]: Warning: dracut-initqueue timeout - starting timeout scripts

Went through the Bios and didn't see a UEFI switch.

I am looking a the "https://wiki.centos.org/TipsAndTricks/CreateNewInitrd" for a fix. Is this the correct thing to do??

Thanks
Jim

User avatar
TrevorH
Forum Moderator
Posts: 26910
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: usb ports quit working

Post by TrevorH » 2019/07/11 14:43:55

The error would be further up than the dracut-initqueue errors. They are as a result of whatever the problem is. If you can't scroll back up that far then I'd recommend use of a video camera to capture the boot.
CentOS 5 died in March 2017 - migrate NOW!
CentOS 6 goes EOL sooner rather than later, get upgrading!
Full time Geek, part time moderator. Use the FAQ Luke

hoodcanaljim
Posts: 290
Joined: 2006/02/05 17:49:10

Re: usb ports quit working

Post by hoodcanaljim » 2019/07/11 14:59:39

Trevor

kernal: {drm] Initialized nouveau....
kernal: random: fast init done
systemd[1]: Received SIGRTMIN+20 from PID 384 (plymouthd).
then many lines of dracut-initqueue.......

Thanks
Jim

Just noticed this message at the end of the journalctl

kernal: blk_update_request: I/O error: dev fd0: sector 0

line appears twice.

User avatar
TrevorH
Forum Moderator
Posts: 26910
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: usb ports quit working

Post by TrevorH » 2019/07/11 16:03:51

None of those are the problem.

Do you have rhgb quiet on your kernel command line? If so, remove them by editing it when you see the grub menu at boot time. Stupid "let's make things pretty" stuff obscures the actual errors you get...
CentOS 5 died in March 2017 - migrate NOW!
CentOS 6 goes EOL sooner rather than later, get upgrading!
Full time Geek, part time moderator. Use the FAQ Luke

Post Reply

Return to “CentOS 7 - Hardware Support”