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 06-17-2007, 04:30 PM   #1
mattydee
Member
 
Registered: Dec 2006
Location: Vancouver, BC
Distribution: Debian,Ubuntu,Slackware
Posts: 479

Rep: Reputation: 48
Canon SD1000 in Slackware 11


I just got a new Canon SD1000 camera, and can't access it in Slack 11.

dmesg:
Code:
usb 5-7: new high speed USB device using ehci_hcd and address 6
usb 5-7: configuration #1 chosen from 1 choice
As you can see, there is no /dev/sd* associated with the camera. I know this model uses PTP transfer mode. Do I need to recompile a kernel?

Both digikam and gphoto can't communicate with the camera.

Any help would be appreciated.

Last edited by mattydee; 06-17-2007 at 05:16 PM.
 
Old 06-17-2007, 05:28 PM   #2
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
You may need this:
http://ptp.sourceforge.net/

and this may also be a useful site:
http://www.teaser.fr/~hfiguiere/linux/digicam.html

Last edited by H_TeXMeX_H; 06-17-2007 at 05:29 PM.
 
Old 06-17-2007, 05:46 PM   #3
mattydee
Member
 
Registered: Dec 2006
Location: Vancouver, BC
Distribution: Debian,Ubuntu,Slackware
Posts: 479

Original Poster
Rep: Reputation: 48
Thanks,

I had already come across the second link, but am checking out the first one.

It just automagically works in Ubuntu, but I haven't been able to get it to work in Slack yet... just trying to figure out what Slack needs/wants.
 
Old 06-17-2007, 06:05 PM   #4
mattydee
Member
 
Registered: Dec 2006
Location: Vancouver, BC
Distribution: Debian,Ubuntu,Slackware
Posts: 479

Original Poster
Rep: Reputation: 48
this might also be helpful:

cat /proc/bus/usb/devices
Code:
T:  Bus=05 Lev=01 Prnt=01 Port=06 Cnt=01 Dev#=  5 Spd=480 MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=04a9 ProdID=314f Rev= 0.02
S:  Manufacturer=Canon Inc.
S:  Product=Canon Digital Camera
S:  SerialNumber=52733E90E8454088A518ACF9223B3A2C
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=  2mA
I:  If#= 0 Alt= 0 #EPs= 3 Cls=06(still) Sub=01 Prot=01 Driver=(none)
E:  Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=83(I) Atr=03(Int.) MxPS=   8 Ivl=32ms
 
Old 06-17-2007, 06:38 PM   #5
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,441
Blog Entries: 7

Rep: Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551
Quote:
Originally Posted by mattydee
As you can see, there is no /dev/sd* associated with the camera. I know this model uses PTP transfer mode. Do I need to recompile a kernel?
No. PTP devices can't have an associated device node. A new kernel won't help much, unless your current kernel doesn't have USB support.

You need libgphoto2.

The correct way to configure libgphoto2 to work with your camera will depend upon which kernel you're running, and (if you're running a 2.6 kernel) whether udev is enabled.
 
Old 06-17-2007, 07:05 PM   #6
mattydee
Member
 
Registered: Dec 2006
Location: Vancouver, BC
Distribution: Debian,Ubuntu,Slackware
Posts: 479

Original Poster
Rep: Reputation: 48
OK, thanks to you both.

I'm at the point now that everything works under root: I can use gphoto2, ptpcam, and even digikam. I am reading through docu to see how I can enable this for users.

I am looking at setting up the proper udev rules for this. I hope I am on the right track...
 
Old 06-17-2007, 08:16 PM   #7
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,441
Blog Entries: 7

Rep: Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551
Quote:
Originally Posted by mattydee
I am looking at setting up the proper udev rules for this. I hope I am on the right track...
You certainly seem to be.

I'll post up my udev rules file for you to look at when I get home from work (in about 7 hours' time).
 
Old 06-17-2007, 08:22 PM   #8
mattydee
Member
 
Registered: Dec 2006
Location: Vancouver, BC
Distribution: Debian,Ubuntu,Slackware
Posts: 479

Original Poster
Rep: Reputation: 48
Quote:
Originally Posted by rkelsen
You certainly seem to be.

I'll post up my udev rules file for you to look at when I get home from work (in about 7 hours' time).
No need! I've got it working. I snatched the udev rules for libgphoto from my ubuntu install and everything is working!

Thanks anyway.
 
  


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
Canon Pixma ip1000 on Slackware elvijs Slackware 4 06-22-2007 01:01 PM
Canon Pixma iP1500 Slackware 10.1 jeginbuci Linux - Hardware 3 02-28-2006 05:18 PM
Canon IXUS 430 on Slackware 10.1 jaakkop Linux - Hardware 1 08-13-2005 06:06 PM
canon bjc printer on slackware 10.0 hunterfighter Slackware 4 10-23-2004 02:09 AM
Canon MP700 in Slackware Jeebizz Linux - Hardware 1 09-02-2004 08:58 AM

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

All times are GMT -5. The time now is 03:38 PM.

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