[Bug 642176] [NEW] Samsung YP-M1 media player max_sectors should be set to 64

Launchpad Bug Tracker 642176 at bugs.launchpad.net
Mon Sep 20 08:26:22 UTC 2010


You have been subscribed to a public bug:

Binary package hint: media-player-info

When connecting a Samsun YP-M1 media player, the max_sector setting for USB is set to 240.
With this setting, attempting to put large files on the device hangs everything, as explained in the following thread: http://forums.cnet.com/5208-13973_102-0.html?threadID=366598.

Following the advices of this thread, I put the max_sector setting to 64
and everything went well.

Following the advices for bug #573219, I put the following line in
/lib/udev/rules.d/40-usb-media-players.rules:

ATTRS{idVendor}=="04e8" , ATTRS{idProduct}=="5123" , ENV{ID_MEDIA_PLAYER
}="samsung-yepp_yp-m1", RUN+="/bin/sh -c '/bin/echo 64 >
/sys/block/%k/device/max_sectors'"

This did the trick and when I connect the device, max_sector is
automatically set to the good value. In fact, it is set for both the
device corresponding to the main memory of the player and also for the
device corresponding to the SC card, which is exactly what I wanted.

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Samsung YP-M1 media player max_sectors should be set to 64
https://bugs.edge.launchpad.net/bugs/642176
You received this bug notification because you are a member of Kernel Bugs, which is subscribed to linux in ubuntu.




More information about the kernel-bugs mailing list