sudo dmesg | grep usb
sudo lsusb -v
sudo lsusb -v | grep -i power
sudo service udev status
sudo service udev restart
The file or folder udi=/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:01.3/0000:03:00.2/0000:16:08.0/0000:25:00.0/usb3/3-1 does not exist.
sudo apt reinstall udev // no effect
sudo usbview
apt list libusb*
sudo apt install libusb-0.1-4
https://www.cyberciti.biz/security/how-to-protect-linux-against-rogue-usb-devices-using-usbguard/
MTP tranfer works with old 2014 Android smartphone, with 2022 phone do not, but if you allow 2022 phone via USBGuard, at least charging starts working properly.
sudo apt reinstall mtp-tools // no effect
mtp-detect
libmtp version: 1.1.20
Listing raw device(s)
Device 0 (VID=**** and PID=****) is a Samsung Galaxy models (MTP).
Found 1 device(s):
Samsung: Galaxy models (MTP) (****:****) @ bus 3, dev 2
Attempting to connect device(s)
libusb_get_active_config_descriptor(1) failed: No data available
no active configuration, trying to set configuration
libusb_get_active_config_descriptor(2) failed: No data available
LIBMTP PANIC: Unable to initialize device
Unable to open raw device 0
OK.
usbguard list-devices
usbguard allow-device 17
sudo dmesg
Problem was in USBGuard settings. After removal of USBGuard everything works OK.
No comments:
Post a Comment