diff options
author | Linus Walleij <triad@df.lth.se> | 2006-05-04 19:46:43 +0000 |
---|---|---|
committer | Linus Walleij <triad@df.lth.se> | 2006-05-04 19:46:43 +0000 |
commit | 453813cf21a556228252b734a2fc5abfc3bfac7e (patch) | |
tree | 8d15c8525acf136f0bb12bb236a052f8481f4b7d | |
parent | c86afbd9d24d59de5602d7f3982fa14001905c4a (diff) | |
download | libmtp-453813cf21a556228252b734a2fc5abfc3bfac7e.tar.gz |
Some updates before release.libmtp-0-0-4
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | examples/hotplug.c | 2 | ||||
-rw-r--r-- | src/libmtp.h.in | 1 | ||||
-rw-r--r-- | src/libusb-glue.c | 42 |
4 files changed, 26 insertions, 24 deletions
@@ -1,7 +1,10 @@ 2006-05-04 Linus Walleij <triad@df.lth.se> * examples/sendfile.c: fixes some more filetypes. - * src/libmtp.c: respectfully rearranged to use a filetype mapping table. + * src/libmtp.c: respectfully rearranged to use a filetype mapping + table. + * src/ptp-pack.c: real nasty unicode packing bug. + * Release libmtp 0.0.4. 2006-05-02 Linus Walleij <triad@df.lth.se> diff --git a/examples/hotplug.c b/examples/hotplug.c index 700d152..8f3b5d3 100644 --- a/examples/hotplug.c +++ b/examples/hotplug.c @@ -23,7 +23,7 @@ int main (int argc, char **argv) extern int optind; extern char *optarg; char *udev_action = NULL; - char default_udev_action[] = "MODE=\"666\""; + char default_udev_action[] = "SYMLINK+=\"libmtp-%k\", MODE=\"666\""; while ( (opt = getopt(argc, argv, "ua:")) != -1 ) { switch (opt) { diff --git a/src/libmtp.h.in b/src/libmtp.h.in index 80036df..dc998d0 100644 --- a/src/libmtp.h.in +++ b/src/libmtp.h.in @@ -85,7 +85,6 @@ struct LIBMTP_device_entry_struct { char *name; /**< The descriptive name of this device */ uint16_t vendor_id; /**< Vendor ID for this device */ uint16_t product_id; /**< Product ID for this device */ - LIBMTP_device_entry_t *next; /**< Pointer to the next device entry or NULL if the last one */ }; /** diff --git a/src/libusb-glue.c b/src/libusb-glue.c index a68b9c3..1f6d948 100644 --- a/src/libusb-glue.c +++ b/src/libusb-glue.c @@ -55,35 +55,35 @@ */ static const LIBMTP_device_entry_t mtp_device_table[] = { /* Creative devices */ - { "Creative Zen Vision", 0x041e, 0x411f, NULL }, - { "Creative Portable Media Center", 0x041e, 0x4123, NULL }, - { "Creative Zen Xtra (MTP mode)", 0x041e, 0x4128, NULL }, - { "Second generation Dell DJ", 0x041e, 0x412f, NULL }, - { "Creative Zen Micro (MTP mode)", 0x041e, 0x4130, NULL }, - { "Creative Zen Touch (MTP mode)", 0x041e, 0x4131, NULL }, - { "Creative Zen Sleek (MTP mode)", 0x041e, 0x4137, NULL }, - { "Creative Zen MicroPhoto", 0x041e, 0x413c, NULL }, - { "Creative Zen Sleek Photo", 0x041e, 0x413d, NULL }, - { "Creative Zen Vision:M", 0x041e, 0x413e, NULL }, + { "Creative Zen Vision", 0x041e, 0x411f }, + { "Creative Portable Media Center", 0x041e, 0x4123 }, + { "Creative Zen Xtra (MTP mode)", 0x041e, 0x4128 }, + { "Second generation Dell DJ", 0x041e, 0x412f }, + { "Creative Zen Micro (MTP mode)", 0x041e, 0x4130 }, + { "Creative Zen Touch (MTP mode)", 0x041e, 0x4131 }, + { "Creative Zen Sleek (MTP mode)", 0x041e, 0x4137 }, + { "Creative Zen MicroPhoto", 0x041e, 0x413c }, + { "Creative Zen Sleek Photo", 0x041e, 0x413d }, + { "Creative Zen Vision:M", 0x041e, 0x413e }, /* Contributed by anonymous person on SourceForge */ - { "Samsung YP-T7J", 0x04e8, 0x5047, NULL }, + { "Samsung YP-T7J", 0x04e8, 0x5047 }, /* From Mark Veinot */ - { "JVC Alneo XA-HD500", 0x04f1, 0x6105, NULL }, + { "JVC Alneo XA-HD500", 0x04f1, 0x6105 }, /* * Copied in from libgphoto2's libptp2 adaption "library.c" * carefully trying to pick only the MTP devices. * Greetings to Marcus Meissner! (we should merge our * projects some day...) */ - { "Philipps HDD6320", 0x0471, 0x01eb, NULL}, - { "iRiver T10", 0x4102, 0x1113, NULL }, - { "iRiver U10", 0x4102, 0x1116, NULL }, - { "iRiver T10", 0x4102, 0x1117, NULL }, - { "iRiver T20", 0x4102, 0x1118, NULL }, - { "iRiver T30", 0x4102, 0x1119, NULL }, - { "iRiver H10", 0x4102, 0x2102, NULL }, - { "Dell DJ Itty", 0x413c, 0x4500, NULL}, - { "Toshiba Gigabeat", 0x0930, 0x000c, NULL} + { "Philipps HDD6320", 0x0471, 0x01eb }, + { "iRiver T10", 0x4102, 0x1113 }, + { "iRiver U10", 0x4102, 0x1116 }, + { "iRiver T10", 0x4102, 0x1117 }, + { "iRiver T20", 0x4102, 0x1118 }, + { "iRiver T30", 0x4102, 0x1119 }, + { "iRiver H10", 0x4102, 0x2102 }, + { "Dell DJ Itty", 0x413c, 0x4500 }, + { "Toshiba Gigabeat", 0x0930, 0x000c } }; static const int mtp_device_table_size = sizeof(mtp_device_table) / sizeof(LIBMTP_device_entry_t); |