Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #261931
| From | David Wright <deblis@lionunicorn.co.uk> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: "sudo apt-get install android-tools-adb" ... (then no device listed) |
| Date | 2023-09-26 06:00 +0200 |
| Message-ID | <Hi7oR-bAvP-7@gated-at.bofh.it> (permalink) |
| References | <HhZrj-bvDP-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Mon 25 Sep 2023 at 17:41:13 (+0000), Albretch Mueller wrote: > On 9/24/23, Michel Verdier <mv524@free.fr> wrote: > > If you use USB you need a cable allowing data, some allow only power. > > The USB cable I have been using to charge the battery of that phone > visually seems to be the same exact one being advertised as doubling > as a data cable, but running: > $ sudo lsusb > Before and after plugging in the phone doesn’t show any difference. > Is there a way to test for sure that cable is the right one? You should see lines appear in the kern.log (or wherever you have configured your logs) like: kernel: usb 2-2: new high-speed USB device number 15 using xhci_hcd kernel: usb 2-2: New USB device found, idVendor=04e8, idProduct=6860, bcdDevice= 4.04 kernel: usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 kernel: usb 2-2: Product: SAMSUNG_Android kernel: usb 2-2: Manufacturer: SAMSUNG kernel: usb 2-2: SerialNumber: ABCDEF123GH kernel: cdc_acm 2-2:1.1: ttyACM0: USB ACM device when you connect it and kernel: usb 2-2: USB disconnect, device number 15 when you disconnect. On Mon 25 Sep 2023 at 19:21:53 (+0000), Albretch Mueller wrote: > On 9/25/23, Albretch Mueller <lbrtchx@gmail.com> wrote: > > Most probably there is a setting in that phone I haven’t been able to > > find. That's possible. I tried to think back to when I first connected up the phone and, searching diligently, I recalled that when the phone is connected (data cable, obviously), swiping down the Notifications screen shows an entry "USB for file transfer". Tapping that changes it to: Android System USB for file transfer Tap for other USB options Tapping the last gives another screen with "radio" options to: Control USB by This/Connected device Use USB for FileTransfer/Tethering/MIDI/ImageTransfer/ChargingOnly plus a "slider" to transcode exported video. I selected both the first options. You might have a phone still set to charging only. On this phone, the selected options stay as selected, though I have to change the second set when I tether (only done that in the UK). > Android awakens when I unplug the cable from the computer; so, > something is being somehow detected. Typically that would only indicate that the phone was switched on and being charged. It could be a data cable, or a power-only one, like those ones with a bunch of different connectors on the end. On Mon 25 Sep 2023 at 17:41:13 (+0000), Albretch Mueller wrote: > On 9/25/23, Marco <mm@dorfdsl.de> wrote: > > According to the Google documentation: > > which I found: > > // __ Transfer files between your computer and Android device > > https://support.google.com/android/answer/9064445?hl=en-GB > ~ > doesn’t really explain what to do. They apparently want for you to > transfer your files to google drive and all that non sense. That's not the way I read Option 2: Move files with a USB cable. My method is very similar to option 2's Mac computer: 1 Download and install Android File Transfer on your computer. 4 With a USB cable, connect your device to your computer. Just the same. 5 On your device, tap the 'Charging this device via USB' notification. 6 Under 'Use USB for', select File transfer. As outlined above. 2 Open Android File Transfer. The next time that you connect your device, it opens automatically. That's when I run my samsungd command. 3 Unlock your device. That's when I tap "Allow". (Using the term "unlock" is confusing to me.) 7 An Android File Transfer window will open on your computer. Use it to drag files. Perhaps linux DEs do that too, IDK. I just use mc, cp, or anything else you'd use for a mounted filesystem. (And tools like find, du and df etc.) Before their final step, I unmount (with fusermount -u) the filesystem, but that step is a convenience for the PC side, taking listings, and removing the mount point. 8 When you've finished, unplug the USB cable. This is safe to do at any time. I don't know anything about clouds etc, and have only used Google on the phone (AFAIK) for regular searches, maps, and navigation. I archive my photos, along with those from all the other cameras of mine, on spinning rust. > I also tried mtp fs utility, but I am getting the error message: > detect failed: no MTP devices found > > go-mtpfs -android "<path to directory>" > 2023/09/25 12:10:10 detect failed: no MTP devices found > ~ > I also tried jmtpfs: > > $ which jmtpfs > /usr/bin/jmtpfs > > $ jmtpfs --version > jmtpfs version: 0.5 > FUSE library version: 2.9.9 > fusermount version: 2.9.9 > using FUSE kernel interface version 7.19 > > $ sudo jmtpfs > No mtp devices found. I've no experience with using them, and don't know the pros and cons, not having had the need. They're mentioned in: https://wiki.archlinux.org/title/Media_Transfer_Protocol Cheers, David.
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
"sudo apt-get install android-tools-adb" ... (then no device listed) Albretch Mueller <lbrtchx@gmail.com> - 2023-09-24 21:50 +0200
Re: "sudo apt-get install android-tools-adb" ... (then no device listed) "Marco M." <mm@dorfdsl.de> - 2023-09-24 22:10 +0200
Re: "sudo apt-get install android-tools-adb" ... (then no device listed) Albretch Mueller <lbrtchx@gmail.com> - 2023-09-25 00:20 +0200
Re: "sudo apt-get install android-tools-adb" ... (then no device listed) Marco <mm@dorfdsl.de> - 2023-09-25 07:00 +0200
Re: "sudo apt-get install android-tools-adb" ... (then no device listed) Roland Mueller <roland.em0001@googlemail.com> - 2023-09-25 12:30 +0200
Re: "sudo apt-get install android-tools-adb" ... (then no device listed) David Wright <deblis@lionunicorn.co.uk> - 2023-09-25 17:10 +0200
Re: "sudo apt-get install android-tools-adb" ... (then no device listed) Albretch Mueller <lbrtchx@gmail.com> - 2023-09-25 19:50 +0200
Re: "sudo apt-get install android-tools-adb" ... (then no device listed) Albretch Mueller <lbrtchx@gmail.com> - 2023-09-25 21:30 +0200
Re: "sudo apt-get install android-tools-adb" ... (then no device listed) Michel Verdier <mv524@free.fr> - 2023-09-26 01:10 +0200
Re: "sudo apt-get install android-tools-adb" ... (then no device listed) David Wright <deblis@lionunicorn.co.uk> - 2023-09-26 06:00 +0200
Re: "sudo apt-get install android-tools-adb" ... (then no device listed) Michel Verdier <mv524@free.fr> - 2023-09-26 01:20 +0200
Re: "sudo apt-get install android-tools-adb" ... (then no device listed) Jeffrey Walton <noloader@gmail.com> - 2023-09-26 04:20 +0200
Re: "sudo apt-get install android-tools-adb" ... (then no device listed) Jeffrey Walton <noloader@gmail.com> - 2023-09-26 05:00 +0200
Re: "sudo apt-get install android-tools-adb" ... (then no device listed) Anssi Saari <anssi.saari@debian-user.mail.kapsi.fi> - 2023-09-25 20:10 +0200
Re: "sudo apt-get install android-tools-adb" ... (then no device listed) David Wright <deblis@lionunicorn.co.uk> - 2023-09-26 06:00 +0200
Re: "sudo apt-get install android-tools-adb" ... (then no device listed) Anssi Saari <anssi.saari@debian-user.mail.kapsi.fi> - 2023-09-27 14:10 +0200
Re: "sudo apt-get install android-tools-adb" ... (then no device listed) Nicolas George <george@nsup.org> - 2023-09-25 21:50 +0200
Re: "sudo apt-get install android-tools-adb" ... (then no device listed) Michel Verdier <mv524@free.fr> - 2023-09-24 22:40 +0200
csiph-web