Hi all, I have an iBook bought 2 weeks ago.
/proc/cpuinfo says: | machine : PowerBook4,3 | motherboard : PowerBook4,3 MacRISC2 MacRISC Power Macintosh | detected as : 257 (iBook 2 rev. 2) I'm running Debian sid and my kernel is: | [EMAIL PROTECTED] $ cat /proc/version | Linux version 2.4.20-ben10 ([EMAIL PROTECTED]) (gcc version 3.2.3) #1 mar may 20 18:59:28 CEST 2003 The only thing I have not been able to make it work is my digital camera (Canon Ixus v2) with gphoto2: it segfaults. Here follow the details of my system and what I've done. This are the versions of gphoto|hotplug related packages I have: | [EMAIL PROTECTED] $ COLUMNS=90 dpkg -l | egrep -i "gphoto|hotplug" | ii gphoto2 2.1.1-3 The gphoto2 digital camera command-line client | ii hotplug 0.0.20030117-7 Linux Hotplug Scripts | ii libgphoto2-2 2.1.1-9 The gphoto2 digital camera library | ii libgphoto2-port0 2.1.1-9 The gphoto2 digital camera port library I uploaded all hotplug config. files in http://www.pirispons.net/iBook/etc/hotplug/ When I plug the camera and turn it on, hotplug detects it (an excerpt of syslog follows): | May 26 21:30:20 sacarino kernel: hub.c: new USB device 10:18.0-1, assigned address 4 | May 26 21:30:20 sacarino kernel: usb.c: USB device 4 (vend/prod 0x4a9/0x3065) is not claimed by any active driver. | [...] | May 26 21:35:25 sacarino kernel: usb.c: USB disconnect on device 10:18.0-1 address 4 That "not claimed by any active driver" is suspicious, but hotplug "catches de device" (changing the group owner as specified in /etc/hotplug/usb/usbcam) and, as you can see later, gphoto2 seems to detect it: | [EMAIL PROTECTED] $ l /proc/bus/usb/001/004 | -rw-rw---- 1 root camera 18 2003-05-26 21:30 004 And when I run gphoto2, it segfaults just after detecting the device (see output later). On my desktop (i386 exactly with the same hotplug configuration) it runs without any problem). The questions: 1.- Anybody has an idea if I'm doing anything wrong? (or I just should file a bugreport?), 2.- anyone has a similar camera and has been able to make it work through gphoto2 in powerpc? (just to check if it's my fault). Here's the debug output of gphoto2: | [EMAIL PROTECTED] $ env LANG=C gphoto2 --debug --get-all-files | 0.000182 main(2): ALWAYS INCLUDE THE FOLLOWING LINES WHEN SENDING DEBUG MESSAGES TO THE MAILING LIST: | 0.001115 main(2): gphoto2 2.1.1 | 0.001364 main(2): gphoto2 has been compiled with the following options: | 0.001595 main(2): + gcc (C compiler used) | 0.001810 main(2): + popt (for handling command-line parameters) | 0.002223 main(2): + exif (for displaying EXIF information) | 0.002453 main(2): + cdk (for accessing configuration options) | 0.002680 main(2): + no aa (for displaying live previews) | 0.003099 main(2): + jpeg (for displaying live previews in JPEG format) | 0.003389 main(2): + readline (for easy navigation in the shell) | 0.003651 main(2): libgphoto2 2.1.1 | 0.004062 main(2): libgphoto2 has been compiled with the following options: | 0.004413 main(2): + gcc (C compiler used) | 0.004652 main(2): + EXIF (for special handling of EXIF files) | 0.004879 main(2): + no ltdl (working around bugg libltdl, eh? :-) | 0.005104 main(2): + /proc/meminfo (adapts cache size to memory available) | 0.005351 main(2): libgphoto2_port 0.5.1 | 0.005580 main(2): libgphoto2_port has been compiled with the following options: | 0.005938 main(2): + gcc (C compiler used) | 0.006248 main(2): + USB (for USB cameras) | 0.006474 main(2): + serial (for serial cameras) | 0.006689 main(2): + no baudboy (serial port locking) | 0.006904 main(2): + no ttylock (serial port locking) | 0.007128 main(2): + no lockdev (serial port locking) | 0.007404 main(2): + no ltdl (working around bugg libltdl, eh? :-) | 0.008028 main(2): The user has not specified both a model and a port. Try to figure them out. | 0.008578 gp-port-info-list(2): Loading io-drivers from '/usr/lib/gphoto2_port/0.5.1'... | 0.009722 gphoto2-port-serial(2): Trying to lock '/dev/ttyS0'... | 0.016381 gphoto2-port-serial(2): Trying to lock '/dev/ttyS1'... | 0.022567 gphoto2-port-serial(2): Trying to lock '/dev/ttyS2'... | 0.029172 gphoto2-port-serial(2): Trying to lock '/dev/ttyS3'... | 0.035349 gphoto2-port-serial(2): Trying to lock '/dev/ttyS4'... | 0.037875 gphoto2-port-serial(2): Trying to lock '/dev/ttyS5'... | 0.038319 gphoto2-port-serial(2): Trying to lock '/dev/ttyS6'... | 0.038732 gphoto2-port-serial(2): Trying to lock '/dev/ttyS7'... | 0.039113 gphoto2-port-serial(2): Trying to lock '/dev/ttyS8'... | 0.039471 gphoto2-port-serial(2): Trying to lock '/dev/ttyS9'... | 0.039775 gphoto2-port-serial(2): Trying to lock '/dev/ttyS10'... | 0.040018 gphoto2-port-serial(2): Trying to lock '/dev/ttyS11'... | 0.040436 gphoto2-port-serial(2): Trying to lock '/dev/ttyS12'... | 0.040871 gphoto2-port-serial(2): Trying to lock '/dev/ttyS13'... | 0.041345 gphoto2-port-serial(2): Trying to lock '/dev/ttyS14'... | 0.041706 gphoto2-port-serial(2): Trying to lock '/dev/ttyS15'... | 0.042001 gphoto2-port-serial(2): Trying to lock '/dev/ttyS16'... | 0.042249 gphoto2-port-serial(2): Trying to lock '/dev/ttyS17'... | 0.042484 gphoto2-port-serial(2): Trying to lock '/dev/ttyS18'... | 0.042727 gphoto2-port-serial(2): Trying to lock '/dev/ttyS19'... | 0.042965 gphoto2-port-serial(2): Trying to lock '/dev/ttyS20'... | 0.043197 gphoto2-port-serial(2): Trying to lock '/dev/ttyS21'... | 0.043478 gphoto2-port-serial(2): Trying to lock '/dev/ttyS22'... | 0.043916 gphoto2-port-serial(2): Trying to lock '/dev/ttyS23'... | 0.044385 gphoto2-port-serial(2): Trying to lock '/dev/ttyS24'... | 0.044802 gphoto2-port-serial(2): Trying to lock '/dev/ttyS25'... | 0.045161 gphoto2-port-serial(2): Trying to lock '/dev/ttyS26'... | 0.045457 gphoto2-port-serial(2): Trying to lock '/dev/ttyS27'... | 0.045694 gphoto2-port-serial(2): Trying to lock '/dev/ttyS28'... | 0.045959 gphoto2-port-serial(2): Trying to lock '/dev/ttyS29'... | 0.046191 gphoto2-port-serial(2): Trying to lock '/dev/ttyS30'... | 0.046449 gphoto2-port-serial(2): Trying to lock '/dev/ttyS31'... | 0.046686 gphoto2-port-serial(2): Trying to lock '/dev/ttyS32'... | 0.047043 gphoto2-port-core(2): Loaded '' (^serial) from 'libgphoto2_port_serial.so' | 0.048120 gphoto2-port-core(2): Loaded 'Universal Serial Bus' (usb:) from 'libgphoto2_port_usb.so' | 0.048618 gphoto2-port-info-list(2): Counting entries (2 available)... | 0.048939 gphoto2-port-info-list(2): 1 regular entries available. | 0.049159 gphoto2-port(2): Creating new device... | 0.049763 gphoto2-port-info-list(2): Getting info of entry 0 (2 available)... | 0.051424 gphoto2-port(2): Setting timeout to 5000 millisecond(s)... | 0.051978 gphoto2-port(2): Setting settings... | 0.052362 gphoto2-abilities-list.c(1): Auto-detecting USB cameras... | 0.052917 gphoto2-port(0): Could not find USB device (vendor 0x81010100, product 0x0). Make sure this device is connected to the computer. | 0.053264 gphoto2-port(0): Could not find USB device (vendor 0xfefefeff, product 0x7f7f7f7f). Make sure this device is connected to the computer. | 0.053542 gphoto2-port(0): Could not find USB device (vendor 0xfefefeff, product 0x7f7f7f7f). Make sure this device is connected to the computer. | 0.053795 gphoto2-port(0): Could not find USB device (vendor 0xfefefeff, product 0x7f7f7f7f). Make sure this device is connected to the computer. | 0.054045 gphoto2-port(0): Could not find USB device (vendor 0xfefefeff, product 0x7f7f7f7f). Make sure this device is connected to the computer. | 0.054294 gphoto2-port(0): Could not find USB device (vendor 0xfefefeff, product 0x7f7f7f7f). Make sure this device is connected to the computer. | 0.054544 gphoto2-port(0): Could not find USB device (vendor 0xfefefeff, product 0x7f7f7f7f). Make sure this device is connected to the computer. | 0.054818 gphoto2-port(0): Could not find USB device (vendor 0xfefefeff, product 0x7f7f7f7f). Make sure this device is connected to the computer. | 0.055225 gphoto2-port(0): Could not find USB device (vendor 0xfefefeff, product 0x7f7f7f7f). Make sure this device is connected to the computer. | 0.055603 gphoto2-port(0): Could not find USB device (vendor 0xfefefeff, product 0x7f7f7f7f). Make sure this device is connected to the computer. | 0.056320 gphoto2-port-usb(1): Looking for USB device (vendor 0x4a9, product 0x3065)... found. | Segmentation fault If you've read until here, thanks a lot and sorry for the extension of this email (I've tried to provide as many details as I could, pearhaps too many? ;-P). -- Kiko