Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Mounting a USB camera [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
tel
Tux's lil' helper
Tux's lil' helper


Joined: 15 Aug 2006
Posts: 112

PostPosted: Tue May 08, 2012 8:48 pm    Post subject: Mounting a USB camera [SOLVED] Reply with quote

Not exactly a gentoo-specific question, but a more general question.

I'm trying to get photos off my Canon Powershot, which is a standard USB digital camera. I plug it in, turn on the power, and dmesg definitely shows me that it's available as a USB bus device. Unfortunately, it doesn't assign a mountable device to it (no /dev/sdb1 created or any other /dev/sd?)

I can write a udev rule so that it creates /dev/camera without problem, and that newly created device is just linked to the usb bus that dmesg reported, but mounting /dev/camera doesn't work because it's not a block device.

Question: How can I create a mountable device associated with this usb camera so I can mount it and extract its pictures? I'm not using Gnome or KDE, so I haven't installed any of those tools that might do it automatically (and I don't want to install those, either).

Thanks...


Last edited by tel on Wed May 09, 2012 6:09 pm; edited 1 time in total
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Tue May 08, 2012 9:00 pm    Post subject: Reply with quote

Well, either your camera is mountable and (barring a bad kernel config) it should just work or it's not and you'll need something like media-gfx/gphoto2.
Back to top
View user's profile Send private message
netfab
Veteran
Veteran


Joined: 03 Mar 2005
Posts: 1964
Location: 127.0.0.1

PostPosted: Wed May 09, 2012 9:54 am    Post subject: Reply with quote

or media-libs/libptp2.
Back to top
View user's profile Send private message
dmpogo
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 3468
Location: Canada

PostPosted: Wed May 09, 2012 11:52 am    Post subject: Reply with quote

As people said, not every camera presents itself as a usb storage device, and actually Canon's often don't. Then you need to talk to them over specialized protocol.

Your other option is to take an SD card out and stick it into the card reader.
Back to top
View user's profile Send private message
tel
Tux's lil' helper
Tux's lil' helper


Joined: 15 Aug 2006
Posts: 112

PostPosted: Wed May 09, 2012 6:08 pm    Post subject: Reply with quote

Yep. Taking the SD card out and using a reader works fine. I also note that others have had similar issues with Canon (and other) cameras, and gphoto2 is a reasonable way to go.

I'll mark this at SOLVED. Thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum