SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Running Slackware 10.2 with stock 2.4 kernel and KDE 3.4 dekstop.
I have a Canon PowerShow A150 camera I would like to get working with. I'm not sure where to really start.
-I've installed digikam and all of the necessary files (gphoto2) and libraries from linuxpackage.net using installpkg.
-I've checkec the logs when (dmesg and lsusb) when I attach the camera to the use port and turn it on:
Code:
root@probot:~# lsusb
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
Code:
hub.c: new USB device 00:10.0-1, assigned address 2
usb.c: USB device not accepting new address=2 (error=-110)
hub.c: new USB device 00:10.0-1, assigned address 3
usb.c: USB device not accepting new address=3 (error=-110)
-I have hotplug runnign and usb support in the kernel.
Ive created a mount point under /etc/fstab
Code:
#mount digital camera
/dev/sda4 /mnt/camera usb noauto,owner,ro 0 0
But when I mount, I get unknown filetype.
Can anyone point me to information that can help me setup my camera?
Are you plugging the camera directly into the computer, or through a HUB? Also, is it a USB 2.0 device? Please provide some background on hardware for hardware issues.
Disclaimer: I can't find your camera on the gphoto supported cameras list.
If you're having to use gphoto2 for your camera, chances are you can't mount it like you would a usb key - you need to use gphoto2 or a frontend (digikam is a frontend, I can't help you set up digikam itself, tho').
I would debug your camera connection by finding out if it is infact a usb mass storage device or (more likely with those errors) it needs to use the gphoto interface.
Additionally, they've got an addon called gphotofs that runs on FUSE that *will* let you mount your camera (read/delete only, no write support) if it's one of those style of devices.
Good luck,
- Piete.
PS: Try the commandline options with raw gphoto to make sure that bit works =)
The USB messages by the OP make me think it's hardware/usb drivers more than anything else:
Code:
hub.c: new USB device 00:10.0-1, assigned address 2
usb.c: USB device not accepting new address=2 (error=-110)
hub.c: new USB device 00:10.0-1, assigned address 3
usb.c: USB device not accepting new address=3 (error=-110)
If you have hotplug installed, any USB devices should be detected when they are plugged in.
Yes, it will be detected,.
To access it in a useful way requires the configuration of libgphoto2 and the setting of the usb permissions so you do not need to be root to download pictures from your camera.
If his camera is anthing like mine - and I believe it is from what he said - he will not be able to mount it from fstab using usb_storage and the scsi (sg) module.
Are you plugging the camera directly into the computer, or through a HUB? Also, is it a USB 2.0 device? Please provide some background on hardware for hardware issues.
Yes, I have an Averatec 3150 laptop with three usb 2.0 ports. I plug the camera, which is usb 2.0 connector, directly into one of the usb ports on the laptop.
I don't think it is a hardware issue, but I could be wrong...
A PowerShot A510, eh? Well, in which case it's exactly the same camera I have, so I can vouch for it's compatibility with gphoto2 and libgphoto2.
You need to install libgphoto2, then build stuff on top of it. If you're using packages for digikam then you will need the packages that it was built upon and not just arbitrary packages.
My advice? Uninstall the packages you've got and start again. Compile from source where possible and at each step make sure you've got it working. If you're not comfortable compiling from source - now is the time to learn =)
Check the docs above for getting gphoto2 or another frontend (i use gtkam) to work before trying to get digikam running (the A510 is definitly *NOT* a usb mass storage device, you MUST use the ptp2 driver!)
A PowerShot A510, eh? Well, in which case it's exactly the same camera I have, so I can vouch for it's compatibility with gphoto2 and libgphoto2.
You need to install libgphoto2, then build stuff on top of it. If you're using packages for digikam then you will need the packages that it was built upon and not just arbitrary packages.
My advice? Uninstall the packages you've got and start again. Compile from source where possible and at each step make sure you've got it working. If you're not comfortable compiling from source - now is the time to learn =)
Check the docs above for getting gphoto2 or another frontend (i use gtkam) to work before trying to get digikam running (the A510 is definitly *NOT* a usb mass storage device, you MUST use the ptp2 driver!)
On digikam's site there was a webpage that had a list of all of the packages on it.
I just followed the list, but your saying start out with libgphoto2, so I'm have to use removepkg to uninstall and then reinstall all over again.
Yup, I know how to use installpkg and removepkg...
Just so we're clear: remove/installpkg isn't the same as compiling on top of each portion ...
digikam is just a front end, and while eventually you should be able to use it exclusively, you should start out identifying where the problems occur in using your camera. Since you can't mount it as a usb mass storage device, you have to use libgphoto2, then on top of that is the basic commandline stuff called gphoto2. Most programs (afaik) use this to actually do the work. If you can get gphoto2 to work, then in theory anything that calls those commands will also work.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.