[CentOS] Frustrated. Java on Centos 6 doesn't give an error message when downloading from a Samsung Galaxy S3

Rock Rocksockdoc at gmail.com
Mon May 27 16:08:58 UTC 2013


On Sun, 26 May 2013 01:46:34 -0400, Scott Robbins wrote:

> If you want 64 bit then 
> http://home.roadrunner.com/~computertaijutsu/libmtp-1.1.6-0.el6.x86_64.rpm  
> Note that if you hav VLC installed, this will conflict with its required
> version of libmtp.

Thanks. I made a bunch of guesses how to proceed. 
I'm sure I erred, but here's what I did.
What should I correct by way of use model?

$ uname -a
Linux machine 2.6.32-358.6.2.el6.x86_64 #1 SMP Thu May 16 20:59:36 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
$ sudo yum install libmtp
==> Package libmtp-1.0.1-2.el6.x86_64 already installed and latest version
$ sudo yum remove libmtp
==> Removing:
==> libmtp x86_64 1.0.1-2.el6 @anaconda-CentOS-201112091719.x86_64/6.2 695 k
==> Removing for dependencies:
==> rhythmbox x86_64 0.12.8-1.el6 @anaconda-CentOS-201112091719.x86_64/6.2 12 M
==> vlc x86_64 1.1.13-1.el6.rf @rpmforge 60 M
==> Erasing : rhythmbox-0.12.8-1.el6.x86_64 1/3
==> Erasing : vlc-1.1.13-1.el6.rf.x86_64 2/3
==> Erasing : libmtp-1.0.1-2.el6.x86_64 3/3

$ mkdir /tmp/test; cd /tmp/test
$ wget http://home.roadrunner.com/~computertaijutsu/libmtp-1.1.6-0.el6.x86_64.rpm
==> Saving to: “libmtp-1.1.6-0.el6.x86_64.rpm”

I'm not sure what the next step is (either rpm -ivh or rpm -Uvh)
$ sudo rpm -ivh libmtp-1.1.6-0.el6.x86_64.rpm
==> Preparing... ########################################### [100%]
==> 1:libmtp ############################################## [100%]

I'm not sure how to check if it worked or not, so I'll just re-run this and compare output:
$ sudo yum install libmtp
==> Package matching libmtp-1.0.1-2.el6.x86_64 already installed

Hmmm... I had expected a later version, and, at the same time, I would have expected the same wording. Neither occurred.
It says it's the same version; but it uses different wording to do that.
But I don't see any errors either, so I'll move to the next step.

Hmm... What is the next step?
I guess the next step is to plug in the Samsung Galaxy S3 via USB cable and see what happens.

Drat.
Unable to mount SAMSUNG_Android_SGH-T999
Error initializing camera: -1: Unspecified error
http://www5.picturepush.com/photo/a/13169313/640/13169313.png

$ dmesg
==> usb 3-2: new high speed USB device number 3 using xhci_hcd
==> usb 3-2: New USB device found, idVendor=04e8, idProduct=6860
==> usb 3-2: New USB device strings: Mfr=2, Product=3, SerialNumber=4
==> usb 3-2: Product: SAMSUNG_Android_SGH-T999
==> usb 3-2: Manufacturer: SAMSUNG
==> usb 3-2: SerialNumber: < I redacted this >
==> usb 3-2: configuration #1 chosen from 1 choice
==> usb 3-2: ep 0x81 - rounding interval to 32768 microframes, ep desc says 0 microframes
==> usb 3-2: ep 0x83 - rounding interval to 32768 microframes, ep desc says 0 microframes
==> usb 3-2: ep 0x2 - rounding interval to 32768 microframes, ep desc says 0 microframes
==> usb 3-2: ep 0x85 - rounding interval to 32768 microframes, ep desc says 0 microframes
==> usb 3-2: ep 0x3 - rounding interval to 32768 microframes, ep desc says 0 microframes
==> cdc_acm 3-2:1.1: This device cannot do calls on its own. It is not a modem.
==> cdc_acm 3-2:1.1: ttyACM0: USB ACM device
==> gvfs-gphoto2-vo[3575]: segfault at 3 ip 00007f886e7ac290 sp 00007fffacd22980 error 4 in ptp2.so[7f886e78c000+4f000]

I unplug the USB cable, and plug the USB cable back in:
On the desktop, a new entry called 'disk' shows up:
Places->disk
When I click it, I see what "appears" to be the phone.
Clicking again (to take a screenshot) I now see a newer entry below 'disk' called 'SAMSUNG_Android_SGH-T999'.
http://www4.picturepush.com/photo/a/13169407/640/13169407.png

Clicking on SAMSUNG_Android_SGH-T999 in the file browser, shows what "appears" to be the phone (except that all folders show up as empty).
http://www5.picturepush.com/photo/a/13169408/640/13169408.png

It looks like the libmtp RPM worked but I'm not sure of the use model to access the picture data on the cellphone (or any data on the cellphone, as all directories show as empty when I click on them in Centos).





More information about the CentOS mailing list