Digital camera connection crashes gtkam and digikam: ALSA error messages given
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with 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.
Digital camera connection crashes gtkam and digikam: ALSA error messages given
Hi All,
I've been able in the past to get pictures from my digital camera using gtkam or digikam, but today they both started to crash when trying to connect to the camera (through USB).
I get the following error messages when gtkam crashes (digikam crashes with no error messages):
ALSA lib confmisc.c:560:(snd_determine_driver) could not open control for card 0
ALSA lib conf.c:3479:(_snd_config_evaluate) function snd_func_card_driver return
ed error: Permission denied
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:3479:(_snd_config_evaluate) function snd_func_concat returned er
ror: Permission denied
ALSA lib confmisc.c:955:(snd_func_refer) error evaluating name
ALSA lib conf.c:3479:(_snd_config_evaluate) function snd_func_refer returned err
or: Permission denied
ALSA lib conf.c:3948:(snd_config_expand) Evaluate error: Permission denied
ALSA lib pcm.c:2090:(snd_pcm_open_noupdate) Unknown PCM default
ALSA lib confmisc.c:560:(snd_determine_driver) could not open control for card 0
ALSA lib conf.c:3479:(_snd_config_evaluate) function snd_func_card_driver return
ed error: Permission denied
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:3479:(_snd_config_evaluate) function snd_func_concat returned er
ror: Permission denied
ALSA lib confmisc.c:955:(snd_func_refer) error evaluating name
ALSA lib conf.c:3479:(_snd_config_evaluate) function snd_func_refer returned err
or: Permission denied
ALSA lib conf.c:3948:(snd_config_expand) Evaluate error: Permission denied
ALSA lib pcm.c:2090:(snd_pcm_open_noupdate) Unknown PCM default
May I add that I haven't been able to get my onboard sound card to work (Intel HDA, Realtek ALC880).
I'm using SuSE 9.3 on a P4.
I'm a newbie and this is my first post, please be kind...
Cheers
Would the photo import progs normally make a noise when you import photos (you know - before they started crashing?)
If so, you should probably turn the sound off from the programs configuration menue. (Or under system settings somewhere.)
Sounds like you need to turn sound off globally until you can find the right driver for your sound card ... it is hda-intel and comes with most distros.
Thanks Simon,
I disabled the sound system from the control centre and this seemed to solve the problem with the digital camera (although the pictures were erased for some reason, but that's ok).
I suppose I should try to get help with setting up the sound card driver but that would have to be in another thread!
Cheers
Personally I would recommend ditching gtkam and mounting your camera as a mass storage device instead, then use your favourite file browser to transfer your images. A big advantage to this scheme is that you can actually use your camera as a mass storage device.
Location: 1st hop-NYC/NewJersey shore,north....2nd hop-upstate....3rd hop-texas...4th hop-southdakota(sturgis)...5th hop-san diego.....6th hop-atlantic ocean! Final hop-resting in dreamland dreamwalking and meeting new people from past lives...gd' night.
Distribution: Siduction, the only way to do Debian Unstable
Posts: 506
Rep:
Digikam works perfectly here with kodak and kodak printer/dock.
ciotog: You should be aware that not all cameras will mount as mass storage devices. I have had particular trouble with cameras using sony memory-stick pro for storage. However, PTP and gphoto works all the time - though the camera id is not correct for the troublesome cameras.
Also note: the trouble was not with gtkam itself, but with the soundcard drivers. Presumably gtkam likes to play little beeps and stuff while it is working... well that won't go if sound ain't configured properly.
Turning sound off has fixed the problem - suggesting this is correct.
Your suggestion would have worked too - since it didn't involve sound. However, how useful this is would depend a lot on the system in question. i.e. My old RH9 system with 2.4.22 kernel would autodetect a sony DSC43 in ptp mode using gphoto. Same camera in normal mode was not detected... though I could remove the memory stick and use it in a card reader just fine. The DSC42 would be detected as mass storage, and I could mount it fine. However - every time I changed the USB devices around, the camera got assigned a different device... so I had to go hunting around for it again. (Later I found I could have used special mount options in fstab.)
While I could use the stick for storage of any old file, provided I didn't put the file in a photo directory, some cameras are not as tolerant. I've heard of cameras that scan the entire fs for photos and refuse to work if they find a file that isn't in a format it recognises (on the assumption it is a corrupt photo right), or which over-write non-photo files when space for photos runs out.
And this is an important point - photos, even as j-pegs, take up a lot ofspace. Cameras are typically sold with around 16Mb cards ... good for about 20 photos. Add other data in there are your ability to take photos gets really restricted.
To me, the main advantage in mounting as storage is "flexability". If a client has the space and wants/needs the flexability, then fine. However, for a use who just wants to get photos to and from the camera ... I'd say the cons outweigh the pros here.
OTOH: there is a useful bit of learning in this. A camera is just a fancy disk drive. If you were used to the windows way - you'd think it was something special.
Last edited by Simon Bridge; 09-16-2005 at 08:20 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.