LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-28-2013, 01:32 PM   #1
PeterUK
Member
 
Registered: May 2009
Posts: 281

Rep: Reputation: 16
Slackware- I cannot download pictures from my camera


Hi I am trying to get some pictures from my Canon and I dont know what its not appearing in the file manager.

I did look:

And its connecting I did it by : lsusb

Then create the rules file.

Then try to mount by creating a folder in the mnt folder

but it said is mount: /dev/bus/usb/002/008 is not a block device

read some post on suggesting libgphoto

I looked and I have installed libgphoto2-2.4.14-i486-2

Know how do I use it?

I want to just download the pictures from my camera :-(, sometimes I feel that all in slack is a long task! :-(
 
Old 04-28-2013, 01:51 PM   #2
hakan56
Member
 
Registered: Nov 2004
Location: Sweden
Distribution: Slackware64-14.0
Posts: 53

Rep: Reputation: 9
Connect your camera, open a terminal and use the command dmesg to see how it's detected...if you see something about /dev/sdb /dev/sdb1 or something like that...then it's /dev/sdb1 you should mount.
# mount /dev/sdb1 /mnt/hd

..or you can do it the way I did it...got tired of the usb-cable and bought myself a cardreader

/Håkan
 
Old 04-28-2013, 01:59 PM   #3
PeterUK
Member
 
Registered: May 2009
Posts: 281

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by hakan56 View Post
Connect your camera, open a terminal and use the command dmesg to see how it's detected...if you see something about /dev/sdb /dev/sdb1 or something like that...then it's /dev/sdb1 you should mount.
# mount /dev/sdb1 /mnt/hd

..or you can do it the way I did it...got tired of the usb-cable and bought myself a cardreader

/Håkan
My machine has already a card reader :-), but I cannot be bother keep taking the card out.

I already create the rules so every time I connect it create the device name so you know how its called.

This is not working I tried also:
mount /dev/Camera /mnt/camera
mount: /dev/bus/usb/002/009 is not a block device

this is not the solution!
 
Old 04-28-2013, 02:13 PM   #4
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Debian, Slackware, VMs
Posts: 7,342

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
Another command you can try is:

# blkid

I used that before when I was having trouble connecting to my camera.
 
Old 04-28-2013, 02:18 PM   #5
hakan56
Member
 
Registered: Nov 2004
Location: Sweden
Distribution: Slackware64-14.0
Posts: 53

Rep: Reputation: 9
Is your camera supported..
http://www.gphoto.org/proj/libgphoto2/
..at the bottom of the page "list of supported cameras"

Can you show us the rule you made.

/Håkan
 
Old 04-28-2013, 03:22 PM   #6
Bazzaah
Member
 
Registered: Mar 2007
Distribution: Slackware64-current, Slackware64 14
Posts: 331

Rep: Reputation: 50
What happens if you run the following commands with your camera connected and switched on?

Code:
gphoto2 --auto-detect
gphoto2 --get-all-files
 
Old 04-28-2013, 03:44 PM   #7
PeterUK
Member
 
Registered: May 2009
Posts: 281

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by Bazzaah View Post
What happens if you run the following commands with your camera connected and switched on?

Code:
gphoto2 --auto-detect
gphoto2 --get-all-files
:-) this do it nicely.

auto detect

Quote:
bash-4.2# gphoto2 --auto-detect
Model Port
----------------------------------------------------------
USB PTP Class Camera usb:002,014
get all

Quote:
Downloading 'IMG_0008.JPG' from folder '/store_00010001/DCIM/101___08'...
Saving file as IMG_0008.JPG
Nice, but it dump like 100 image into my desktop :-/
 
Old 04-28-2013, 03:46 PM   #8
PeterUK
Member
 
Registered: May 2009
Posts: 281

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by hakan56 View Post
Is your camera supported..
http://www.gphoto.org/proj/libgphoto2/
..at the bottom of the page "list of supported cameras"

Can you show us the rule you made.

/Håkan
sure

SUBSYSTEMS=="usb", ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="31ef", \
MODE:="0666", \
SYMLINK+="Camera_%n"

---------- Post added 04-28-13 at 09:46 PM ----------

Quote:
Originally Posted by hitest View Post
Another command you can try is:

# blkid

I used that before when I was having trouble connecting to my camera.
What does this do? Thanks
 
Old 04-28-2013, 03:50 PM   #9
PeterUK
Member
 
Registered: May 2009
Posts: 281

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by hakan56 View Post
Is your camera supported..
http://www.gphoto.org/proj/libgphoto2/
..at the bottom of the page "list of supported cameras"

Can you show us the rule you made.

/Håkan
I looked here
http://www.gphoto.org/proj/libgphoto2/support.php

My camera is not in there, but it works.

and also I installed entangle

but that is not working.
 
Old 04-28-2013, 03:54 PM   #10
Bazzaah
Member
 
Registered: Mar 2007
Distribution: Slackware64-current, Slackware64 14
Posts: 331

Rep: Reputation: 50
Quote:
Originally Posted by PeterUK View Post
:-) this do it nicely.

auto detect



get all



Nice, but it dump like 100 image into my desktop :-/
So just create a folder called Pictures and run the commands from in that folder, then your pictures will be downloaded to that folder.
 
Old 04-28-2013, 03:58 PM   #11
PeterUK
Member
 
Registered: May 2009
Posts: 281

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by Bazzaah View Post
So just create a folder called Pictures and run the commands from in that folder, then your pictures will be downloaded to that folder.
Thanks this does it nicely!! :-) maybe you can set a path!
 
Old 04-28-2013, 04:18 PM   #12
Bazzaah
Member
 
Registered: Mar 2007
Distribution: Slackware64-current, Slackware64 14
Posts: 331

Rep: Reputation: 50
Quote:
Originally Posted by PeterUK View Post
Thanks this does it nicely!! :-) maybe you can set a path!
Yes - what I do is create a folder called scripts in ~ and add that (home/$user/scripts) to paths in /etc/profile.

e.g. I saved this to ~/scripts as photos (make it executable)

Code:
#!/bin/bash
cd /home/slack/Pictures
gphoto2 --get-all-files
All I do now is type
Code:
photos
and my folders are downloaded to where I want them to be.
 
Old 04-28-2013, 04:59 PM   #13
PeterUK
Member
 
Registered: May 2009
Posts: 281

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by Bazzaah View Post
Yes - what I do is create a folder called scripts in ~ and add that (home/$user/scripts) to paths in /etc/profile.

e.g. I saved this to ~/scripts as photos (make it executable)

Code:
#!/bin/bash
cd /home/slack/Pictures
gphoto2 --get-all-files
All I do now is type
Code:
photos
and my folders are downloaded to where I want them to be.
Every is straight forward except that profile file where exactly do I add that path?
 
Old 04-28-2013, 09:30 PM   #14
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,321
Blog Entries: 28

Rep: Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141
What file system is your camera using?

Mine does not show up in a file manager because it's a PTP class camera, but it works fine with gtkam. There's a Slackbuild, if you want to give it a shot.

Last edited by frankbell; 04-28-2013 at 09:34 PM.
 
Old 04-29-2013, 03:46 AM   #15
Bazzaah
Member
 
Registered: Mar 2007
Distribution: Slackware64-current, Slackware64 14
Posts: 331

Rep: Reputation: 50
Quote:
Originally Posted by PeterUK View Post
Every is straight forward except that profile file where exactly do I add that path?
If you make a folder in your home direcotry called Pictures, then the path to that folder will be

/home/yourusername/Pictures

So just substitute your user name for mine and you'll be good to go.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Pictures from my digital camera smity1000 Linux - Newbie 4 05-07-2007 09:35 PM
Need to get pictures off of Musteck MDC-800 camera valkarin Linux - Hardware 4 04-16-2007 07:13 PM
mounted my camera but can't see pictures frankie_DJ Slackware 6 07-07-2006 11:00 PM
loading pictures from digital camera fakie_flip Linux - Hardware 3 11-06-2005 01:58 AM
help needed to get my digital camera pictures phunkymunky Linux - Hardware 6 03-23-2004 06:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration