From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161223AbXAHLOO (ORCPT ); Mon, 8 Jan 2007 06:14:14 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1161227AbXAHLOO (ORCPT ); Mon, 8 Jan 2007 06:14:14 -0500 Received: from ug-out-1314.google.com ([66.249.92.175]:37305 "EHLO ug-out-1314.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1161223AbXAHLON (ORCPT ); Mon, 8 Jan 2007 06:14:13 -0500 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=R9YSDdUiAymfH4JsLYPbc4EC/INdiAskxq8DvxhkvVXQ4xeBcj5Ok8F5MrDhZEojHb74mU2VTx7UyqzyVqGMU6QK1zcUBaIIqgk3TzM4VBxM+pjbJwljK/lGtAeRgsK/8EFAn5WkRrPEYhP1R+aHD1+gYfPEOVVtoqMzAV1ric4= Message-ID: <47ed01bd0701080314u39cda8f8g18dbff7747c0ed14@mail.gmail.com> Date: Mon, 8 Jan 2007 06:14:11 -0500 From: "Dylan Taft" 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 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org From: Dylan Taft 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 + * 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".