clone 650152 -1
retitle -1 unclear error message for unsupported devices (Transport endpoint is 
not connected)
severity -1 minor
reassign 650152 libmtp8 1.0.3-1
# hardware support
severity 650152 important
retitle 650152 libmtp: lacks Xoom support (e.g., 18d1:70a8)
fixed 650152 libmtp/1.1.0-3
quit

Hi,

Adam Gerber wrote:

> adam@debian:~$ mtpfs /media/xoom
> adam@debian:~$  ls /media/xoom
> ls: cannot access /media/xoom: Transport endpoint is not connected

Yes, I can reproduce this.

First I tried to reproduce it with mtpfs 0.9-3+b1 and libmtp9 1.1.1-1
and failed.  Accessing the xoom worked.  But after disconnecting the
tablet, downgrading to mtpfs 0.9-3 and libmtp8 1.0.3-1, and trying
again, I get:

| $ mtpfs test
| $ echo $?
| 0
| $ ls test
| ls: cannot access test: Transport endpoint is not connected

The error message indicates that "ls" was not able to get the status
of the directory /media/xoom.  "Transport endpoint is not connected"
is ENOTCONN, which means the fuse device is closed (mtpfs probably
exited) but the device is still mounted.

Looking over /usr/share/doc/libmtp8/README.gz, I see that the cause
is probably missing USB IDs in /lib/udev/rules.d/45-libmtp8.rules.
When I install mtp-tools:

| $ mtp-detect
| libmtp version: 1.0.3
|
| Listing raw device(s)
|    No raw devices found.

After upgrading to libmtp9 and unplugging and plugging back in the
device, it works.

| $ mtp-detect
| libmtp version: 1.1.1
| 
| Listing raw device(s)
| Device 0 (VID=18d1 and PID=70a8) is a Google Inc (for Motorola) Xoom (MZ604).
|    Found 1 device(s):
|    Google Inc (for Motorola): Xoom (MZ604) (18d1:70a8) @ bus 1, dev 7
| Attempting to connect device(s)
[...]

Regards,
Jonathan

| $ lsusb -v -s5
| Bus 001 Device 005: ID 18d1:70a8 Google Inc. 
| Device Descriptor:
|   bLength                18
|   bDescriptorType         1
|   bcdUSB               2.00
|   bDeviceClass            0 (Defined at Interface level)
|   bDeviceSubClass         0 
|   bDeviceProtocol         0 
|   bMaxPacketSize0        64
|   idVendor           0x18d1 Google Inc.
|   idProduct          0x70a8 
|   bcdDevice           99.99
|   iManufacturer           1 Motorola
|   iProduct                2 MZ604
|   iSerial                 3 0288500343606317
|   bNumConfigurations      1
|   Configuration Descriptor:
[...]



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to