-
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

USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack
$826.09

TF/SD Card Adapter Camera Reader Android Type-c For iPhone17 Pro Max Plusm lot
$573.98

64GB DDR5 Registered ECC Server Memory PC5-38400R 1x64GB SK Hynix
$2699.00

Lot Of 4 NEW SAMSUNG 16GB PC4-2933Y-RC2-12-DC1 Memory
$299.00

Sandisk 16GB 32GB 64GB 128GB Cruzer Blade Flash Drive Memory Stick USB Lot Pack
$175.90

Sandisk 32GB 64GB 128GB 256GB Cruzer Glide Flash Drive USB 2.0 Memory Lot
$201.78

Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot
$285.90

USB 3.0 Micro SD SDHC TF Card Reader Memory Adapter for PC Laptop Camera lot
$3.75

Lot of 4 16GB SK Hynix HMA82GR7AFR8N-VK 2RX8 DDR4 PC4-2666V RDIMM Server Memory
$374.99

Lot of 10 - Dimm Memory Module Tray - DDR2 DDR3 DDR4 DDR5- Fits 50 PCS per tray
$38.00