I do not have an allow_restart setting for my external apparently. But all this 
can be automated:
Udev Rule:
BUS=="scsi", SYSFS{vendor}=="WD", RUN+="/usr/bin/usbhdfix %k"

usbhdfix:
#!/bin/bash
echo 1024 > /sys/block/$1/device/max_sectors
temp=expr substr $1 3 1
echo 1 > /sys/class/scsi_disk/$temp\:0\:0\:0/allow_restart

-- 
USB mass storage stops working after a while
https://bugs.launchpad.net/bugs/61235
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

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

Reply via email to