Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  1) What:		/sys/block/*/device/sw_activity
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) Date:		Jun, 2008
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3) KernelVersion:	v2.6.27
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4) Contact:	linux-ide@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6) 		(RW) Used by drivers which support software controlled activity
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) 		LEDs.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) 		It has the following valid values:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) 		==	========================================================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) 		0	OFF - the LED is not activated on activity
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) 		1	BLINK_ON - the LED blinks on every 10ms when activity is
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) 			detected.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) 		2	BLINK_OFF - the LED is on when idle, and blinks off
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) 			every 10ms when activity is detected.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) 		==	========================================================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) 		Note that the user must turn sw_activity OFF it they wish to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) 		control the activity LED via the em_message file.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) What:		/sys/block/*/device/unload_heads
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) Date:		Sep, 2008
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) KernelVersion:	v2.6.28
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) Contact:	linux-ide@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) 		(RW) Hard disk shock protection
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) 		Writing an integer value to this file will take the heads of the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) 		respective drive off the platter and block all I/O operations
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) 		for the specified number of milliseconds.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) 		- If the device does not support the unload heads feature,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) 		  access is denied with -EOPNOTSUPP.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) 		- The maximal value accepted for a timeout is 30000
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) 		  milliseconds.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) 		- A previously set timeout can be cancelled and disk can resume
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) 		  normal operation immediately by specifying a timeout of 0.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) 		- Some hard drives only comply with an earlier version of the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) 		  ATA standard, but support the unload feature nonetheless.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) 		  There is no safe way Linux can detect these devices, so this
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) 		  is not enabled by default. If it is known that your device
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) 		  does support the unload feature, then you can tell the kernel
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) 		  to enable it by writing -1. It can be disabled again by
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) 		  writing -2.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) 		- Values below -2 are rejected with -EINVAL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) 		For more information, see
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) 		Documentation/admin-guide/laptops/disk-shock-protection.rst
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) What:		/sys/block/*/device/ncq_prio_enable
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) Date:		Oct, 2016
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) KernelVersion:	v4.10
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) Contact:	linux-ide@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) 		(RW) Write to the file to turn on or off the SATA ncq (native
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) 		command queueing) support. By default this feature is turned
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60) 		off.