User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
en:users:drivers:ath10k:debug [2017/03/29 13:47]
Kalle Valo Add a section about firmware crash dump files
en:users:drivers:ath10k:debug [2017/03/29 14:32] (current)
Kalle Valo [Firmware crash dump file] useless use of cat and add a log message
Line 222: Line 222:
 timestamp=$(date +%Y%m%d%H%M%S) timestamp=$(date +%Y%m%d%H%M%S)
 filename="/​var/​spool/​devcoredump/​devcoredump-${timestamp}.dump"​ filename="/​var/​spool/​devcoredump/​devcoredump-${timestamp}.dump"​
-cat /​sys/​${DEVPATH}/​data ​${filename} +cp /​sys/​${DEVPATH}/​data ${filename} 
-echo 1 > /​sys/​${DEVPATH}/​data</​code>​+echo 1 > /​sys/​${DEVPATH}/​data 
 +logger "​created ${filename}"​</​code>​
 Create a directory for the dump files: Create a directory for the dump files:
en/users/drivers/ath10k/debug.txt · Last modified: 2017/03/29 14:32 by Kalle Valo