Accessing USB camera on Ubuntu without gdm running

  • joebert
  • Sledgehammer
  • Genius
  • No Avatar
  • Joined: Feb 10, 2004
  • Posts: 13455
  • Loc: Florida
  • Status: Offline

Post January 7th, 2008, 9:52 am

Ubuntu Gutsy.
Plain-jane Fujifilm camera

If gnome is running, I can just plug the camera in, turn it on, & a disk shows up on the desktop that I can navigate just like a folder.

My problem is I always have gdm stopped, using SSH/FTP to deal with the box. So starting gdm just to grab the photos from my camera is a bit of a hassle.

I tried mounting a device identified as a Fuji device awhile back without success & gave up for the time being.

Before I get into it again I figure I should ask if anyone has any pointers for getting photos off of a USB camera, sort of manually I guess. :D
Strong with this one, the sudo is.
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post January 7th, 2008, 9:52 am

  • AnarchY SI
  • Web Master
  • Web Master
  • User avatar
  • Joined: Oct 30, 2004
  • Posts: 2521
  • Loc: /usr/src/MI
  • Status: Offline

Post January 7th, 2008, 10:32 am

gnome-mount is actually the portion of gnome that mounts media on the fly. you might man gnome-mount to find out what commands (if any) you could execute to have it mount the device for you. when you were trying to mount it "manually" previously, do you recall if the device showed up via fdisk -l ?
if you could plug the camera in and give the output of sudo fdisk -l (thats a lowercase L :]) we should be able to get it mounted manually, at which point you could cd through the folders and cp whatever you need ^_^
Image
"In a world without walls and fences, who needs Windows and Gates?"
  • joebert
  • Sledgehammer
  • Genius
  • No Avatar
  • Joined: Feb 10, 2004
  • Posts: 13455
  • Loc: Florida
  • Status: Offline

Post January 7th, 2008, 8:41 pm

Aha ! Thankyou AnarchY.

I was looking through the /dev directory when I tried this before.
"fdisk -l" told me exactly what I needed to know.

The following did the trick once I knew which device it was.
Code: [ Select ]
sudo mount /dev/sda1 /my/default/ftp/directory

#Before turning camera off
sudo umount /dev/sda1
  1. sudo mount /dev/sda1 /my/default/ftp/directory
  2. #Before turning camera off
  3. sudo umount /dev/sda1


Now that I can handle updates and my camera without starting VNC/GDM I can't think of a reason to start gdm anymore. :D
Strong with this one, the sudo is.
  • AnarchY SI
  • Web Master
  • Web Master
  • User avatar
  • Joined: Oct 30, 2004
  • Posts: 2521
  • Loc: /usr/src/MI
  • Status: Offline

Post January 8th, 2008, 6:31 pm

np, lol

looks good to me ^_^ good job 8-)
Image
"In a world without walls and fences, who needs Windows and Gates?"

Post Information

  • Total Posts in this topic: 4 posts
  • Users browsing this forum: No registered users and 70 guests
  • 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 post attachments in this forum
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.