🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #1262

Bug#1151218: libmtp9 - Unable to detect Sony Corp. ILCE-7M4

#1262
From: 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
Technical Details
Message-ID: <NPxIt-6krt-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!bofh.it!news.nic.it!robomod
From: Bastian Blank <waldi@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1151218: libmtp9 - Unable to detect Sony Corp. ILCE-7M4
Date: Sun, 18 Oct 2026 14:00:01 +0200
Message-ID: <NPxIt-6krt-1@gated-at.bofh.it>
X-Original-To: Debian Bug Tracking System <submit@bugs.debian.org>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Sun Oct 18 11:51:08 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.9
Reply-To: Bastian Blank <waldi@debian.org>, 1151218@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: waldi@debian.org, alessio@debian.org
X-Debian-Pr-Message: report 1151218
X-Debian-Pr-Package: libmtp9t64
X-Debian-Pr-Source: libmtp
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Mailer: reportbug 13.2.0+nmu1
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1997384
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 163
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Sun, 18 Oct 2026 13:48:30 +0200
X-Original-Message-ID: <179232411043.25497.3723507524512361329.reportbug@steamhammer.waldi.eu.org>