RE: FW: [crisos] GPhoto2 not picking up camera |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/crisos Archives
]
- To: <crisos@xxxxxxxxxxxxxxxxxxx>
- Subject: RE: FW: [crisos] GPhoto2 not picking up camera
- From: "Nathan Harris" <consultant@xxxxxxxxxxx>
- Date: Fri, 18 Apr 2008 22:06:00 +0100
- Thread-index: AcigjyKRvxe3YTz0QD+Y3aNaMkR6DQBBrCA9
- Thread-topic: FW: [crisos] GPhoto2 not picking up camera
Hi Claudio
In primo luogo grazie per i vostri sforzi ancora avendo problemi, ho reinstallato l'OS di Crisos sul foxboard ed ho installato
libexif, libusb, libjpeg, libpthread, libiconv, libpopt, gphoto2, libggphoto-driver
Ancora sto sperimentando Il difetto di segmentazione questo è sul Canon IXSUS
sotto provengono alcune uscite dalla linea del cmd, delle idee? Non sono sicuro che cosa ora da fare...
acclamazioni Nathan: -)
Hi Claudio
Firstly thankyou for your efforts
still having problems, I reinstalled the Crisos OS on the foxboard and installed
libexif,libusb,libjpeg,libpthread,libiconv,libpopt,gphoto2,libggphoto-drivers
I am still experiencing
Segmentation fault this is on the Canon IXSUS
below are some outputs from the cmd line, any ideas? I am not sure what to do now...
cheers
Nathan :-)
Jan 1 00:17:36 CrisOs user.info kernel: crisv10_irq dbg: ctr_status_irq, controller status: host_mode started
Jan 1 00:17:36 CrisOs user.info kernel: crisv10_irq dbg: ctr_status_irq, controller status: host_mode started running
Jan 1 00:17:36 CrisOs user.info kernel: usb 1-2: new full speed USB device using hc-crisv10 and address 2
Jan 1 00:17:36 CrisOs user.info kernel: usb 1-2: configuration #1 chosen from 1 choice
root@CrisOs:~# gphoto2 --list-ports --debug
0.000194 main(2): ALWAYS INCLUDE THE FOLLOWING LINES WHEN SENDING DEBUG MESSAGES TO THE MAILING LIST:
0.033288 main(2): gphoto2 2.4.1
0.065595 main(2): gphoto2 has been compiled with the following options:
0.095514 main(2): + cris-linux-uclibc-gcc (C compiler used)
0.125405 main(2): + popt (mandatory, for handling command-line parameters)
0.152673 main(2): + exif (for displaying EXIF information)
0.180245 main(2): + no cdk (for accessing configuration options)
0.207357 main(2): + no aa (for displaying live previews)
0.235050 main(2): + no jpeg (for displaying live previews in JPEG format)
0.262170 main(2): + no readline (for easy navigation in the shell)
0.290009 main(2): libgphoto2 2.4.1
0.319725 main(2): libgphoto2 has been compiled with the following options:
0.346853 main(2): + cris-linux-uclibc-gcc (C compiler used)
0.374688 main(2): + ltdl (for portable loading of camlibs)
0.401589 main(2): + EXIF (for special handling of EXIF files)
0.429442 main(2): libgphoto2_port 0.8.0
0.458926 main(2): libgphoto2_port has been compiled with the following options:
0.486724 main(2): + cris-linux-uclibc-gcc (C compiler used)
0.514511 main(2): + ltdl (for portable loading of camlibs)
0.541596 main(2): + USB (libusb, for USB cameras)
0.569112 main(2): + serial (for serial cameras)
0.596552 main(2): + no resmgr (serial port access and locking)
0.627526 main(2): + no baudboy (serial port locking)
0.654621 main(2): + no ttylock (serial port locking)
0.682177 main(2): + no lockdev (serial port locking)
0.709163 main(2): CAMLIBS env var not set, using compile-time default instead
0.734122 main(2): IOLIBS env var not set, using compile-time default instead
0.761162 setting/gphoto2-setting.c(2): Creating $HOME/.gphoto
0.787529 setting/gphoto2-setting.c(2): Can't open settings file for reading
0.811770 setting/gphoto2-setting.c(2): Loading settings from file "/tmp/.gphoto/settings"
0.842221 setting/gphoto2-setting.c(2): Can't open settings for reading
0.867375 setting/gphoto2-setting.c(2): Creating $HOME/.gphoto
0.893175 setting/gphoto2-setting.c(2): Can't open settings file for reading
0.918412 setting/gphoto2-setting.c(2): Loading settings from file "/tmp/.gphoto/settings"
0.949016 setting/gphoto2-setting.c(2): Can't open settings for reading
0.994761 gphoto2-port-info-list(2): Using ltdl to load io-drivers from '/usr/lib/libgphoto2_port/0.8.0'...
1.029416 gphoto2-port-info-list(2): Called for filename '/usr/lib/libgphoto2_port/0.8.0/disk'.
1.073136 gphoto2-port/disk(2): found mtab fsname rootfs
1.104256 gphoto2-port/disk(2): found mtab fsname /dev/root
1.132789 gphoto2-port/disk(2): found mtab fsname none
1.160372 gphoto2-port/disk(2): found mtab fsname none
1.188198 gphoto2-port/disk(2): found mtab fsname none
1.216781 gphoto2-port/disk(2): found mtab fsname tmpfs
1.245226 gphoto2-port/disk(2): found mtab fsname none
1.271683 gphoto2-port/disk(2): found mtab fsname none
1.299816 gphoto2-port-info-list(2): Could not load port driver list: 'Unspecified error'.
1.329717 gphoto2-port-info-list(2): Called for filename '/usr/lib/libgphoto2_port/0.8.0/ptpip'.
1.367258 gphoto2-port-info-list(2): Loaded 'PTP/IP Connection' ('ptpip:') from '/usr/lib/libgphoto2_port/0.8.0/ptpip'.
1.407295 gphoto2-port-info-list(2): Loaded '' ('^ptpip') from '/usr/lib/libgphoto2_port/0.8.0/ptpip'.
1.444267 gphoto2-port-info-list(2): Called for filename '/usr/lib/libgphoto2_port/0.8.0/serial'.
1.481349 gphoto2-port-serial(2): Trying to lock '/dev/ttyS0'...
1.521244 gphoto2-port-info-list(2): Loaded 'Serial Port 0' ('serial:/dev/ttyS0') from '/usr/lib/libgphoto2_port/0.8.0/serial'.
1.560673 gphoto2-port-info-list(2): Loaded '' ('^serial') from '/usr/lib/libgphoto2_port/0.8.0/serial'.
1.598575 gphoto2-port-info-list(2): Called for filename '/usr/lib/libgphoto2_port/0.8.0/usb'.
Segmentation fault
Linux version 2.6.19.2 (claudyus@claudyus-laptop) (gcc version 4.1.2) #2 Fri Apr 4 10:57:34 CEST 2008
Determinig RAM size
RAM size is 32MB
Setting up paging and the MMU.
On node 0 totalpages: 4096
DMA zone: 16 pages used for memmap
DMA zone: 0 pages reserved
DMA zone: 4080 pages, LIFO batch:0
Normal zone: 0 pages used for memmap
Linux/CRIS port on ETRAX 100LX (c) 2001 Axis Communications AB
Built 1 zonelists. Total pages: 4080
Kernel command line: root=/dev/mtdblock1 rootfstype=squashfs,jffs2 init=/etc/preinit noinitrd console=ttyS0,115200
PID hash table entries: 128 (order: 7, 512 bytes)
Dentry cache hash table entries: 4096 (order: 1, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 0, 8192 bytes)
Memory: 30304k/32768k available (1289k kernel code, 2464k reserved, 314k data, 56k init)
Calibrating delay loop... 99.32 BogoMIPS (lpj=496640)
Mount-cache hash table entries: 1024
NET: Registered protocol family 16
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
NET: Registered protocol family 2
IP route cache hash table entries: 256 (order: -3, 1024 bytes)
TCP established hash table entries: 1024 (order: -1, 4096 bytes)
TCP bind hash table entries: 512 (order: -2, 2048 bytes)
TCP: Hash tables configured (established 1024 bind 512)
TCP reno registered
fast_timer_init()
squashfs: version 3.0 (2006/03/15) Phillip Lougher
Registering mini_fo version $Id$
JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc.
io scheduler noop registered
io scheduler deadline registered (default)
ETRAX 100LX serial-driver 1.25 $, (c) 2000-2004 Axis Communications AB
ttyS0 at 0xb0000060 is a builtin UART with DMA
usbcore: registered new interface driver zd1201
ETRAX 100LX 10/100MBit ethernet v2.0 (c) 1998-2006 Axis Communications AB
eth0: changed MAC to 00:40:8C:CD:00:00
ETRAX 100LX USB Host Controller version 1.00 (c) 2005, 2006 Axis Communications AB
usb_devdrv: Etrax 100LX USB Revision 16 v1,2
usb_devdrv: Bulk timer interval, start:2 eot:6
usb_devdrv: Claimed interface for USB physical port 1
usb_devdrv: Claimed interface for USB physical port 2
crisv10_irq dbg: ctr_status_irq, controller status: host_mode
hc-crisv10 hc-crisv10.0: ETRAX 100LX USB Host Controller
hc-crisv10 hc-crisv10.0: new USB bus registered, assigned bus number 1
hc-crisv10 hc-crisv10.0: reset
hc-crisv10 hc-crisv10.0: start
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
cse0: Probing a 0x04000000 bytes large window at 0xe0000000.
cse0: Found 1 x16 devices at 0x0 in 16-bit bank
cse0: Found an alias at 0x800000 for the chip at 0x0
cse0: Found an alias at 0x1000000 for the chip at 0x0
cse0: Found an alias at 0x1800000 for the chip at 0x0
cse0: Found an alias at 0x2000000 for the chip at 0x0
cse0: Found an alias at 0x2800000 for the chip at 0x0
cse0: Found an alias at 0x3000000 for the chip at 0x0
cse0: Found an alias at 0x3800000 for the chip at 0x0
Amd/Fujitsu Extended Query Table at 0x0040
cse0: Swapping erase regions for broken CFI table.
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
cse1: Probing a 0x04000000 bytes large window at 0xe4000000.
CFI: Found no cse1 device at location zero
JEDEC: Found no cse1 device at location zero
cse0: 0x00800000 bytes of flash memory.
Scanning flash for end of kernel magic
Kernel ends at 0x000E0000
Using ACME partition table.
Creating 2 MTD partitions on "cse0":
0x00000000-0x000e0000 : "kernel"
0x000e0000-0x00800000 : "rootfs"
Adding RAM partition for romfs image:
/dev/flash1 at 0x00000000, size 0x00000000
I2C driver v2.2, (c) 1999-2004 Axis Communications AB
gpio init
GPIO port G: in_bits: 0xC1FFFFFF out_bits: 0xF20000FE val: F1FFFFFF
GPIO port G: dir: 00000000 changeable: 01FFFF01
ETRAX 100LX GPIO driver v2.5, (c) 2001, 2002, 2003, 2004 Axis Communications AB
ip_conntrack version 2.4 (256 buckets, 2048 max) - 232 bytes per conntrack
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP vegas registered
NET: Registered protocol family 1
NET: Registered protocol family 17
VFS: Mounted root (jffs2 filesystem) readonly.
Freeing unused kernel memory: 56k freed
Warning: unable to open an initial console.
Closing eth0.
crisv10_irq dbg: ctr_status_irq, controller status: host_mode started
crisv10_irq dbg: ctr_status_irq, controller status: host_mode started running
usb 1-2: new full speed USB device using hc-crisv10 and address 2
usb 1-2: configuration #1 chosen from 1 choice
lsusb (pid 602) segfaults for page address 00000000 at pc 355631d0
gphoto2 (pid 604) segfaults for page address 00000000 at pc 3569b1d0
________________________________
From: Listengine on behalf of Claudio
Sent: Thu 17/04/2008 14:29
To: crisos@xxxxxxxxxxxxxxxxxxx
Subject: Re: FW: [crisos] GPhoto2 not picking up camera
Hi Nathan,
2008/4/16, Nathan Harris <consultant@xxxxxxxxxxx>:
> Dear Claudio,
>
> Thank you so much for getting back to me I really appreciate you assistance.
>
> I am in touch with AXIS support team now to see if they can help, I am not a C programmer so don't have a glue on installing original C source files.
>
> However I will look at your developer section and see if I can make any sense of the technical data.
>
> I also have had the segmentation errors, I actually believe the problem to be driver related. Gphoto itself seems to be fine.
>
Such as previously declared today I have update gphoto, libgphoto end
libgphotodriver to the latest stable version 2.4.1.
All those packages are now at the same version, I hope this can fix
your problem and help you in your project!
I don't test the release packages for obviously time problem, let me
know about results.
Best Regards
Claudio
---
CrisOs mailing list
Official multi-language http://www.crisos.org/ mailing list
For unsubscribe send empty mail to: crisos-request@xxxxxxxxxxxxxxxxxxx with subject unsubscribe.