Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kernel 2.6.0 and digital ixus (=powershot something)
View unanswered posts
View posts from last 24 hours

Goto page 1, 2, 3  Next  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
flokno
Apprentice
Apprentice


Joined: 18 Dec 2002
Posts: 185
Location: graz/austria/europe

PostPosted: Fri Dec 26, 2003 2:51 am    Post subject: kernel 2.6.0 and digital ixus (=powershot something) Reply with quote

hello!

i have installed kernel 2.6.0 and since then my canon digital ixus isn't working anymore.
it works perfectly with kernel 2.4.22 which i don't want to use anymore.
actually my compact flash card isn't corrupted or so because it works well unter winxp and winxp in vmware...

any hints on this?

thanks ---
--- floo

Code:
lap libgphoto2 # gphoto2 -L
Detected a 'Canon:Digital IXUS'.

*** Error ***
Could not establish initial contact with camera
*** Error (-102: 'Corrupted data') ***

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 -L

Please make sure there is sufficient quoting around the arguments.
Code:
lap libgphoto2 # env LANG=C gphoto2 --debug -L
0.000041 main(2): ALWAYS INCLUDE THE FOLLOWING LINES WHEN SENDING DEBUG MESSAGES TO THE MAILING LIST:
0.000485 main(2): gphoto2 2.1.2
0.000503 main(2): gphoto2 has been compiled with the following options:
0.000519 main(2):  + gcc (C compiler used)
0.000532 main(2):  + popt (for handling command-line parameters)
0.000547 main(2):  + exif (for displaying EXIF information)
0.000561 main(2):  + cdk (for accessing configuration options)
0.000575 main(2):  + aa (for displaying live previews)
0.000588 main(2):  + jpeg (for displaying live previews in JPEG format)
0.000603 main(2):  + readline (for easy navigation in the shell)
0.000629 main(2): libgphoto2 2.1.2
0.000644 main(2): libgphoto2 has been compiled with the following options:
0.000658 main(2):  + gcc (C compiler used)
0.000672 main(2):  + EXIF (for special handling of EXIF files)
0.000686 main(2):  + no ltdl (working around buggy libltdl, eh? :-)
0.000700 main(2):  + /proc/meminfo (adapts cache size to memory available)
0.000723 main(2): libgphoto2_port 0.5.1
0.000737 main(2): libgphoto2_port has been compiled with the following options:
0.000752 main(2):  + gcc (C compiler used)
0.000766 main(2):  + USB (for USB cameras)
0.000779 main(2):  + serial (for serial cameras)
0.000793 main(2):  + no resmgr (serial port access and locking)
0.000807 main(2):  + no baudboy (serial port locking)
0.000821 main(2):  + no ttylock (serial port locking)
0.000835 main(2):  + no lockdev (serial port locking)
0.000848 main(2):  + no ltdl (working around buggy libltdl, eh? :-)
0.001105 main(2): The user has not specified both a model and a port. Try to figure them out.
0.001153 gp-port-info-list(2): Loading io-drivers from '/usr/lib/gphoto2_port/0.5.1'...
0.001392 gphoto2-port-core(2): '/usr/lib/gphoto2_port/0.5.1/libgphoto2_port_serial.a' is not a library (/usr/lib/gphoto2_port/0.5.1/libgphoto2_port_serial.a: invalid ELF header)
0.001454 gphoto2-port-core(2): '/usr/lib/gphoto2_port/0.5.1/libgphoto2_port_serial.la' is not a library (/usr/lib/gphoto2_port/0.5.1/libgphoto2_port_serial.la: invalid ELF header)
0.006884 gphoto2-port-serial(2): Trying to lock '/dev/ttyS0'...
0.011858 gphoto2-port-serial(2): Trying to lock '/dev/ttyS1'...
0.016784 gphoto2-port-serial(2): Trying to lock '/dev/ttyS2'...
0.021700 gphoto2-port-serial(2): Trying to lock '/dev/ttyS3'...
0.026603 gphoto2-port-serial(2): Trying to lock '/dev/ttyS4'...
0.031525 gphoto2-port-serial(2): Trying to lock '/dev/ttyS5'...
0.036431 gphoto2-port-serial(2): Trying to lock '/dev/ttyS6'...
0.041335 gphoto2-port-serial(2): Trying to lock '/dev/ttyS7'...
0.046247 gphoto2-port-serial(2): Trying to lock '/dev/ttyS8'...
0.053859 gphoto2-port-serial(2): Trying to lock '/dev/ttyS9'...
0.060308 gphoto2-port-serial(2): Trying to lock '/dev/ttyS10'...
0.065268 gphoto2-port-serial(2): Trying to lock '/dev/ttyS11'...
0.070079 gphoto2-port-serial(2): Trying to lock '/dev/ttyS12'...
0.076846 gphoto2-port-serial(2): Trying to lock '/dev/ttyS13'...

0.081646 gphoto2-port-serial(2): Trying to lock '/dev/ttyS14'...
0.086390 gphoto2-port-serial(2): Trying to lock '/dev/ttyS15'...
0.091264 gphoto2-port-serial(2): Trying to lock '/dev/ttyS16'...
0.095994 gphoto2-port-serial(2): Trying to lock '/dev/ttyS17'...
0.100801 gphoto2-port-serial(2): Trying to lock '/dev/ttyS18'...
0.105533 gphoto2-port-serial(2): Trying to lock '/dev/ttyS19'...
1.268814 gphoto2-port-serial(2): Trying to lock '/dev/ttyS20'...
1.274502 gphoto2-port-serial(2): Trying to lock '/dev/ttyS21'...
1.279794 gphoto2-port-serial(2): Trying to lock '/dev/ttyS22'...
1.285029 gphoto2-port-serial(2): Trying to lock '/dev/ttyS23'...
1.290270 gphoto2-port-serial(2): Trying to lock '/dev/ttyS24'...
1.295499 gphoto2-port-serial(2): Trying to lock '/dev/ttyS25'...
1.300722 gphoto2-port-serial(2): Trying to lock '/dev/ttyS26'...
1.305955 gphoto2-port-serial(2): Trying to lock '/dev/ttyS27'...
1.384515 gphoto2-port-serial(2): Trying to lock '/dev/ttyS28'...
1.390095 gphoto2-port-serial(2): Trying to lock '/dev/ttyS29'...
1.395445 gphoto2-port-serial(2): Trying to lock '/dev/ttyS30'...
1.400863 gphoto2-port-serial(2): Trying to lock '/dev/ttyS31'...
1.406092 gphoto2-port-serial(2): Trying to lock '/dev/ttyS32'...
1.411345 gphoto2-port-core(2): Loaded '' (^serial) from 'libgphoto2_port_serial.so'
1.411987 gphoto2-port-core(2): '/usr/lib/gphoto2_port/0.5.1/libgphoto2_port_usb.la' is not a library (/usr/lib/gphoto2_port/0.5.1/libgphoto2_port_usb.la: invalid ELF header)
1.412994 gphoto2-port-core(2): Loaded 'Universal Serial Bus' (usb:) from 'libgphoto2_port_usb.so'
1.413689 gphoto2-port-core(2): '/usr/lib/gphoto2_port/0.5.1/libgphoto2_port_usb.a' is not a library (/usr/lib/gphoto2_port/0.5.1/libgphoto2_port_usb.a: invalid ELF header)
1.414901 gphoto2-port-info-list(2): Counting entries (2 available)...
1.415365 gphoto2-port-info-list(2): 1 regular entries available.
1.415769 gphoto2-port(2): Creating new device...
1.416178 gphoto2-port-info-list(2): Getting info of entry 0 (2 available)...
1.417599 gphoto2-port(2): Setting timeout to 5000 millisecond(s)...
1.418072 gphoto2-port(2): Setting settings...
1.418480 gphoto2-abilities-list.c(1): Auto-detecting USB cameras...
1.419024 gphoto2-port(0): Could not find USB device (vendor 0x553, product 0x202). Make sure this device is connected to the computer.
1.419691 gphoto2-port(0): Could not find USB device (vendor 0x6bd, product 0x403). Make sure this device is connected to the computer.
1.420350 gphoto2-port(0): Could not find USB device (vendor 0x6bd, product 0x404). Make sure this device is connected to the computer.
1.420977 gphoto2-port(0): Could not find USB device (vendor 0x4fc, product 0x504b). Make sure this device is connected to the computer.
1.421637 gphoto2-port(0): Could not find USB device (vendor 0x553, product 0x202). Make sure this device is connected to the computer.
1.422293 gphoto2-port(0): Could not find USB device (vendor 0x4fc, product 0x504a). Make sure this device is connected to the computer.
1.422970 gphoto2-port(0): Could not find USB device (vendor 0x553, product 0x202). Make sure this device is connected to the computer.
1.423628 gphoto2-port(0): Could not find USB device (vendor 0x4fc, product 0x504b). Make sure this device is connected to the computer.
1.424298 gphoto2-port(0): Could not find USB device (vendor 0x553, product 0x202). Make sure this device is connected to the computer.
1.535544 gphoto2-port(0): Could not find USB device (vendor 0x2770, product 0x9120). Make sure this device is connected to the computer.
1.536262 gphoto2-port(0): Could not find USB device (vendor 0x919, product 0x100). Make sure this device is connected to the computer.
1.536903 gphoto2-port(0): Could not find USB device (vendor 0x4a5, product 0x3003). Make sure this device is connected to the computer.
1.537638 gphoto2-port-usb(1): Looking for USB device (vendor 0x4a9, product 0x3047)... found.
1.538209 gphoto2-port-usb(1): Detected defaults: config 1, interface 0, altsetting 0, inep 81, outep 02, intep 83
1.538812 gphoto2-abilities-list.c(2): Found 'Canon Digital IXUS' (0x4a9,0x3047)
1.539286 gphoto2-port(2): Freeing port...
1.539665 gphoto2-port(2): Closing port...
1.540200 gphoto2-camera(2): Setting abilities ('Canon Digital IXUS')...
1.540652 setting/gphoto2-setting.c(2): Creating $HOME/.gphoto
1.541325 setting/gphoto2-setting.c(2): Loading settings from file "/root/.gphoto/settings"
1.541837 gphoto2-setting(2): Setting key 'model' to value 'Canon Digital IXUS' (gphoto2)
1.542312 gphoto2-setting(2): Saving 2 setting(s) to file "/root/.gphoto/settings"
1.543041 gp-port-info-list(2): Loading io-drivers from '/usr/lib/gphoto2_port/0.5.1'...
1.543633 gphoto2-port-core(2): '/usr/lib/gphoto2_port/0.5.1/libgphoto2_port_serial.a' is not a library (/usr/lib/gphoto2_port/0.5.1/libgphoto2_port_serial.a: invalid ELF header)
1.544388 gphoto2-port-core(2): '/usr/lib/gphoto2_port/0.5.1/libgphoto2_port_serial.la' is not a library (/usr/lib/gphoto2_port/0.5.1/libgphoto2_port_serial.la: invalid ELF header)
1.553031 gphoto2-port-serial(2): Trying to lock '/dev/ttyS0'...
1.560119 gphoto2-port-serial(2): Trying to lock '/dev/ttyS1'...
1.565610 gphoto2-port-serial(2): Trying to lock '/dev/ttyS2'...
1.571051 gphoto2-port-serial(2): Trying to lock '/dev/ttyS3'...
1.680247 gphoto2-port-serial(2): Trying to lock '/dev/ttyS4'...
1.685941 gphoto2-port-serial(2): Trying to lock '/dev/ttyS5'...
1.691317 gphoto2-port-serial(2): Trying to lock '/dev/ttyS6'...
1.696659 gphoto2-port-serial(2): Trying to lock '/dev/ttyS7'...
1.701965 gphoto2-port-serial(2): Trying to lock '/dev/ttyS8'...
1.709112 gphoto2-port-serial(2): Trying to lock '/dev/ttyS9'...
1.714706 gphoto2-port-serial(2): Trying to lock '/dev/ttyS10'...
1.719962 gphoto2-port-serial(2): Trying to lock '/dev/ttyS11'...
1.813430 gphoto2-port-serial(2): Trying to lock '/dev/ttyS12'...
1.818974 gphoto2-port-serial(2): Trying to lock '/dev/ttyS13'...
1.824226 gphoto2-port-serial(2): Trying to lock '/dev/ttyS14'...
1.829460 gphoto2-port-serial(2): Trying to lock '/dev/ttyS15'...
1.834674 gphoto2-port-serial(2): Trying to lock '/dev/ttyS16'...
1.839885 gphoto2-port-serial(2): Trying to lock '/dev/ttyS17'...
1.845119 gphoto2-port-serial(2): Trying to lock '/dev/ttyS18'...
1.853389 gphoto2-port-serial(2): Trying to lock '/dev/ttyS19'...
1.960865 gphoto2-port-serial(2): Trying to lock '/dev/ttyS20'...
1.966157 gphoto2-port-serial(2): Trying to lock '/dev/ttyS21'...
1.971381 gphoto2-port-serial(2): Trying to lock '/dev/ttyS22'...
1.976790 gphoto2-port-serial(2): Trying to lock '/dev/ttyS23'...
1.982046 gphoto2-port-serial(2): Trying to lock '/dev/ttyS24'...
1.987267 gphoto2-port-serial(2): Trying to lock '/dev/ttyS25'...
1.992472 gphoto2-port-serial(2): Trying to lock '/dev/ttyS26'...
1.073139 gphoto2-port-serial(2): Trying to lock '/dev/ttyS27'...
1.078685 gphoto2-port-serial(2): Trying to lock '/dev/ttyS28'...
1.084364 gphoto2-port-serial(2): Trying to lock '/dev/ttyS29'...
1.089950 gphoto2-port-serial(2): Trying to lock '/dev/ttyS30'...
1.095549 gphoto2-port-serial(2): Trying to lock '/dev/ttyS31'...
1.100397 gphoto2-port-serial(2): Trying to lock '/dev/ttyS32'...
1.103283 gphoto2-port-core(2): Loaded '' (^serial) from 'libgphoto2_port_serial.so'
1.103602 gphoto2-port-core(2): '/usr/lib/gphoto2_port/0.5.1/libgphoto2_port_usb.la' is not a library (/usr/lib/gphoto2_port/0.5.1/libgphoto2_port_usb.la: invalid ELF header)
1.104050 gphoto2-port-core(2): Loaded 'Universal Serial Bus' (usb:) from 'libgphoto2_port_usb.so'
1.104331 gphoto2-port-core(2): '/usr/lib/gphoto2_port/0.5.1/libgphoto2_port_usb.a' is not a library (/usr/lib/gphoto2_port/0.5.1/libgphoto2_port_usb.a: invalid ELF header)
1.104620 gphoto2-port-info-list(2): Looking for path 'usb:' (2 entries available)...
1.104810 gphoto2-port-info-list(2): Getting info of entry 0 (2 available)...
1.105015 gphoto2-camera(2): Setting port info for port 'Universal Serial Bus' at 'usb:'...
1.105683 gphoto2-port(2): Setting timeout to 5000 millisecond(s)...
1.105871 gphoto2-port(2): Setting settings...
1.106045 gphoto2-setting(2): Setting key 'port' to value 'usb:' (gphoto2)
1.106223 gphoto2-setting(2): Saving 2 setting(s) to file "/root/.gphoto/settings"
1.106601 foreach(2): Executing action 'List Files' for folder '/'.
1.107020 gphoto2-camera(2): Listing files in '/'...
1.107203 gphoto2-camera(2): Initializing camera...
1.107369 gphoto2-port-usb(1): Looking for USB device (vendor 0x4a9, product 0x3047)... found.
1.107595 gphoto2-port-usb(1): Detected defaults: config 1, interface 0, altsetting 0, inep 81, outep 02, intep 83
1.107862 gphoto2-camera(2): Loading '/usr/lib/gphoto2/2.1.2/libgphoto2_canon.so'...
1.108181 gphoto2-port(2): Opening USB port...
1.108394 canon/library.c(2): canon camera_init()
2.194000 canon/library.c(2): GPhoto tells us that we should use a USB link.
2.194194 canon/usb.c(2): Initializing the (USB) camera.

2.194416 gphoto2-port(2): Setting settings...
2.300309 gphoto2-port-usb(2): Changed usb.config from -1 to 1
2.301860 gphoto2-port-usb(2): Changed usb.altsetting from -1 to 0
2.302092 canon/usb.c(2): canon_usb_camera_init()
2.302264 canon/usb.c(2): canon_usb_identify: model name match 'Canon:Digital IXUS'
2.302504 context(2): Detected a 'Canon:Digital IXUS'.
Detected a 'Canon:Digital IXUS'.
2.302785 gphoto2-port(2): Reading message (request=0xc value=0x55 index=0x0 size=1=0x1)...
7.314637 context(0): Could not establish initial contact with camera

*** Error ***
Could not establish initial contact with camera
7.315394 gphoto2-port(2): Closing port...
*** Error (-102: 'Corrupted data') ***

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 -L

Please make sure there is sufficient quoting around the arguments.

7.321684 gp-camera(2): Freeing camera...
7.321876 gphoto2-port(2): Freeing port...
7.322083 gphoto2-port(2): Closing port...
7.322339 libgphoto2/gphoto2-filesys.c(2): Clearing fscache LRU list...
7.322549 libgphoto2/gphoto2-filesys.c(2): fscache LRU list already empty
7.322754 gphoto2-filesystem(2): Internally deleting all folders from '/'...
Code:
lap libgphoto2 # dmesg
.............. stripped ...................
usb 3-1: control timeout on ep0in
usbfs: USBDEVFS_CONTROL failed cmd usbmodules dev 17 rqt 128 rq 6 len 9 ret -110
usb 3-1: control timeout on ep0in
usbfs: USBDEVFS_CONTROL failed cmd usbmodules dev 17 rqt 128 rq 6 len 9 ret -110
usb 3-1: control timeout on ep0in
usb 3-1: control timeout on ep0in
usbfs: USBDEVFS_CONTROL failed cmd usbmodules dev 17 rqt 128 rq 6 len 9 ret -110
usbfs: USBDEVFS_CONTROL failed cmd gphoto2 dev 17 rqt 192 rq 12 len 1 ret -110
usb 3-1: USB disconnect, address 17
Back to top
View user's profile Send private message
symbiote
Tux's lil' helper
Tux's lil' helper


Joined: 06 Oct 2002
Posts: 87
Location: The 3rd World

PostPosted: Sat Dec 27, 2003 10:49 am    Post subject: Reply with quote

I'm experiencing the same problem on -mm1 sources. :/

It was working perfectly with my 2.4.22 kernel, however, since I just did an emerge -eD with USE=nptl, no way i can revert back to that.

And I need to save these pictures soon. Grar.

Code:

Detected a 'Canon:PowerShot S230 (normal mode)'.
 
*** Error ***
Initial camera response I/'Unknown (some kind of error))' unrecognized)
*** Error (-102: 'Corrupted data') ***
 
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 -L
 
Please make sure there is sufficient quoting around the arguments.
Back to top
View user's profile Send private message
flokno
Apprentice
Apprentice


Joined: 18 Dec 2002
Posts: 185
Location: graz/austria/europe

PostPosted: Sat Dec 27, 2003 1:43 pm    Post subject: Reply with quote

i'm back to 2.4.22-ac4.
actually i considered buying a 10(?)-in-1 card reader... :)
time will fix things -- so i wait.
Back to top
View user's profile Send private message
symbiote
Tux's lil' helper
Tux's lil' helper


Joined: 06 Oct 2002
Posts: 87
Location: The 3rd World

PostPosted: Sun Dec 28, 2003 4:42 am    Post subject: Reply with quote

:/

I can't go back. There is no going back.

USE="nptl" emerge -eD world

I get a "Kernel panic: kernel is too old" when i try to boot 2.4

Heh.
Back to top
View user's profile Send private message
symbiote
Tux's lil' helper
Tux's lil' helper


Joined: 06 Oct 2002
Posts: 87
Location: The 3rd World

PostPosted: Sun Dec 28, 2003 5:44 am    Post subject: FIXED Reply with quote

Got it fixed.

Just had to recompile libphoto2 and libusb. :) Even printer works now.
Back to top
View user's profile Send private message
flokno
Apprentice
Apprentice


Joined: 18 Dec 2002
Posts: 185
Location: graz/austria/europe

PostPosted: Sun Dec 28, 2003 11:47 am    Post subject: Reply with quote

recompiling libusb and libgphoto2 didn't change a thing...
Back to top
View user's profile Send private message
symbiote
Tux's lil' helper
Tux's lil' helper


Joined: 06 Oct 2002
Posts: 87
Location: The 3rd World

PostPosted: Sun Dec 28, 2003 1:09 pm    Post subject: Reply with quote

Hmm. I run mm1 sources.

Code:
CONFIG_USB=y
CONFIG_USB_DEVICEFS=y
CONFIG_USB_UHCI_HCD=m
CONFIG_USB_AUDIO=m
CONFIG_USB_PRINTER=m
CONFIG_USB_HID=m
CONFIG_USB_HIDINPUT=y
CONFIG_USB_SCANNER=m
CONFIG_USB_EMI26=m


Recompiled libusb (0.1.7-r1), gphoto2 (2.1.3), and libgphoto2 (2.1.3). Which afterwards, made everything okay.
_________________
symbiote: interstellar mohican-general of the stealthdildo buddhist-warrior ninjas
[*] symbiote@stealthdildo.net
[*] gpg: 1024D/3FC84E5B
[*] http://stealthdildo.net/pgp-key
Back to top
View user's profile Send private message
mirage-x
n00b
n00b


Joined: 20 Nov 2003
Posts: 22

PostPosted: Tue Dec 30, 2003 2:08 pm    Post subject: Reply with quote

I have the same problem as flokno..

I always get one of two error message:

First error message:
Code:
 $ gphoto2 --summary
Detected a 'Canon:PowerShot A80 (normal mode)'.

*** Error ***
Could not establish initial contact with camera
*** Error (-102: 'Corrupted data') ***

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 --summary

Please make sure there is sufficient quoting around the arguments.


That error message cause the following entry in dmesg:
Code:
ec 30 09:00:47 [kernel] usb 1-1: control timeout on ep0in
                - Last output repeated 148 times -
Dec 30 09:04:49 [kernel] usb 1-1: control timeout on ep0out


Second error message:
Code:
 $ gphoto2 --summary
Detected a 'Canon:PowerShot A80 (normal mode)'.

*** Error ***
Initial camera response I/'Unknown (some kind of error))' unrecognized)
*** Error (-102: 'Corrupted data') ***

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 --summary

Please make sure there is sufficient quoting around the arguments.


I am on 2.6.0-mm1 and re-emerging libusb, libgphoto2 and gphoto2 didn't change a thing...

I will try with a 2.4.xx kernel (I just did a fresh Gentoo install with 2.6.0)
Back to top
View user's profile Send private message
bisho
n00b
n00b


Joined: 02 May 2003
Posts: 69
Location: Madrid (Spain)

PostPosted: Sun Jan 04, 2004 4:38 am    Post subject: Reply with quote

I have exactly the same problem.

Till 2.6.0-test11 all was working perfectly, but with 2.6.0 I get errors with gphoto2 and the ep0in/ep0out errors in the logs...

I heard that 2.6.1-rc1 has some fixes on usb things... I hope 2.6.1 final will make this work again...
_________________
-=[ bisho [=-
Back to top
View user's profile Send private message
flokno
Apprentice
Apprentice


Joined: 18 Dec 2002
Posts: 185
Location: graz/austria/europe

PostPosted: Sun Jan 04, 2004 3:25 pm    Post subject: Reply with quote

mm-sources-2.6.1_rc1 didn't fix it. maybe the release version then.
Back to top
View user's profile Send private message
iwasbiggs
Apprentice
Apprentice


Joined: 17 Jan 2003
Posts: 203

PostPosted: Tue Jan 06, 2004 10:37 pm    Post subject: Reply with quote

Dupe
https://forums.gentoo.org/viewtopic.php?t=120038&highlight=2+6+usb+camera
_________________
www.ruinedsoft.com
Freeware development.
Back to top
View user's profile Send private message
mirage-x
n00b
n00b


Joined: 20 Nov 2003
Posts: 22

PostPosted: Tue Jan 06, 2004 10:43 pm    Post subject: Reply with quote

Not a dupe for my camera because it does NOT allow "mounting" the media (as for many Canon models). I absolutely have to use gphoto2... :(

Anyway, we can still hope that the patch fixes the "mounting" will also fix our problem with gphoto2...
Back to top
View user's profile Send private message
flokno
Apprentice
Apprentice


Joined: 18 Dec 2002
Posts: 185
Location: graz/austria/europe

PostPosted: Tue Jan 06, 2004 11:11 pm    Post subject: Reply with quote

iwasbiggs wrote:
Dupe
https://forums.gentoo.org/viewtopic.php?t=120038&highlight=2+6+usb+camera
lol.... my thread is older! :))
Back to top
View user's profile Send private message
jacob
n00b
n00b


Joined: 25 Apr 2002
Posts: 22
Location: Copenhagen, Denmark

PostPosted: Fri Jan 09, 2004 8:37 pm    Post subject: Me too Reply with quote

I'm seeing exactly the same problem and symptoms as posted by mirage-x on Tue Dec 30, 2003 3:08 pm.
Recompiling libusb, libgphoto2 and gphoto2 didn't change anything.

I'm using a Canon Powershot S45.
Back to top
View user's profile Send private message
mirage-x
n00b
n00b


Joined: 20 Nov 2003
Posts: 22

PostPosted: Fri Jan 09, 2004 8:42 pm    Post subject: Reply with quote

Anybody tried with 2.6.1 final yet? I will tomorrow... if I can have some free time...
Back to top
View user's profile Send private message
jacob
n00b
n00b


Joined: 25 Apr 2002
Posts: 22
Location: Copenhagen, Denmark

PostPosted: Fri Jan 09, 2004 8:46 pm    Post subject: 2.6.1 - no luck Reply with quote

After emerging and installing 2.6.1 I'm still having all the same problems. I have even recompiled libusb, libgphoto2 and gphoto2 after booting 2.6.1. I'm still not using 2.6-headers as I can't seem to find them in portage.

Here's part of my kernel .config:

Code:
$ grep USB /usr/src/linux/.config | grep -v ^#

CONFIG_USB=y
CONFIG_USB_DEVICEFS=y
CONFIG_USB_UHCI_HCD=y
CONFIG_USB_STORAGE=y
CONFIG_USB_STORAGE_DEBUG=y
Back to top
View user's profile Send private message
flokno
Apprentice
Apprentice


Joined: 18 Dec 2002
Posts: 185
Location: graz/austria/europe

PostPosted: Fri Jan 09, 2004 10:01 pm    Post subject: Reply with quote

me also with 2.6.1-mm1
Back to top
View user's profile Send private message
ozonator
Guru
Guru


Joined: 11 Jun 2003
Posts: 591
Location: Ontario, Canada

PostPosted: Sat Jan 10, 2004 5:10 am    Post subject: Reply with quote

Same problem here, with 2.6.1 final (development-sources-2.6.1), Powershot S200, after having had no problems with 2.4 (didn't try with any earlier versions of 2.6). Got the 'corrupted data' errors, plus the 'control timeout on ep0in' in the system logs. I also got an 'error initializing the port' error. Oddly, it worked once: after failing initially, I tried plugging the camera into a different USB port on a different controller; the first time I tried 'gphoto2 -L', it worked, but all subsequent gphoto2 calls failed with errors.

Other USB stuff I've tried so far with this kernel has worked: mouse, Palm (visor module), and multi-card reader (usb-storage module, on an ehci controller, even). Haven't tried re-compiling libusb/libgphoto2 yet, but will do so, and see if that helps; tomorrow, after a snooze....

[update] Recompiling libusb, hotplug, libgphoto2, and gphoto2 didn't take as long as expected, but unfortunately didn't fix the problem.


Last edited by ozonator on Sat Jan 10, 2004 5:27 am; edited 1 time in total
Back to top
View user's profile Send private message
bisho
n00b
n00b


Joined: 02 May 2003
Posts: 69
Location: Madrid (Spain)

PostPosted: Sat Jan 10, 2004 5:26 am    Post subject: Reply with quote

2.6.0-test11 works well, just in case you need a 2.6.x kernel.

It shouldn't be dificult to find what changed in usb between test11 and final that broke gphoto for the canon people. :(
_________________
-=[ bisho [=-
Back to top
View user's profile Send private message
cgansen
n00b
n00b


Joined: 02 Dec 2002
Posts: 29

PostPosted: Sun Jan 11, 2004 7:30 am    Post subject: Reply with quote

I'm chiming in to say, "me, too!"



Code:
bash-2.05b# gphoto2 --summary
Detected a 'Canon:PowerShot S200'.                                             

*** Error ***             
Could not establish initial contact with camera
*** Error (-102: 'Corrupted data') ***       

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 --summary

Please make sure there is sufficient quoting around the arguments.


Code:
bash-2.05b# uname -a
Linux earthling 2.6.0 #8 Sun Jan 11 03:37:32 EST 2004 i686 Pentium III (Coppermine) GenuineIntel GNU/Linux
Back to top
View user's profile Send private message
bullfrog
n00b
n00b


Joined: 17 Dec 2003
Posts: 65
Location: Orlando

PostPosted: Mon Jan 12, 2004 6:44 am    Post subject: Reply with quote

I'm getting the same problem with gentoo-dev-sources 2.6.1-rc2.

Code:
root@stpc benb # gphoto2 --summary
Detected a 'Canon:PowerShot A70'.

*** Error ***
Could not establish initial contact with camera
*** Error (-102: 'Corrupted data') ***

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 --summary

Please make sure there is sufficient quoting around the arguments.


I have tried unmerging and re-emerging everything: libusb, libgphoto2, gphoto2, gtkam, digikam, and even kdemultimedia with USE="gphoto2" after updating libgphoto2 and gphoto2 to the latest "~x86" versions.

I really want this to work. I don't wanna have to switch back to Windows every time I want to get pictures off the camera.
Back to top
View user's profile Send private message
Useful Idiot
Guru
Guru


Joined: 30 Aug 2002
Posts: 329
Location: Finland

PostPosted: Mon Jan 12, 2004 12:32 pm    Post subject: Reply with quote

Have you tried using PTP insted of normal mode? It works perfectly here with my brand new A80 and 2.6.1-mm2. With normal mode I get similar errors as all of you.
_________________
[size=9]We are all in the gutter, but some of us are looking at the stars.
Back to top
View user's profile Send private message
bullfrog
n00b
n00b


Joined: 17 Dec 2003
Posts: 65
Location: Orlando

PostPosted: Mon Jan 12, 2004 2:18 pm    Post subject: Reply with quote

HAH! I don't know why I didn't try that! Worked perfectly. Thank you for your suggestion.
Back to top
View user's profile Send private message
ozonator
Guru
Guru


Joined: 11 Jun 2003
Posts: 591
Location: Ontario, Canada

PostPosted: Mon Jan 12, 2004 2:31 pm    Post subject: Reply with quote

Useful Idiot wrote:
Have you tried using PTP insted of normal mode? It works perfectly here with my brand new A80 and 2.6.1-mm2. With normal mode I get similar errors as all of you.


Good suggestion, indeed. Unfortunately, it's not much help for those of us who have cameras lacking a PTP mode, like the original poster's Ixus and my S200.

I wonder, though, does the fact that PTP mode works but 'normal' mode doesn't work give us any clues? More to the point, does it give any gphoto2 or USB experts any clues? :)
Back to top
View user's profile Send private message
stenny
Tux's lil' helper
Tux's lil' helper


Joined: 06 Feb 2003
Posts: 100
Location: Germany

PostPosted: Mon Jan 12, 2004 11:04 pm    Post subject: Reply with quote

well, I can add some new information ... maybe someone knows how to deal with that.
Just today I purchased a Canon Powershot A70 (which obviously has a PTP mode). After some hazzle I successfully got it connected to my PC and it seemed to work perfectly with one little drawback - it did only work for root but not for an ordinary user.
The I read some posts which told to enable hotplugging to set the access rights in /proc/bus/usb/ correctly.
The only thing I then changed according to the various posts was recompiling my kernel (2.6.1.-mm-rc1) with hotplugging enabled and configuring the hotplugging system. Now I see exactly the same error messages as most of you.
I'm quite sure, these error messages will disappear and my camera will be usable in normal mode again (only for root ...) if I switch off hotplugging support in my kernel configuration.
This experience seems to tell me, that it is neither gphoto or any of the libs used by this app, nor is it the USB support in the kernel itself, that causes the problems. It seems to be USB system in combination with hotplugging support.

Best regards
stefan
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Goto page 1, 2, 3  Next
Page 1 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum