Přidat otázku mezi oblíbenéZasílat nové odpovědi e-mailem Přesun fotek na jiné zařízení

Protože mass storage neumí - s tím to bylo jednoduché a kdysi to zařízení uměly normálně.

Defaultně mi to nefunguje.

To znamená, že to u mě přes kabel snadno nejde.

Tak jsem to vyřešil jinak a funguje mi to. Tak uvádím možnou cestu pro ty, kterým to nefunguje jen tak samo od sebe.

---

Když připojím placku s adroidem a přepnu to na ní na "File Transfer/Android Auto", tak na počítači v logu vidím tohle:


[Sat Aug 22 17:30:27 2026] usb 3-2: new high-speed USB device number 8 using xhci_hcd
[Sat Aug 22 17:30:27 2026] usb 3-2: New USB device found, idVendor=2717, idProduct=ff40, bcdDevice= 2.23
[Sat Aug 22 17:30:27 2026] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[Sat Aug 22 17:30:27 2026] usb 3-2: Product: REDMI Note 15
[Sat Aug 22 17:30:27 2026] usb 3-2: Manufacturer: Xiaomi
[Sat Aug 22 17:30:27 2026] usb 3-2: SerialNumber: mfgmkzxow4u4aa4t

Čili kabel je datový a základní USB data přenese, ale žádný připojitelný device se nevytvořil.

naproti tomu, když připojím třeba Arduino, tak je v logu tohle:


[Sat Aug 22 17:41:44 2026] usb 3-2: USB disconnect, device number 8
[Sat Aug 22 17:41:54 2026] usb 5-4: new full-speed USB device number 2 using xhci_hcd
[Sat Aug 22 17:41:54 2026] usb 5-4: New USB device found, idVendor=2341, idProduct=0042, bcdDevice= 0.01
[Sat Aug 22 17:41:54 2026] usb 5-4: New USB device strings: Mfr=1, Product=2, SerialNumber=220
[Sat Aug 22 17:41:54 2026] usb 5-4: Product: Arduino Mega 2560
[Sat Aug 22 17:41:54 2026] usb 5-4: Manufacturer: Arduino (www.arduino.cc)
[Sat Aug 22 17:41:54 2026] usb 5-4: SerialNumber: 12450511101156740650
[Sat Aug 22 17:41:54 2026] cdc_acm 5-4:1.0: ttyACM0: USB ACM device

a vytvoří se /dev/ttyACM0 pro sériové připojení

když připojím flešku, tak tam je


[Sat Aug 22 17:43:13 2026] usb 4-2: new SuperSpeed USB device number 2 using xhci_hcd
[Sat Aug 22 17:43:13 2026] usb 4-2: New USB device found, idVendor=0951, idProduct=1666, bcdDevice= 0.01
[Sat Aug 22 17:43:13 2026] usb 4-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[Sat Aug 22 17:43:13 2026] usb 4-2: Product: DataTraveler 3.0
[Sat Aug 22 17:43:13 2026] usb 4-2: Manufacturer: Kingston
[Sat Aug 22 17:43:13 2026] usb 4-2: SerialNumber: E0D55EA57414F3B0A89F0996
[Sat Aug 22 17:43:13 2026] usb-storage 4-2:1.0: USB Mass Storage device detected
[Sat Aug 22 17:43:13 2026] scsi host9: usb-storage 4-2:1.0
[Sat Aug 22 17:43:14 2026] scsi 9:0:0:0: Direct-Access     Kingston DataTraveler 3.0      PQ: 0 ANSI: 6
[Sat Aug 22 17:43:14 2026] sd 9:0:0:0: Attached scsi generic sg2 type 0
[Sat Aug 22 17:43:14 2026] sd 9:0:0:0: [sdc] 60437492 512-byte logical blocks: (30.9 GB/28.8 GiB)
[Sat Aug 22 17:43:14 2026] sd 9:0:0:0: [sdc] Write Protect is off
[Sat Aug 22 17:43:14 2026] sd 9:0:0:0: [sdc] Mode Sense: 4f 00 00 00
[Sat Aug 22 17:43:14 2026] sd 9:0:0:0: [sdc] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[Sat Aug 22 17:43:14 2026]  sdc: sdc1 sdc2 sdc3 sdc4
[Sat Aug 22 17:43:14 2026] sd 9:0:0:0: [sdc] Attached SCSI removable disk

a vytvoří se /dev/sdc /dev/sdc1 /dev/sdc2 /dev/sdc3 /dev/sdc4 pro připojení celé flasky a jejích 4 partitions (počet záleží na tom, kolik jich tam skutečně je)

jinak když si vypíšu co to Xiaomi je zač (při pohledu přez USB kabel), tak píše tohle:


Bus 003 Device 011: ID 2717:ff40 Xiaomi Inc. Mi/Redmi series (MTP)
Negotiated speed: High Speed (480Mbps)
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 [unknown]
  bDeviceSubClass         0 [unknown]
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x2717 Xiaomi Inc.
  idProduct          0xff40 Mi/Redmi series (MTP)
  bcdDevice            2.23
  iManufacturer           1 Xiaomi
  iProduct                2 REDMI Note 15
  iSerial                 3 mfgmkzxow4u4aa4t
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x0027
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          4 mtp
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           3
      bInterfaceClass         6 Imaging
      bInterfaceSubClass      1 Still Image Capture
      bInterfaceProtocol      1 Picture Transfer Protocol (PIMA 15470)
      iInterface              5 MTP
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x001c  1x 28 bytes
        bInterval               6
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            0 [unknown]
  bDeviceSubClass         0 [unknown]
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  bNumConfigurations      1

Reakce na odpověď

1 Zadajte svou přezdívku:
2 Napište svou odpověď:
3 Pokud chcete dostat ban, zadejte libovolný text:

Zpět do poradny