LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 02-21-2005, 03:47 PM   #1
Hook99
Member
 
Registered: Dec 2004
Location: Cincinnati
Distribution: Fedora Core 3
Posts: 31

Rep: Reputation: 15
Cannot get Digital Camera recognized


I am plugging a Canon Powershot A75 into a USB port on a Fedora Core 3 machine with Gnome - hoping to capture photos to the hard drive of the computer.

When I try to Autodetect the camera from within gThumb 2.4.2, I get the following message:

"An error occurred in the io-library ("Bad Parameters"): Could not find USB device (vendor 0x4a9, product 0x30b5). Make sure this device is connected to the computer."

(FYI ... the camera works fine when plugged into a Windows machine.)

Any help out there?


Thanks.

Last edited by Hook99; 02-21-2005 at 04:08 PM.
 
Old 02-21-2005, 04:14 PM   #2
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 53
Have you tried mounting it as USB storage?

Plug it in and then type dmesg. Post the output here, but only the last 15 lines or so, not the whole thing!
 
Old 02-21-2005, 04:20 PM   #3
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
Also the above but you should be able to get it working with gphoto2.
 
Old 02-21-2005, 04:22 PM   #4
Hook99
Member
 
Registered: Dec 2004
Location: Cincinnati
Distribution: Fedora Core 3
Posts: 31

Original Poster
Rep: Reputation: 15
I have not tried mounting it as USB storage - can you provides more details on this?

Also, dmesg gives me a lot of lines that are all the same (after turning the camera off and on) and they read:

sym1:0:0hase change 6-7 11@37373b84 resid=2.

(and I am not even sure if turning the camera on causes these messages.)

ps - it seems to post as a smiley face but that is not what I get

I get (I will try this) without the spaces:

sym 1 : 0 : 0 : phase change ....

I hope that helps in being clearer.

Last edited by Hook99; 02-21-2005 at 04:25 PM.
 
Old 02-21-2005, 04:26 PM   #5
Hook99
Member
 
Registered: Dec 2004
Location: Cincinnati
Distribution: Fedora Core 3
Posts: 31

Original Poster
Rep: Reputation: 15
I have not tried gphoto2
 
Old 02-21-2005, 04:40 PM   #6
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 53
I need more from your dmesg output....anything that relates to /dev/sda or something?
 
Old 02-21-2005, 04:55 PM   #7
Hook99
Member
 
Registered: Dec 2004
Location: Cincinnati
Distribution: Fedora Core 3
Posts: 31

Original Poster
Rep: Reputation: 15
No output from dmesg except that one line over and over and over.

But ....
I did try and run this command:

gphoto2 --debug -auto-detect

and received a ton of output ...

[jrhook@localhost ~]$ gphoto2 --debug -auto-detect 0.000352 main(2): ALWAYS
INCLUDE THE FOLLOWING LINES WHEN SENDING DEBUG MESSAGES TO THE MAILING LIST: 0.000533 main(2): gphoto2 2.1.5
0.000624 main(2): gphoto2 has been compiled with the following options:
0.000712 main(2): + i386-redhat-linux-gcc (C compiler used)
0.000783 main(2): + popt (for handling command-line parameters)
0.000853 main(2): + exif (for displaying EXIF information)
0.000917 main(2): + no cdk (for accessing configuration options)
0.000984 main(2): + no aa (for displaying live previews)
0.001061 main(2): + jpeg (for displaying live previews in JPEG format)
0.001137 main(2): + readline (for easy navigation in the shell)
0.001221 main(2): libgphoto2 2.1.5
0.001306 main(2): libgphoto2 has been compiled with the following options:
0.001394 main(2): + i386-redhat-linux-gcc (C compiler used)
0.001459 main(2): + EXIF (for special handling of EXIF files)
0.001530 main(2): + no ltdl (working around buggy libltdl, eh? :-)
0.001600 main(2): + /proc/meminfo (adapts cache size to memory available)
0.001674 main(2): libgphoto2_port 0.5.1
0.001745 main(2): libgphoto2_port has been compiled with the following options:
0.001823 main(2): + i386-redhat-linux-gcc (C compiler used)
0.001886 main(2): + USB (for USB cameras)
0.001941 main(2): + serial (for serial cameras)
0.001998 main(2): + no resmgr (serial port access and locking)
0.002073 main(2): + baudboy (serial port locking)
0.002134 main(2): + no ttylock (serial port locking)
0.002193 main(2): + no lockdev (serial port locking)
0.002252 main(2): + no ltdl (working around buggy libltdl, eh? :-)
0.002466 main(2): The user has not specified both a model and a port. Try to figure them out.
0.002567 gp-port-info-list(2): Loading io-drivers from '/usr/lib/gphoto2_port/0.5.1'...
0.004459 gphoto2-port-core(2): Loaded 'Universal Serial Bus' (usb from 'libgphoto2_port_usb.so'
0.005353 gphoto2-port-serial(2): Trying to lock '/dev/ttyS0'...
0.010427 gphoto2-port-serial(2): Trying to lock '/dev/ttyS1'...
0.014683 gphoto2-port-serial(2): Trying to lock '/dev/ttyS2'...
0.019460 gphoto2-port-serial(2): Trying to lock '/dev/ttyS3'...
0.023671 gphoto2-port-serial(2): Trying to lock '/dev/ttyS4'...
0.027909 gphoto2-port-serial(2): Trying to lock '/dev/ttyS5'...
0.032340 gphoto2-port-serial(2): Trying to lock '/dev/ttyS6'...
0.036779 gphoto2-port-serial(2): Trying to lock '/dev/ttyS7'...
0.041243 gphoto2-port-serial(2): Trying to lock '/dev/ttyS8'...
0.045773 gphoto2-port-serial(2): Trying to lock '/dev/ttyS9'...
0.050054 gphoto2-port-serial(2): Trying to lock '/dev/ttyS10'...
0.054728 gphoto2-port-serial(2): Trying to lock '/dev/ttyS11'...
0.059238 gphoto2-port-serial(2): Trying to lock '/dev/ttyS12'...
0.063748 gphoto2-port-serial(2): Trying to lock '/dev/ttyS13'...
0.068048 gphoto2-port-serial(2): Trying to lock '/dev/ttyS14'...
0.072247 gphoto2-port-serial(2): Trying to lock '/dev/ttyS15'...
0.076734 gphoto2-port-serial(2): Trying to lock '/dev/ttyS16'...
0.081035 gphoto2-port-serial(2): Trying to lock '/dev/ttyS17'...
0.085275 gphoto2-port-serial(2): Trying to lock '/dev/ttyS18'...
0.089496 gphoto2-port-serial(2): Trying to lock '/dev/ttyS19'...
0.093767 gphoto2-port-serial(2): Trying to lock '/dev/ttyS20'...
0.097986 gphoto2-port-serial(2): Trying to lock '/dev/ttyS21'...
0.102225 gphoto2-port-serial(2): Trying to lock '/dev/ttyS22'...
0.106480 gphoto2-port-serial(2): Trying to lock '/dev/ttyS23'...
0.110688 gphoto2-port-serial(2): Trying to lock '/dev/ttyS24'...
0.114918 gphoto2-port-serial(2): Trying to lock '/dev/ttyS25'...
0.119164 gphoto2-port-serial(2): Trying to lock '/dev/ttyS26'...
0.123398 gphoto2-port-serial(2): Trying to lock '/dev/ttyS27'...
0.127626 gphoto2-port-serial(2): Trying to lock '/dev/ttyS28'...
0.131858 gphoto2-port-serial(2): Trying to lock '/dev/ttyS29'...
0.136099 gphoto2-port-serial(2): Trying to lock '/dev/ttyS30'...
0.140349 gphoto2-port-serial(2): Trying to lock '/dev/ttyS31'...
0.144628 gphoto2-port-serial(2): Trying to lock '/dev/ttyS32'...
0.148957 gphoto2-port-core(2): Loaded '' (^serial) from 'libgphoto2_port_serial.so'
0.150682 gphoto2-port-info-list(2): Counting entries (2 available)...
0.150794 gphoto2-port-info-list(2): 1 regular entries available.
0.150863 gphoto2-port(2): Creating new device...
0.150941 gphoto2-port-info-list(2): Getting info of entry 0 (2 available)...
0.152518 gphoto2-port(2): Setting timeout to 5000 millisecond(s)...
0.152611 gphoto2-port(2): Setting settings...
0.152684 gphoto2-abilities-list.c(1): Auto-detecting USB cameras...
0.153182 gphoto2-port(0): Could not find USB device (vendor 0x553, product 0x202). Make sure this device is connected to the computer.

The line above was repeated a lot for various camera models I assume and finally I get:

1.394411 gphoto2-port(2): Freeing port...
1.394478 gphoto2-port(2): Closing port...
1.394791 setting/gphoto2-setting.c(2): Creating $HOME/.gphoto
1.395031 setting/gphoto2-setting.c(2): Can't open settings file for reading
1.395111 setting/gphoto2-setting.c(2): Loading settings from file "/home/jrhook/.gphoto/settings"
1.395223 setting/gphoto2-setting.c(2): Can't open settings for reading
1.395300 setting/gphoto2-setting.c(2): Creating $HOME/.gphoto
1.395423 setting/gphoto2-setting.c(2): Can't open settings file for reading
1.395500 setting/gphoto2-setting.c(2): Loading settings from file "/home/jrhook/.gphoto/settings"
1.395623 setting/gphoto2-setting.c(2): Can't open settings for reading
Abilities for camera :
Serial port support : no
USB support : no
Capture choices :
: Capture not supported by the driver
Configuration support : no
Delete files on camera support : no
File preview (thumbnail) support : no
File upload support : no
1.396633 main(2): Uploading file...
*** Error (-1: 'Unspecified error') ***

For debugging messages, please use the --debug option.
Debugging messages may help finding a solution to your problem.
If you intend to send any error or debug messages to the gphoto
developer mailing list <gphoto-devel@lists.sourceforge.net>, please run
gphoto2 as follows:

env LANG=C gphoto2 --debug --debug -auto-detect

Please make sure there is sufficient quoting around the arguments.

1.397811 gp-camera(2): Freeing camera...
1.397888 gphoto2-port(2): Freeing port...
1.397958 libgphoto2/gphoto2-filesys.c(2): Clearing fscache LRU list...
1.398030 libgphoto2/gphoto2-filesys.c(2): fscache LRU list already empty
1.398097 gphoto2-filesystem(2): Internally deleting all folders from '/'...
 
Old 02-24-2005, 03:22 PM   #8
Hook99
Member
 
Registered: Dec 2004
Location: Cincinnati
Distribution: Fedora Core 3
Posts: 31

Original Poster
Rep: Reputation: 15
Still no success on getting the computer to recognize the camera. Is there a method to test if the USB device is working or not?

Or any other suggestions?

Thanks.
 
Old 03-05-2005, 12:43 PM   #9
Hook99
Member
 
Registered: Dec 2004
Location: Cincinnati
Distribution: Fedora Core 3
Posts: 31

Original Poster
Rep: Reputation: 15
Anybody out there that can offer up some help or suggestions on this issue?

Thanks.
 
Old 03-05-2005, 01:56 PM   #10
FF103
Member
 
Registered: Aug 2003
Location: Kentucky
Distribution: Mandrake 10.1
Posts: 157

Rep: Reputation: 30
I struggled with a couple of different cameras on a couple of different distros and didn't have any luck with any of them, and then I finally bought a lexar card reader and it works. I had to mount it manually in mandrake 9.1 but on 10.1 official I just plug it in with a card inserted and it mounts it automatically. This works on my laptop and my desktop. hope this helps.
 
Old 03-25-2005, 05:49 AM   #11
Hook99
Member
 
Registered: Dec 2004
Location: Cincinnati
Distribution: Fedora Core 3
Posts: 31

Original Poster
Rep: Reputation: 15
Still cannot get camera to work with USB

I still cannot get my Digital camera to work with my Linux machine. Canon A75. Fedora Core 3

Is there a method for testing if the USB port is actually working?

The camera works fine on my Win XP machine. On the Linux box it is completely non-responsive.

Any suggestions?

Thanks.
 
Old 03-25-2005, 10:12 AM   #12
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
Have a look at the general stuff here and detailed howto for the A70 which would be the same basic steps here.
Note you need to get the relevant values in the general section (first link) and then use them as per the guide in the 2nd link.

Last edited by TigerOC; 03-25-2005 at 10:17 AM.
 
Old 03-26-2005, 07:35 AM   #13
Hook99
Member
 
Registered: Dec 2004
Location: Cincinnati
Distribution: Fedora Core 3
Posts: 31

Original Poster
Rep: Reputation: 15
Thank you for responding - I read the articles you sent. They may be a bit dated, as gThumb lists the Canon A75 in their list of camera models to choose from..

When I open gThumb 2.4.2, I select File / Import Photos - the dialogue box indicates: No Camera Detected.

I then double click on the No Camera Detected Icon and it brings up a Camera Model selection dialogue box. I select Canon Powershot A75 as the model and it fills in the port as usb:

I then click on OK and get the error:

"An error occurred in the io-library ('Bad parameters'): Could not find USB device (vendor 0x4a9, product 0x30b5). Make sure this device is connected to the computer."

The device is connected, and the camera is on. If I take the camera over to my Win98 or WinXP machine, it works fine.

I am stuck at this point.
 
Old 03-26-2005, 10:10 AM   #14
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
Make sure the camera is being seen. As root do;

cat /proc/bus/usb/devices

It should be listed.
 
Old 03-26-2005, 05:04 PM   #15
Hook99
Member
 
Registered: Dec 2004
Location: Cincinnati
Distribution: Fedora Core 3
Posts: 31

Original Poster
Rep: Reputation: 15
I get the following when I run the command you suggest:
[root@localhost usb]# cat /proc/bus/usb/devices
cat: /proc/bus/usb/devices: No such file or directory

When I do an ls command from within /proc/bus/usb , I get nothing as in:
[root@localhost usb]# ls
[root@localhost usb]#

Since it is not listed, I assume it is not being seen as you mention, but I don't know how to make it 'seen' - can you suggest more?

Thank you.

Last edited by Hook99; 03-26-2005 at 05:06 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Digital Camera on SuSE 10 Not Recognized petelogan Suse/Novell 15 11-15-2005 08:17 AM
Sony camera not recognized patrickclay Linux - Newbie 3 03-02-2005 11:15 PM
Getting Kodak camera recognized 1madstork Debian 4 02-07-2005 07:06 AM
digital camera to cd poof! Linux - Software 3 11-07-2004 08:00 PM
digital camera andrewlkho Linux - Hardware 1 08-05-2003 01:48 PM


All times are GMT -5. The time now is 09:14 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration