-
Junior Member
registered user
Knoppix 3.4 and Canon Powershot A70 problem
Hello,
I'm having problems connecting my Canon Powershot A70. I can see it in the Control Center under Peripherals -> Digital Camera, however, when I try to run the Test command I get the following error message:
Unable to initialize camera. Check your port settings and camera connectivity and try again.
If I click the Details button I can see the following message:
Could not claim the USB device.
I can't connect to the camera using gtcam either. Any ideas or suggestions?
Thank you!
Kind regards,
Dmitri
-
Have you installed libgphoto2? Also can you use it as root?
I followed this howto for getting my G5 to work: http://gphoto.sourceforge.net/doc/ma...sions-usb.html
Where it asked to choose a script to /etc/hotplug/usb/usbcam I used: /usr/share/doc/libgphoto2-2/linux-hotplug/usbcam.group
Instead of creating a group camera i modified the script like so:
#GROUP=camera
GROUP=usb
-
Junior Member
registered user
Hi Markus,
Thank you for your reply. I forgot to tell you that I'm a Linux/Knoppix newbie, and your explanation is a bit overwhelming for me. Is there any "easier" solution to the problem?
Kind regards,
Dmitri
-
Are you running from cd or hd-install?
Could not claim the USB device.
This probably means you don't have permissions as user for the usb device. You could try launching gtkam as root; Open a konsole and type kdesu gtkam . Can you now use it?
If it asks for a password and you haven't set it (live-cd):
- open konsole
- type su
- type passwd
- type a password for root (twice)
- type ctrl-d to exit from root
- try kdesu gtkam again
Ah, found another howto: http://nift.freeshell.org/camedia.html Although this also requires a hd-install.
EDIT: Seems like you can klik Lphoto which sounds a bit easier: http://klik.berlios.de/
-
Junior Member
registered user
It works!
Hi Markus,
I did as you described, and it worked! I've even managed to install Digikam via klik and make it work, too (it also had to be launched as root).
Thank you very much for your help!
Kind regards,
Dmitri
-
Glad it worked, although running things unnecessarily as root isn't very ideal. The howtos aren't that impossible if you read through them, this is it in a nutshell:
Code:
su
dselect update
apt-get install gphoto2
gphoto2 --print-usb-usermap >> /etc/hotplug/usb.usermap
mkdir /etc/hotplug/usb
cp /usr/share/doc/gphoto2/linux-hotplug/usbcam.group /etc/hotplug/usb/usbcam
mcedit /etc/hotplug/usb/usbcam (change GROUP=camera to GROUP=usb), save and quit
chmod 755 /etc/hotplug/usb/usbcam
-
Junior Member
registered user
Hi Markus,
Thank your for your reply. I will definitely give it a try. If it's not too much to ask, could you provide short comments to the code. I think I understand what this lines do:
Code:
su
dselect update
apt-get install gphoto2
but what about this one:
Code:
gphoto2 --print-usb-usermap >> /etc/hotplug/usb.usermap
and these two:
Code:
cp /usr/share/doc/gphoto2/linux-hotplug/usbcam.group /etc/hotplug/usb/usbcam
mcedit /etc/hotplug/usb/usbcam (change GROUP=camera to GROUP=usb), save and quit
Sorry, if my questions are rather obvious, by as said, I'm a newbie (but I'm keen to learn
).
Thank you!
Regards,
Dmitri[/code]
-
I used libgphoto2 instead of gphoto2. The commands are from the second link since you didn't much like the first one. However you can check if libgphoto2 is installed on Knoppix (which I'm not running) with:
COLUMNS=150 dpkg -l|grep gphoto
gphoto2 --print-usb-usermap >> /etc/hotplug/usb.usermap #makes hotplug recognize different cameras. Use this with the package gphoto, haven't tried this.
But with libgphoto2 (which I used) do: /usr/lib/libgphoto2-2/print-usb-usermap > /etc/hotplug/usb/usbcam.usermap
If it doesn't work do: /usr/lib/libgphoto2-2/print-usb-usermap >> /etc/hotplug/usb.usermap
The ">>" makes it add the output to the end of the last file in the command.
A ">" writes/overwrites the output to the last file.
cp /usr/share/doc/gphoto2/linux-hotplug/usbcam.group /etc/hotplug/usb/usbcam #copy the first file to the second one (usbcam.group -> usbcam)
mcedit /etc/hotplug/usb/usbcam (change GROUP=camera to GROUP=usb), save and quit #mcedit is an editor, you can use any one you like. change the line that says GROUP=camera to GROUP=usb
You also need to give execute permissions to the script with: chmod 755 /etc/hotplug/usb/usbcam
And add your user to the group usb: adduser dmpop usb
-
Junior Member
registered user
Hi Markus,
Thank you for your explanation. I'll give it a try.
Kind regards,
Dmitri
Similar Threads
-
By OtterToast in forum General Support
Replies: 2
Last Post: 01-26-2005, 04:59 AM
-
By waterproof in forum General Support
Replies: 0
Last Post: 12-22-2004, 07:03 PM
-
By chocuabo in forum Hardware & Booting
Replies: 3
Last Post: 12-22-2004, 05:36 AM
-
By kjackson54 in forum Hardware & Booting
Replies: 1
Last Post: 10-09-2003, 01:13 AM
-
By Coume in forum Hardware & Booting
Replies: 3
Last Post: 07-17-2003, 08:41 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

(2) Seagate SAS Hard Drive Exos 7E8 3TB 7200RPM 128MB 12Gb/s 3.5 ST3000NM0035
$49.99

Seagate BarraCuda ST3000DM008 3TB Internal SATA 6Gb 3.5" Hard Drive 7200RPM 64MB
$91.99

Seagate ST500DM009 BarraCuda 500 GB 3.5" SATA III Desktop Hard Drive
$14.99

HDD 3.5" SATA Hard Drive with Windows 10/Win 11 64x Installed Legacy
$35.00

Toshiba MG04ACA400 4TB 3.5-inch SATA 6 Gb/s 7,200 RPM Internal Hard Drive
$49.99

ST6000NM0034 DELL 6TB 7.2K 12G SAS 512E 3.5" ENTERPRISE HARD DRIVE 8D1V4 08D1V4
$54.99

Toshiba 14TB MG07 MG07ACA14TEY 7.2K RPM SATA 6Gb/s 512e 3.5" Enterprise HDD
$299.00

Seagate ST28000NM001C 28TB 256MB 7200RPM 3.5" SATA 6.0Gb/s Enterprise Hard Drive
$669.99

Dell EMC WD-HITACHI H5H72101CLAR10T0 10TB 7.2K SAS 12Gb/s SED 3.5in A POH 0-50k
$189.99

WD Ultrastar DC HC530 14TB SATA 6G 3.5" 7200RPM Enterprise HDD - WUH721414ALE604
$329.99