LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Unable To Transfer File From Lenovo Tablet Using USB Cable (https://www.linuxquestions.org/questions/slackware-14/unable-to-transfer-file-from-lenovo-tablet-using-usb-cable-4175550863/)

bogeyman2007 08-15-2015 09:41 PM

Unable To Transfer File From Lenovo Tablet Using USB Cable
 
1 Attachment(s)
Hi, I'm using Slackware 14.1 and I have a problem when I want to transfer data from Lenovo tablet to my laptop using the USB cable data. When I connect the tablet and laptop I choose MTP options in my tablet and there is a notification in KDE about portable media player. But when I want click to open it I got the error message in Dolphin just like in the attachment.

For for information, I also give my dmesg result when plugging in the tablet.

Code:

[  463.626813] usb 1-2: USB disconnect, device number 2
[  519.941082] usb 2-2: new high-speed USB device number 7 using ehci-pci
[  520.234062] usb 6-2: new full-speed USB device number 2 using uhci_hcd
[  520.747061] usb 6-2: device not accepting address 2, error -71
[  520.900088] usb 2-2: new high-speed USB device number 8 using ehci-pci
[  521.193082] usb 6-2: new full-speed USB device number 4 using uhci_hcd
[  521.321105] usb 6-2: not running at top speed; connect to a high speed hub
[  521.346110] usb 6-2: New USB device found, idVendor=17ef, idProduct=7737
[  521.346116] usb 6-2: New USB device strings: Mfr=2, Product=3, SerialNumber=4
[  521.346121] usb 6-2: Product: Lenovo A3500-HV
[  521.346125] usb 6-2: Manufacturer: MediaTek
[  521.346129] usb 6-2: SerialNumber: 0123456789ABCDEF
[  600.703113] usb 6-2: USB disconnect, device number 4
[  600.961066] usb 2-2: new high-speed USB device number 9 using ehci-pci
[  601.076091] usb 2-2: New USB device found, idVendor=17ef, idProduct=7739
[  601.076099] usb 2-2: New USB device strings: Mfr=2, Product=3, SerialNumber=4
[  601.076103] usb 2-2: Product: Lenovo A3500-HV
[  601.076107] usb 2-2: Manufacturer: MediaTek
[  601.076112] usb 2-2: SerialNumber: 0123456789ABCDEF
[  635.567905] usb 2-2: USB disconnect, device number 9
[  635.886095] usb 2-2: new high-speed USB device number 10 using ehci-pci
[  636.001034] usb 2-2: New USB device found, idVendor=17ef, idProduct=7737
[  636.001042] usb 2-2: New USB device strings: Mfr=2, Product=3, SerialNumber=4
[  636.001046] usb 2-2: Product: Lenovo A3500-HV
[  636.001050] usb 2-2: Manufacturer: MediaTek
[  636.001055] usb 2-2: SerialNumber: 0123456789ABCDEF
[  658.979729] usb 2-2: USB disconnect, device number 10
[  659.212085] usb 2-2: new high-speed USB device number 11 using ehci-pci
[  659.500067] usb 6-2: new full-speed USB device number 5 using uhci_hcd
[  659.828114] usb 6-2: not running at top speed; connect to a high speed hub
[  659.853114] usb 6-2: New USB device found, idVendor=17ef, idProduct=7737
[  659.853121] usb 6-2: New USB device strings: Mfr=2, Product=3, SerialNumber=4
[  659.853125] usb 6-2: Product: Lenovo A3500-HV
[  659.853129] usb 6-2: Manufacturer: MediaTek
[  659.853133] usb 6-2: SerialNumber: 0123456789ABCDEF
[  724.953119] usb 6-2: USB disconnect, device number 5

Please your advice to solve this problem.


Thanks in advance.

fatmac 08-16-2015 05:47 AM

I had problems trying to connect to an MTP device, an mp3 player, & finally found gnomad2 worked with it, maybe It'll work for you too.

bogeyman2007 08-22-2015 01:38 AM

Quote:

Originally Posted by fatmac (Post 5406497)
I had problems trying to connect to an MTP device, an mp3 player, & finally found gnomad2 worked with it, maybe It'll work for you too.

Hey, sorry for the late reply. Ok, I'll try it.

frankbell 08-22-2015 09:10 PM

I use the Airdroid Android app. It nags me to set up an Airdroid account whenever I start it, which I won't do, but it works nicely to transfer files via my home wireless connection.

When it connects to your wireless, it grabs an ip address, which it displays in small print under the "Sign Up Now" message. Enter that address in your browser (http://xxx.xxx.xxx.xxx), then accept the connection on the tablet/phone screen. There's a little learning curve to navigating it, but it works quite nicely.

Just don't leave it running when you are done with it; it will ping any wireless signal you pass.

bogeyman2007 08-22-2015 09:25 PM

Quote:

Originally Posted by frankbell (Post 5409779)
I use the Airdroid Android app. It nags me to set up an Airdroid account whenever I start it, which I won't do, but it works nicely to transfer files via my home wireless connection.

When it connects to your wireless, it grabs an ip address, which it displays in small print under the "Sign Up Now" message. Enter that address in your browser (http://xxx.xxx.xxx.xxx), then accept the connection on the tablet/phone screen. There's a little learning curve to navigating it, but it works quite nicely.

Just don't leave it running when you are done with it; it will ping any wireless signal you pass.

Thanks for the information. For nowm I just use the AndFTP (FTP client for Android to transfer the file). It can connect to my Slackware and copy the file through SSH because SSH Daemon on my Slackware is started at boot :). But I'm still looking for the solution to transfer the data using USB cable. Haven't tried the Gnomad2 yet, but sure I will.

oldtechaa 08-23-2015 08:12 AM

I don't know about the USB cable problem, but if you can't find any other way, the best app for wireless copying is X-plore. It has full SMB support, and is just a two-pane file manager.

atelszewski 08-24-2015 02:29 PM

Hi,

You might find this thread helpful: http://www.linuxquestions.org/questi...2/#post5096213

But I did a quick grep for your USB device VID/PID and unfortunately haven't found anything.
The point is, if your USB device can serve multiple functions (e.g. disk or modem), but only one at the same time, then one of the functions has to be disabled for the other to be enabled. So e.g. the function of the USB disk is disconnected and function of modem is connected (this is what usb_modeswitch does). Or maybe, if it's not usb_modeswitch that disconnects your device, then maybe there is something else that does it?

On the other hand, if you read the thread throughly, you'll notice that I have iRiver player that will finally connect as USB disk, but it works randomly.

--
Best regards,
Andrzej Telszewski

oldtechaa 08-24-2015 03:28 PM

@Andrzej,
I don't know it that will really apply in this case because a tablet isn't exactly seen as a mass storage device. The filesystem is unavailable to the computer. It uses MTP, media transfer protocol, which is somewhat abstracted from the computer. The tablet handles the transactions, unlike a mass storage device, where the computer handles all the transfers. Another major difference: MTP devices do not need to be unmounted.

sebre 08-25-2015 03:40 AM

I guess your Lenovo tablet's OS is android .
I sucessfully set up file transfer between my android smartphone and Linux PC by FTP over USB this way :
- install FTP server on the android device ("swiftp" is available on fdroid.org repository, I guess any server is OK),
- connect USB cable,
- enable USB tethering on the android device ; on the PC, network manager should react and connect a new interface. No need for the phone to be data connected before (no wifi nor data sync) ; we don't expect the device to share the connection, we only need IP adress and a route from the PC.
- USB tethering should ifup an interface on the android device.
- Switch on the FTP server. swiftp listen on this interface, port 2121. No need for rooted device.
- access the android device from the PC with ftp client, for instance :
lftp -u ftp,ftp -p 2121 ftp://xxx.xxx.xxx.xxx

This way I can successfully transfer files, manage folders and rename files on the phone. Of course wifi transfer is quicker to set up, while USB should be faster and not require LAN or telecom connection.

atelszewski 08-25-2015 09:52 AM

Hi,

Quote:

I don't know it that will really apply in this case because a tablet isn't exactly seen as a mass storage device.
I have no idea if it applies to your case;) I saw USB connect/disconnect pair in dmesg and thought that somebody (e.g. usb_modeswitch) might be changing your device type. BTW, it doesn't matter that your device isn't mass storage, what matters is if somebody wants to change the USB device type. But as I said, it does not have to be your case.

--
Best regards,
Andrzej Telszewski


All times are GMT -5. The time now is 05:20 AM.