[Bug 642176] Re: Samsung YP-M1 media player max_sectors should be set to 64
luc
Luc.Maisonobe at free.fr
Sat Sep 25 15:59:01 UTC 2010
apport information
** Tags added: apport-collected
** Description changed:
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.
+ 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.
+ ---
+ AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23.
+ Architecture: i386
+ ArecordDevices:
+ **** List of CAPTURE Hardware Devices ****
+ card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
+ Subdevices: 1/1
+ Subdevice #0: subdevice #0
+ AudioDevicesInUse:
+ USER PID ACCESS COMMAND
+ /dev/snd/controlC0: luc 1751 F.... pulseaudio
+ CRDA: Error: [Errno 2] Aucun fichier ou dossier de ce type
+ Card0.Amixer.info:
+ Card hw:0 'Intel'/'HDA Intel at 0xfe9fc000 irq 47'
+ Mixer name : 'SigmaTel STAC9228'
+ Components : 'HDA:14f12c06,14f1000f,00100000 HDA:10951392,1028022f,00100000 HDA:83847616,1028022f,00100402'
+ Controls : 22
+ Simple ctrls : 12
+ DistroRelease: Ubuntu 10.10
+ HibernationDevice: RESUME=UUID=f824963e-7a97-4b18-bd93-ea58fea1ecfd
+ InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Alpha i386 (20100925)
+ MachineType: Dell Inc. Inspiron 1525
+ Package: linux (not installed)
+ ProcCmdLine: BOOT_IMAGE=/vmlinuz-2.6.35-22-generic root=/dev/mapper/hostname-root ro quiet splash
+ ProcEnviron:
+ LANG=fr_FR.utf8
+ SHELL=/bin/bash
+ ProcVersionSignature: Ubuntu 2.6.35-22.33-generic 2.6.35.4
+ Regression: No
+ RelatedPackageVersions: linux-firmware 1.38
+ Reproducible: Yes
+ Tags: maverick kernel-config needs-upstream-testing
+ Uname: Linux 2.6.35-22-generic i686
+ UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
+ dmi.bios.date: 10/16/2008
+ dmi.bios.vendor: Dell Inc.
+ dmi.bios.version: A16
+ dmi.board.name: 0U990C
+ dmi.board.vendor: Dell Inc.
+ dmi.chassis.type: 8
+ dmi.chassis.vendor: Dell Inc.
+ dmi.modalias: dmi:bvnDellInc.:bvrA16:bd10/16/2008:svnDellInc.:pnInspiron1525:pvr:rvnDellInc.:rn0U990C:rvr:cvnDellInc.:ct8:cvr:
+ dmi.product.name: Inspiron 1525
+ dmi.sys.vendor: Dell Inc.
** Attachment added: "AcpiTables.txt"
https://bugs.edge.launchpad.net/bugs/642176/+attachment/1635311/+files/AcpiTables.txt
--
Samsung YP-M1 media player max_sectors should be set to 64
https://bugs.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