Accessing USB camera on Ubuntu without gdm running

  • joebert
  • Fart Bubbles
  • Genius
  • User avatar
  • Posts: 13502
  • Loc: Florida

Post 3+ Months Ago

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
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • AnarchY SI
  • Web Master
  • Web Master
  • User avatar
  • Posts: 2521
  • Loc: /usr/src/MI

Post 3+ Months Ago

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 ^_^
  • joebert
  • Fart Bubbles
  • Genius
  • User avatar
  • Posts: 13502
  • Loc: Florida

Post 3+ Months Ago

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
  • AnarchY SI
  • Web Master
  • Web Master
  • User avatar
  • Posts: 2521
  • Loc: /usr/src/MI

Post 3+ Months Ago

np, lol

looks good to me ^_^ good job 8-)

Post Information

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

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.