diff -Nru libgphoto2-2.4.7.orig/camlibs/ptp2/library.c libgphoto2-2.4.7/camlibs/ptp2/library.c
--- libgphoto2-2.4.7.orig/camlibs/ptp2/library.c	2009-08-16 15:58:17.000000000 +0200
+++ libgphoto2-2.4.7/camlibs/ptp2/library.c	2009-12-11 06:59:32.756728281 +0100
@@ -862,6 +862,7 @@
 	{"Canon:PowerShot SD850 (PTP mode)",	0x04a9, 0x314b, PTPBUG_DELETE_SENDS_EVENT},
 	{"Canon:PowerShot A570 IS (PTP mode)",  0x04a9, 0x314c, PTPBUG_DELETE_SENDS_EVENT},
 	{"Canon:PowerShot A560 (PTP mode)", 	0x04a9, 0x314d, PTPBUG_DELETE_SENDS_EVENT},
+	{"Canon:PowerShot A580 (PTP mode)", 	0x04a9, 0x3177, PTPBUG_DELETE_SENDS_EVENT},
 	/* mailreport from sec@dschroeder.info */
 	{"Canon:Digital IXUS 75 (PTP mode)",    0x04a9, 0x314e, PTPBUG_DELETE_SENDS_EVENT},
 	{"Canon:PowerShot SD750 (PTP mode)",    0x04a9, 0x314e, PTPBUG_DELETE_SENDS_EVENT},
