LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Nikon Camera can't be mounted via command line, or can it? (https://www.linuxquestions.org/questions/linux-newbie-8/nikon-camera-cant-be-mounted-via-command-line-or-can-it-905978/)

yanger 10-01-2011 06:47 PM

Nikon Camera can't be mounted via command line, or can it?
 
related link: http://www.linuxquestions.org/questi...debian-483805/

have a Nikon S8100 when plugged into system, i get the following in dmesg:

Code:

[469034.892011] usb 1-3: new high speed USB device using ehci_hcd and address 4
[469035.025210] usb 1-3: New USB device found, idVendor=04b0, idProduct=0181
[469035.025213] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[469035.025216] usb 1-3: Product: NIKON DSC COOLPIX S8100-PTP
[469035.025218] usb 1-3: Manufacturer: NIKON
[469035.025220] usb 1-3: SerialNumber: 000030304917
[469035.025321] usb 1-3: configuration #1 chosen from 2 choices

can't get it mounted.. any tips? the link has a similar problem, but it's an old link...

Using Debian, Linux 2.6.32-5-686 #1 SMP Mon Jun 13 04:13:06 UTC 2011 i686 GNU/Linux server only no gui.

corp769 10-01-2011 06:56 PM

Hello,

Before you plug it in, run the following:
Code:

tail -f /var/log/messages
After you enter that, plug your device in, and note any new information that comes up, and paste that in here if you can. /var/log/messages usually is the log that displays the information needed to know what block device under /dev that your device is assigned to.

Cheers,

Josh

yanger 10-01-2011 07:48 PM

Code:

Oct  1 19:55:35 lagann kernel: [474479.132013] usb 1-3: new high speed USB device using ehci_hcd and address 5
Oct  1 19:55:36 lagann kernel: [474479.265221] usb 1-3: New USB device found, idVendor=04b0, idProduct=0181
Oct  1 19:55:36 lagann kernel: [474479.265224] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Oct  1 19:55:36 lagann kernel: [474479.265227] usb 1-3: Product: NIKON DSC COOLPIX S8100-PTP
Oct  1 19:55:36 lagann kernel: [474479.265229] usb 1-3: Manufacturer: NIKON
Oct  1 19:55:36 lagann kernel: [474479.265231] usb 1-3: SerialNumber: 000030304917
Oct  1 19:55:36 lagann kernel: [474479.265332] usb 1-3: configuration #1 chosen from 2 choices

same.

If it helps. Googling finds the following: http://www.dankulp.com/ptpfs/

I guess this camera uses PTP style filesystem [but the card is a sdcard in fat32 format] ... want this to work so that if i do lose my sdcard reader (like I did this time) i can access it no matter what...

michaelk 10-02-2011 08:36 AM

I am unfamiliar with the ptpfs but it looks like it is only for 2.4 kernels. PTP cameras can not be mounted like USB mass storage devices. However, there are both CLI and GUI apps. Have a look at gphoto. BTW PTP is a communication protocol and not a filesystem.

http://www.gphoto.org/
http://en.wikipedia.org/wiki/Picture_Transfer_Protocol

qlue 10-02-2011 07:42 PM

gtkam should work with that camera and it is very easy to use. (it works with most camera protocols)

*edit*
oops, sorry. I see that you want a command line option.
try gphoto2 instead. gtkam is the gui frontend.
http://www.gphoto.org/doc/manual/


All times are GMT -5. The time now is 12:47 PM.