Usb ports , maybe drivers

not sure what category this belongs in . searched topics . don’t know

hi, have new install of xfce also new user for Manjaro period. before I came to Manjaro I was in another Linux . plugged in 500 gb old sata drive to usb on desktop ; drive w/ 2 ext4 partitions ; one empty partition one 184 gigs storage. attempted to move /empty copy/paste from internal 500 gb nvme2 - to usb sata drive . both folder windows depopulated and disappeared. thought I overworked old sata drive. killed it.
moving ahead. installed Manjaro to new nvme2 1tb type c external usb enclosure . love Manjaro . emptied internal nvme2 - to external enclosure drive. reformatted internal to ext 4.
used testdisk on old sata drive- recovered all data. :rofl:
all good with Manjaro… except started not seeing usb devices- at 1st intermittent now not at all . last instance - plugged in mp3/mp4 player ; also android phone . icon on desktop try to mount - nothing .
my best ideas - need to flash bios or - usb drivers ? or- usb ports are bad ? controllers ?
any help/ideas are appreciated

                   thank you

edit-
I plugged in small usb 12v fan . it works

next -

[bloinal@ME ~]$ inxi --admin --verbosity=7 --filter --width
System:
  Kernel: 5.15.28-1-MANJARO x86_64 bits: 64 compiler: gcc v: 11.2.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-5.15-x86_64
    root=UUID=ba28c318-146c-45dd-b1c0-69204d4da5e3 rw quiet
    udev.log_priority=3
  Desktop: Xfce 4.16.0 tk: Gtk 3.24.29 info: xfce4-panel wm: xfwm 4.16.1
    vt: 7 dm: LightDM 1.30.0 Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Desktop System: ASUS product: N/A v: N/A serial: <superuser required>
  Mobo: ASUSTeK model: TUF GAMING B550-PLUS v: Rev X.0x
    serial: <superuser required> UEFI: American Megatrends v: 0243
    date: 04/29/2020
Battery:
  Message: No system battery data found. Is one present?
Memory:
  RAM: total: 15.58 GiB used: 4.62 GiB (29.6%)
  RAM Report:
    permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: model: AMD Ryzen 5 3600 bits: 64 type: MT MCP arch: Zen 2
    family: 0x17 (23) model-id: 0x71 (113) stepping: 0 microcode: 0x8701021
  Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
    L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 3 MiB desc: 6x512 KiB
    L3: 32 MiB desc: 2x16 MiB
  Speed (MHz): avg: 2281 high: 3593 min/max: 2200/4208 boost: enabled
    scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 2195 2: 2196
    3: 2052 4: 2195 5: 2194 6: 2214 7: 3593 8: 2088 9: 2059 10: 2196 11: 2195
    12: 2196 bogomips: 86262
  Flags: 3dnowprefetch abm adx aes aperfmperf apic arat avic avx avx2 bmi1
    bmi2 bpext cat_l3 cdp_l3 clflush clflushopt clwb clzero cmov cmp_legacy
    constant_tsc cpb cpuid cqm cqm_llc cqm_mbm_local cqm_mbm_total
    cqm_occup_llc cr8_legacy cx16 cx8 de decodeassists extapic extd_apicid
    f16c flushbyasid fma fpu fsgsbase fxsr fxsr_opt ht hw_pstate ibpb ibs
    irperf lahf_lm lbrv lm mba mca mce misalignsse mmx mmxext monitor movbe
    msr mtrr mwaitx nonstop_tsc nopl npt nrip_save nx osvw overflow_recov pae
    pat pausefilter pclmulqdq pdpe1gb perfctr_core perfctr_llc perfctr_nb
    pfthreshold pge pni popcnt pse pse36 rapl rdpid rdpru rdrand rdseed rdt_a
    rdtscp rep_good sep sev sev_es sha_ni skinit smap smca sme smep ssbd sse
    sse2 sse4_1 sse4_2 sse4a ssse3 stibp succor svm svm_lock syscall tce
    topoext tsc tsc_scale umip v_spec_ctrl v_vmsave_vmload vgif vmcb_clean vme
    vmmcall wbnoinvd wdt xgetbv1 xsave xsavec xsaveerptr xsaveopt xsaves
  Vulnerabilities:
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: spec_store_bypass
    mitigation: Speculative Store Bypass disabled via prctl and seccomp
  Type: spectre_v1
    mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2
    mitigation: Retpolines, IBPB: conditional, STIBP: conditional, RSB filling
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: NVIDIA TU116 [GeForce GTX 1660 SUPER] vendor: Micro-Star MSI
    driver: nvidia v: 510.54 alternate: nouveau,nvidia_drm pcie: gen: 1
    speed: 2.5 GT/s lanes: 16 link-max: gen: 3 speed: 8 GT/s bus-ID: 06:00.0
    chip-ID: 10de:21c4 class-ID: 0300
  Display: x11 server: X.Org v: 1.21.1.3 compositor: xfwm v: 4.16.1 driver:
    X: loaded: nvidia gpu: nvidia display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 69 s-size: 707x392mm (27.8x15.4")
    s-diag: 808mm (31.8") monitors: <missing: xrandr>
  Message: Unable to show GL data. Required tool glxinfo missing.
Audio:
  Device-1: NVIDIA TU116 High Definition Audio vendor: Micro-Star MSI
    driver: snd_hda_intel v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 16
    link-max: gen: 3 speed: 8 GT/s bus-ID: 06:00.1 chip-ID: 10de:1aeb
    class-ID: 0403
  Device-2: AMD Starship/Matisse HD Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
    bus-ID: 08:00.4 chip-ID: 1022:1487 class-ID: 0403
  Sound Server-1: ALSA v: k5.15.28-1-MANJARO running: yes
  Sound Server-2: JACK v: 1.9.20 running: no
  Sound Server-3: PulseAudio v: 15.0 running: yes
Network:
  Device-1: Realtek RTL8125 2.5GbE vendor: ASUSTeK driver: r8169 v: kernel
    modules: r8125 pcie: gen: 2 speed: 5 GT/s lanes: 1 port: f000
    bus-ID: 05:00.0 chip-ID: 10ec:8125 class-ID: 0200
  IF: enp5s0 state: up speed: 2500 Mbps duplex: full mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: dynamic noprefixroute scope: global
  IP v6: <filter> type: noprefixroute scope: link
  WAN IP: <filter>
Bluetooth:
  Message: No bluetooth data found.
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 1.82 TiB used: 245.97 GiB (13.2%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Sabrent model: Rocket 4.0 500GB
    size: 465.76 GiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s
    lanes: 4 type: SSD serial: <filter> rev: RKT401.2 temp: 33.9 C scheme: GPT
  ID-2: /dev/sda maj-min: 8:0 vendor: Crucial model: CT500MX500SSD1
    size: 465.76 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
    type: SSD serial: <filter> rev: 023 scheme: GPT
  ID-3: /dev/sdb maj-min: 8:16 type: USB model: SSK SSK Storage
    size: 931.51 GiB block-size: physical: 4096 B logical: 512 B type: N/A
    serial: <filter> rev: 0212 scheme: GPT
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 931.22 GiB size: 915.53 GiB (98.32%)
    used: 245.97 GiB (26.9%) fs: ext4 dev: /dev/sdb2 maj-min: 8:18 label: N/A
    uuid: ba28c318-146c-45dd-b1c0-69204d4da5e3
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 288 KiB (0.1%) fs: vfat dev: /dev/sdb1 maj-min: 8:17 label: NO_LABEL
    uuid: 4CEF-2CDD
Swap:
  Alert: No swap data was found.
Unmounted:
  ID-1: /dev/sda1 maj-min: 8:1 size: 465.76 GiB fs: ext4 label: N/A
    uuid: 40db2303-c70f-4479-abfb-c57672dcb66e
USB:
  Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 10 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 1-2:2 info: SINOWEALTH Wired Gaming Mouse type: Mouse,Keyboard
    driver: hid-generic,usbhid interfaces: 2 rev: 1.1 speed: 12 Mb/s
    power: 480mA chip-ID: 258a:1007 class-ID: 0301
  Device-2: 1-6:3 info: ASUSTek AURA LED Controller type: HID
    driver: hid-generic,usbhid interfaces: 2 rev: 2.0 speed: 12 Mb/s power: 16mA
    chip-ID: 0b05:1939 class-ID: 0300 serial: <filter>
  Hub-2: 1-7:4 info: Genesys Logic Hub ports: 4 rev: 2.0 speed: 480 Mb/s
    power: 100mA chip-ID: 05e3:0610 class-ID: 0900
  Hub-3: 2-0:1 info: Super-speed hub ports: 4 rev: 3.1 speed: 10 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
  Hub-4: 3-0:1 info: Hi-speed hub with single TT ports: 2 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Hub-5: 4-0:1 info: Super-speed hub ports: 4 rev: 3.1 speed: 10 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
  Hub-6: 5-0:1 info: Hi-speed hub with single TT ports: 4 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 5-1:2 info: Logitech Classic Keyboard 200 type: Keyboard
    driver: hid-generic,usbhid interfaces: 1 rev: 1.1 speed: 1.5 Mb/s
    power: 100mA chip-ID: 046d:c315 class-ID: 0301
  Device-2: 5-4:4 info: JMicron / USA SSK Storage type: Mass Storage
    driver: uas interfaces: 1 rev: 2.1 speed: 480 Mb/s power: 500mA
    chip-ID: 152d:a583 class-ID: 0806 serial: <filter>
  Hub-7: 6-0:1 info: Super-speed hub ports: 4 rev: 3.1 speed: 10 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
Sensors:
  System Temperatures: cpu: N/A mobo: N/A gpu: nvidia temp: 33 C
  Fan Speeds (RPM): N/A gpu: nvidia fan: 43%
Info:
  Processes: 294 Uptime: 4h 47m wakeups: 0 Init: systemd v: 250
  tool: systemctl Compilers: gcc: 11.2.0 clang: 13.0.1 Packages: pacman: 1031
  lib: 309 Shell: Bash v: 5.1.16 running-in: xfce4-terminal inxi: 3.3.13

I hope this is better and correct


Moderator edit: Formatting

1 Like
Mar 16 15:17:08 ME kernel: __common_interrupt: 1.55 No irq handler for vector
Mar 16 15:17:08 ME kernel: __common_interrupt: 2.55 No irq handler for vector
Mar 16 15:17:08 ME kernel: __common_interrupt: 3.55 No irq handler for vector
Mar 16 15:17:08 ME kernel: __common_interrupt: 4.55 No irq handler for vector
Mar 16 15:17:08 ME kernel: __common_interrupt: 5.55 No irq handler for vector
Mar 16 15:17:08 ME kernel: __common_interrupt: 6.55 No irq handler for vector
Mar 16 15:17:08 ME kernel: __common_interrupt: 7.55 No irq handler for vector
Mar 16 15:17:08 ME kernel: __common_interrupt: 8.55 No irq handler for vector
Mar 16 15:17:08 ME kernel: __common_interrupt: 9.55 No irq handler for vector
Mar 16 15:17:08 ME kernel: __common_interrupt: 10.55 No irq handler for vector
Mar 16 15:17:10 ME kernel: 
Mar 16 15:17:10 ME kernel: kvm: disabled by bios
Mar 16 15:17:10 ME kernel: kvm: disabled by bios
Mar 16 15:17:10 ME kernel: kvm: disabled by bios
Mar 16 15:17:10 ME kernel: kvm: disabled by bios
Mar 16 15:17:10 ME kernel: kvm: disabled by bios
Mar 16 15:17:10 ME kernel: kvm: disabled by bios
Mar 16 15:17:10 ME kernel: kvm: disabled by bios
Mar 16 15:17:11 ME kernel: kvm: disabled by bios
Mar 16 15:17:11 ME kernel: nvidia-gpu 0000:06:00.3: i2c timeout error e0000000
Mar 16 15:17:11 ME kernel: ucsi_ccg 3-0008: i2c_transfer failed -110
Mar 16 15:17:11 ME kernel: ucsi_ccg 3-0008: ucsi_ccg_init failed - -110
Mar 16 15:17:11 ME kernel: kvm: disabled by bios
Mar 16 15:17:43 ME lightdm[1234]: gkr-pam: unable to locate daemon control file
Mar 16 15:18:13 ME pulseaudio[1331]: GetManagedObjects() failed: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application>
~

Moderator edit: Formatting

Please clean your posts. :dizzy_face:

also - per this - [HowTo] Find error logs
I found this-

#!/bin/sh
# SPDX-License-Identifier: GPL-2.0-or-later
#
# Copyright (c) 2009 Greg Kroah-Hartman <greg@kroah.com>
# Copyright (c) 2009 Randy Dunlap <rdunlap@xenotime.net>
# Copyright (c) 2009 Frans Pop <elendil@planet.nl>

print_string() {
	file=$1
	name=$2
	if [ -f $file ]; then
		echo "S:  $name=`cat $file`"
	fi
}

class_decode() {
	class=$1		# v4: in hex

	case $class in
	"00") echo ">ifc " ;;
	"01") echo "audio" ;;
	"02") echo "commc" ;;
	"03") echo "HID  " ;;
	"05") echo "PID  " ;;
	"06") echo "still" ;;
	"07") echo "print" ;;
	"08") echo "stor." ;;
	"09") echo "hub  " ;;
	"0a") echo "data " ;;
	"0b") echo "scard" ;;
	"0d") echo "c-sec" ;;
	"0e") echo "video" ;;
	"0f") echo "perhc" ;;
	"10") echo "av   " ;;
	"11") echo "blbrd" ;;
	"12") echo "bridg" ;;
	"dc") echo "diagd" ;;
	"e0") echo "wlcon" ;;
	"ef") echo "misc " ;;
	"fe") echo "app. " ;;
	"ff") echo "vend." ;;
	"*")  echo "unk. " ;;
	esac
}

print_endpoint() {
	eppath=$1

	addr=`cat $eppath/bEndpointAddress`
	attr=`cat $eppath/bmAttributes`
	dir=`cat $eppath/direction`
    if [ "$dir" = in ]; then
        dir=I
    elif [ "$dir" = out ]; then
        dir=O
    elif [ "$dir" = both ]; then
        dir=B
    fi
	eptype=`cat $eppath/type`
    if [ "$eptype" = Control ]; then
        eptype="Ctrl"
    elif [ "$eptype" = Interrupt ]; then
        eptype="Int."
    fi
	maxps_hex="0x`cat $eppath/wMaxPacketSize`"
	# Extract MaxPS size (bits 0-10) and multiplicity values (bits 11-12)
	maxps=$((`printf "%4i*%s\n" $(($maxps_hex & 0x7ff)) \
                $((1 + (($maxps_hex >> 11) & 0x3)))`))
	interval=`cat $eppath/interval`

	printf "E:  Ad=%s(%s) Atr=%s(%s) MxPS=%4s Ivl=%s\n" \
		$addr $dir $attr $eptype "$maxps" $interval
}

print_interface() {
	ifpath=$1

	ifnum=`cat $ifpath/bInterfaceNumber`
	altset=`cat $ifpath/bAlternateSetting`
	numeps=`cat $ifpath/bNumEndpoints`
	class=`cat $ifpath/bInterfaceClass`
	subclass=`cat $ifpath/bInterfaceSubClass`
	protocol=`cat $ifpath/bInterfaceProtocol`
	if [ -L $ifpath/driver ]; then		# v4: allow for no driver
		driver=`readlink $ifpath/driver`
		driver=`basename "$driver"`
	else
		driver="(none)"
	fi
	classname=`class_decode $class`
	printf "I:  If#=%2i Alt=%2i #EPs=%2i Cls=%s(%s) Sub=%s Prot=%s Driver=%s\n" \
		0x${ifnum#0} ${altset#0} 0x${numeps#0} $class "$classname" $subclass \
		$protocol $driver

	for endpoint in $ifpath/ep_??
	do
		if [ -L $endpoint ] || [ -d $endpoint ]; then	# v4: verify endpoint exists
			print_endpoint $endpoint
		fi
	done
}

print_device() {
	devpath=$1
	parent=$2
	level=$3
	count=$4

	[ -d $devpath ] || return
	cd $devpath

	busnum=`cat busnum`
	devnum=`cat devnum`

	if [ $level -gt 0 ]; then
		port=$((${devpath##*[-.]} - 1))
	else
		port=0
	fi
	speed=`cat speed`
	maxchild=`cat maxchild`
	printf "\nT:  Bus=%02i Lev=%02i Prnt=%02i Port=%02i Cnt=%02i Dev#=%3i Spd=%-3s MxCh=%2i\n" \
		$busnum $level $parent $port $count $devnum $speed $maxchild

	ver=`cat version`
	devclass=`cat bDeviceClass`
	devsubclass=`cat bDeviceSubClass`
	devprotocol=`cat bDeviceProtocol`
	maxps0=`cat bMaxPacketSize0`
	numconfigs=`cat bNumConfigurations`
	classname=`class_decode $devclass`
	printf "D:  Ver=%5s Cls=%s(%s) Sub=%s Prot=%s MxPS=%2i #Cfgs=%3i\n" \
		$ver $devclass "$classname" $devsubclass $devprotocol \
		$maxps0 $numconfigs

	vendid=`cat idVendor`
	prodid=`cat idProduct`
	revmajor=`cat bcdDevice | cut -c 1-2`
	revminor=`cat bcdDevice | cut -c 3-4`
	printf "P:  Vendor=%s ProdID=%s Rev=%s.%s\n" \
		$vendid $prodid $revmajor $revminor

	print_string manufacturer "Manufacturer"
	print_string product Product
	print_string serial SerialNumber

	numifs=`cat bNumInterfaces`
	cfgnum=`cat bConfigurationValue`
	attr=`cat bmAttributes`
	maxpower=`cat bMaxPower`
	printf "C:  #Ifs=%2i Cfg#=%2i Atr=%s MxPwr=%s\n" \
		$numifs $cfgnum $attr $maxpower

	# There's not really any useful info in endpoint 00
	#print_endpoint $devpath/ep_00

	for interface in $busnum-*:?.*
	do
		print_interface $devpath/$interface
	done

	devcount=0
	for subdev in $busnum-*
	do
		echo "$subdev" | grep -Eq "^$busnum-[0-9]+(\.[0-9]+)*$" \
			|| continue

		devcount=$(($devcount + 1))
		if [ -d $devpath/$subdev ]; then
			print_device $devpath/$subdev \
				$devnum $(($level +1)) $devcount
		fi
	done
}

if [ ! -d /sys/bus ]; then
	echo "Error: directory /sys/bus does not exist; is sysfs mounted?" >&2
	exit 1
fi

for device in /sys/bus/usb/devices/usb*
do
	print_device $device 0 0 0
done

I don’t know how to read this so I don’t know if it’s pertinent or relevant–

Preformatted text

You can try turning off (USB) power saving features by editing (as sudo) etc/tlp.conf or install the GUI for tlp (tlpiu) and go for it there.

Or in GRUB, you can try by adding (as sudo) usbcore.autosuspend=-1 to GRUB_CMDLINE_LINUX_DEFAULT the
sudo update-grub

and see if it helps any. Both are easily reversible.

Your UEFI/BIOS is way out of date:

jrichard326

hate to say this , but I’ve never edited a file , like a config file. every time I try to cd into a directory it failed . I think we don’t “cd” here in this terminal . at any rate I don’t know these things .
I explored tlp in my cli and it shows it enabled ; beyond that I don’t know if it’s useful for my situation . if so, ?

I see your addition about my bios being out of date . I’ll research and watch vids about yet again something I’ve never done . thank you .

Mm like @jrichard326 said i would update the bios/uefi first

And second the simplest way is to remove tlp with package manager (pamac) and see if that helps.
And you can check the usb device at terminal:
lsusb (this will list all connected usb devices found by kernel, to exclude a hardware/driver issue)

1 Like

bikehunter666

thanks a lot. I’m working on updating bios now ;
lsusb shows 5 out of what I think should be 6 ; according to inxi --admin --verbosity=7 --filter --width
I think the 6th may be the thunderbolt port - which is not in use . not sure if that’s correct . not sure if I’m reading all that right.

edit: I revisited lsusb and I see all 6 . there is I think , nothing shown for thunderbolt .

  jrichard326    ,     bikehunter666

Version 2604
2022/03/07 20.26 MBytes

TUF GAMING B550-PLUS BIOS 2604

  1. Update AMD AM4 AGESA V2 PI 1.2.0.6b

  2. Improve system performance and stability

  3. Improve system performance for AMD Ryzen 7 5800X3D

Before running the USB BIOS Flashback tool, please rename the BIOS file (TGB550PS.CAP) using BIOSRenamer.

I have a ryzen 5 3600 ; this this bios update is for a 7 . I’ve researched on google and asus and don’t find anything explicit about this . do you know if this update is absolutely correct. safe ?

BIOS Updates are cumulative: There were USB fixes in one of the descriptions e.g:

Version 2006

2021/04/08 20.03 MBytes

TUF GAMING B550-PLUS BIOS 2006
"- Update AMD AM4 AGESA V2 PI 1.2.0.1 Patch A
- Fix USB connectivity issue
Before running the USB BIOS Flashback tool, please rename the BIOS file (TGB550PS.CAP) using BIOSRenamer."

I’ll continue

should I format the usb to fat 32 ? or is ext4 ok ?

https://www.asus.com/support/FAQ/1012815/

maycne.sonahoz

thank you.

It’s going on a half hour since I started the flash. I googled it and what I saw said it should be done in 8 minutes. The light is still on at the flash button. Asus video says when the light stops it’s done. I’m wondering if I’m toast