mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Dylan Taft" <d13f00l@gmail.com>
To: usb-storage@lists.one-eyed-alien.net, linux-kernel@vger.kernel.org
Subject: [PATCH 001/001] USB MASS STORAGE: US_FL_IGNORE_RESIDUE needed for Aiptek MP3 Player
Date: Mon, 8 Jan 2007 06:14:11 -0500	[thread overview]
Message-ID: <47ed01bd0701080314u39cda8f8g18dbff7747c0ed14@mail.gmail.com> (raw)

From: Dylan Taft <d13f00l@gmail.com>

Device will not work as a mass storage device without US_FL_IGNORE_RESIDUE.

Signed-off-by: Dylan Taft <
d13f00l@gmail.com>
---
I bought this mp3 player that takes SD cards here

http://www.aiptek.com/Merchant2/merchant.mvc?Screen=PROD&Product_Code=AX4&Category_Code=MP3&Store_Code=AS

I can provide the errors in dmesg, if necessary, but this flag was
determined as necessary by doing a quick google on the errors

that were shown in dmesg.
I've been sitting on this patch for a while.  Formally submitting
patches seems daunting. I hope I did this right.

This patch is against vanilla 2.6.19, although it should work fine for
any newer kernel.  Thanks!


--- ./drivers/usb/storage/unusual_devs.bak      2006-12-09 20:50:33.000000000
 -0500

+++ ./drivers/usb/storage/unusual
_devs.h        2007-01-07 22:17:13.000000000  -0500
@@ -1075,6 +1075,15 @@ UNUSUAL_DEV(  0x08bd, 0x1100, 0x0000, 0x
                US_SC_DEVICE, US_PR_DEVICE, NULL,
                 US_FL_SINGLE_LUN),

+/* Submitted by Dylan Taft <d13f00l@gmail.com>
+ * US_FL_IGNORE_RESIDUE Needed
+ */
+UNUSUAL_DEV(  0x08ca, 0x3103, 0x0100, 0x0100,
+                "AIPTEK",
+                "Aiptek USB Keychain MP3 Player",
+                US_SC_DEVICE, US_PR_DEVICE, NULL,
+                US_FL_IGNORE_RESIDUE),
+
 /* Entry needed for flags. Moreover, all devices with this ID use
  * bulk-only transport, but _some_ falsely report Control/Bulk instead.
  * One example is "Trumpion Digital Research MYMP3".

                 reply	other threads:[~2007-01-08 11:14 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47ed01bd0701080314u39cda8f8g18dbff7747c0ed14@mail.gmail.com \
    --to=d13f00l@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=usb-storage@lists.one-eyed-alien.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®