Connecting Phone to PC does not work

Bug #1434992 reported by Felix Wilke
42
This bug affects 7 people
Affects Status Importance Assigned to Milestone
ciborium (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Hello,
I have a BQ Ubuntu phone. The help pages state, that data transfer between the phone and my pc should work simply by using an usb connection. That does not work on my 14.04.01 Laptop. In fact noting happens. There is neither a dialog nor any external drive shown

In case this might help in some way, lsusb gives the following output:
felix@felix-ThinkPad-X121e:~$ lsusb
Bus 002 Device 008: ID 5986:01a6 Acer, Inc Lenovo Integrated Webcam
Bus 002 Device 003: ID 093a:2510 Pixart Imaging, Inc. Optical Mouse
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

How to reproduce:
-Switch ubuntu phone on
- Connect it to Ubuntu Laptop via USB

Revision history for this message
Tony Scott (tonyscott) wrote :

Same problem here using the BQ phone and Ubuntu 14.04.01.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ciborium (Ubuntu):
status: New → Confirmed
Revision history for this message
Tony Scott (tonyscott) wrote :

Further to comment #1 the problem with connecting a BQ phone via USB refers to a Thinkpad T410 running Ubuntu 14.04.01.

However, just tried connUbuntu 14.04.01 via USB to Asus X101CH and it all works - ie the phone's home directory appears automatically mounted on the laptop when logged into the phone.

I note the original bug description also refers to a Thinkpad.

Revision history for this message
Tony Scott (tonyscott) wrote :

Typo in para 2 of comment #3 - it all should read:

Further to comment #1 the problem with connecting a BQ phone via USB refers to a Thinkpad T410 running Ubuntu 14.04.01.

However, just tried connecting the BQ via USB to Asus X101CH running Ubuntu 14.04.01 and it all works - ie the phone's home directory appears automatically mounted on the laptop when logged into the phone.

I note the original bug description also refers to a Thinkpad.

Revision history for this message
Felix Wilke (felixw83) wrote :

Thanks Tony,
I have a Thinkpad X121e. I just tried it on another Laptop. It works like without any problems there.

Revision history for this message
Tony Scott (tonyscott) wrote :

Hi Felix

Sounds like there could possibly be problems with Thinkpads.

Cheers

Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) wrote :

Did you unlock your phone (type in pin on the lock screen)?

The phone only presents Music, Documents, Videos, Downloads and Pictures folders over MTP (e.g. in Nautilus) once the phone is unlocked.

I use thinkpads and it works fine on my x61s and x220, it's unlikely to be specific to thinkpads.

Revision history for this message
Felix (felixw83-z) wrote : Re: [Bug 1434992] Connecting Phone to PC does not work

Yes. I did. And on a different laptop it works without any problems.

Auf Donnerstag, 26. März 2015 18:20:45 CET,Alan Pope  geschrieben:
> Did you unlock your phone (type in pin on the lock screen)?
>
> The phone only presents Music, Documents, Videos, Downloads and Pictures
> folders over MTP (e.g. in Nautilus) once the phone is unlocked.
>
> I use thinkpads and it works fine on my x61s and x220, it's unlikely to
> be specific to thinkpads.
>

--
Versandt, mit Dekko von meinem Ubuntu-Gerät

Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) wrote :

Unplug phone.
On your PC run:-

sudo tail -f /var/log/syslog

Then plug phone in. This is what I see (on my 15.04 thinkpad). Screenshot shows what I see in Nautilus.

Mar 26 18:07:11 deep-thought kernel: [ 8839.847008] usb 4-1.2: new high-speed USB device number 4 using ehci-pci
Mar 26 18:07:11 deep-thought kernel: [ 8839.939760] usb 4-1.2: New USB device found, idVendor=2a47, idProduct=0c02
Mar 26 18:07:11 deep-thought kernel: [ 8839.939767] usb 4-1.2: New USB device strings: Mfr=2, Product=3, SerialNumber=4
Mar 26 18:07:11 deep-thought kernel: [ 8839.939779] usb 4-1.2: Product: Aquaris_E4.5
Mar 26 18:07:11 deep-thought kernel: [ 8839.939782] usb 4-1.2: Manufacturer: BQ
Mar 26 18:07:11 deep-thought kernel: [ 8839.939785] usb 4-1.2: SerialNumber: JU003534
Mar 26 18:07:11 deep-thought org.gtk.vfs.Daemon[10362]: PTP: reading event an error 0x02ff occurredUnable to open ~/.mtpz-data for reading, MTPZ disabled.
Mar 26 18:07:11 deep-thought org.gtk.vfs.Daemon[10362]: Device 0 (VID=2a47 and PID=0c02) is a bq Krillin (MTP+ADB).

Revision history for this message
Felix (felixw83-z) wrote : Re: [Bug 1434992] Re: Connecting Phone to PC does not work
Download full text (3.7 KiB)

Here is my output:

Mar 26 19:21:21 felix-ThinkPad-X121e kernel: [30941.965745] usb 2-1.2: new
high-speed USB device number 31 using ehci-pci
Mar 26 19:21:21 felix-ThinkPad-X121e kernel: [30942.059307] usb 2-1.2: New
USB device found, idVendor=2a47, idProduct=0c02
Mar 26 19:21:21 felix-ThinkPad-X121e kernel: [30942.059318] usb 2-1.2: New
USB device strings: Mfr=2, Product=3, SerialNumber=4
Mar 26 19:21:21 felix-ThinkPad-X121e kernel: [30942.059324] usb 2-1.2:
Product: Aquaris_E4.5
Mar 26 19:21:21 felix-ThinkPad-X121e kernel: [30942.059329] usb 2-1.2:
Manufacturer: BQ
Mar 26 19:21:21 felix-ThinkPad-X121e kernel: [30942.059333] usb 2-1.2:
SerialNumber: JU001349
Mar 26 19:21:21 felix-ThinkPad-X121e mtp-probe: checking bus 2, device 31:
"/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2"
Mar 26 19:21:21 felix-ThinkPad-X121e mtp-probe: bus: 2, device: 31 was not
an MTP device
Mar 26 19:21:47 felix-ThinkPad-X121e wpa_supplicant[967]: wlan0:
CTRL-EVENT-SCAN-STARTED
Mar 26 19:21:48 felix-ThinkPad-X121e wpa_supplicant[967]: nl80211:
send_and_recv->nl_recvmsgs failed: -33

Nautilus shows no external drive.

On 26 March 2015 at 19:08, Alan Pope  <email address hidden> wrote:

> Unplug phone.
> On your PC run:-
>
> sudo tail -f /var/log/syslog
>
> Then plug phone in. This is what I see (on my 15.04 thinkpad).
> Screenshot shows what I see in Nautilus.
>
> Mar 26 18:07:11 deep-thought kernel: [ 8839.847008] usb 4-1.2: new
> high-speed USB device number 4 using ehci-pci
> Mar 26 18:07:11 deep-thought kernel: [ 8839.939760] usb 4-1.2: New USB
> device found, idVendor=2a47, idProduct=0c02
> Mar 26 18:07:11 deep-thought kernel: [ 8839.939767] usb 4-1.2: New USB
> device strings: Mfr=2, Product=3, SerialNumber=4
> Mar 26 18:07:11 deep-thought kernel: [ 8839.939779] usb 4-1.2: Product:
> Aquaris_E4.5
> Mar 26 18:07:11 deep-thought kernel: [ 8839.939782] usb 4-1.2:
> Manufacturer: BQ
> Mar 26 18:07:11 deep-thought kernel: [ 8839.939785] usb 4-1.2:
> SerialNumber: JU003534
> Mar 26 18:07:11 deep-thought org.gtk.vfs.Daemon[10362]: PTP: reading event
> an error 0x02ff occurredUnable to open ~/.mtpz-data for reading, MTPZ
> disabled.
> Mar 26 18:07:11 deep-thought org.gtk.vfs.Daemon[10362]: Device 0 (VID=2a47
> and PID=0c02) is a bq Krillin (MTP+ADB).
>
>
> ** Attachment added: "Screenshot from 2015-03-26 18:08:06.png"
>
> https://bugs.launchpad.net/ubuntu/+source/ciborium/+bug/1434992/+attachment/4357278/+files/Screenshot%20from%202015-03-26%2018%3A08%3A06.png
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1434992
>
> Title:
> Connecting Phone to PC does not work
>
> Status in ciborium package in Ubuntu:
> Confirmed
>
> Bug description:
> Hello,
> I have a BQ Ubuntu phone. The help pages state, that data transfer
> between the phone and my pc should work simply by using an usb connection.
> That does not work on my 14.04.01 Laptop. In fact noting happens. There is
> neither a dialog nor any external drive shown
>
> In case this might help in some way, lsusb gives the following output:
> felix@felix-ThinkPad-X121e:~$ lsusb
> Bus 002 Device 008: ID 5986:01a6 Acer, Inc Lenovo ...

Read more...

Revision history for this message
Tony Scott (tonyscott) wrote :

Alan - I'll look into the Thinkpad tomorrow (Friday).

Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) wrote :

This looks like a duplicate of bug 1310303
The kernel is certainly seeing the device. I don't believe this is a phone problem, but a problem on the laptop itself.
What kernel version are you running?
Find out with "uname -a"

Revision history for this message
Felix (felixw83-z) wrote :

felix@felix-ThinkPad-X121e:~$ uname -a
Linux felix-ThinkPad-X121e 3.13.0-45-generic #74-Ubuntu SMP Tue Jan 13
19:36:28 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) wrote :

Maybe try a later kernel via the hardware enablement stack.

https://wiki.ubuntu.com/Kernel/LTSEnablementStack

I think this will do it:-

sudo apt-get install --install-recommends linux-generic-lts-utopic xserver-xorg-lts-utopic libgl1-mesa-glx-lts-utopic libegl1-mesa-drivers-lts-utopic

Revision history for this message
Tony Scott (tonyscott) wrote :

On the Thinkpad T410 I've now updated to the hardware enablement stack.

Using sudo tail -f /var/log/syslog the phone is seen

Mar 27 19:14:45 tony-t410 kernel: [ 614.231936] usb 2-1.2: new high-speed USB device number 6 using ehci-pci
Mar 27 19:14:45 tony-t410 kernel: [ 614.325943] usb 2-1.2: New USB device found, idVendor=2a47, idProduct=2008
Mar 27 19:14:45 tony-t410 kernel: [ 614.325951] usb 2-1.2: New USB device strings: Mfr=2, Product=3, SerialNumber=4
Mar 27 19:14:45 tony-t410 kernel: [ 614.325955] usb 2-1.2: Product: Aquaris_E4.5
Mar 27 19:14:45 tony-t410 kernel: [ 614.325959] usb 2-1.2: Manufacturer: BQ
Mar 27 19:14:45 tony-t410 kernel: [ 614.325962] usb 2-1.2: SerialNumber: JU001972

However on lsusb

Bus 002 Device 004: ID 04cc:2533 ST-Ericsson NFC device (PN533)
Bus 002 Device 003: ID 05c6:9204 Qualcomm, Inc.
Bus 002 Device 006: ID 2a47:2008
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 17ef:480f Lenovo Integrated Webcam [R5U877]
Bus 001 Device 003: ID 046d:c52f Logitech, Inc. Unifying Receiver
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

The phone is still not appearing in Nautilus.

Revision history for this message
Tony Scott (tonyscott) wrote :

Felix - have you got your Thinkpad to work with your Ubuntu phone?

Revision history for this message
Felix Wilke (felixw83) wrote :

Hello Tony,
I did an update of all packages via update manager. The BQ now appears as a new device! So finally it works! (I didn't try the hardware enablement stack as suggested by Alan Pope)

Revision history for this message
Tony Scott (tonyscott) wrote :

Hi Felix

Good news!

I'll carry on working on my Thinkpad T410 to get it to appear Nautilus - making progress as it's now recognised when plugged in...

Cheers

Tony

Revision history for this message
Kavoura (kavoura) wrote :

I am having a similar problem. I plug my BQ Ubuntu Phone into my Ubuntu 14.04 system and nothing happens. There is nothing on the phone to suggest it is connected or to tell it to be connected, and the PC with Ubuntu shows no new drives appearing. This is a tower PC which I built myself and has never had a problem before in connecting USB devices including my Android phone, via a powered USB hub.

Revision history for this message
Michael Devenish (mdevenish) wrote :

I was having a similar problem trying to connect my BQ Aquaris Ubuntu phone to my desktop (Packard Bell) and laptop (Dell Inspiron 1764), both running 14.04. I tried a later kernel on my desktop using the hardware enablement stack mentioned in comment #14 but it still didn't open in nautilus.

I found that installing an updated version of libmtp from the following ppa fixed it for me

https://launchpad.net/~fossfreedom/+archive/ubuntu/libmtp

This works for both my desktop and laptop (which I didn't install the hardware enablement stack on). Now when I connect my Ubuntu phone it automatically appears in Nautilus.

Cheers

Michael

Revision history for this message
mdhtr (mdhtr) wrote :

The solution in #21 solved it for me.
Installing the packages on your Ubuntu PC is done like this: http://askubuntu.com/questions/602760/ubuntuphone-does-not-connect-to-ubuntu-desktop

Revision history for this message
Kavoura (kavoura) wrote :

This was working for me until a few days ago, when I tried connecting to a laptop running Linux Mint and the laptop did not connect to the phone at all (Ubuntu Phone BQ Aquarius E45), although it connected to my Ubuntu (XFCE) PC alright before. And today when connecting to the Ubuntu PC nothing happens, no connection via USB, although plugging into a different USB socket on the PC does sometimes work.

Revision history for this message
Rüdiger Kupper (ruediger.kupper) wrote :

Some with the MEIZU MX4 phone: It worked until a few days ago. Now, when I connect the phone via USB, it is recognized as a device, but nautilus only shows an empty window. Looks like the device cannot be properly mounted.
(Tried two Laptops, both Thinkpads (X230t and T61).

Revision history for this message
Rüdiger Kupper (ruediger.kupper) wrote :

The problem seems to be gone after yesterdays's OTA.

Revision history for this message
Patrik B. (inoki-deactivatedaccount) wrote :

Still present on a brand new E5 bought a few days ago and fully up-to-date on 14.04.2 x64.

Revision history for this message
Patrik B. (inoki-deactivatedaccount) wrote :

EDIT: even after adding the PPA it doesn't work.

Revision history for this message
Kavoura (kavoura) wrote :

I am not using a Thinkpad, but a desktop PC. Sometimes after a system update I can connect from my PC to Ubuntu Phone via USB and it works, but then another system update comes and I can no longer connect via USB.
Currently with latest update I cannot connect at all to Phone via USB from my Ubuntu PC, running 14.04 with latest updates and XFCE desktop.
It works with one update but not the next, then back to working again with next update and then not working again with latest update. Every system update either fixes or breaks it.

Revision history for this message
Victor Gabillon (victorgabillon) wrote :

I have the same problem on MX4 + thinkpad. Tried all the solutions I could find on the net (adb/mtp/developpermode.....) Nothing worked. Actually one year ago there were no problem with the same pc and phone but it only worked for one or two months...
Correcting this bug would be so great...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.