Comment 12 for bug 61235

Revision history for this message
John Dong (jdong) wrote :

The following udev rule fixes the bug for me. It's currently the best way I've found to set max_sectors from udev (for some reason SYSFS{max_sectors}="128" does nothing)

BUS=="scsi", SYSFS{vendor}=="RockChip", RUN+="/bin/sh -c '/bin/echo 128 > /sys/block/%k/device/max_sectors'"