Portál AbcLinuxu, 8. května 2025 07:00
# mtp-detect Unable to open ~/.mtpz-data for reading, MTPZ disabled. libmtp version: 1.1.7 Listing raw device(s) Device 0 (VID=04e8 and PID=6860) is a Samsung Galaxy models (MTP). Found 1 device(s): Samsung: Galaxy models (MTP) (04e8:6860) @ bus 2, dev 9 Attempting to connect device(s) ignoring libusb_claim_interface() = -6PTP_ERROR_IO: failed to open session, trying again after resetting USB interface LIBMTP libusb: Attempt to reset device inep: usb_get_endpoint_status(): No such device outep: usb_get_endpoint_status(): No such device libusb_open() failed!: No such device LIBMTP PANIC: Could not init USB on second attempt Unable to open raw device 0 OK.Zatím jsem nenašel co s tím. (zařízení se sice někde zobrazí, ale data se nepřenesou.)
jmtpfs ~/mntOdpojenie telefónu:
fusermount -u ~/mntViac informácií nájdeš tu a tu.
# jmtpfs -l Unable to open ~/.mtpz-data for reading, MTPZ disabled. Device 0 (VID=04e8 and PID=6860) is a Samsung Galaxy models (MTP). Available devices (busLocation, devNum, productId, vendorId, product, vendor): 2, 15, 0x6860, 0x04e8, Galaxy models (MTP), Samsungtohle vypadá že je to OK, ale jakmile se chci s tím bavit
# jmtpfs /mnt/t1 Unable to open ~/.mtpz-data for reading, MTPZ disabled. Device 0 (VID=04e8 and PID=6860) is a Samsung Galaxy models (MTP). ignoring libusb_claim_interface() = -6PTP_ERROR_IO: failed to open session, trying again after resetting USB interface LIBMTP libusb: Attempt to reset device inep: usb_get_endpoint_status(): No such device outep: usb_get_endpoint_status(): No such device libusb_open() failed!: No such device LIBMTP PANIC: Could not init USB on second attempt terminate called after throwing an instance of 'MtpErrorCantOpenDevice' what(): Can't open device Neúspěšně ukončen (SIGABRT)tak se nepřipojí hlášky jsou stejné jak vidno, libmtp připojení neudělá. Samozřejmě vše pod rootem.
/etc/udev/rules.d/51-android.rules
a /etc/udev/rules.d/69-libmtp.rules
a případně do nich přieditovat zařízení, ale já nemám ani jeden.
srp 01 20:37:55 abc kernel: usb 2-1.1: usbfs: process 20785 (jmtpfs) did not claim interface 0 before use srp 01 20:37:56 abc kernel: cdc_acm 2-1.1:1.1: This device cannot do calls on its own. It is not a modem. srp 01 20:37:56 abc kernel: cdc_acm 2-1.1:1.1: ttyACM0: USB ACM device srp 01 20:37:56 abc kernel: usb 2-1.1: USB disconnect, device number 17 srp 01 20:37:56 abc kernel: usb 2-1.1: new high-speed USB device number 18 using ehci-pci srp 01 20:37:56 abc kernel: usb 2-1.1: New USB device found, idVendor=04e8, idProduct=6860 srp 01 20:37:56 abc kernel: usb 2-1.1: New USB device strings: Mfr=2, Product=3, SerialNumber=4 srp 01 20:37:56 abc kernel: usb 2-1.1: Product: SAMSUNG_Android srp 01 20:37:56 abc kernel: usb 2-1.1: Manufacturer: SAMSUNG srp 01 20:37:56 abc kernel: usb 2-1.1: SerialNumber: 3204a55c2f7b71ef srp 01 20:37:56 abc kernel: cdc_acm 2-1.1:1.1: This device cannot do calls on its own. It is not a modem. srp 01 20:37:56 abc kernel: cdc_acm 2-1.1:1.1: ttyACM0: USB ACM device
g [768168.085518] usb 2-1.1: usbfs: process 20785 (jmtpfs) did not claim interface 0 before use [768168.108477] cdc_acm 2-1.1:1.1: This device cannot do calls on its own. It is not a modem. [768168.108522] cdc_acm 2-1.1:1.1: ttyACM0: USB ACM device [768168.108690] usb 2-1.1: USB disconnect, device number 17 [768168.285504] usb 2-1.1: new high-speed USB device number 18 using ehci-pci [768168.372776] usb 2-1.1: New USB device found, idVendor=04e8, idProduct=6860 [768168.372779] usb 2-1.1: New USB device strings: Mfr=2, Product=3, SerialNumber=4 [768168.372780] usb 2-1.1: Product: SAMSUNG_Android [768168.372781] usb 2-1.1: Manufacturer: SAMSUNG [768168.372782] usb 2-1.1: SerialNumber: 3204a55c2f7b71ef
SUBSYSTEM=="usb", ATTR{idVendor}=="04e8", ATTR{idProduct}=="6860", MODE="0666", OWNER="lertimir"lertimir si nahraď za uživateľské meno No a už len reload udev
udevadm control --reload
Možná můj příspěvek bude mimo mísu, ale nedá mi to: Zkontroluj, zda v okamžiku, kdy se pokoušíš udělat mount
toho Android zařízení, je toto zařízení odemknuté a displej svítí (tablet je připraven pro činnost uživatele). Mně totiž taky nešel jeden Android telefon připojit v Linuxu, a toto pomohlo.
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.