You are not logged in.

#1 2007-12-28 18:04:25

slackhack
Member
Registered: 2004-06-30
Posts: 738

no digital camera in Arch [NOT SOLVED]

I posted before in another thread but it's buried now, and the bug report is not getting anywhere, so I decided to make a new thread for anyone having trouble with their digital camera in Arch.

There appears to be some kernel level problem, would be my guess. I lost camera access on both my desktop and laptop at around the same time. The camera (Canon A75) works on the same hardware when booting to knoppix 4.0. I also lost my USB mouse around that time, but I can't be sure if it was before the camera or not, because I don't think I used the camera until a little while after losing the mouse, after a few more upgrades.

I tried downgrading the kernel to one someone else had reported success with, but it didn't work for me, either on the desktop or laptop. I'm using udev rules directly from someone whose camera access is working. My user is in the camera group, as it always  has been. I've tried gtkam, gthumb, and digikam. All can detect the camera, but none can access the photos. root had access at one point, but now it no longer does. dmesg shows USB being activated when the camera is turned on. Palm pilot still works fine. I thought it might be a corrupted file on the camera, so I formatted the memory card and tried again with a new photo, but still no luck.

Booting into knoppix all the time just to download photos is getting old. Can anyone help me troubleshoot it? libgphoto2 is up to date - everything is up to date, the udev rules seem to be okay, camera is detected but not accessed, not sure where to look next.

Last edited by slackhack (2008-01-01 15:25:21)

Offline

#2 2007-12-28 18:39:27

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,694
Website

Re: no digital camera in Arch [NOT SOLVED]

Are you using hal?
I have it in my laptop and it works just fine. I even (using the 5 in One slot) plug the camera chip into the laptop and opens it at once.

R.

Offline

#3 2007-12-29 00:40:21

slackhack
Member
Registered: 2004-06-30
Posts: 738

Re: no digital camera in Arch [NOT SOLVED]

got it! thanks to this thread:

http://bbs.archlinux.org/viewtopic.php?id=41467

when I moved the udev rule for my camera to the end and restarted udev, it now works. gtkam still gives an error when I first click on the camera folder, but if I click it a second time it lists the photos.

why would the rule have to be at the end? I freaking hate this udev stuff -- it's not linux, it's udev! mad

Offline

#4 2007-12-31 14:52:21

slackhack
Member
Registered: 2004-06-30
Posts: 738

Re: no digital camera in Arch [NOT SOLVED]

~UPDATE~

Well, almost solved. I have to restart udev each time (killall udevd && udevd -d) *before* starting the camera, or it doesn't work. So if anyone is still having a problem, try that after moving the rule to the end. I'll look into reporting this if I can figure out whether it is in fact udev, or the kernel, or maybe libphoto2.

Offline

#5 2007-12-31 19:15:36

azleifel
Member
Registered: 2007-10-28
Posts: 486

Re: no digital camera in Arch [NOT SOLVED]

slackhack wrote:

~UPDATE~

Well, almost solved. I have to restart udev each time (killall udevd && udevd -d) *before* starting the camera, or it doesn't work. So if anyone is still having a problem, try that after moving the rule to the end. I'll look into reporting this if I can figure out whether it is in fact udev, or the kernel, or maybe libphoto2.

Looks as though this one is going to run and run sad  Anyway, did you try fixing up the reference to the check-ptp-camera script in 54-gphoto.rules (see my last post in that other thread)?

Offline

#6 2008-01-01 15:26:43

slackhack
Member
Registered: 2004-06-30
Posts: 738

Re: no digital camera in Arch [NOT SOLVED]

azleifel wrote:

Looks as though this one is going to run and run sad  Anyway, did you try fixing up the reference to the check-ptp-camera script in 54-gphoto.rules (see my last post in that other thread)?

yes, I had changed that too. but now it's suddenly not working again. I guess there must have been something cleared or reset with the reboot.

Offline

#7 2008-01-02 17:11:19

slackhack
Member
Registered: 2004-06-30
Posts: 738

Re: no digital camera in Arch [NOT SOLVED]

I have it working about 10% of the time with combinations of restarting X, killing conky, unplugging and replugging in the camera, etc. nothing so far seems reliable as far as a pattern. sometimes restarting X will get it to work, sometimes it won't. sometimes unplugging the USB and plugging it back in works, sometimes it doesn't. something is *really* messed up with Hal/udev I guess!

Offline

#8 2008-01-02 18:01:07

azleifel
Member
Registered: 2007-10-28
Posts: 486

Re: no digital camera in Arch [NOT SOLVED]

slackhack wrote:

I have it working about 10% of the time with combinations of restarting X, killing conky, unplugging and replugging in the camera, etc. nothing so far seems reliable as far as a pattern. sometimes restarting X will get it to work, sometimes it won't. sometimes unplugging the USB and plugging it back in works, sometimes it doesn't. something is *really* messed up with Hal/udev I guess!

If the errors seem to be random then my first thought would be that there is a problem with the connection between camera and PC.  I would certainly want to check that everything looks secure and perhaps would even try jiggling the usb lead about and then looking at the tail end of the dmesg output to see whether the camera is disconnecting/reconnecting.

If this is not a hardware problem then I guess that the next step is going to have to be checking and maybe reinstalling hal, udev and libgphoto2.  FYI, I did a little research in the meantime and the udev rule for the Canon PowerShot A75 is already in the 54-gphoto.rules file that comes with the libgphoto2 2.4.0-4 package.  It's the (deliberately duplicated but don't ask me why) lines:

ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="30b5", MODE="0660", GROUP="camera"
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="30b5", MODE="0660", GROUP="camera"

Actually, how tidy is your /etc/udev/rules.d directory?  Here's a listing of mine for comparison:

-rw-r--r-- 1 root root 87550 2007-10-24 20:35 53-sane.rules
-rw-r--r-- 1 root root 59800 2007-12-29 20:42 54-gphoto.rules
-rw-r--r-- 1 root root   950 2007-10-20 13:52 55-hpmud.rules
-rw-r--r-- 1 root root   206 2007-11-15 20:04 60-cdrom_id.rules
-rw-r--r-- 1 root root  1098 2007-11-15 19:53 60-pcmcia.rules
-rw-r--r-- 1 root root  1215 2007-11-15 20:04 60-persistent-storage-tape.rules
-rw-r--r-- 1 root root    80 2007-12-31 18:51 60-vboxdrv.rules
-rw-r--r-- 1 root root   390 2007-11-15 20:04 75-cd-aliases-generator.rules.optional
-rw-r--r-- 1 root root  2106 2007-11-15 20:04 75-persistent-net-generator.rules.optional
-rw-r--r-- 1 root root    82 2007-10-28 19:55 90-hal.rules
-rw-r--r-- 1 root root    28 2007-11-15 21:42 99-fuse.rules
-rw-r--r-- 1 root root   201 2007-11-15 18:14 device-mapper.rules
-rw-r----- 1 root root 11014 2007-10-23 23:41 hp-check.log
-rw-r--r-- 1 root root  1151 2007-12-29 20:08 local.rules
-rw-r--r-- 1 root root 21361 2007-10-23 21:50 udev.rules

The only file that I've ever had to edit after adding my own local.rules is 54-gphoto.rules!

Offline

#9 2008-01-02 18:04:50

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: no digital camera in Arch [NOT SOLVED]

Perhaps the system will perform as expected if the connections are made to the camera, with the camera in "off" and then when ready in arch, turn the camera "on".


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#10 2008-01-03 20:06:36

slackhack
Member
Registered: 2004-06-30
Posts: 738

Re: no digital camera in Arch [NOT SOLVED]

I don't think it's hardware, because it works without a problem on the same hardware in knoppix. I'm also having the same problem on my laptop. maybe the camera is dying, but it seems to be working fine in every other way, and like I said it works in knoppix and on my friend's fedora machine.

dmesg seems to see the camera fine, just have my laptop here:

usb 2-1: new full speed USB device using uhci_hcd and address 6
usb 2-1: configuration #1 chosen from 1 choice
usb 2-1: reset full speed USB device using uhci_hcd and address 6
usb 2-1: device firmware changed
usb 2-1: USB disconnect, address 6
usb 2-1: new full speed USB device using uhci_hcd and address 7
usb 2-1: configuration #1 chosen from 1 choice
usb 2-1: USB disconnect, address 7
usb 2-1: new full speed USB device using uhci_hcd and address 8
usb 2-1: configuration #1 chosen from 1 choice

logged into my home machine, looks like it still has the dmesg disconnect info:

usb 3-1: new full speed USB device using uhci_hcd and address 59
usb 3-1: configuration #1 chosen from 1 choice
usb 3-1: reset full speed USB device using uhci_hcd and address 59
usb 3-1: device firmware changed
usb 3-1: USB disconnect, address 59
usb 3-1: new full speed USB device using uhci_hcd and address 60
usb 3-1: configuration #1 chosen from 1 choice
usb 3-1: USB disconnect, address 60

Offline

#11 2008-01-07 16:32:30

mumpf
Member
From: Switzerland
Registered: 2006-09-05
Posts: 95

Re: no digital camera in Arch [NOT SOLVED]

Are the necessary daemons active -> "DAEMONS=(... hal ...)"  in rc.conf?

Edit:

Sorry, this can't be the reason: "...camera is detected but not accessed".

Last edited by mumpf (2008-01-07 16:35:06)

Offline

#12 2008-01-09 19:02:48

slackhack
Member
Registered: 2004-06-30
Posts: 738

Re: no digital camera in Arch [NOT SOLVED]

thanks mumpf - the daemons are running.

I just got it to work one time as root after rebooting, long enough to get some pics off the camera, then it doesn't work again. I've never used gphoto2 so I don't know all the options, but I ran gphoto2 -l, and it gave this message:

sero@homer:~ $ gphoto2 -l
Detected a 'Canon:PowerShot A75'.                                              
*** Error (-114: 'OS error in camera communication') ***       

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-logfile=my-logfile.txt -l

Please make sure there is sufficient quoting around the arguments.

so I ran it with debug, and it gave some more info:

sero@homer:~ $ gphoto2 -l --debug >gphoto2
0.000045 main(2): ALWAYS INCLUDE THE FOLLOWING LINES WHEN SENDING DEBUG MESSAGES TO THE MAILING LIST:
0.000104 main(2): gphoto2 2.4.0
0.000124 main(2): gphoto2 has been compiled with the following options:
0.000140 main(2):  + gcc (C compiler used)
0.000155 main(2):  + popt (mandatory, for handling command-line parameters)
0.000171 main(2):  + exif (for displaying EXIF information)
0.000185 main(2):  + no cdk (for accessing configuration options)
0.000200 main(2):  + aa (for displaying live previews)
0.000215 main(2):  + jpeg (for displaying live previews in JPEG format)
0.000230 main(2):  + readline (for easy navigation in the shell)
0.000249 main(2): libgphoto2 2.4.0
0.000268 main(2): libgphoto2 has been compiled with the following options:
0.000284 main(2):  + gcc (C compiler used)
0.000300 main(2):  + ltdl (for portable loading of camlibs)
0.000316 main(2):  + EXIF (for special handling of EXIF files)
0.000334 main(2): libgphoto2_port 0.8.0
0.000352 main(2): libgphoto2_port has been compiled with the following options:
0.000369 main(2):  + gcc (C compiler used)
0.000384 main(2):  + ltdl (for portable loading of camlibs)
0.000400 main(2):  + USB (libusb, for USB cameras)
0.000416 main(2):  + serial (for serial cameras)
0.000431 main(2):  + no resmgr (serial port access and locking)
0.000447 main(2):  + no baudboy (serial port locking)
0.000463 main(2):  + no ttylock (serial port locking)
0.000478 main(2):  + no lockdev (serial port locking)
0.000494 main(2): CAMLIBS env var not set, using compile-time default instead
0.000510 main(2): IOLIBS env var not set, using compile-time default instead
0.000554 setting/gphoto2-setting.c(2): Creating $HOME/.gphoto
0.000656 setting/gphoto2-setting.c(2): Loading settings from file "/home/sero/.gphoto/settings"
0.000909 main(2): The user has not specified both a model and a port. Try to figure them out.
0.000947 gphoto2-port-info-list(2): Using ltdl to load io-drivers from '/usr/lib/libgphoto2_port/0.8.0'...
0.001089 gphoto2-port-info-list(2): Called for filename '/usr/lib/libgphoto2_port/0.8.0/disk'.
0.014496 gphoto2-port/disk(2): found 12 volumes
0.078714 gphoto2-port-info-list(2): Loaded 'Media 'Volume (ext3)'' ('disk:/mnt/seagate/backup') from '/usr/lib/libgphoto2_port/0.8.0/disk'.
0.078903 gphoto2-port-info-list(2): Loaded 'Media 'Volume (ext3)'' ('disk:/mnt/seagate/video') from '/usr/lib/libgphoto2_port/0.8.0/disk'.
0.079037 gphoto2-port-info-list(2): Loaded 'Media 'Volume (ext3)'' ('disk:/mnt/seagate/multi') from '/usr/lib/libgphoto2_port/0.8.0/disk'.
0.079164 gphoto2-port-info-list(2): Loaded 'Media 'Volume (ext3)'' ('disk:/mnt/seagate/win2ks') from '/usr/lib/libgphoto2_port/0.8.0/disk'.
0.079294 gphoto2-port-info-list(2): Loaded 'Media 'Volume (ext3)'' ('disk:/mnt/data') from '/usr/lib/libgphoto2_port/0.8.0/disk'.
0.079418 gphoto2-port-info-list(2): Loaded 'Media 'Volume (ext3)'' ('disk:/mnt/media') from '/usr/lib/libgphoto2_port/0.8.0/disk'.
0.079541 gphoto2-port-info-list(2): Loaded 'Media 'Volume (ext3)'' ('disk:/home') from '/usr/lib/libgphoto2_port/0.8.0/disk'.
0.079664 gphoto2-port-info-list(2): Loaded 'Media 'Volume (ext3)'' ('disk:/') from '/usr/lib/libgphoto2_port/0.8.0/disk'.
0.079788 gphoto2-port-info-list(2): Loaded '' ('^disk:') from '/usr/lib/libgphoto2_port/0.8.0/disk'.
0.079910 gphoto2-port-info-list(2): Called for filename '/usr/lib/libgphoto2_port/0.8.0/ptpip'.
0.080305 gphoto2-port-info-list(2): Loaded 'PTP/IP Connection' ('ptpip:') from '/usr/lib/libgphoto2_port/0.8.0/ptpip'.
0.080437 gphoto2-port-info-list(2): Loaded '' ('^ptpip') from '/usr/lib/libgphoto2_port/0.8.0/ptpip'.
0.080558 gphoto2-port-info-list(2): Called for filename '/usr/lib/libgphoto2_port/0.8.0/serial'.
0.080860 gphoto2-port-serial(2): Trying to lock '/dev/tts/0'...
0.081155 gphoto2-port-serial(2): Trying to lock '/dev/tts/1'...
0.081311 gphoto2-port-serial(2): Trying to lock '/dev/tts/2'...
0.081462 gphoto2-port-serial(2): Trying to lock '/dev/tts/3'...
0.081823 gphoto2-port-info-list(2): Loaded 'Serial Port 0' ('serial:/dev/tts/0') from '/usr/lib/libgphoto2_port/0.8.0/serial'.
0.081958 gphoto2-port-info-list(2): Loaded 'Serial Port 1' ('serial:/dev/tts/1') from '/usr/lib/libgphoto2_port/0.8.0/serial'.
0.082082 gphoto2-port-info-list(2): Loaded 'Serial Port 2' ('serial:/dev/tts/2') from '/usr/lib/libgphoto2_port/0.8.0/serial'.
0.082205 gphoto2-port-info-list(2): Loaded 'Serial Port 3' ('serial:/dev/tts/3') from '/usr/lib/libgphoto2_port/0.8.0/serial'.
0.082330 gphoto2-port-info-list(2): Loaded '' ('^serial') from '/usr/lib/libgphoto2_port/0.8.0/serial'.
0.082452 gphoto2-port-info-list(2): Called for filename '/usr/lib/libgphoto2_port/0.8.0/usb'.
0.231756 gphoto2-port-info-list(2): Loaded 'Universal Serial Bus' ('usb:') from '/usr/lib/libgphoto2_port/0.8.0/usb'.
0.231931 gphoto2-port-info-list(2): Loaded '' ('^usb:') from '/usr/lib/libgphoto2_port/0.8.0/usb'.
0.232067 gphoto2-port-info-list(2): Counting entries (18 available)...
0.232184 gphoto2-port-info-list(2): 14 regular entries available.
0.232825 gphoto2-abilities-list(2): Using ltdl to load camera libraries from '/usr/lib/libgphoto2/2.4.0'...
0.234261 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.0/adc65'.
0.234407 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.0/agfa_cl20'.
0.234521 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.0/aox'.
0.234633 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.0/barbie'.
0.234745 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.0/canon'.
0.234865 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.0/casio_qv'.
0.234997 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.0/clicksmart310'.
0.235111 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.0/digigr8'.
0.235224 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.0/digita'.
0.235336 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.0/dimagev'.
0.235448 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.0/dimera3500'.
0.235561 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.0/directory'.
0.235673 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.0/enigma13'.
0.235788 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.0/fuji'.
0.235900 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.0/gsmart300'.
0.236018 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.0/hp215'.
0.236131 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.0/iclick'.
0.236249 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.0/jamcam'.
0.236361 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.0/jd11'.
0.236473 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.0/kodak_dc120'.
0.236585 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.0/kodak_dc210'.
0.236698 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.0/kodak_dc240'.
0.236809 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.0/kodak_dc3200'.
0.236928 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.0/kodak_ez200'.
0.237039 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.0/konica'.
0.237152 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.0/konica_qm150'.
0.237265 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.0/largan'.
0.237376 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.0/lg_gsm'.
0.237488 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.0/mars'.
0.237599 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.0/mustek'.
0.237710 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.0/panasonic_coolshot'.
0.237825 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.0/panasonic_dc1000'.
0.237949 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.0/panasonic_dc1580'.
0.238063 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.0/panasonic_l859'.
0.238176 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.0/pccam300'.
0.238296 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.0/pccam600'.
0.238409 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.0/polaroid_pdc320'.
0.238523 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.0/polaroid_pdc640'.
0.238636 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.0/polaroid_pdc700'.
0.238755 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.0/ptp2'.
0.238867 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.0/ricoh'.
0.238978 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.0/ricoh_g3'.
0.239090 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.0/samsung'.
0.239202 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.0/sierra'.
0.239313 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.0/sipix_blink2'.
0.239426 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.0/sipix_web2'.
0.239545 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.0/smal'.
0.239657 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.0/sonix'.
0.239769 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.0/sony_dscf1'.
0.239882 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.0/sony_dscf55'.
0.239999 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.0/soundvision'.
0.240113 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.0/spca50x'.
0.240226 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.0/sq905'.
0.240338 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.0/stv0674'.
0.240450 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.0/stv0680'.
0.240563 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.0/sx330z'.
0.240676 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.0/toshiba_pdrm11'.
0.240799 gp-abilities-list(2): Found 57 camera drivers.
0.928629 gphoto2-port-info-list(2): Counting entries (18 available)...
0.928819 gphoto2-port-info-list(2): 14 regular entries available.
0.928935 gphoto2-port(2): Creating new device...
0.929062 gphoto2-port-info-list(2): Getting info of entry 0 (18 available)...
0.929656 gphoto2-port(2): Setting settings...
0.929795 gphoto2-port(0): The operation 'update' is not supported by this device
0.929936 gphoto2-port-info-list(2): Getting info of entry 1 (18 available)...
0.930411 gphoto2-port(2): Setting settings...
0.930536 gphoto2-port(0): The operation 'update' is not supported by this device
0.930665 gphoto2-port-info-list(2): Getting info of entry 2 (18 available)...
0.931127 gphoto2-port(2): Setting settings...
0.931257 gphoto2-port(0): The operation 'update' is not supported by this device
0.931389 gphoto2-port-info-list(2): Getting info of entry 3 (18 available)...
0.931856 gphoto2-port(2): Setting settings...
0.931981 gphoto2-port(0): The operation 'update' is not supported by this device
0.932111 gphoto2-port-info-list(2): Getting info of entry 4 (18 available)...
0.932570 gphoto2-port(2): Setting settings...
0.932694 gphoto2-port(0): The operation 'update' is not supported by this device
0.932822 gphoto2-port-info-list(2): Getting info of entry 5 (18 available)...
0.933272 gphoto2-port(2): Setting settings...
0.933395 gphoto2-port(0): The operation 'update' is not supported by this device
0.933524 gphoto2-port-info-list(2): Getting info of entry 6 (18 available)...
0.933977 gphoto2-port(2): Setting settings...
0.934102 gphoto2-port(0): The operation 'update' is not supported by this device
0.934230 gphoto2-port-info-list(2): Getting info of entry 7 (18 available)...
0.934676 gphoto2-port(2): Setting settings...
0.934800 gphoto2-port(0): The operation 'update' is not supported by this device
0.934929 gphoto2-port-info-list(2): Getting info of entry 8 (18 available)...
0.935260 gphoto2-port(2): Setting settings...
0.935379 gphoto2-port-info-list(2): Getting info of entry 9 (18 available)...
0.935677 gphoto2-port(2): Setting timeout to 500 millisecond(s)...
0.935802 gphoto2-port(2): Setting settings...
0.935919 gphoto2-port-info-list(2): Getting info of entry 10 (18 available)...
0.936209 gphoto2-port(2): Setting timeout to 500 millisecond(s)...
0.936336 gphoto2-port(2): Setting settings...
0.936451 gphoto2-port-info-list(2): Getting info of entry 11 (18 available)...
0.936740 gphoto2-port(2): Setting timeout to 500 millisecond(s)...
0.936864 gphoto2-port(2): Setting settings...
0.936981 gphoto2-port-info-list(2): Getting info of entry 12 (18 available)...
0.937273 gphoto2-port(2): Setting timeout to 500 millisecond(s)...
0.937399 gphoto2-port(2): Setting settings...
0.937515 gphoto2-port-info-list(2): Getting info of entry 13 (18 available)...
0.938399 gphoto2-port(2): Setting timeout to 5000 millisecond(s)...
0.938526 gphoto2-port(2): Setting settings...
0.938636 libusb(2): gp_port_usb_update(old int=0, conf=-1, alt=-1), (new int=0, conf=-1, alt=-1)
0.938753 gphoto2-abilities-list.c(1): Auto-detecting USB cameras...
0.938891 gphoto2-port(0): Could not find USB device (vendor 0x553, product 0x202). Make sure this device is connected to the computer.
0.939023 gphoto2-port(0): Could not find USB device (vendor 0x6bd, product 0x403). Make sure this device is connected to the computer.
0.939159 gphoto2-port(0): Could not find USB device (vendor 0x6bd, product 0x404). Make sure this device is connected to the computer.

<snip rest of long device check list>

0.958745 gphoto2-port-usb(1): Looking for USB device (vendor 0x4a9, product 0x30b5)... found.
0.958862 gphoto2-port-usb(2): inep to look for is 81
0.958972 gphoto2-port-usb(1): Detected defaults: config 1, interface 0, altsetting 0, inep 81, outep 02, intep 83, class ff, subclass ff
0.959094 gphoto2-abilities-list.c(2): Found 'Canon PowerShot A75' (0x4a9,0x30b5)
0.959223 gphoto2-port(2): Freeing port...
0.959337 gphoto2-port(2): Closing port...
0.959572 gphoto2-camera(2): Setting abilities ('Canon PowerShot A75')...
0.959702 gphoto2-setting(2): Setting key 'model' to value 'Canon PowerShot A75' (gphoto2)
0.959823 gphoto2-setting(2): Saving 17 setting(s) to file "/home/sero/.gphoto/settings"
0.960148 gphoto2-port-info-list(2): Looking for path 'usb:' (18 entries available)...
0.960287 gphoto2-port-info-list(2): Getting info of entry 13 (18 available)...
0.960408 gphoto2-camera(2): Setting port info for port 'Universal Serial Bus' at 'usb:'...
0.961304 gphoto2-port(2): Setting timeout to 5000 millisecond(s)...
0.961432 gphoto2-port(2): Setting settings...
0.961541 libusb(2): gp_port_usb_update(old int=0, conf=-1, alt=-1), (new int=0, conf=-1, alt=-1)
0.961672 gphoto2-setting(2): Setting key 'port' to value 'usb:' (gphoto2)
0.961787 gphoto2-setting(2): Saving 17 setting(s) to file "/home/sero/.gphoto/settings"
0.962091 foreach(2): Executing action 'List Folders' for folder '/'.
0.963171 gphoto2-camera(2): Listing folders in '/'...
0.963301 gphoto2-camera(2): Initializing camera...
0.963431 gphoto2-port-usb(1): Looking for USB device (vendor 0x4a9, product 0x30b5)... found.
0.963549 gphoto2-port-usb(2): inep to look for is 81
0.963662 gphoto2-port-usb(1): Detected defaults: config 1, interface 0, altsetting 0, inep 81, outep 02, intep 83, class ff, subclass ff
0.963784 gphoto2-camera(2): Loading '/usr/lib/libgphoto2/2.4.0/canon'...
0.964206 gphoto2-port(2): Opening USB port...
0.964325 libusb(2): gp_port_usb_open()
0.964498 libusb(2): claiming interface 0
0.964635 canon/canon/library.c(2): canon camera_init()
0.964769 canon/canon/library.c(2): GPhoto tells us that we should use a USB link.
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-logfile=my-logfile.txt -l --debug

Please make sure there is sufficient quoting around the arguments.

why is it "loading" all my hard disk mounts? is that a hal thing?

-port-info-list(2): Loaded 'Media 'Volume (ext3)'' ('disk:/mnt/seagate/backup') from '/usr/lib/libgphoto2_port/0.8.0/disk'.
0.078903 gphoto2-port-info-list(2): Loaded 'Media 'Volume (ext3)'' ('disk:/mnt/seagate/video') from '/usr/lib/libgphoto2_port/0.8.0/disk'.
0.079037 gphoto2-port-info-list(2): Loaded 'Media 'Volume (ext3)'' ('disk:/mnt/seagate/multi') from '/usr/lib/libgphoto2_port/0.8.0/disk'.
0.079164 gphoto2-port-info-list(2): Loaded 'Media 'Volume (ext3)'' ('disk:/mnt/seagate/win2ks') from '/usr/lib/libgphoto2_port/0.8.0/disk'.
0.079294 gphoto2-port-info-list(2): Loaded 'Media 'Volume (ext3)'' ('disk:/mnt/data') from '/usr/lib/libgphoto2_port/0.8.0/disk'.
0.079418 gphoto2-port-info-list(2): Loaded 'Media 'Volume (ext3)'' ('disk:/mnt/media') from '/usr/lib/libgphoto2_port/0.8.0/disk'.
0.079541 gphoto2-port-info-list(2): Loaded 'Media 'Volume (ext3)'' ('disk:/home') from '/usr/lib/libgphoto2_port/0.8.0/disk'.
0.079664 gphoto2-port-info-list(2): Loaded 'Media 'Volume (ext3)'' ('disk:/') from '/usr/lib/libgphoto2_port/0.8.0/disk'.

Last edited by slackhack (2008-01-09 19:05:15)

Offline

#13 2008-01-17 20:26:06

elb
Member
From: France
Registered: 2006-03-17
Posts: 24
Website

Re: no digital camera in Arch [NOT SOLVED]

Same problem here with 2 cameras which used to work with arch but don't anymore. They are detected but cannot be accessed.
The cameras are :
- Canon digital ixus V
- Panasonic DMC FX-30

The latest one stopped working today on a friend pc right after a system upgrade (hadn't been upgraded for some time). It has a mass storage interface, so i guess the problem is with hal / udev, not gphoto2, right ?

Offline

#14 2008-01-21 04:15:44

pasquinijr
Member
From: Campinas - Brazil
Registered: 2007-07-14
Posts: 4

Re: no digital camera in Arch [NOT SOLVED]

I was able to solve this issue by going to the file 54-gphoto.rules and deleting all "ATTRS{idVendor}==..." lines not related to my camera. I just left the "ATTRS{idVendor}==..." line that had the idVendor and idProduct I got from the command "lsusb".

My camera now works fine with digikam although I am not sure if that is the best solution!

Jr

Offline

#15 2008-01-21 09:34:39

May-C
Member
Registered: 2007-12-28
Posts: 83

Re: no digital camera in Arch [NOT SOLVED]

Actually I would not delete the lines... comment them out should be enough.

Offline

#16 2008-01-23 09:11:14

elb
Member
From: France
Registered: 2006-03-17
Posts: 24
Website

Re: no digital camera in Arch [NOT SOLVED]

I doubt that this problem is related with the file 54-gphotos.rules, because when I plug the camera, the uid and gid and access flags are ok. However I will try this when I get home.

Offline

#17 2008-01-23 10:36:35

KimTjik
Member
From: Sweden
Registered: 2007-08-22
Posts: 715

Re: no digital camera in Arch [NOT SOLVED]

This is not a solution, and frankly I've never encountered such a scenario anyway, but personally I find it smoother and a lot faster to simply put the memory-card in a memory-card-reader. It's at least eliminating one possible culprit, besides increasing performance.

Maybe not a constructive post in view of the technicality of the issue.

Offline

#18 2008-01-23 14:42:24

cu3edweb
Member
From: USA
Registered: 2007-10-07
Posts: 291

Re: no digital camera in Arch [NOT SOLVED]

I got my camera connected after some suggestions here but when mine connects I just get

" No Images Found "

There is images on the camera though?

Offline

#19 2008-01-23 17:35:31

pasquinijr
Member
From: Campinas - Brazil
Registered: 2007-07-14
Posts: 4

Re: no digital camera in Arch [NOT SOLVED]

Please forget my previous post above! The connection with the camera is not working anymore. I just do not know how it worked three days ago, I have not changed anything.

I am really sorry for that! Please forgive me for giving false hope... sad

I will try to be more careful before I post next time. Sorry again.

Jr

Last edited by pasquinijr (2008-01-23 17:37:21)

Offline

#20 2008-01-24 21:49:14

azleifel
Member
Registered: 2007-10-28
Posts: 486

Re: no digital camera in Arch [NOT SOLVED]

pasquinijr wrote:

Please forget my previous post above! The connection with the camera is not working anymore. I just do not know how it worked three days ago, I have not changed anything.

I am really sorry for that! Please forgive me for giving false hope... sad

I will try to be more careful before I post next time. Sorry again.

Jr

This is just a throw-away idea:  Do you always use the same usb lead to connect your camera?  I only put it forward because the outwardly similar leads that came with my Samsung Digimax V4 and Fuji FinePix S5700 are not interchangeable.  If I connect the Samsung with the Fuji lead - like I did earlier today by accident - then it won't even be detected by my PC.

Offline

#21 2008-01-25 05:05:23

pasquinijr
Member
From: Campinas - Brazil
Registered: 2007-07-14
Posts: 4

Re: no digital camera in Arch [NOT SOLVED]

azleifel wrote:

This is just a throw-away idea:  Do you always use the same usb lead to connect your camera?  I only put it forward because the outwardly similar leads that came with my Samsung Digimax V4 and Fuji FinePix S5700 are not interchangeable.  If I connect the Samsung with the Fuji lead - like I did earlier today by accident - then it won't even be detected by my PC.

I've been using the same usb lead. So far no luck.
Thanks anyway.

Offline

#22 2008-03-15 11:19:07

Dieter
Member
From: Germany
Registered: 2005-10-13
Posts: 140

Re: no digital camera in Arch [NOT SOLVED]

There are still bugs in libgphoto2, 2.4.0 in Arch. I can't connect to my Canon PowerShot A40 either via USB. It works fine with previous version of libgphoto2. I don't know whether it's an udev issue or source issue. Debian applied several patches to libghpoto2 - at least the last one related to Canon cameras:
http://packages.debian.org/changelogs/p … /changelog
Perhaps the libgphoto2 maintainer can have a look on these patches?

Just I tried a
gphoto2 -l --debug

... and this is the end of the output (cannot make exclusive reservation for USB port):

1.087949 gphoto2-port(0): Konnte USB-Gerät (Hersteller 0x2770, Produkt 0x9120) nicht finden.
...
1.088020 gphoto2-port(0): Konnte USB-Gerät (Hersteller 0x2770, Produkt 0x905c) nicht finden.
Stellen Sie sicher, dass das Gerät ordnungsgemäß an den Computer angeschlossen ist.
1.088054 gphoto2-port(2): Lösche Port...
1.088077 gphoto2-port(2): Schließe Port...
1.088235 gphoto2-camera(2): Setting abilities ('Canon PowerShot A40')...
1.088257 gphoto2-setting(2): Setting key 'model' to value 'Canon PowerShot A40' (gphoto2)
1.088276 gphoto2-setting(2): Saving 3 setting(s) to file "/home/dieter/.gphoto/settings"
1.105585 gphoto2-port-info-list(2): Suche Pfad 'usb:' (11 Einträge vorhanden)...
1.105624 gphoto2-port-info-list(2): Hole Informationen von Eintrag 4 (11 vorhanden)...
1.105651 gphoto2-camera(2): Setting port info for port 'Universal Serial Bus' at 'usb:'...
1.106652 gphoto2-port(2): Setze Timeout auf 5000 Millisekunden...
1.106673 gphoto2-port(2): Setze Einstellungen...
1.106688 libusb(2): gp_port_usb_update(old int=0, conf=-1, alt=-1), (new int=0, conf=-1, alt=-1)
1.106707 gphoto2-setting(2): Setting key 'port' to value 'usb:' (gphoto2)
1.106725 gphoto2-setting(2): Saving 3 setting(s) to file "/home/dieter/.gphoto/settings"
1.106985 foreach(2): Executing action 'List Folders' for folder '/'.
1.107445 gphoto2-camera(2): Listing folders in '/'...
1.107469 gphoto2-camera(2): Initializing camera...
1.107501 gphoto2-port-usb(1): Looking for USB device (vendor 0x4a9, product 0x3058)... found.
1.107521 gphoto2-port-usb(2): inep to look for is 81
1.107535 gphoto2-port-usb(1): Detected defaults: config 1, interface 0, altsetting 0, inep 81, outep 02, intep 83, class ff, subclass ff
1.107554 gphoto2-camera(2): Loading '/usr/lib/libgphoto2/2.4.0/canon'...
1.107947 gphoto2-port(2): Öffne Port USB...
1.107966 libusb(2): gp_port_usb_open()
1.108058 gphoto2-port(0): Kamera ist bereits in Benutzung.
1.108145 context(0): Ein Fehler trat in der IO-Bibliothek auf (»Konnte das Gerät nicht alleinig reservieren«): Kamera ist bereits in Benutzung.

*** Fehler ***
Ein Fehler trat in der IO-Bibliothek auf (»Konnte das Gerät nicht alleinig reservieren«): Kamera ist bereits in Benutzung.
*** Fehler (-60: »Konnte das Gerät nicht alleinig reservieren«) ***

Für Debug-Meldungen verwenden Sie bitte die Option »--debug«.
Diese Meldungen können Ihnen helfen, eine Lösung für Ihr Problem zu
finden. Wenn Sie jedoch Fehler- oder Debug-Meldungen an die
Mailingliste <gphoto-devel@lists.sourceforge.net> schicken wollen,
so starten sie gphoto2 bitte wie folgt:

    env LANG=C gphoto2 --debug --debug-logfile=my-logfile.txt -l --debug

Please make sure there is sufficient quoting around the arguments.

1.110342 gp-camera(2): Freeing camera...
1.110366 gphoto2-port(2): Lösche Port...
1.110381 gphoto2-port(2): Schließe Port...
1.110442 gphoto2-port(0): Konnte Schnittstelle 0 nicht freigeben (Das Argument ist ungültig).
1.110504 libgphoto2/gphoto2-filesys.c(2): Clearing fscache LRU list...
1.110521 libgphoto2/gphoto2-filesys.c(2): fscache LRU list already empty
1.110537 gphoto2-filesystem(2): Internally deleting all folders from '/'...
[dieter@arch ~]$

Last edited by Dieter (2008-03-15 11:20:36)

Offline

#23 2008-03-15 14:28:09

bgc1954
Member
From: Edmonton, AB, Canada
Registered: 2006-03-14
Posts: 1,160

Re: no digital camera in Arch [NOT SOLVED]

Geez, you guys had me worried for a second.  I hadn't plugged in my Nikon L12 for some time so just checked it out and I can still connect and transfer my pics using gtkam--wheeeooh!  All I ever did was place the idVendor and idProduct that I got from lsusb in 54-gphoto.rules and placed myself in the camera group.  I put the id line just under other "04b0" cameras that were already there--there was no listing for the L12.  Just did a pacman -Syu before I plugged in the camera too to see if anything would affect it and nada.  Good luck with your problem.


Time is a great teacher, but unfortunately it kills all its pupils ... - Louis Hector Berlioz

Offline

#24 2008-04-25 16:15:25

bgc1954
Member
From: Edmonton, AB, Canada
Registered: 2006-03-14
Posts: 1,160

Re: no digital camera in Arch [NOT SOLVED]

Apparently all is not well as now my Nikon L12 cannot be accessed with Gtkam. It finds the camera alright but cannot access it. I've tried suggestions from several bug reports and forum threads but they don't help.  Gphoto2 does work fine from cli though.  Either that or use my card reader which has always worked.


Time is a great teacher, but unfortunately it kills all its pupils ... - Louis Hector Berlioz

Offline

Board footer

Powered by FluxBB