camera-toolbox
camera-toolbox copied to clipboard
No works with Canon 450D
Hello i have download your RPI image on https://github.com/rlamarche/camera-toolbox-images.
I 've copy on my sd card.
The RPI boot and the camera-toolbox server is started.
The Ip of my RPI is 192.168.10.61 if i go on the api status page i have this result
If i go on 192.168.10.61:8080/preview.jpg i've timeout result.
My list of usb device:
# lsusb
Bus 001 Device 002: ID 0424:9514
Bus 001 Device 001: ID 1d6b:0002
Bus 001 Device 003: ID 0424:ec00
Bus 001 Device 004: ID 04a9:3145
Bus 001 Device 005: ID 062a:4101
dmesg result command
# dmesg
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 4.4.21-v7 (romain@romain-ThinkPad-T550) (gcc version 6.2.0 (Buildroot 2016.11) ) #1 SMP Sun Dec 18 10:13:59 CET 2016
[ 0.000000] CPU: ARMv7 Processor [410fd034] revision 4 (ARMv7), cr=10c5383d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine model: Raspberry Pi 3 Model B Rev 1.2
[ 0.000000] cma: Reserved 8 MiB at 0x38400000
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] On node 0 totalpages: 232448
[ 0.000000] free_area_init_node: node 0, pgdat 808c9180, node_mem_map b7bf7000
[ 0.000000] Normal zone: 2043 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 232448 pages, LIFO batch:31
[ 0.000000] [bcm2709_smp_init_cpus] enter (9540->f3003010)
[ 0.000000] [bcm2709_smp_init_cpus] ncores=4
[ 0.000000] PERCPU: Embedded 13 pages/cpu @b7bb3000 s22540 r8192 d22516 u53248
[ 0.000000] pcpu-alloc: s22540 r8192 d22516 u53248 alloc=13*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 230405
[ 0.000000] Kernel command line: 8250.nr_uarts=1 dma.dmachans=0x7f35 bcm2708_fb.fbwidth=1920 bcm2708_fb.fbheight=1080 bcm2709.boardrev=0xa02082 bcm2709.serial=0xd8ec851a smsc95xx.macaddr=B8:27:EB:EC:85:1A bcm2708_fb.fbswap=1 bcm2709.uart_clock=48000000 vc_mem.mem_base=0x3dc00000 vc_mem.mem_size=0x3f000000 root=/dev/mmcblk0p2 rootwait console=tty1 console=ttyAMA0,115200
[ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Memory: 902508K/929792K available (6372K kernel code, 433K rwdata, 1720K rodata, 472K init, 764K bss, 19092K reserved, 8192K cma-reserved)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0xb9000000 - 0xff800000 (1128 MB)
[ 0.000000] lowmem : 0x80000000 - 0xb8c00000 ( 908 MB)
[ 0.000000] modules : 0x7f000000 - 0x80000000 ( 16 MB)
[ 0.000000] .text : 0x80008000 - 0x807ef294 (8093 kB)
[ 0.000000] .init : 0x807f0000 - 0x80866000 ( 472 kB)
[ 0.000000] .data : 0x80866000 - 0x808d24f0 ( 434 kB)
[ 0.000000] .bss : 0x808d5000 - 0x80994174 ( 765 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] Build-time adjustment of leaf fanout to 32.
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000000] Architected cp15 timer(s) running at 19.20MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns
[ 0.000008] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[ 0.000024] Switching to timer-based delay loop, resolution 52ns
[ 0.000273] Console: colour dummy device 80x30
[ 0.001281] console [tty1] enabled
[ 0.001331] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000)
[ 0.001400] pid_max: default: 32768 minimum: 301
[ 0.001731] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.001774] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.002732] Disabling cpuset control group subsystem
[ 0.002791] Initializing cgroup subsys io
[ 0.002841] Initializing cgroup subsys memory
[ 0.002906] Initializing cgroup subsys devices
[ 0.002948] Initializing cgroup subsys freezer
[ 0.002990] Initializing cgroup subsys net_cls
[ 0.003059] CPU: Testing write buffer coherency: ok
[ 0.003146] ftrace: allocating 21183 entries in 63 pages
[ 0.053742] CPU0: update cpu_capacity 1024
[ 0.053803] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.053836] [bcm2709_smp_prepare_cpus] enter
[ 0.053995] Setting up static identity map for 0x8240 - 0x8274
[ 0.055627] [bcm2709_boot_secondary] cpu:1 started (0) 17
[ 0.055840] [bcm2709_secondary_init] enter cpu:1
[ 0.055884] CPU1: update cpu_capacity 1024
[ 0.055890] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.056262] [bcm2709_boot_secondary] cpu:2 started (0) 17
[ 0.056437] [bcm2709_secondary_init] enter cpu:2
[ 0.056457] CPU2: update cpu_capacity 1024
[ 0.056463] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[ 0.056820] [bcm2709_boot_secondary] cpu:3 started (0) 16
[ 0.056949] [bcm2709_secondary_init] enter cpu:3
[ 0.056968] CPU3: update cpu_capacity 1024
[ 0.056975] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[ 0.057034] Brought up 4 CPUs
[ 0.057132] SMP: Total of 4 processors activated (153.60 BogoMIPS).
[ 0.057161] CPU: All CPU(s) started in HYP mode.
[ 0.057187] CPU: Virtualization extensions available.
[ 0.057824] devtmpfs: initialized
[ 0.068361] VFP support v0.3: implementor 41 architecture 3 part 40 variant 3 rev 4
[ 0.068733] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.069472] pinctrl core: initialized pinctrl subsystem
[ 0.070007] NET: Registered protocol family 16
[ 0.075035] DMA: preallocated 4096 KiB pool for atomic coherent allocations
[ 0.081724] bcm2709: Mini UART enabled
[ 0.081784] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.081830] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.082001] Serial: AMBA PL011 UART driver
[ 0.082153] uart-pl011 3f201000.uart: could not find pctldev for node /soc/gpio@7e200000/uart0_pins, deferring probe
[ 0.082357] bcm2835-mbox 3f00b880.mailbox: mailbox enabled
[ 0.145826] bcm2835-dma 3f007000.dma: DMA legacy API manager at f3007000, dmachans=0x1
[ 0.146435] SCSI subsystem initialized
[ 0.146645] usbcore: registered new interface driver usbfs
[ 0.146756] usbcore: registered new interface driver hub
[ 0.146875] usbcore: registered new device driver usb
[ 0.153290] raspberrypi-firmware soc:firmware: Attached to firmware from 2016-09-21 13:13
[ 0.180320] clocksource: Switched to clocksource arch_sys_counter
[ 0.226004] FS-Cache: Loaded
[ 0.226303] CacheFiles: Loaded
[ 0.238543] NET: Registered protocol family 2
[ 0.239417] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.239556] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.239766] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.239881] UDP hash table entries: 512 (order: 2, 16384 bytes)
[ 0.239949] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[ 0.240200] NET: Registered protocol family 1
[ 0.240591] RPC: Registered named UNIX socket transport module.
[ 0.240623] RPC: Registered udp transport module.
[ 0.240651] RPC: Registered tcp transport module.
[ 0.240679] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.241556] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 7 counters available
[ 0.242906] futex hash table entries: 1024 (order: 4, 65536 bytes)
[ 0.256032] VFS: Disk quotas dquot_6.6.0
[ 0.256362] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.258589] FS-Cache: Netfs 'nfs' registered for caching
[ 0.259500] NFS: Registering the id_resolver key type
[ 0.259568] Key type id_resolver registered
[ 0.259596] Key type id_legacy registered
[ 0.261915] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[ 0.262078] io scheduler noop registered
[ 0.262114] io scheduler deadline registered
[ 0.262181] io scheduler cfq registered (default)
[ 0.264625] BCM2708FB: allocated DMA memory f8800000
[ 0.264673] BCM2708FB: allocated DMA channel 0 @ f3007000
[ 0.317580] Console: switching to colour frame buffer device 240x67
[ 0.346448] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[ 0.348624] 3f215040.uart: ttyS0 at MMIO 0x3f215040 (irq = 59, base_baud = 50000000) is a 16550
[ 1.323184] bcm2835-rng 3f104000.rng: hwrng registered
[ 1.323488] vc-cma: Videocore CMA driver
[ 1.323597] vc-cma: vc_cma_base = 0x00000000
[ 1.323717] vc-cma: vc_cma_size = 0x00000000 (0 MiB)
[ 1.323852] vc-cma: vc_cma_initial = 0x00000000 (0 MiB)
[ 1.324260] vc-mem: phys_addr:0x00000000 mem_base=0x3dc00000 mem_size:0x3f000000(1008 MiB)
[ 1.339199] brd: module loaded
[ 1.348041] loop: module loaded
[ 1.349115] vchiq: vchiq_init_state: slot_zero = 0xb8880000, is_master = 0
[ 1.350887] Loading iSCSI transport class v2.0-870.
[ 1.351703] usbcore: registered new interface driver smsc95xx
[ 1.351900] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[ 1.552344] Core Release: 2.80a
[ 1.552437] Setting default values for core params
[ 1.552584] Finished setting default values for core params
[ 1.753107] Using Buffer DMA mode
[ 1.753203] Periodic Transfer Interrupt Enhancement - disabled
[ 1.753350] Multiprocessor Interrupt Enhancement - disabled
[ 1.753490] OTG VER PARAM: 0, OTG VER FLAG: 0
[ 1.753648] Dedicated Tx FIFOs mode
[ 1.754139] WARN::dwc_otg_hcd_init:1047: FIQ DMA bounce buffers: virt = 0xb8814000 dma = 0xf8814000 len=9024
[ 1.754400] FIQ FSM acceleration enabled for :
[ 1.754400] Non-periodic Split Transactions
[ 1.754400] Periodic Split Transactions
[ 1.754400] High-Speed Isochronous Endpoints
[ 1.754400] Interrupt/Control Split Transaction hack enabled
[ 1.754920] dwc_otg: Microframe scheduler enabled
[ 1.754974] WARN::hcd_init_fiq:413: FIQ on core 1 at 0x804492fc
[ 1.755132] WARN::hcd_init_fiq:414: FIQ ASM at 0x8044965c length 36
[ 1.755294] WARN::hcd_init_fiq:439: MPHI regs_base at 0xb987a000
[ 1.755500] dwc_otg 3f980000.usb: DWC OTG Controller
[ 1.762351] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1
[ 1.769268] dwc_otg 3f980000.usb: irq 62, io mem 0x00000000
[ 1.776144] Init: Port Power? op_state=1
[ 1.782964] Init: Power Port (0)
[ 1.789870] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 1.796662] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.803472] usb usb1: Product: DWC OTG Controller
[ 1.810202] usb usb1: Manufacturer: Linux 4.4.21-v7 dwc_otg_hcd
[ 1.816982] usb usb1: SerialNumber: 3f980000.usb
[ 1.824510] hub 1-0:1.0: USB hub found
[ 1.831253] hub 1-0:1.0: 1 port detected
[ 1.838658] dwc_otg: FIQ enabled
[ 1.838666] dwc_otg: NAK holdoff enabled
[ 1.838675] dwc_otg: FIQ split-transaction FSM enabled
[ 1.838710] Module dwc_common_port init
[ 1.838965] usbcore: registered new interface driver usb-storage
[ 1.846058] mousedev: PS/2 mouse device common for all mice
[ 1.853618] bcm2835-cpufreq: min=600000 max=1200000
[ 1.860597] sdhci: Secure Digital Host Controller Interface driver
[ 1.867334] sdhci: Copyright(c) Pierre Ossman
[ 1.874331] sdhost: log_buf @ b8813000 (f8813000)
[ 1.940349] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1)
[ 1.949286] mmc-bcm2835 3f300000.mmc: mmc_debug:0 mmc_debug2:0
[ 1.955967] mmc-bcm2835 3f300000.mmc: DMA channel allocated
[ 1.998001] mmc0: host does not support reading read-only switch, assuming write-enable
[ 2.000450] sdhci-pltfm: SDHCI platform and OF driver helper
[ 2.000847] ledtrig-cpu: registered to indicate activity on CPUs
[ 2.000957] hidraw: raw HID events driver (C) Jiri Kosina
[ 2.001129] usbcore: registered new interface driver usbhid
[ 2.001132] usbhid: USB HID core driver
[ 2.001760] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 2.045522] Indeed it is in host mode hprt0 = 00021501
[ 2.112574] Initializing XFRM netlink socket
[ 2.112715] mmc0: new high speed SDHC card at address 0007
[ 2.113510] mmcblk0: mmc0:0007 SD32G 29.0 GiB
[ 2.133335] NET: Registered protocol family 17
[ 2.134687] mmcblk0: p1 p2
[ 2.146941] Key type dns_resolver registered
[ 2.154101] Registering SWP/SWPB emulation handler
[ 2.161653] registered taskstats version 1
[ 2.168640] vc-sm: Videocore shared memory driver
[ 2.173658] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[ 2.175223] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 2.176789] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 2.179594] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[ 2.201797] [vc_sm_connected_init]: start
[ 2.208694] [vc_sm_connected_init]: end - returning 0
[ 2.215520] 3f201000.uart: ttyAMA0 at MMIO 0x3f201000 (irq = 87, base_baud = 0) is a PL011 rev2
[ 2.240355] usb 1-1: new high-speed USB device number 2 using dwc_otg
[ 2.240504] Indeed it is in host mode hprt0 = 00001101
[ 2.271081] mmc1: new high speed SDIO card at address 0001
[ 2.430628] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
[ 2.430637] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 2.434909] hub 1-1:1.0: USB hub found
[ 2.434998] hub 1-1:1.0: 5 ports detected
[ 2.710346] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[ 2.810589] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[ 2.810598] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 2.815851] smsc95xx v1.0.4
[ 2.873664] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:ec:85:1a
[ 2.950346] usb 1-1.2: new high-speed USB device number 4 using dwc_otg
[ 3.083885] usb 1-1.2: New USB device found, idVendor=04a9, idProduct=3145
[ 3.083894] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 3.083900] usb 1-1.2: Product: Canon Digital Camera
[ 3.083907] usb 1-1.2: Manufacturer: Canon Inc.
[ 3.380349] usb 1-1.4: new full-speed USB device number 5 using dwc_otg
[ 3.424375] console [ttyAMA0] enabled
[ 3.435032] of_cfs_init
[ 3.444031] of_cfs_init: OK
[ 3.454009] uart-pl011 3f201000.uart: no DMA platform data
[ 3.467300] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incompatibilities
[ 3.482907] EXT4-fs (mmcblk0p2): couldn't mount as ext2 due to feature incompatibilities
[ 3.504552] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 3.507394] usb 1-1.4: New USB device found, idVendor=062a, idProduct=4101
[ 3.507404] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 3.507411] usb 1-1.4: Product: 2.4G Keyboard Mouse
[ 3.507418] usb 1-1.4: Manufacturer: MOSART Semi.
[ 3.568560] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[ 3.569171] input: MOSART Semi. 2.4G Keyboard Mouse as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4/1-1.4:1.0/0003:062A:4101.0001/input/input0
[ 3.605556] devtmpfs: mounted
[ 3.615866] Freeing unused kernel memory: 472K (807f0000 - 80866000)
[ 3.621060] hid-generic 0003:062A:4101.0001: input,hidraw0: USB HID v1.10 Keyboard [MOSART Semi. 2.4G Keyboard Mouse] on usb-3f980000.usb-1.4/input0
[ 3.628173] input: MOSART Semi. 2.4G Keyboard Mouse as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4/1-1.4:1.1/0003:062A:4101.0002/input/input1
[ 3.681049] hid-generic 0003:062A:4101.0002: input,hiddev0,hidraw1: USB HID v1.10 Mouse [MOSART Semi. 2.4G Keyboard Mouse] on usb-3f980000.usb-1.4/input1
[ 3.940061] EXT4-fs (mmcblk0p2): re-mounted. Opts: errors=remount-ro,data=ordered
[ 4.070158] udevd[108]: starting version 3.2
[ 4.114092] random: udevd: uninitialized urandom read (16 bytes read, 78 bits of entropy available)
[ 4.133249] random: udevd: uninitialized urandom read (16 bytes read, 78 bits of entropy available)
[ 4.150070] random: udevd: uninitialized urandom read (16 bytes read, 78 bits of entropy available)
[ 4.196661] udevd[109]: starting eudev-3.2
[ 4.306240] random: udevd: uninitialized urandom read (16 bytes read, 80 bits of entropy available)
[ 4.341347] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f200000
[ 4.373624] bcm2835-wdt 3f100000.watchdog: Broadcom BCM2835 watchdog timer
[ 4.582990] usbcore: registered new interface driver brcmfmac
[ 4.731167] random: dd: uninitialized urandom read (512 bytes read, 116 bits of entropy available)
[ 4.776841] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: May 27 2016 00:13:38 version 7.45.41.26 (r640327) FWID 01-df77e4a7
[ 4.791435] random: dbus-uuidgen: uninitialized urandom read (12 bytes read, 126 bits of entropy available)
[ 4.791555] random: dbus-uuidgen: uninitialized urandom read (8 bytes read, 126 bits of entropy available)
[ 4.822136] random: dbus-daemon: uninitialized urandom read (12 bytes read, 126 bits of entropy available)
[ 4.834780] random: dbus-daemon: uninitialized urandom read (12 bytes read, 126 bits of entropy available)
[ 4.884513] random: nonblocking pool is initialized
[ 4.912294] brcmfmac: brcmf_cfg80211_reg_notifier: not a ISO3166 code
[ 5.046679] NET: Registered protocol family 10
[ 5.162503] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[ 5.177969] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 6.717796] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 6.733238] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
[ 9.839586] brcmfmac: brcmf_add_if: ERROR: netdev:wlan0 already exists
[ 9.854416] brcmfmac: brcmf_add_if: ignore IF event
[ 9.860172] brcmfmac: power management disabled
[ 9.863734] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 12.593161] brcmfmac: brcmf_add_if: ERROR: netdev:wlan0 already exists
[ 12.608050] brcmfmac: brcmf_add_if: ignore IF event
[ 12.685706] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
Have you got an idea ? Thanks
An idea ?
Hi @Hotfirenet , I think that I need to do some debug to understand where it has a bug. Canon & Nikon cameras works not the same way and I haven't canon camera at home. Moreover, the canon API is not documented.
Do you have development skills ?