Gentoo Archives: gentoo-user

From: Michael Mol <mikemol@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Banshee, MTP, hotplug, no GNOME
Date: Fri, 07 Oct 2011 22:29:36
Message-Id: CA+czFiAsEyi=8pkRTPF6VwN1JZmCPP1ZEuez04UtHS8RS63Tzw@mail.gmail.com
1 So, I have a Motorola Xoom. Unlike almost every other USB device I've
2 used, the Xoom appears to the USB host using the MTP protocol, rather
3 than the USB Mass Storage profile. What this means is that there won't
4 be any /dev/sd* device popping up for me to mount and copy files
5 around.
6
7 I've emerged banshee to use as a music player/library manager on my
8 desktop system. My desktop system does not run GNOME, and I've got
9 -gnome in make.conf.
10
11 According to banshee's docs, I should be able to simply plug in my MTP
12 device, and Banshee, banshee will see it, and things should happen
13 automagically. Trouble is, it doesn't. When I plug in my MTP device, I
14 see this in dmesg:
15
16 [1186768.331810] hub 1-0:1.0: state 7 ports 6 chg 0000 evt 0020
17 [1186768.331828] ehci_hcd 0000:00:12.2: GetStatus port:5 status 001803
18 0 ACK POWER sig=j CSC CONNECT
19 [1186768.331842] hub 1-0:1.0: port 5, status 0501, change 0001, 480 Mb/s
20 [1186768.437035] hub 1-0:1.0: debounce: port 5: total 100ms stable
21 100ms status 0x501
22 [1186768.489033] ehci_hcd 0000:00:12.2: port 5 high speed
23 [1186768.489046] ehci_hcd 0000:00:12.2: GetStatus port:5 status 001005
24 0 ACK POWER sig=se0 PE CONNECT
25 [1186768.541032] usb 1-5: new high speed USB device number 26 using ehci_hcd
26 [1186768.594069] ehci_hcd 0000:00:12.2: port 5 high speed
27 [1186768.594082] ehci_hcd 0000:00:12.2: GetStatus port:5 status 001005
28 0 ACK POWER sig=se0 PE CONNECT
29 [1186768.668480] usb 1-5: default language 0x0409
30 [1186768.674472] usb 1-5: udev 26, busnum 1, minor = 25
31 [1186768.674479] usb 1-5: New USB device found, idVendor=18d1, idProduct=70a8
32 [1186768.674485] usb 1-5: New USB device strings: Mfr=1, Product=2,
33 SerialNumber=3
34 [1186768.674489] usb 1-5: Product: MZ604
35 [1186768.674493] usb 1-5: Manufacturer: Motorola
36 [1186768.674496] usb 1-5: SerialNumber: 028040c740e0a0d7
37 [1186768.674633] usb 1-5: usb_probe_device
38 [1186768.674640] usb 1-5: configuration #1 chosen from 1 choice
39 [1186768.676227] usb 1-5: adding 1-5:1.0 (config #1, interface 0)
40 [1186768.677588] usbtest 1-5:1.0: usb_probe_interface
41 [1186768.677595] usbtest 1-5:1.0: usb_probe_interface - got id
42 [1186768.677723] drivers/usb/core/inode.c: creating file '026'
43
44 ... but banshee doesn't see anything.
45
46 Now, my guess is that banshee was listening somewhere for an event to
47 tell it that a device was plugged in. D-Bus is installed and running,
48 udev saw the device, so I don't know where the disconnect is.
49
50 FWIW, I have the 'mtp', 'dbus' and '-gnome' USE flags in /etc/make.conf.
51
52 --
53 :wq