• Home
Name Date Size #Lines LOC

..--

.gitignoreD03-May-202448 65

Makefile.amD03-May-20242.8 KiB8148

READMED03-May-2024716 2618

chdk_live_view.hD03-May-20243.3 KiB10036

chdk_ptp.hD03-May-202412.9 KiB279143

device-flags.hD03-May-202413.3 KiB33447

gphoto2-sync.shD03-May-2024602 3123

libmtp.cD03-May-2024311.8 KiB9,2125,942

libmtp.h.inD03-May-202436.1 KiB1,0831,019

libmtp.symD03-May-20242.9 KiB117116

libopenusb1-glue.cD03-May-202480.4 KiB2,2551,384

libusb-glue.cD03-May-202464.4 KiB2,1471,468

libusb-glue.hD03-May-20246.4 KiB184132

libusb1-glue.cD03-May-202469.1 KiB2,2851,591

mtpz.cD03-May-202479.6 KiB1,8331,442

mtpz.hD03-May-20241.3 KiB5219

music-players.hD03-May-2024156 KiB3,6322,187

playlist-spl.cD03-May-202424.9 KiB850462

playlist-spl.hD03-May-20241.3 KiB3610

ptp-pack.cD03-May-202488.4 KiB2,8252,292

ptp.cD03-May-2024232 KiB6,8975,245

ptp.hD03-May-2024129.4 KiB3,4362,374

unicode.cD03-May-20245.4 KiB17583

unicode.hD03-May-20241.5 KiB417

util.cD03-May-20244 KiB15376

util.hD03-May-20241.7 KiB5824

README

1RELATION TO LIBPTP2
2-------------------
3
4Parts of libptp2 are copied (and modified) from version 1.1.0:
5
6ptp-pack.c
7ptp-pack.h
8ptp.c
9ptp.h
10
11These are just copies of the same files from libptp2.
12In order to avoid clashes with the libptp2 endianness scripts
13we have named libptp-endian.h and libptp-stdint.h the
14same way as in libptp2, though they are created by libmtp
15autoconfigure scripts.
16
17We will try to track libptp2 and fold changes back into
18libmtp.
19
20TODO: check if the following still holds! (Linus)
21
22I have changed the config script slightly for the le64atoh function
23in libptp-endian.h. This is required for OS X on PowerPC (not sure why).
24I've just cast the bytes to uint64_t to avoid shifting wrongly.
25
26