Re: Trying to connect a digital cam to my PC
I use the following patch which allows both my Olympus C220 and other USB mass
storage devices to work correctly (I don't remember where I found the patch,
the file was called d150-patch.2.4.20.gz)
--- transport.c.orig Fri Nov 29 12:59:56 2002
+++ transport.c Fri Nov 29 13:14:58 2002
@@ -1233,7 +1233,8 @@
US_DEBUGP("Bulk status Sig 0x%x T 0x%x R %d Stat 0x%x\n",
le32_to_cpu(bcs->Signature), bcs->Tag,
bcs->Residue, bcs->Status);
- if (bcs->Signature != cpu_to_le32(US_BULK_CS_SIGN) ||
+ if ((bcs->Signature != cpu_to_le32(US_BULK_CS_SIGN) &&
+ bcs->Signature != cpu_to_le32(US_BULK_CS_SIGN_OLY)) ||
bcs->Tag != bcb->Tag ||
bcs->Status > US_BULK_STAT_PHASE || partial != 13) {
US_DEBUGP("Bulk logical error\n");
--- transport.h.orig Fri Nov 29 13:00:05 2002
+++ transport.h Fri Nov 29 13:12:47 2002
@@ -106,6 +106,7 @@
#define US_BULK_CS_WRAP_LEN 13
#define US_BULK_CS_SIGN 0x53425355 /* spells out 'USBS'
*/
+#define US_BULK_CS_SIGN_OLY 0x55425355 /* spells out 'USBU' */
#define US_BULK_STAT_OK 0
#define US_BULK_STAT_FAIL 1
#define US_BULK_STAT_PHASE 2
--
Torquil Macdonald Sørensen, http://folk.uio.no/tmac
Reply to: