Discussion:
[gphoto-devel] Canon EOS 1Dx unknown code values.
Goran Lowkrantz
2017-01-01 11:04:17 UTC
Permalink
Hi,

Following are the config items where I have decoded unknown values:
***@testhost:~ # gphoto2 --get-config=/main/imgsettings/imageformat
/main/imgsettings/imageformatsd
/main/imgsettings/imageformatcf
Label: Image Format

Type: RADIO
Current: Unknown value 2000
Choice: 0 Unknown value 0000 L(arge JPEG)
Choice: 1 Unknown value 5000 M1
Choice: 2 Unknown value 6000 M2
Choice: 3 Unknown value 2000 S
Choice: 4 L + RAW
Choice: 5 Unknown value 0450 M1 + RAW
Choice: 6 Unknown value 0460 M2 + RAW
Choice: 7 Unknown value 0420 S + RAW
Choice: 8 L + mRAW
Choice: 9 Unknown value 1450 M1 + mRAW
Choice: 10 Unknown value 1460 M2 + mRAW
Choice: 11 Unknown value 1420 S + mRAW
Choice: 12 L + sRAW
Choice: 13 Unknown value 2450 M1 + sRAW
Choice: 14 Unknown value 2460 M2 + sRAW
Choice: 15 Unknown value 2420 S + sRAW
Choice: 16 RAW
Choice: 17 mRAW
Choice: 18 sRAW

/main/imgsettings/iso
Label: ISO Speed
Type: RADIO
Current: Auto
Choice: 0 Auto
Choice: 1 100
Choice: 2 125
Choice: 3 160
Choice: 4 200
Choice: 5 250
Choice: 6 320
Choice: 7 400
Choice: 8 500
Choice: 9 640
Choice: 10 800
Choice: 11 1000
Choice: 12 1250
Choice: 13 1600
Choice: 14 2000
Choice: 15 2500
Choice: 16 3200
Choice: 17 4000
Choice: 18 5000
Choice: 19 6400
Choice: 20 8000
Choice: 21 10000
Choice: 22 12800
Choice: 23 16000
Choice: 24 20000
Choice: 25 25600
Choice: 26 Unknown value 008b 32000
Choice: 27 Unknown value 008d 40000
Choice: 28 51200

***@testhost:~ # gphoto2 --get-config=/main/imgsettings/whitebalance
Label: WhiteBalance

Type: RADIO
Current: Unknown value 0013
Choice: 0 Auto
Choice: 1 Daylight
Choice: 2 Shadow
Choice: 3 Cloudy
Choice: 4 Tungsten
Choice: 5 Fluorescent
Choice: 6 Flash
Choice: 7 Manual Custom WB 1
Choice: 8 Unknown value 000f Custom WB 2
Choice: 9 Unknown value 0010 Custom WB 3
Choice: 10 Unknown value 0012 Custom WB 4
Choice: 11 Unknown value 0013 Custom WB 5
Choice: 12 Color Temperature

Matching choice when 8 to 11
Choice: 13 Unknown value 0013

/main/capturesettings/drivemode
Label: Drive Mode
Type: RADIO
Current: Single
Choice: 0 Single
Choice: 1 Continuous high speed
Choice: 2 Continuous low speed
Choice: 3 Timer 10 sec
Choice: 4 Timer 2 sec
Choice: 5 Unknown value 0006 Single: Silent shooting
Choice: 6 Unknown value 0012 Super High-speed continuous shooting

/main/capturesettings/aperture
Label: Aperture
Type: RADIO
Current: Unknown value 0000
Choice: 0 Unknown value 0000

When modes P and Tv this is auto

Capture does not seem to work, I get this but no files on camera or host:
***@testhost:~ # gphoto2 --capture-image
New file is in location /capt0000.jpg on the camera

New file is in location /capt0000.cr2 on the camera

Data:
***@testhost:~ # usbconfig
ugen0.1: <UHCI root HUB 0x15ad> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps)
pwr=SAVE (0mA)
ugen1.1: <EHCI root HUB 0x15ad> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps)
pwr=SAVE (0mA)
ugen0.2: <VMware Virtual USB Mouse VMware> at usbus0, cfg=0 md=HOST
spd=FULL (12Mbps) pwr=ON (0mA)
ugen0.3: <VMware Virtual USB Hub vendor 0x0e0f> at usbus0, cfg=0 md=HOST
spd=FULL (12Mbps) pwr=SAVE (0mA)
ugen1.2: <MT1956 MediaTek Inc> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps)
pwr=ON (500mA)
ugen1.3: <Canon Digital Camera Canon Inc.> at usbus1, cfg=0 md=HOST
spd=HIGH (480Mbps) pwr=ON (2mA)
***@testhost:~ # usbconfig -d ugen1.3 dump_info
ugen1.3: <Canon Digital Camera Canon Inc.> at usbus1, cfg=0 md=HOST
spd=HIGH (480Mbps) pwr=ON (2mA)

***@testhost:~ # gphoto2 --auto-detect
Model Port

----------------------------------------------------------
Canon EOS 1D X usb:001,003



/glz
Marcus Meissner
2017-01-07 11:28:19 UTC
Permalink
Post by Goran Lowkrantz
Hi,
The imageformat is a bit too weird for me , need to find the time to look
deeper at that or wait for Axel to handle it ;)
Post by Goran Lowkrantz
/main/imgsettings/iso
Label: ISO Speed
Choice: 26 Unknown value 008b 32000
Choice: 27 Unknown value 008d 40000
I added these values in 2.5.12.
Post by Goran Lowkrantz
Choice: 8 Unknown value 000f Custom WB 2
Choice: 9 Unknown value 0010 Custom WB 3
Choice: 10 Unknown value 0012 Custom WB 4
Choice: 11 Unknown value 0013 Custom WB 5
I added these values in 2.5.12.
Post by Goran Lowkrantz
/main/capturesettings/drivemode
Choice: 5 Unknown value 0006 Single: Silent shooting
Choice: 6 Unknown value 0012 Super High-speed continuous shooting
I added these values in 2.5.12.
Post by Goran Lowkrantz
/main/capturesettings/aperture
Label: Aperture
Type: RADIO
Current: Unknown value 0000
Choice: 0 Unknown value 0000
When modes P and Tv this is auto
hmm.
Post by Goran Lowkrantz
New file is in location /capt0000.jpg on the camera
New file is in location /capt0000.cr2 on the camera
This is SDRAM capture. The image is transient and immediately downloaded into
libgphoto2 address space in the computer. Use

gphoto2 --capture-image-and-download

here. Or switch "capturetarget" to "sdcard".


Thanks for the report!

Ciao, Marcus

Loading...