[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gphoto-devel
Subject:    [gphoto-devel] gphoto2 2.1.0 / libusb 0.1.6a / PowerPC bug
From:       christophe =?iso-8859-15?Q?barb=E9?= <christophe.barbe.ml () online ! fr>
Date:       2002-07-29 17:18:37
[Download RAW message or body]


I have three powerpc users reporting problem with gphoto2 2.1.0 and
libusb 0.1.6a. They get a segfault when gphoto2 try to access the usb
port. Below is the most informative mail I have got.

You can see the whole story at the below url, but keep in mind that at
the beginning of the bug report, gphoto2 2.1.0 was not yet in the debian
archive (so the bug was a bit different).

   http://bugs.debian.org/149849

All users use the canon driver but it seems to be more a libusb problem.
Also I have no idea if I have powerpc users with something else than a
canon cam.

Any idea ?

I believe that a few gphoto2 developers use a powerpc computer, is it
true ? If yes, has one a canon camera ?

Christophe

----- Forwarded message from Markus Hochholdinger <Markus@Hochholdinger.net> -----

From: Markus Hochholdinger <Markus@Hochholdinger.net>
Date: 29 Jul 2002 17:50:52 +0200
Subject: Re: Bug#149849: gphoto2: Fails to open camera on PowerPC
To: 149849@bugs.debian.org
Cc: christophe.barbe@ufies.org

Hi,

> Thanks for your info. I will discuss this with the gphoto team.
hope it helps.

> Which camera have you used ?
I've the »Canon Digital IXUS 330«.

I also tried both USB Ports on my iBook.


> On Sun, Jul 28, 2002 at 05:35:40PM +0200, Markus Hochholdinger wrote:
> > Hi,
> > 
> > I've the same Problems on my PowerPC with gphoto2.
> > 
> > I'm running woody with the gphoto2 and libusb pakages from unstable:
> > ii  gphoto2        2.1.0-6        The gphoto2 digital camera library
> > ii  libusb-0.1-4   0.1.6a-2       Userspace USB programming library
> > ii  libusb-dev     0.1.6a-2       Userspace USB programming library
> > developmen
> > 
> > I've tested a little, but I'm no programer...
> > 
> > I've compiled libusb-0.1-4 and gphoto2 with debian tools on my own.
> > 
> > On line 415 of libgphoto2_port/usb/libusb.c:
> >   port->settings.usb.config = dev->config[config].bConfigurationValue;
> > the segfault appears. Looking for what's happened I print me a few
> > variables (config, interface, altsetting) from the above function
> >   ( gp_port_usb_find_first_altsetting(dev, &config, &interface,
> > &altsetting); ):
> > 
> > config = 268715696
> > interface = 514
> > altsetting = 267843540
> > 
> > Are these values correct? I mean the values of config and altsetting are
> > very high, because these are of type int!?
> > 
> > Well, can this be a result of big endian != little endian?
> > 
> > 
> > Perhaps some of the programers know what to do?
> > 
> > 
> > Yes, I've put my camera in play mode. If the camera isn't in play mode,
> > gphoto doesn't find the camera, so there's also no segfault.
> > 
> > 
> > It would nice to hear in this mailinglist of someone who has resolved
> > the problem on  PowerPC.
> > 
> > 
> > Yours sincerly
> >                                                           \|/
> >         MH                                               (o o)
> > ------------------------------------------------------oOO--U--OOo--
> >  Markus Hochholdinger
> >  e-mail  mailto:Markus@Hochholdinger.net             .oooO
> >  www     http://www.hochholdinger.net                (   )   Oooo.
> > ------------------------------------------------------\ (----(   )-
> >                                                        \_)    ) /
> >                                                              (_/
> > 
> 
> -- 
> Christophe Barbé <christophe.barbe@ufies.org>
> GnuPG FingerPrint: E0F6 FADF 2A5C F072 6AF8  F67A 8F45 2F1E D72C B41E
> 
> Cats are absolute individuals, with their own ideas about everything,
> including the people they own. --John Dingman
-- 
                                                          \|/
        MH                                               (o o)
------------------------------------------------------oOO--U--OOo--
 Markus Hochholdinger
 e-mail  mailto:Markus@Hochholdinger.net             .oooO
 www     http://www.hochholdinger.net                (   )   Oooo.
------------------------------------------------------\ (----(   )-
                                                       \_)    ) /
                                                             (_/

----- End forwarded message -----

-- 
Christophe Barbé <christophe.barbe@ufies.org>
GnuPG FingerPrint: E0F6 FADF 2A5C F072 6AF8  F67A 8F45 2F1E D72C B41E

An empty stomach is not a good political advisor.
-- Albert Einstein

[Attachment #3 (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic