🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
1 messages
1 total messages Started by Bastian Blank Sun, 18 Oct 2026 12:00
Bug#1151218: libmtp9 - Unable to detect Sony Corp. ILCE-7M4
#1262
Author: Bastian Blank
Date: Sun, 18 Oct 2026 12:00
163 lines
7522 bytes
Package: libmtp9t64
Version: 1.1.23-1
Severity: important
X-Debbugs-Cc: waldi@debian.org

Current libmtp9 is unable to detect a Sony Corp. ILCE-7M4, a somewhat
professional camery, using USB in MTP mode.

| % strace -o trace ./examples/mtp-detect
| libmtp version: 1.1.23
| 
| Listing raw device(s)
|    No raw devices found.

It manages to read the USB descriptor, but does not like it:

| [pid 25417] openat(AT_FDCWD, "/dev/bus/usb/004/002", O_RDWR|O_CLOEXEC) = 7
| [pid 25417] ioctl(7, USBDEVFS_GET_CAPABILITIES, 0x555b3815482c) = 0
| [pid 25417] close(7)                    = 0
| [pid 25417] write(1, "   No raw devices found.\n", 25   No raw devices found.

The complete descriptor as shown by lsusb:

| Bus 004 Device 002: ID 054c:0da6 Sony Corp. ILCE-7M4
| Negotiated speed: SuperSpeed+ (10Gbps)
| Device Descriptor:
|   bLength                18
|   bDescriptorType         1
|   bcdUSB               3.20
|   bDeviceClass            0 [unknown]
|   bDeviceSubClass         0 [unknown]
|   bDeviceProtocol         0 
|   bMaxPacketSize0         9
|   idVendor           0x054c Sony Corp.
|   idProduct          0x0da6 ILCE-7M4
|   bcdDevice            2.00
|   iManufacturer           1 Sony
|   iProduct                2 ILCE-7M4
|   iSerial                 3 XXXXXXXXXXXX
|   bNumConfigurations      1
|   Configuration Descriptor:
|     bLength                 9
|     bDescriptorType         2
|     wTotalLength       0x0039
|     bNumInterfaces          1
|     bConfigurationValue     1
|     iConfiguration          0 
|     bmAttributes         0xc0
|       Self Powered
|     MaxPower                0mA
|     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              0 
|       Endpoint Descriptor:
|         bLength                 7
|         bDescriptorType         5
|         bEndpointAddress     0x81  EP 1 IN
|         bmAttributes            2
|           Transfer Type            Bulk
|           Synch Type               None
|           Usage Type               Data
|         wMaxPacketSize     0x0400  1x 1024 bytes
|         bInterval               0
|         bMaxBurst              15
|       Endpoint Descriptor:
|         bLength                 7
|         bDescriptorType         5
|         bEndpointAddress     0x02  EP 2 OUT
|         bmAttributes            2
|           Transfer Type            Bulk
|           Synch Type               None
|           Usage Type               Data
|         wMaxPacketSize     0x0400  1x 1024 bytes
|         bInterval               0
|         bMaxBurst              15
|       Endpoint Descriptor:
|         bLength                 7
|         bDescriptorType         5
|         bEndpointAddress     0x83  EP 3 IN
|         bmAttributes            3
|           Transfer Type            Interrupt
|           Synch Type               None
|           Usage Type               Data
|         wMaxPacketSize     0x0020  1x 32 bytes
|         bInterval               7
|         bMaxBurst               0
|         wBytesPerInterval      32
| Binary Object Store Descriptor:
|   bLength                 5
|   bDescriptorType        15
|   wTotalLength       0x002a
|   bNumDeviceCaps          3
|   USB 2.0 Extension Device Capability:
|     bLength                 7
|     bDescriptorType        16
|     bDevCapabilityType      2
|     bmAttributes   0x00000006
|       BESL Link Power Management (LPM) Supported
|   SuperSpeed USB Device Capability:
|     bLength                10
|     bDescriptorType        16
|     bDevCapabilityType      3
|     bmAttributes         0x00
|     wSpeedsSupported   0x000e
|       Device can operate at Full Speed (12Mbps)
|       Device can operate at High Speed (480Mbps)
|       Device can operate at SuperSpeed (5Gbps)
|     bFunctionalitySupport   1
|       Lowest fully-functional device speed is Full Speed (12Mbps)
|     bU1DevExitLat          10 micro seconds
|     bU2DevExitLat        2047 micro seconds
|   SuperSpeedPlus USB Device Capability:
|     bLength                20
|     bDescriptorType        16
|     bDevCapabilityType     10
|     bmAttributes         0x00000001
|       Sublink Speed Attribute count 2
|       Sublink Speed ID count 1
|     wFunctionalitySupport   0x1100
|       Min functional Speed Attribute ID: 0
|       Min functional RX lanes: 1
|       Min functional TX lanes: 1
|     bmSublinkSpeedAttr[0]   0x000a4030
|       Speed Attribute ID: 0 10Gb/s Symmetric RX SuperSpeedPlus
|     bmSublinkSpeedAttr[1]   0x000a40b0
|       Speed Attribute ID: 0 10Gb/s Symmetric TX SuperSpeedPlus
| Device Status:     0x0001
|   Self Powered



-- System Information:
Debian Release: forky/sid
  APT prefers testing
  APT policy: (700, 'testing'), (500, 'unstable-debug'), (500, 'stable-updates'), (500, 'oldstable-updates'), (500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 7.2.11+deb14-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libmtp9t64 depends on:
ii  libc6          2.43-7
ii  libgcrypt20    1.12.4-2
ii  libmtp-common  1.1.23-1
ii  libusb-1.0-0   2:1.0.30-1

Versions of packages libmtp9t64 recommends:
ii  libmtp-runtime  1.1.23-1
ii  udev            262-1

libmtp9t64 suggests no packages.

-- no debconf information
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads