[PATCH] USB: Unusual Device support for Gold MP3 Player Energy

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Working through some old bug reports I found the following unusual device quirk for some MP3 player. It was tested in the 2.6.24 time frame but applies to current git from Linus. Is it possible to get it integrated upstream?

Thanks,
Stefan

--

When all other means of communication fail, try words!


>From d9d978187431e75549fca88db8f20e9d0cd88e97 Mon Sep 17 00:00:00 2001
From: Chuck Short <zulcss@xxxxxxxxxx>
Date: Wed, 22 Aug 2007 21:05:13 -0400
Subject: [PATCH] USB: Unusual Device support for Gold MP3 Player Energy

User was getting the following errors in dmesg:

[ 2158.139386] sd 5:0:0:1: ioctl_internal_command return code = 8000002
[ 2158.139390] : Current: sense key: No Sense
[ 2158.139393] Additional sense: No additional sense information

Adds unusual device support.

modified:   drivers/usb/storage/unusual_devs.h

Signed-off-by: Chuck Short <zulcss@xxxxxxxxxx>
Signed-off-by: Tim Gardner <tim.gardner@xxxxxxxxxxxxx>
---
 drivers/usb/storage/unusual_devs.h |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/drivers/usb/storage/unusual_devs.h b/drivers/usb/storage/unusual_devs.h
index 2ba7176..b8bf542 100644
--- a/drivers/usb/storage/unusual_devs.h
+++ b/drivers/usb/storage/unusual_devs.h
@@ -2078,6 +2078,11 @@ UNUSUAL_DEV(  0xed06, 0x4500, 0x0001, 0x0001,
 		US_SC_DEVICE, US_PR_DEVICE, NULL,
 		US_FL_CAPACITY_HEURISTICS),
 
+UNUSUAL_DEV( 0Xed10, 0x7636, 0x0001, 0x0001,
+		"TGE",
+		"Digital MP3 Audio Player",
+		US_SC_DEVICE, US_PR_DEVICE, NULL, US_FL_NOT_LOCKABLE ),
+
 /* Control/Bulk transport for all SubClass values */
 USUAL_DEV(US_SC_RBC, US_PR_CB, USB_US_TYPE_STOR),
 USUAL_DEV(US_SC_8020, US_PR_CB, USB_US_TYPE_STOR),
-- 
1.5.4.3


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux