after building gphoto2.1.5, trying to download images
or even list folders give the error "Lower case
letters in / not allowed."
This now behaves this way on my ixus 300 canon and my
20D canon.
1.073186 gphoto2-port(2): Reading 64=0x40 bytes from
port...
1.077185 gphoto2-port(3): Hexdump of 64 = 0x40 bytes
follows:
0000 18 00 00 00 01 03 00 00-00 00 00 00 00 00 00 00
................
0010 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00
................
0020 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00
................
0030 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00
................
1.077197 gphoto2-port(2): Reading 24=0x18 bytes from
port...
1.079184 gphoto2-port(3): Hexdump of 24 = 0x18 bytes
follows:
0000 02 00 00 00 0a 00 00 22-18 00 00 00 01 00 00 00
......."........
0010 00 00 00 00 04 00 00 20-
.......
1.079194 canon/canon.c(2): canon_int_get_battery:
Status: 04 (BAD) / Source: 20 (BATTERY)
1.079219 gphoto2-filesystem(2): Listing folders in '/'...
1.079241 canon/library.c(2): folder_list_func()
1.079250 canon/library.c(2): check_readiness()
cached_ready == 0
1.079265 canon/canon.c(2): canon_int_ready()
1.079279 canon/usb.c(2): canon_usb_ready()
1.079287 canon/library.c(2): Camera type: Canon:EOS 20D
(normal mode) (4)
1.079308 canon/canon.c(2): NULL
camera->pl->cached_drive in gphoto2canonpath
1.079321 canon/canon.c(2): canon_int_get_disk_name()
1.079333 canon/usb.c(2): canon_usb_long_dialogue()
function 9, payload = 0 bytes
1.079352 canon/usb.c(2): canon_usb_dialogue() cmd 0xa
0x11 0x202 (Flash device ident)
1.079360 gphoto2-port(2): Writing message (request=0x4
value=0x10 index=0x0 size=80=0x50)...
1.079370 gphoto2-port(3): Hexdump of 80 = 0x50 bytes
follows:
0000 10 00 00 00 02 02 00 00-00 00 00 00 00 00 00 00
................
0010 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00
................
0020 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00
................
0030 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00
................
0040 02 00 00 00 0a 00 00 11-10 00 00 00 02 00 00 00
................
1.085184 gphoto2-port(2): Reading 64=0x40 bytes from
port...
6.093274 canon/usb.c(2): canon_usb_dialogue: read 1 of
64 bytes failed! (Error reading from the port)
6.093298 canon/usb.c(2): canon_usb_long_dialogue:
canon_usb_dialogue returned error!
6.093311 canon/canon.c(2): canon_int_get_disk_name:
canon_usb_long_dialogue failed! returned -1
6.093324 canon/canon.c(2): 2nd NULL
camera->pl->cached_drive in gphoto2canonpath
6.093381 context(0): Lower case letters in / not allowed.
*** Error ***
Lower case letters in / not allowed.
6.093422 context(0): Lower case letters in / not allowed.
*** Error ***
Lower case letters in / not allowed.
6.093459 context(0): Lower case letters in / not allowed.
*** Error ***
Lower case letters in / not allowed.
6.093492 context(0): Lower case letters in / not allowed.
*** Error ***
Lower case letters in / not allowed.
6.093514 canon/canon.c(3): gphoto2canonpath: converted
'/' to '(NULL)'
6.093523 canon/canon.c(2): BEGIN canon_int_list_dir()
folder '/' aka '(NULL)' (no files, folders)
6.093547 canon/usb.c(2): canon_usb_long_dialogue()
function 11, payload = 10 bytes
6.093557 canon/usb.c(2): canon_usb_dialogue() cmd 0xb
0x11 0x202 (Get directory entries)
6.093565 canon/usb.c(2): Payload :
6.093576 canon(3): Hexdump of 10 = 0xa bytes follows:
0000 00 28 4e 55 4c 4c 29 00-00 00
.(NULL)...
6.093588 gphoto2-port(2): Writing message (request=0x4
value=0x10 index=0x0 size=90=0x5a)...
6.093598 gphoto2-port(3): Hexdump of 90 = 0x5a bytes
follows:
0000 1a 00 00 00 02 02 00 00-00 00 00 00 00 00 00 00
................
0010 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00
................
0020 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00
................
0030 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00
................
0040 02 00 00 00 0b 00 00 11-1a 00 00 00 03 00 00 00
................
0050 00 28 4e 55 4c 4c 29 00-00 00
.(NULL)...
6.100275 gphoto2-port(2): Reading 64=0x40 bytes from
port...
11.103293 canon/usb.c(2): canon_usb_dialogue: read 1 of
64 bytes failed! (Error reading from the port)
11.103321 canon/usb.c(2): canon_usb_long_dialogue:
canon_usb_dialogue returned error!
11.103343 context(0): canon_usb_get_dirents:
canon_usb_long_dialogue failed to fetch direntries,
returned -1
*** Error ***
canon_usb_get_dirents: canon_usb_long_dialogue failed
to fetch direntries, returned -1
11.103384 gphoto2-camera(2): Operation failed!
*** Error (-1: 'Unspecified error') ***
11.103662 gp-camera(2): Freeing camera...
11.103676 gphoto2-camera(2): Exiting camera ('Canon EOS
20D (normal mode)')...
11.103685 canon/library.c(2): switch_camera_off()
11.103693 canon/library.c(2): Not trying to shut down
USB camera...
11.103743 canon/library.c(2): clear_readiness()
11.103767 gphoto2-port(2): Closing port...
11.103825 libgphoto2/gphoto2-filesys.c(2): Clearing
fscache LRU list...
11.103838 libgphoto2/gphoto2-filesys.c(2): fscache LRU
list already empty
11.103846 gphoto2-filesystem(2): Internally deleting
all folders from '/'...
11.103855 gphoto2-port(2): Freeing port...
11.103863 gphoto2-port(2): Closing port...
11.103891 libgphoto2/gphoto2-filesys.c(2): Clearing
fscache LRU list...
11.103900 libgphoto2/gphoto2-filesys.c(2): fscache LRU
list already empty
11.103908 gphoto2-filesystem(2): Internally deleting
all folders from '/'...
Lower case letters in / not allowed. --> Error Lower case letters in / not allowed.
Logged In: YES
user_id=1180036
*** ixus 300 now works, 20D has same behavior
Logged In: YES
user_id=1180036
In PTP mode the results are slightly different and a bit
more useful
5.278292 gphoto2-port(2): Reading 512=0x200 bytes from port...
5.286286 gphoto2-port(2): Could only read 20 out of 512 byte(s)
5.286305 gphoto2-port(3): Hexdump of 20 = 0x14 bytes follows:
0000 14 00 00 00 02 00 04 10-29 00 00 00 01 00 00 00
........).......
0010 01 00 00 00
Logged In: YES
user_id=27487
PTP mode use a completely different driver, completely
unrelated.
Logged In: YES
user_id=682763
The Canon native driver does not (yet) support the EOS 20D.
I'll try to provide a less confusing error message after failing
to read the camera directory.
Does the IXUS 300 work in Canon "Normal" mode, or only in
PTP mode?