Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Debian and Android phone [SOLVED]
Debian and Android phone [SOLVED]
My Debian 9 PC communicated well over a USB cable with my Samsung Z3 phone, which ran on the not popular Tizen operating system. However, I have not been able to get a Nokia 2.1 (Android Go) phone, bought yesterday, to speak to my computer. This makes things difficult as I must look for numbers and e-mail addresses elsewhere. When the phone is connected to the computer it appears in two places, one labelled "Android" and the other "CDROM". The first is empty and the second has directories which are unreadable.
Last edited by uthappam on 2018-12-06 18:41, edited 1 time in total.
Re: Debian and Android phone
what does dmesg show when you plug in the usb?
Desktop: A320M-A PRO MAX, AMD Ryzen 5 3600, GALAX GeForce RTX™ 2060 Super EX (1-Click OC) - Sid, Win10, Arch Linux, Gentoo, Solus
Laptop: hp 250 G8 i3 11th Gen - Sid
Kodi: AMD Athlon 5150 APU w/Radeon HD 8400 - Sid
Laptop: hp 250 G8 i3 11th Gen - Sid
Kodi: AMD Athlon 5150 APU w/Radeon HD 8400 - Sid
-
- Global Moderator
- Posts: 2679
- Joined: 2018-06-20 15:16
- Location: Colorado
- Has thanked: 41 times
- Been thanked: 196 times
Re: Debian and Android phone
Check on the phone how it presents through usb. That 'cdrom' is a emulated cd drive that would likely have some utilities and maybe a pdf, and apparently an unrecognized file system. I had a 'mtk' phone that did that, the setting was on the phone to set appear as mass storage device, that cdrom, as camera and some other options, etc.
Re: Debian and Android phone
Here we are, milomak.
Thank you, CwF. I shall look in the phone for these settings.
Code: Select all
dmesg: read kernel buffer failed: Operation not permitted
Re: Debian and Android phone
i would have expected the dmesg output to have some /dev/ type of outpututhappam wrote:Here we are, milomak.Thank you, CwF. I shall look in the phone for these settings.Code: Select all
dmesg: read kernel buffer failed: Operation not permitted
maybe try something like dmesg | grep -B 5 -A 5 /dev
Desktop: A320M-A PRO MAX, AMD Ryzen 5 3600, GALAX GeForce RTX™ 2060 Super EX (1-Click OC) - Sid, Win10, Arch Linux, Gentoo, Solus
Laptop: hp 250 G8 i3 11th Gen - Sid
Kodi: AMD Athlon 5150 APU w/Radeon HD 8400 - Sid
Laptop: hp 250 G8 i3 11th Gen - Sid
Kodi: AMD Athlon 5150 APU w/Radeon HD 8400 - Sid
Re: Debian and Android phone
dmesg | grep -B 5 -A 5 /dev gave what dmesg had given earlier. When I ran it with sudo, it gave a long output -- in which did not contain anything about my phone.
Re: Debian and Android phone
Perhaps you need the gnokii deb package, or try gammu.
TC
TC
You can't believe your eyes if your imagination is out of focus.
Re: Debian and Android phone
Thank you, Trinidad. I shall try gnokii -- but gammu (and wammu) do't work with Android.
-
- Posts: 1101
- Joined: 2016-01-07 12:25
- Has thanked: 5 times
- Been thanked: 16 times
Re: Debian and Android phone
I use gmtp to access files from my Android phone, you would need to set the phone connection to mtp and I have noticed it sometimes takes quite some time to connect but once connected the transfer rate is good.
Re: Debian and Android phone
Trinidad, it turned out that gnokii doesn't support my Nokia.
Thank you, Dai_trying; although I have a suspicion that I have tried it already.
EDIT The download was quick and no setting up was needed. Now I can transfer files in both directions -- which is what I wanted.
Thank you, Dai_trying; although I have a suspicion that I have tried it already.
EDIT The download was quick and no setting up was needed. Now I can transfer files in both directions -- which is what I wanted.
-
- Posts: 1101
- Joined: 2016-01-07 12:25
- Has thanked: 5 times
- Been thanked: 16 times
Re: Debian and Android phone
Was that with gmtp? and if you could mark the topic as solved (edit title of first post) others can find it easier.uthappam wrote:EDIT The download was quick and no setting up was needed. Now I can transfer files in both directions -- which is what I wanted.
Re: Debian and Android phone [SOLVED]
oh yes. android moved to mtp. gmtp doesn't seem to be the package that is needed
on my imac
# dpkg -l | grep mtp
on my laptop
# dpkg -l | grep mtp
on my imac
# dpkg -l | grep mtp
Code: Select all
ii gmtp 1.3.10-1+b1 amd64 simple file transfer program for MTP based devices
ii go-mtpfs 0.0~git20180209.d6f8f3c-1 amd64 Mount MTP devices over FUSE
ii jmtpfs 0.5-2+b2 amd64 FUSE based filesystem for accessing MTP devices
ii kio-mtp 0.75+git20140304-2 amd64 access to MTP devices for applications using the KDE Platform
ii libmtp-common 1.1.13-1.1 all Media Transfer Protocol (MTP) common files
ii libmtp-dev:amd64 1.1.13-1.1 amd64 Media Transfer Protocol (MTP) development files
ii libmtp-runtime 1.1.13-1.1 amd64 Media Transfer Protocol (MTP) runtime tools
ii libmtp9:amd64 1.1.13-1.1 amd64 Media Transfer Protocol (MTP) library
ii libnet-smtp-ssl-perl 1.04-1 all Perl module providing SSL support to Net::SMTP
ii mtp-tools 1.1.13-1.1 amd64 Media Transfer Protocol (MTP) library tools
ii mtpfs 1.1-5 amd64 FUSE filesystem for Media Transfer Protocol devices
# dpkg -l | grep mtp
Code: Select all
rc kio-smtp:amd64 17.08.3-2 amd64 mail transport service library
rc libkpimsmtp5:amd64 17.12.3-1 amd64 library for handling SMTP data
ii libkpimsmtp5abi1:amd64 18.08.1-1 amd64 library for handling SMTP data
ii libmtp-common 1.1.13-1.1 all Media Transfer Protocol (MTP) common files
ii libmtp-dev:amd64 1.1.13-1.1 amd64 Media Transfer Protocol (MTP) development files
ii libmtp-runtime 1.1.13-1.1 amd64 Media Transfer Protocol (MTP) runtime tools
ii libmtp9:amd64 1.1.13-1.1 amd64 Media Transfer Protocol (MTP) library
ii libnet-smtp-ssl-perl 1.04-1 all Perl module providing SSL support to Net::SMTP
Desktop: A320M-A PRO MAX, AMD Ryzen 5 3600, GALAX GeForce RTX™ 2060 Super EX (1-Click OC) - Sid, Win10, Arch Linux, Gentoo, Solus
Laptop: hp 250 G8 i3 11th Gen - Sid
Kodi: AMD Athlon 5150 APU w/Radeon HD 8400 - Sid
Laptop: hp 250 G8 i3 11th Gen - Sid
Kodi: AMD Athlon 5150 APU w/Radeon HD 8400 - Sid
Re: Debian and Android phone [SOLVED]
I looked through your post but did not understand anything. That does not trouble me, though, because I have what I needed.