Retrieve pictures from Samsung cellphone

7 respuestas [Último envío]
amenex
Desconectado/a
se unió: 01/03/2015

My Samsung Brew cellphone takes good pictures and is handy when I'm in the middle of a project, but I haven't solved the problem of transferring the images to my Trisquel 7 installation on a Lenovo T420 without having to resort to restarting it in Win 7 to get the files onto the Win 7 portion of the hard drive, restarting into Trisquel, and moving the files to the Home directory.

Trisquel has no problem detecting the cellphone:
[ 305.233670] usb 1-1.1: new high-speed USB device number 6 using ehci-pci
[ 305.321930] usb 1-1.1: New USB device found, idVendor=04e8, idProduct=6640
[ 305.321941] usb 1-1.1: New USB device strings: Mfr=3, Product=2, SerialNumber=0
[ 305.321947] usb 1-1.1: Product: OEMSAMSUNG_Brew_SCH-U680
[ 305.321952] usb 1-1.1: Manufacturer: SAMSUNG Electronics Co.,Ltd.
[ 305.324298] cdc_acm 1-1.1:1.0: ttyACM0: USB ACM device

But then things go all wrong ...
[ 308.769115] usb-storage 1-1.1:1.0: USB Mass Storage device detected
[ 308.769171] scsi6 : usb-storage 1-1.1:1.0
[ 308.769311] usbcore: registered new interface driver usb-storage
[ 309.772224] scsi 6:0:0:0: Direct-Access SAMSUNG MMC Storage 2.31 PQ: 0 ANSI: 2
[ 309.773209] scsi 6:0:0:1: Direct-Access SAMSUNG MMC Storage 2.31 PQ: 0 ANSI: 2
[ 309.773836] scsi 6:0:0:2: CD-ROM SAMSUNG CD-ROM 1.00 PQ: 0 ANSI: 2
[ 309.776936] sd 6:0:0:0: Attached scsi generic sg2 type 0
[ 309.777829] sd 6:0:0:1: Attached scsi generic sg3 type 0
[ 309.777842] sd 6:0:0:0: [sdb] 1984000 512-byte logical blocks: (1.01 GB/968 MiB)
[ 309.778980] sd 6:0:0:0: [sdb] Write Protect is off
[ 309.778993] sd 6:0:0:0: [sdb] Mode Sense: 0f 0e 00 00
[ 309.779475] sd 6:0:0:1: [sdc] 205312 512-byte logical blocks: (105 MB/100 MiB)
[ 309.780746] sd 6:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 309.781556] sd 6:0:0:1: [sdc] Write Protect is off
[ 309.781563] sd 6:0:0:1: [sdc] Mode Sense: 0f 0e 00 00
[ 309.784368] sd 6:0:0:1: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 309.786174] sr1: scsi-1 drive
[ 309.786540] sr 6:0:0:2: Attached scsi CD-ROM sr1
[ 309.786607] sr 6:0:0:2: Attached scsi generic sg4 type 5
[ 309.792863] sdb: sdb1
[ 309.798061] sdc: sdc1
[ 309.806432] sd 6:0:0:0: [sdb] Attached SCSI removable disk
[ 309.812931] sd 6:0:0:1: [sdc] Attached SCSI removable disk
[ 309.965275] sd 6:0:0:0: [sdb] Synchronizing SCSI cache
[ 309.967480] scsi 6:0:0:0: rejecting I/O to offline device
[ 309.967484] scsi 6:0:0:0: [sdb] killing request
[ 309.967490] scsi 6:0:0:0: [sdb]
[ 309.967491] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
[ 309.967492] scsi 6:0:0:0: [sdb] CDB:
[ 309.967493] Read(10): 28 00 00 00 01 78 00 00 08 00
[ 309.967498] end_request: I/O error, dev sdb, sector 376
[ 309.967500] Buffer I/O error on device sdb, logical block 47
[ 309.967507] Buffer I/O error on device sdb, logical block 47
[ 309.967521] Buffer I/O error on device sdb, logical block 0
[ 309.967523] Buffer I/O error on device sdb, logical block 0
[ 309.967527] Buffer I/O error on device sdb, logical block 2
[ 309.967578] Buffer I/O error on device sdb, logical block 2
[ 309.967581] Buffer I/O error on device sdb, logical block 0
[ 309.967583] Buffer I/O error on device sdb, logical block 0
[ 309.967587] Buffer I/O error on device sdb, logical block 0
[ 309.967592] Buffer I/O error on device sdb, logical block 512
[ 309.989373] sd 6:0:0:1: [sdc] Synchronizing SCSI cache
[ 309.997841] systemd-udevd[2827]: inotify_add_watch(6, /dev/sdc, 10) failed: No such file or directory
[ 310.022034] systemd-udevd[2827]: inotify_add_watch(6, /dev/sdc1, 10) failed: No such file or directory

BTW, there's no disk in the Samsung CDROM drive at the moment.

Yes, the flash card in the cellphone is one GB ... and the cellphone's Model No. is detected correctly.
Win 7 has no issues with detecting the flash card and downloading images or video.

I created a mount point: /mnt/Samsung-SCH-U680 but I haven't guessed the right /dev/*.* to mount, as everything I've tried fails, such as mount /dev/sdb1 /mnt/Samsung-SCH-U680.

[scsi 6:0:0:0: Direct-Access SAMSUNG MMC Storage 2.31 PQ: 0 ANSI: 2]: That's the one GB flash card.
[scsi 6:0:0:1: Direct-Access SAMSUNG MMC Storage 2.31 PQ: 0 ANSI: 2]: Is this the RAM in the cellphone ?
[scsi 6:0:0:2: CD-ROM SAMSUNG CD-ROM 1.00 PQ: 0 ANSI: 2]: CD-ROM drive, which is empty right now.

Apparently, Trisquel doesn't like sdb and is getting I/O errors for some reason.

jxself
Desconectado/a
se unió: 09/13/2010

If the phone has a removable storage card you could try to remove it and mount it directly. Your computer may have a built-in card reader or you may need to get a USB card reader.

amenex
Desconectado/a
se unió: 01/03/2015

In the past I did exactly that, but the cheesy adapter was showing signs of wearing out, so I decided to use the original charger/USB cable instead, because it's better made. Maybe someone here can suggest a USB adapter that will work reliably. As an example, I have an old Dell Inspiron laptop whose built-in card reader broke before all the other parts of the machine started falling apart ... which inspired me to switch to my present Lenovo T420 with this forum's excellent advice.

moxalt
Desconectado/a
se unió: 06/19/2015

Have you written a udev rule file for your phone? It appears to be missing,
from the logs you posted. I had to add my phone vendor ID and other information
to udev to get App Inventor to connect to my phone. There are some instructions
for writing rules here: https://developer.android.com/tools/device.html. The
section 'set up your system to detect your device' is most helpful. Try that.

amenex
Desconectado/a
se unió: 01/03/2015

See the first few lines of my first post:

> [ 305.233670] usb 1-1.1: new high-speed USB device number 6 using ehci-pci
> [ 305.321930] usb 1-1.1: New USB device found, idVendor=04e8, idProduct=6640
> [ 305.321941] usb 1-1.1: New USB device strings: Mfr=3, Product=2, SerialNumber=0
> [ 305.321947] usb 1-1.1: Product: OEMSAMSUNG_Brew_SCH-U680
> [ 305.321952] usb 1-1.1: Manufacturer: SAMSUNG Electronics Co.,Ltd.

That's exactly what the ID card of my phone says (underneath the phone's battery).

At the phone end, when I plug in the USB cable, I am presented with a choice between charging the phone's battery or doing a USB transfer. The phone continues to present itself for access when I try everything I can think of with the terminal to find out where in /dev/ the blasted thing is located ... dmesg seems to be telling me it's in several places at once while the error messages tell me that the mount command isn't finding anything at those places.

The USB card adapter has no trouble whatsoever mounting & moving files in & out of the card with linux.

Mzee
Desconectado/a
se unió: 07/10/2013

I have given up on waiting for a solution for this issue of establishing a working cable connection between Ubuntu or Trisquel and Android. Thus, I usually just use Airdroid (https://www.airdroid.com/) these days. It just works and I don't have to deal with this buggy mess...

On the pro-side I also don't have to install any non-free software on my Trisquel machine as I can just open a web-browser there.

amenex
Desconectado/a
se unió: 01/03/2015

There's no history of Samsung Brew SCH-U680 in the AirDroid forum ... and no sign of a linux connection in the downloads offered ...

Mzee
Desconectado/a
se unió: 07/10/2013

BTW: If you want to know more about the history of this bug I recommend the following: https://bugs.launchpad.net/ubuntu/+source/gvfs/+bug/1314556