FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu Kernel Team

 
 
LinkBack Thread Tools
 
Old 03-19-2010, 12:58 PM
Surbhi Palande
 
Default USB: Add ids of SamsungYP-M1 to restrict max sectors

http://launchpad.net/bugs/503790

The Samsung YP-M1 does not work unless the following is done manually "echo
128 > /sys/block/sdb/device/max_sectors" as root. This quirk fixes having to
do this manually.

BugLink: http://launchpad.net/bugs/lp503790

Signed-off-by: Surbhi Palande <surbhi.palande@canonical.com>
---
drivers/usb/storage/unusual_devs.h | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/drivers/usb/storage/unusual_devs.h b/drivers/usb/storage/unusual_devs.h
index f6ab789..6469673 100644
--- a/drivers/usb/storage/unusual_devs.h
+++ b/drivers/usb/storage/unusual_devs.h
@@ -133,6 +133,13 @@ UNUSUAL_DEV( 0x0419, 0xaace, 0x0100, 0x0100,
US_SC_DEVICE, US_PR_DEVICE, NULL,
US_FL_IGNORE_RESIDUE ),

+/* Reported by Surbhi Palande <surbhi.palande@canonical.com> */
+UNUSUAL_DEV( 0x04e8, 0x5123, 0x0000, 0x0000,
+ "Samsung",
+ "YP-M1",
+ US_SC_DEVICE, US_PR_DEVICE, NULL,
+ US_FL_MAX_SECTORS_64),
+
/* Reported by Christian Leber <christian@leber.de> */
UNUSUAL_DEV( 0x0419, 0xaaf5, 0x0100, 0x0100,
"TrekStor",
--
1.6.3.3


--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team
 

Thread Tools




All times are GMT. The time now is 04:02 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org