DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I use Debian 9 on a PC and a Samsung Z3 (Tizen operating system) phone. I was able, through a USB cable, to read the phone's memory card and write to it from Linux Mint, but the phone is not seen by Debian. I had hoped to put some music on it and a few photos.
[some hours later] I decided to make space for another partition on sda1 and put Xubuntu on it, which can communicate with the phone. However, I'd still like to know how to make it possible in Debian.
Last edited by payasam; 02-15-2018 at 01:02 AM.
Reason: solution found
Have you, in a root terminal ran the command 'lsusb'? If not, run the command, and post the output.
Have you, as root, looked at the output of dmesg? When you plug a device, it should show up in there, usually in the last 20 or so line of output. If you are not familiar with the output of dmesg, open a terminal and either use sudo dmesg, or su to root, and run dmesg. Do that before you plug the phone in. Plug the phone, and look again. You should see lines added for the new device.
Some phones, you need to go into the settings, and there may be a setting for allowing the phone to be a mass storage device. This is required so any linux system can see the storage on the phone.
Thank you. In other distributions SLP appears on the desktop when the phone is connected: but in Debian this does not happen although both lsusb and dmesg report the phone. The phone does not appear at the left of the screen either (in Thunar).
With the phone connected, run dmesg as root and check whether the output shows the phone; if so, how is it reported?
Note that dmesg commonly generates lots of output, so you may wish to pipe the output to a file so that you can examine the file in an editor at your leisure.
Thank you. Here is what dmesg says about the phone:
[ 486.620063] usb 1-4: new high-speed USB device number 2 using ehci-pci
[ 486.769291] usb 1-4: New USB device found, idVendor=04e8, idProduct=6860
[ 486.769298] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 486.769303] usb 1-4: Product: SLP
[ 486.769308] usb 1-4: Manufacturer: SAMSUNG
[ 486.769312] usb 1-4: SerialNumber: 0000c68b00006300
What desktop environment and file manager do you have on Debian? you'd think Debian would auto-mount. However can you mount the phone from the side-bar of the file manager?
This may not be relevant as I am running Ubuntu 16.04 and my phone is a Samsung Galaxy A5, but I had to install gvfs:-
# Install support for MTP protocol to link to Android.
sudo add-apt-repository ppa:langdalepl/gvfs-mtp
sudo apt-get update
sudo apt-get install gvfs
# Now restart.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.