You are not logged in.

#1 2023-05-04 15:12:10

Rizkiaswangga
Member
Registered: 2022-02-16
Posts: 19

Arch Linux "device descriptor read error"

So i shut down my Arch machine few days ago, and for couple of days i used windows to do my task. when i boot back to my Arch machine, nothing feels odd, i was welcomed by the login screen (i used KDE Plasma). But my Internal keyboard and external mouse doesn't seem to work, only the touchpad works, therefore i can't sign in.

When i try to shut down my machine, i got an error message as below, and i stuck on the error message :

https://i.imgur.com/E8rITHi.jpeg

i had to press the power button to force the shutdown, and when i reboot back to Arch, it still the same.... sad

Things I've done :

1. Reboot the PC
2. unplug all USB peripherals and boot the PC
3. wait for couple of hours (i've told by some threads to did this)

i can boot to Windows and in fact i'm typing this on the same machine through Windows smile

P.S. couple of days ago since the last time i used Arch, i connect my Android phone as developer mode  to be used on Android Studio to test a program, does this affect something?

Last edited by V1del (2023-05-04 16:27:13)

Offline

#2 2023-05-04 16:29:42

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 24,960

Re: Arch Linux "device descriptor read error"

Please don't embed huge images directly. https://wiki.archlinux.org/title/Genera … s_and_code

Make sure Windows fast-boot is disabled: https://wiki.archlinux.org/title/Dual_b … ibernation

Did you do any lower level change like a kernel upgrade before shutting down Arch and using it last?

Offline

#3 2023-05-04 18:09:32

Rizkiaswangga
Member
Registered: 2022-02-16
Posts: 19

Re: Arch Linux "device descriptor read error"

Sorry for that... sad

i'm positive i don't do any lower level change, because i'm on college that time and the internet is not the best there.

also, booting Arch using command only mode (typing "3" at the end of the Linux line on GRUB Boot option) does works, i can type and use the Internal keyboard. i have also update the system there, however when i "poweroff" it still gives me an error message regarding of the "device descriptor read error", it will shutdown if i wait like 7mins, but going back to the Desktop Environment makes the USB and Internal Keyboard won't work again...(even after the update)

pic taken after shutting down from command only mode : https://imgur.com/a/daIT1BF

"Turn on fast startup" have been disabled since long ago, and it is still disabled currently when i check

what i does remember the last time i use the system was to try run a program i code on Android Studio through USB cable on my Android Phone, and i don't quite remember does i disconnect the cable before shutting down or not sad

should i reinstall udev? and see if it fixes the problem?

thanks for the help smile

Last edited by Rizkiaswangga (2023-05-04 18:12:43)

Offline

#4 2023-05-04 18:23:14

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 71,660

Re: Arch Linux "device descriptor read error"

also, booting Arch using command only mode (typing "3" at the end of the Linux line on GRUB Boot option) does works, i can type and use the Internal keyboard. i have also
lsudb | curl -F 'file=@-' 0x0.st
sudo journalctl | curl -F 'file=@-' 0x0.st

welcomed by the login screen (i used KDE Plasma)

SDDM?
Can you Ctrl+Alt+F1,F2,… from there?
What if instead of that you (install, configure and) run "startx"?
(Last link below on the "configure" part)

Edit: same as https://bbs.archlinux.org/viewtopic.php?id=285527 ?

Edit 2:

cat /var/log/Xorg.0.log | curl -F 'file=@-' 0x0.st

Last edited by seth (2023-05-04 18:25:02)

Offline

#5 2023-05-05 08:55:44

Rizkiaswangga
Member
Registered: 2022-02-16
Posts: 19

Re: Arch Linux "device descriptor read error"

i just restore from Timeshift to the day when everything works fine....

But somehow i wiped my GRUB Bootloader, and on the attempt to re-install GRUB by booting a USB using a fresh Arch Linux install, i can't even type easily, since the command keeps prompt me about the "device descriptor error", is the problem just happens to be on the Arch itself? USB seems working no problem in Windows

Offline

#6 2023-05-05 09:12:32

Rizkiaswangga
Member
Registered: 2022-02-16
Posts: 19

Re: Arch Linux "device descriptor read error"

This is the shot, it was taken when i boot from Arch fresh install ISO through USB

it prompts me every 5-10 seconds...

https://imgur.com/a/ogKo8yK

[EDIT] it was the same thing on Ubuntu Live image too, i can't use the Internal Keyboard and external mouse, is it the Linux Kernel that is having the issue?

Last edited by Rizkiaswangga (2023-05-05 10:05:30)

Offline

#7 2023-05-05 14:10:01

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 71,660

Re: Arch Linux "device descriptor read error"

Some USB device doesn't respond.
Yuo previously stated there were no issues w/ the keyboard on the multi-user.target?
Please post the journa (as above) and probably also

lsusb -tv | curl -F 'file=@-' 0x0.st

Offline

#8 2023-05-05 15:15:40

Rizkiaswangga
Member
Registered: 2022-02-16
Posts: 19

Re: Arch Linux "device descriptor read error"

I booted Arch through Live USB now as GRUB on my Internal disk for some reason won't be able to boot since i restore from timeshift, i will rebuild GRUB later on


But i can't post the output of the journal because when i'm typing, it keeps prompting me "device descriptor read error..." So it is difficult to type fully..do you know how to fix the prompting message on command line?

Offline

#9 2023-05-05 15:20:48

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 71,660

Re: Arch Linux "device descriptor read error"

How do you intent to fix it on the command line if you cannot even manage to post the journal or lsusb output?

You can probably just switch to an alternate terminal or pass "loglevel=0" to the kernel commandline to silence the console, but that won't fix anything.
https://docs.kernel.org/core-api/printk-basics.html
https://wiki.archlinux.org/title/Genera … e_messages
https://wiki.archlinux.org/title/Kernel_parameters

Offline

#10 2023-05-05 15:35:19

Rizkiaswangga
Member
Registered: 2022-02-16
Posts: 19

Re: Arch Linux "device descriptor read error"

ohh...sorry, my bad sad adding "quiet" on the boot menu does the trick
(done through Arch Live USB)

https://imgur.com/a/zgLHoZ9

but it says "Could not resolve host"

Last edited by Rizkiaswangga (2023-05-05 15:35:37)

Offline

#11 2023-05-05 17:20:21

Rizkiaswangga
Member
Registered: 2022-02-16
Posts: 19

Re: Arch Linux "device descriptor read error"

[UPDATE] i have successfully re install GRUB and now i can boot to my Arch without using the Live USB ( through command line only)

and this is the output from journal and lsusb :

from : "sudo journalctl | curl -F 'file=@-' 0x0.st" :

http://0x0.st/H2Ac.txt

from : "lsusb -tv | curl -F 'file=@-' 0x0.st" :

http://0x0.st/H2AM.txt

am i doing it right? forgive me for any errors

Last edited by Rizkiaswangga (2023-05-05 17:21:16)

Offline

#12 2023-05-05 18:49:06

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 71,660

Re: Arch Linux "device descriptor read error"

Those are errors from 0x0.st, I suspect the commands time out (because of the massive amount of error messages and also I botched the journalctl, no filter)
Can you just run "lsusb -tv" w/o errors?
Try to dump the output first

sudo journalctl -b > /tmp/journal.txt
du -h /tmp/journal.txt # check its size
cat /tmp/journal.txt | curl -F 'file=@-' 0x0.st

Offline

#13 2023-05-06 12:06:30

Rizkiaswangga
Member
Registered: 2022-02-16
Posts: 19

Re: Arch Linux "device descriptor read error"

here's an update of what i have done to the laptop :

I drained the battery on Windows until the laptop goes completely off, (as seen on other threads telling to unplug the power cable, but since it is a laptop without removable battery so this is the best i can do) after completely running out of battery, i charged the laptop while booting into Arch Linux, but still the Keyboard and USB doesn't work. Then i boot to Windows for a while, and boot back to Arch, this time Keyboard and USB does work, and  i can sign in and use the Desktop Environment as usual, however when i try to shutdown/restart the PC, it still gives me the "device descriptor read error" message.

After that, i boot back to Arch, and  the problem appears back, i can't use the Keyboard and USB sad

Now, for some unknown reason to me, after shutting down the laptop for a while, boot back to Arch and no problem, in fact i'm currently typing this  reply on my Arch machine, but  i doubt that the problem re-exist when i reboot/shutdown the machine sad

ok, and this is the output dump ask @seth asked :

http://0x0.st/HZMp.bin

that dump was taken when i can boot to Arch Linux and used its Desktop Environment (but still with the descriptor error)

Offline

#14 2023-05-06 13:04:51

Rizkiaswangga
Member
Registered: 2022-02-16
Posts: 19

Re: Arch Linux "device descriptor read error"

[UPDATE] i think (maybe) i find the source of the trouble....

when  i boot to Windows and is going to use the Internal Webcam on some software (like Zoom), it sometimes appear and disappear. When i check on Windows' Device Manager, the Camera is appearing and disappearing (especially when i type or touch the palm rest area) it is possible that the Internal cable is not connected properly (hardware issue) but i still doubt that it is the problem Linux prompting "device descriptor read error".

What i can think of is because Webcam use the same interface (USB). So a loose connector might cause an issue to the USB controller that caused "device descriptor read error"

Does anybody here have any perception of whether or not the Webcam is causing the issue?

Last edited by Rizkiaswangga (2023-05-06 13:11:23)

Offline

#15 2023-05-06 13:33:24

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 71,660

Re: Arch Linux "device descriptor read error"

i still doubt that it is the problem Linux prompting "device descriptor read error"

Au contraire.

May 06 07:27:38 RizkiAALegion7i kernel: usb 1-6: New USB device found, idVendor=174f, idProduct=2435, bcdDevice= 0.22
May 06 07:27:38 RizkiAALegion7i kernel: usb 1-6: New USB device strings: Mfr=2, Product=1, SerialNumber=0
May 06 07:27:38 RizkiAALegion7i kernel: usb 1-6: Product: Integrated Camera
May 06 07:27:38 RizkiAALegion7i kernel: usb 1-6: Manufacturer: Sonix Technology Co., Ltd.

It very much *is* the camera.

May 06 07:27:38 RizkiAALegion7i vmware-usbarbitrator[451]: USBGL: Failed to open '/sys/bus/usb/devices/1-6/serial', error(0x2).
May 06 07:27:38 RizkiAALegion7i vmware-usbarbitrator[451]: USBGL: DevID(174f2435): Failed to read serial number for '1-6'.
May 06 07:27:38 RizkiAALegion7i vmware-usbarbitrator[451]: USBGL: Failed to open '/sys/bus/usb/devices/1-6/serial', error(0x2).
May 06 07:27:38 RizkiAALegion7i mtp-probe[710]: checking bus 1, device 4: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-6"
May 06 07:27:38 RizkiAALegion7i kernel: usb 1-6: Found UVC 1.00 device Integrated Camera (174f:2435)
May 06 07:27:38 RizkiAALegion7i kernel: input: Integrated Camera: Integrated C as /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/input/input30
May 06 07:27:38 RizkiAALegion7i mtp-probe[756]: checking bus 1, device 4: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-6"
May 06 07:27:44 RizkiAALegion7i kernel: usb 1-6: USB disconnect, device number 4
May 06 07:27:44 RizkiAALegion7i vmware-usbarbitrator[451]: USBGL: kevent: removing USB device 1-6.
May 06 07:27:44 RizkiAALegion7i kernel: usb 1-6: new high-speed USB device number 6 using xhci_hcd

The failing device is exactly the webcam.

What are you doing w/ vmware, how and where are arhc and windows arranged?
Is this a parallel installation or is one the host for the virtualized other or both?
If it's not broken HW, it's somewhere around that condition and at the very least try the behavior w/o vmware.

Offline

#16 2023-05-07 09:20:24

Rizkiaswangga
Member
Registered: 2022-02-16
Posts: 19

Re: Arch Linux "device descriptor read error"

I think i might get the Webcam fixed first. I've disassemble the laptop, but some parts were too difficult for me to get to the ribbon Webcam cable for troubleshooting the Webcam. I will post the progress here...

It is a dual-boot system (called Parallel?) So i've installed Arch Linux and Windows 11 on the same machine, directly with partitioning for Windows and Arch. Regarding the VMware, i have some virtualization software installed on Arch (VirtualBox and VMware) and i don't configure much, leaving it on default mostly, and it might be VMware daemon is trying to access the broken Webcam at startup that is currently having a problem, i'm not really sure (because AFAIK VMware supported webcam on their guest machine)

Offline

Board footer

Powered by FluxBB