#USB is not getting detected, I tried everything i could find on arch wiki nothing worked.

1 messages ยท Page 1 of 1 (latest)

robust crane
#

not the USB nor the mouse,

this is the output of lsusb:

Bus 003 Device 003: ID 04f2:b6f1 Chicony Electronics Co., Ltd HP TrueVision HD Camera
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
~ $```

this is the output of fdisk -l 

```Device          Start        End    Sectors   Size Type
/dev/sda1        4096    2052095    2048000  1000M EFI System
/dev/sda2     2052096    2084863      32768    16M Microsoft reserved
/dev/sda3     2084864 1195763711 1193678848 569.2G Microsoft basic dat
/dev/sda4  1195763712 1953521663  757757952 361.3G Linux filesystem```
not detected here

below outputs are of dmesg, i can see some errors there but cannot understand them, help please

``` r device
[   53.262017] xhci_hcd 0000:04:00.3: xHCI host not responding to stop endpoint command
[   53.273830] xhci_hcd 0000:04:00.3: xHCI host controller not responding, assume dead
[   53.275304] xhci_hcd 0000:04:00.3: HC died; cleaning up
[   53.278557] usb usb1-port4: couldn't allocate usb_device
[   58.677745] Generic FE-GE Realtek PHY r8169-0-300:00: attached PHY driver (mii_bus:phy_addr=r8169-0-300:00, irq=MAC)
[   58.867818] r8169 0000:03:00.0 eno1: Link is Down
[  150.709970] usb 3-1: device descriptor read/64, error -71
[  150.974182] usb 3-1: New USB device found, idVendor=04f2, idProduct=b6f1, bcdDevice=27.16
[  150.974199] usb 3-1: New USB device strings: Mfr=3, Product=1, SerialNumber=2```
oak yew
#

When you say USB do you mean thumb drive? Or do you mean a USB Hub?

#

IT looks vaguely like the USB controller is acting up, if you swap out whatever USB keyboard for the mouse, does the mouse start working in that port?

robust crane
#

nothing works

blissful cypress
#

first -- have you tried to use any devices mentioned on other ports -- or other pc -

#

as a way to re-ensure ports - inseart usb and try to mount it - then report back !

blissful cypress
#

if you tried some sort of fix - do mention theme , so i won't post fixes you tried

blissful cypress
# robust crane nothing works

i've been searching a bit, are you sure that these devices works on any other machine or this exact one , Such in this "corrupted" machin - enter bios and use the keyboard ; see if that works - need to know if this port(hardware) issue or software issue .

robust crane
#

it works in windows

#

does not work in linux

robust crane
#
No default controller available
[bluetooth]#```
#

bluetoothctl gives this output

#

it just suddenly happened

blissful cypress
robust crane
#

okay

#

also dmesg showed no errors when everything was up and running

#

but then suddenly they stopped

#

and this came in as output

#
[ 3257.316769] xhci_hcd 0000:04:00.3: xHCI host controller not responding, assume dead
[ 3257.316769] xhci_hcd 0000:04:00.3: HC died; cleaning up
[ 3257.322383] usb usb1-port4: couldn't allocate usb_device
[10323.455931] warning: `ThreadPoolForeg' uses wireless extensions which will stop working for Wi-Fi 7 hardware; use nl80211```
#

it is just the error part

blissful cypress
#

your on a laptop right !?

robust crane
#

hp pavilion 15 ec0101ax

blissful cypress
#

might sound silly - touch pad is on too right :?

robust crane
#

yes

blissful cypress
#

and the wifi shourtcut on keyboard is on as well

robust crane
#

there is no wifi shortcut on keyboard

#

but wifi is working

blissful cypress
#

what've been getting for the moment is to restart the affected crashed host controller address , smt like this

#

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

#

replace '0000:00:14.0' with your crashed Host Controller's address)

robust crane
#

okay

blissful cypress
#

knowning that your system is crashed and you cant use keyboard - ssh to the machine or live usb is the only way i see for now

robust crane
#

i can use keyboard

#

i am typing from that very system

blissful cypress
#

okayyy ๐Ÿ™‚

robust crane
#

this is a weird issue

blissful cypress
#

indeed it is , one thing to know about linux (arch specifically ) is to always be on prep ๐Ÿ˜†

robust crane
#
tee: /sys/bus/pci/drivers/xhci_hcd/unbind: Permission denied
[sudo] password for xenon:
~ $```
robust crane
#

its denying permission even though i am superuser

#

i will be going now, as it is 11 pm here

#

lets solve it tommoroe

oak yew
#

the command should be

echo -n "0000:04:00.3" | sudo tee /sys/bus/pci/drivers/xhci_hcd/unbind
robust crane
#

@oak yew@blissful cypressthanks

#

it worked

robust crane
#

new problem again

#
[ 2631.152380] usb 1-4: device descriptor read/64, error -71
[ 2631.385781] usb 1-4: device descriptor read/64, error -71
[ 2631.616268] usb 1-4: new full-speed USB device number 3 using xhci_hcd
[ 2631.739578] usb 1-4: device descriptor read/64, error -71
[ 2631.972304] usb 1-4: device descriptor read/64, error -71
[ 2632.079136] usb usb1-port4: attempt power cycle
[ 2632.482737] usb 1-4: new full-speed USB device number 4 using xhci_hcd
[ 2632.482879] usb 1-4: Device not responding to setup address.
[ 2632.689565] usb 1-4: Device not responding to setup address.
[ 2632.899008] usb 1-4: device not accepting address 4, error -71
[ 2633.022770] usb 1-4: new full-speed USB device number 5 using xhci_hcd
[ 2633.022918] usb 1-4: Device not responding to setup address.
[ 2633.229597] usb 1-4: Device not responding to setup address.
[ 2633.435873] usb 1-4: device not accepting address 5, error -71
[ 2633.436082] usb usb1-port4: unable to enumerate USB device
~ $```
blissful cypress
#

and what is your current issue now ; something else broke ! ? or waht exactly

robust crane
#

all ports

robust crane
#

and they stopped working again

blissful cypress
#

hmm weird issue you have going on there !

#

okay did came across this 'could be simple fix" try this command

#

echo -1 >/sys/module/usbcore/parameters/autosuspend

#

i used pretty much similar command to disable (keyboard / mouse ) from waking up pc on sleep ; could be your case , smt disabled theme , and they need to be re-enabled manually !!

robust crane
#

Okay, I will try it

blissful cypress
robust crane
#

it is not solved

robust crane
blissful cypress
#

ooo okay w'll dm you to discuss this more !!

median shuttle
#

PLease continue to use this post, and not "go to DM"