I need help detecting USB devices in manjaro xfce

endruschat100

Member
Joined
Jul 24, 2021
Messages
110
Reaction score
9
Credits
810
Yesterday she had installed the xfce version of manjaro online & the USB devices are not recognized! does anyone know a way to help?
 


Brickwizard

Well-Known Member
Joined
Apr 28, 2021
Messages
2,374
Reaction score
1,592
Credits
17,829
please give a better description of what happens and any reports, what is on the pendrives you are using [are they storage or bootable]
 

Brickwizard

Well-Known Member
Joined
Apr 28, 2021
Messages
2,374
Reaction score
1,592
Credits
17,829
found this..

Troubleshooting​

No USB storage devices are acknowledged by the system​

If you have connected your USB storage device to the computer and it is not listed by lsblk or dmesg, ensure that your BIOS has both XHCI Handoff and EHCI Handoff enabled.

USB device detected but not mountable​

If you recently upgraded you kernel, the modules for USB storage for your currently running kernel were removed and replaced with modules for the newly installed kernel. These modules will not be loaded until you reboot and run the new kernel or downgrade the kernel package to one which corresponds with kernel version you are currently running.
 
N

NorthWest

Guest
endruschat1000 wrote:
the USB devices are not recognized!
To find out what usb sockets are available on the computer, and what their drivers are you can run, in a terminal, without any usb attached or plugged in:
Code:
[[email protected] ~]$ lsusb -v |grep -i controller
  iProduct                2 EHCI Host Controller
  iProduct                2 EHCI Host Controller
  iProduct                2 xHCI Host Controller
  iProduct                2 xHCI Host Controller

This says there are four usb ports with the respective drivers they need mentioned.
Then to see if the usb modules/drivers are loaded you can run:
Code:
[[email protected] ~]$ lsmod  | grep -i -e xhci -e ehci
xhci_pci               20480  0
ehci_pci               20480  0
xhci_hcd              311296  1 xhci_pci
ehci_hcd               98304  1 ehci_pci
usbcore               331776  5 xhci_hcd,ehci_pci,usbhid,ehci_hcd,xhci_pci
usb_common             16384  3 xhci_hcd,usbcore,ehci_hcd

This shows all relevant drivers loaded.
That should sort out whether the usbs at the computer end are in order. From the above output, they are.

After that you can start plugging in usbs and watch what the kernel thinks about them with this command which you set up in a terminal, as root, before plugging the usb in. Watch the terminal output as you plug the usb in:

Code:
[[email protected] ~]# dmesg -w
<snip>
[45483.720958] usb 2-5: new high-speed USB device number 4 using xhci_hcd
[45483.926334] usb 2-5: New USB device found, idVendor=18a5, idProduct=0302, bcdDevice=11.00
[45483.926340] usb 2-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[45483.926342] usb 2-5: Product: STORE N GO
[45483.926343] usb 2-5: Manufacturer: Verbatim
[45483.926344] usb 2-5: SerialNumber: 577NXNDOY3AP78JA
[45484.085455] usb-storage 2-5:1.0: USB Mass Storage device detected
[45484.085719] scsi host5: usb-storage 2-5:1.0
[45484.085866] usbcore: registered new interface driver usb-storage
[45484.103010] usbcore: registered new interface driver uas
[45485.775526] scsi 5:0:0:0: Direct-Access     Verbatim STORE N GO       1100 PQ: 0 ANSI: 4
[45485.775828] sd 5:0:0:0: Attached scsi generic sg3 type 0
[45485.776908] sd 5:0:0:0: [sdc] 30720000 512-byte logical blocks: (15.7 GB/14.6 GiB)
[45485.778074] sd 5:0:0:0: [sdc] Write Protect is off
[45485.778085] sd 5:0:0:0: [sdc] Mode Sense: 43 00 00 00
[45485.779256] sd 5:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[45485.812224]  sdc: sdc1
[45485.816323] sd 5:0:0:0: [sdc] Attached SCSI removable disk

The kernel here has seen the usb without a problem. If there is one, it will output some text to declare that.
If the usb has a problem then you might consider reformatting it and checking it again.
 
OP
endruschat100

endruschat100

Member
Joined
Jul 24, 2021
Messages
110
Reaction score
9
Credits
810
thanks for this info & when i connect usb peripheral devices (i didn't notice that yesterday) i have to wait a bit & then i see the devices in the file manager
 

rado84

Well-Known Member
Joined
Feb 25, 2019
Messages
518
Reaction score
447
Credits
2,304
One possible reason for USB sticks not showing up is (I have experienced that myself) if they were yanked off the computer without properly unmounting and ejecting the device first. If yanked, that breaks the file system on the USB stick and when you attach it back to the computer, it can't be recognized, which leads to an undetected device.
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Staff online

Members online


Latest posts

Top