LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-06-2005, 09:44 PM   #1
ToolBoy
LQ Newbie
 
Registered: Jun 2003
Distribution: Trying Suse 8.1
Posts: 16

Rep: Reputation: 0
Digital Camera (non mass storage) *Solved*


Hey,

I have a Digital Camera I would like to get working on my box. My box is an Athlong-64 running a 64-bit version of Gentoo. My camera is an Aiptek Mini PenCam 1.3 mega. It's not a mass storage device camera or a camera with any sort of removable media card. I have successfully retrieved photos from the camera on my other 32-bit gentoo machine however when I try to set it up on my 64-bit box it does not want to work. I am trying to use KDE control center to set it up. Control Center->Peripherals-> Digital Camera. I believe that underneath it's accessing gphoto2, wich I have installed along with a bunch of dependencies. The command lsusb seems to identify the camera being there;

bash-2.05b# lsusb
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 003: ID 04fc:504a Sunplus Technology Co., Ltd SPCA504a Digital Camera
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000

Anyway when I press the "Test" button in the Control Center it says;

Unable to initialize camera. Check your port settings and camera connectivity and try again.
Details: Bad parameters

I also try to access the photos via konqueror and the camera:/ or is it camera:\ command. Either way it does not work.

Any help would be greatly appreciated.

ToolBoy

Last edited by ToolBoy; 05-09-2005 at 12:03 AM.
 
Old 05-07-2005, 03:03 PM   #2
littlemidget
Member
 
Registered: Aug 2004
Location: Oslo, Norway.
Distribution: Debian Sarge
Posts: 171

Rep: Reputation: 30
Re: Digital Camera (non mass storage)

Quote:
Originally posted by ToolBoy
I have a Digital Camera I would like to get working on my box. My box is an Athlong-64 running a 64-bit version of Gentoo. My camera is an Aiptek Mini PenCam 1.3 mega. It's not a mass storage device camera or a camera with any sort of removable media card. I have successfully retrieved photos from the camera on my other 32-bit gentoo machine however when I try to set it up on my 64-bit box it does not want to work. I am trying to use KDE control center to set it up. Control Center->Peripherals-> Digital Camera. I believe that underneath it's accessing gphoto2, wich I have installed along with a bunch of dependencies. The command lsusb seems to identify the camera being there;
I don't know anything about the KDE-way of getting pictures from a camera, but I can tell you how I do it - and then you can try the same thing:

1. plug the camera to the computers (i assume you're using usb here). Then, as root:
Code:
mkdir /mnt/pictures; mount /dev/sda1 /mnt/pictures
If everything went ok, you can now cd into /mnt/pictures and get the photos
 
Old 05-07-2005, 11:47 PM   #3
ToolBoy
LQ Newbie
 
Registered: Jun 2003
Distribution: Trying Suse 8.1
Posts: 16

Original Poster
Rep: Reputation: 0
These are instructions for mounting a camera that acts like a mass storage device, no? My camera is not a mass storage device. I am starting to beleive that maybe my issue is related to device permissions. When I plug in the camera hotplug wants to run a script: /etc/hotplug/usb/usbcam this script should set the camera permissions to allow anyone in the group "camera" to access the camera. However, the script seems indicate that it's for a devfs system while I am running a udev system. I could be wrong but I am only a noob. Not sure what to do now.

TOOL
 
Old 05-09-2005, 12:02 AM   #4
ToolBoy
LQ Newbie
 
Registered: Jun 2003
Distribution: Trying Suse 8.1
Posts: 16

Original Poster
Rep: Reputation: 0
OK, it turns out it was not a permissions thing. It seems libgphoto2 was not compiling with usb support. Here is a bug report. Which someone directed me to. http://bugs.gentoo.org/show_bug.cgi?id=90777 Some programs that were intalling usbutils and libusb were conflicting. The solution that worked for me was to make sure I had an up to date portage tree by running emerge --sync and then reinstalling these three programs, usbutils, libusb, and libgphoto2. All in that specific order.

Guess that's it,
ToolBoy
 
  


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
Digikam won't connect to usb mass storage camera can564 Linux - Software 2 03-10-2005 10:31 AM
Unusual difficulty with USB Mass Storage Compatible Digital Camera davidbalt Linux - Hardware 2 07-08-2004 12:10 PM
USB mass storage (camera) vexer Linux - General 4 05-24-2004 11:16 AM
Removing Camera/Mass storage stealth191 Linux - Hardware 2 04-07-2004 12:13 AM
Mounting Digital Camera as a Mass Storage Device gendreau Linux - Hardware 3 06-18-2003 12:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 02:45 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