FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 07-09-2012, 11:28 AM
Patrick O'Callaghan
 
Default mount usb camera as a disk

On Mon, 2012-07-09 at 13:18 +0200, Gergely Buday wrote:
> Hi,
>
> fedora did not automount my camera. So I tried lsusb, which has found
> it, but even in verbose mode it did not tell me any data that can be
> fed to mount. How can I mount then my camera?

Many cameras have an option to connect as a disk or as a PTP device (see
http://en.wikipedia.org/wiki/Picture_Transfer_Protocol). Take a look at
your camera's own settings.

If you just want to download pictures, the photo handling apps (Digikam
etc.) can often access the camera for you without mounting it.

poc

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 07-09-2012, 11:43 AM
"Bryn M. Reeves"
 
Default mount usb camera as a disk

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 07/09/2012 12:18 PM, Gergely Buday wrote:
> fedora did not automount my camera. So I tried lsusb, which has
> found it, but even in verbose mode it did not tell me any data that
> can be fed to mount. How can I mount then my camera?
>
> Bus 001 Device 004: ID 04b0:031d Nikon Corp.

Does this camera "mount" under other distributions?

You might find that the device doesn't support access via USB
mass-storage (or if it does that for some reason it isn't working).

The USB ID looks like a Nikon Coolpix L120 - I found some lsusb output
for that device that seems to suggest that it only implements the
Imaging interface class (so it will use Picture Transfer Protocol via
e.g. gphoto or shotwell rather than fs access via USB mass-storage).

Try the device with one of those programs and if that doesn't work
post the output of lsusb -vs <bus>:<dev>, e.g.:

$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching
Hub
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate
Matching Hub
Bus 001 Device 022: ID 17ef:480f Lenovo Integrated Webcam [R5U877]
Bus 001 Device 034: ID 0a5c:217f Broadcom Corp. Bluetooth Controller
This one:
Bus 002 Device 045: ID 0781:556c SanDisk Corp.
^^^ ^^^

$ lsusb -vs 002:045 | grep bInt
Couldn't open device, some information will be missing
bInterfaceNumber 0
bInterfaceClass 8 Mass Storage
bInterfaceSubClass 6 SCSI
bInterfaceProtocol 80 Bulk (Zip)
bInterval 0
bInterval 1

Full output here:

http://fpaste.org/U80k/

This is for a SanDisk USB flash key (so it definitely does have
mass-storage support .

The output I found for the L120 is here:

http://tinyurl.com/7ytclk7 [sourceforge]

Regards,
Bryn.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/6w94ACgkQ6YSQoMYUY969FACg4a/40kPYyDxm7hY1j3umJOIa
aVAAn0OmFqWFx+MO01SZk1Dxnuihc3+n
=HYXW
-----END PGP SIGNATURE-----
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 07-09-2012, 11:52 AM
Gergely Buday
 
Default mount usb camera as a disk

> Does this camera "mount" under other distributions?

I do not know.

> $ lsusb -vs 002:045 | grep bInt

Bus 001 Device 004: ID 04b0:031d Nikon Corp.
[gergoe@oldship regio_et_religio]$ lsusb -vs 001:004

Bus 001 Device 004: ID 04b0:031d Nikon Corp.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x04b0 Nikon Corp.
idProduct 0x031d
bcdDevice 1.00
iManufacturer 1 NIKON
iProduct 2 NIKON DSC COOLPIX L21-PTP
iSerial 3 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 39
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xc0
Self Powered
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 3
bInterfaceClass 6 Imaging
bInterfaceSubClass 1 Still Image Capture
bInterfaceProtocol 1 Picture Transfer Protocol (PIMA 15470)
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 16
Device Qualifier (for other device speed):
bLength 10
bDescriptorType 6
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
bNumConfigurations 1
Device Status: 0x0001
Self Powered
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 07-09-2012, 01:13 PM
"Bryn M. Reeves"
 
Default mount usb camera as a disk

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 07/09/2012 12:52 PM, Gergely Buday wrote:
> Bus 001 Device 004: ID 04b0:031d Nikon Corp. [gergoe@oldship
> regio_et_religio]$ lsusb -vs 001:004
>
> Interface Descriptor: bLength 9 bDescriptorType
> 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints
> 3 bInterfaceClass 6 Imaging bInterfaceSubClass 1 Still
> Image Capture bInterfaceProtocol 1 Picture Transfer Protocol
> (PIMA 15470)

So it certainly appears that your device reports the same information
as the other output I'd seen.

You can try looking in your camera's instructions to see if there is a
configuration option as Patrick suggested but failing that you will
need to use a PTP-capable import tool to get the pictures of the
camera (or remove the card and use a card reader attached to the PC).

Regards,
Bryn.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/62N0ACgkQ6YSQoMYUY944LACgoSWjoKJJiwtbIxIxeaYb0tEG
+ZMAoODVUDq2vtjhhY9xUTsE2TqastIN
=Mq5J
-----END PGP SIGNATURE-----
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 07-09-2012, 01:36 PM
"Bob Goodwin - Zuni, Virginia, USA"
 
Default mount usb camera as a disk

On 09/07/12 07:18, Gergely Buday types:

Hi,

fedora did not automount my camera. So I tried lsusb, which has found
it, but even in verbose mode it did not tell me any data that can be
fed to mount. How can I mount then my camera?

Bus 001 Device 004: ID 04b0:031d Nikon Corp.

was the relevant line in lsusb output.

- Gergely

I have a similar camera:

.[bobg@box9 ~]$ gphoto2 --auto-detect
Model Port
----------------------------------------------------------
[bobg@box9 ~]$ gphoto2 --auto-detect
Model Port
----------------------------------------------------------
Nikon Coolpix S3100 (PTP mode) usb:008,002

[bobg@box9 ~]$ lsusb
Bus 004 Device 002: ID 067b:2303 Prolific Technology, Inc. PL2303
Serial Port
Bus 005 Device 002: ID 046d:c408 Logitech, Inc. Marble Mouse (4-button)
Bus 008 Device 002: ID 04b0:0320 Nikon Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

I use gphoto2 with the following commands as required. From my notes:


[bobg@box9 photosnew]$ gphoto2 --auto-detect

[bobg@box9 photosnew]$ gphoto2 --summary

[bobg@box9 photosnew]$ gphoto2 --list-files

[bobg@box9 photosnew]$ gphoto2 --get-all-files

Loads images into photosnew/


[bobg@box9 digi-cam]$ gphoto2 --get-all-files --force-overwrite


Bob.

--
http://www.qrz.com/db/W2BOD

box9

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 07-09-2012, 04:41 PM
Jack Craig
 
Default mount usb camera as a disk

On Mon, Jul 9, 2012 at 4:18 AM, Gergely Buday <gbuday@gmail.com> wrote:

Hi,

fedora did not automount my camera. So I tried lsusb, which has found
it, but even in verbose mode it did not tell me any data that can be

fed to mount. How can I mount then my camera?

Bus 001 Device 004: ID 04b0:031d Nikon Corp.

was the relevant line in lsusb output.

- Gergely
--
users mailing list

users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users

Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org



*
if you load shotwell app, does it open your camera?
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 07-09-2012, 05:14 PM
Frantisek Hanzlik
 
Default mount usb camera as a disk

Gergely Buday wrote:
> Hi,
>
> fedora did not automount my camera. So I tried lsusb, which has found
> it, but even in verbose mode it did not tell me any data that can be
> fed to mount. How can I mount then my camera?
>
> Bus 001 Device 004: ID 04b0:031d Nikon Corp.
>
> was the relevant line in lsusb output.
>
> - Gergely

Some cameras act (and are mountable) as disk only in particular
circumstances, as e.g.

1) cameras mode is switched to video (or photo?)

and/or

2) camera is powered from it's supply adapter

and/or ..??..

Franta
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 07-12-2012, 06:35 PM
Gergely Buday
 
Default mount usb camera as a disk

Short note: I used the camera on a Mac without any problem.

Thanks for all for the tips, I will try them over the week-end.

- Gergely
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 

Thread Tools




All times are GMT. The time now is 08:29 AM.

VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org