Am 19. Oct, 2016 schwätzte David so:
moin moin,
I do not know if there's something specific for Nexus 5X, but for Nexus
6, Nexus 7 and several other android devices I needed to install jmtpfs
and mount the device.
On the Nexus devices I also have to remember to change the phone USB
setting to file transfer rather than just charging.
#!/bin/bash
dev=$1
if [ -d ~/lokal/mounts/${dev:-bork} ] ; then
jmtpfs ~/lokal/mounts/${dev:-bork}
ls -l ~/lokal/mounts/
fi
ciao,
der.hans
How can I connect the LG Google Nexus 5X smartphone to the Debian computer?
Connecting through USB cable does not work.
Computer: ENLG81BA Aacer packard bell notebook.
dist: debian stretch.
Syslog:
david@ENLG81BA:~$ cat Schreibtisch/Nexus5X.txt
Oct 20 09:00:54 ENLG81BA kernel: [ 90.627185] usb 1-1: new high-speed USB
device number 7 using xhci_hcd
Oct 20 09:00:54 ENLG81BA kernel: [ 90.812881] usb 1-1: New USB device
found, idVendor=18d1, idProduct=4ee1
Oct 20 09:00:54 ENLG81BA kernel: [ 90.812906] usb 1-1: New USB device
strings: Mfr=1, Product=2, SerialNumber=3
Oct 20 09:00:54 ENLG81BA kernel: [ 90.812920] usb 1-1: Product: Nexus 5X
Oct 20 09:00:54 ENLG81BA kernel: [ 90.812932] usb 1-1: Manufacturer: LGE
Oct 20 09:00:54 ENLG81BA kernel: [ 90.812945] usb 1-1: SerialNumber:
013b5de32ae6c0e9
Oct 20 09:00:54 ENLG81BA gvfs-gphoto2-vo[1253]: device (null) has no BUSNUM
property, ignoring
Oct 20 09:00:54 ENLG81BA gvfsd[1133]: Device 0 (VID=18d1 and PID=4ee1) is a
Google Inc (for LG Electronics/Samsung) Nexus 4/5/7/10 (MTP).
Oct 20 09:00:54 ENLG81BA gvfsd[1133]: Error 1: Get Storage information
failed.
Oct 20 09:00:54 ENLG81BA tracker-miner-f[1308]: Could not find parent node
for URI:'mtp://[usb:001,007]/'
Oct 20 09:00:54 ENLG81BA tracker-miner-f[1308]: NOTE: URI theme may be
outside scheme expected, for example, expecting 'file://' when given
'http://' prefix.
Oct 20 09:00:54 ENLG81BA dbus-daemon[1041]: Activating service
name='org.gnome.Shell.HotplugSniffer'
Oct 20 09:00:54 ENLG81BA tracker-miner-f[1308]: Could not find parent node
for URI:'mtp://[usb:001,007]/'
Oct 20 09:00:54 ENLG81BA tracker-miner-f[1308]: NOTE: URI theme may be
outside scheme expected, for example, expecting 'file://' when given
'http://' prefix.
Oct 20 09:00:54 ENLG81BA dbus-daemon[1041]: Successfully activated service
'org.gnome.Shell.HotplugSniffer'
Oct 20 09:00:54 ENLG81BA tracker-miner-f[1308]: Could not set mount point in
database 'urn:nepomuk:datasource:e014896fa1d00b8b14ee4b1dab599866',
GDBus.Error:org.freedesktop.Tracker1.SparqlError.Internal: UNIQUE constraint
failed: nie:DataObject.nie:url (strerror of errno (not necessarily related):
Die Ressource ist zur Zeit nicht verfügbar)
Oct 20 09:00:54 ENLG81BA tracker-miner-f[1308]: Could not set mount point in
database 'urn:nepomuk:datasource:6d9131a4a569108e7d19038b27111c86',
GDBus.Error:org.freedesktop.Tracker1.SparqlError.Internal: UNIQUE constraint
failed: nie:DataObject.nie:url (strerror of errno (not necessarily related):
Die Ressource ist zur Zeit nicht verfügbar)
What can I do?
--
# http://www.LuftHans.com/ http://www.PhxLinux.org/
# Practice socially conscious hedonism. Do whatever you want,
# as long as it doesn't hurt anyone else. - der.hans