Merge pull request #2507 from Sparticuz/mainline
Fix panel reporting on mainline-3566
This commit is contained in:
commit
7382eee7ab
2 changed files with 10 additions and 10 deletions
|
@ -1,11 +1,11 @@
|
|||
#!/bin/sh
|
||||
ID=$(dmesg | grep "panel id:" | sed "s#^.*panel id: ##g")
|
||||
ID=$(dmesg | grep "panel")
|
||||
case ${ID} in
|
||||
"30 52")
|
||||
ID="v1 (${ID})"
|
||||
*newvision*)
|
||||
ID="v1"
|
||||
;;
|
||||
"38 21")
|
||||
ID="v2 (${ID})"
|
||||
*sitronix*)
|
||||
ID="v2"
|
||||
;;
|
||||
*)
|
||||
ID="Unknown"
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
#!/bin/sh
|
||||
ID=$(dmesg | grep "panel id:" | sed "s#^.*panel id: ##g")
|
||||
ID=$(dmesg | grep "panel")
|
||||
case ${ID} in
|
||||
"30 52")
|
||||
*newvision*)
|
||||
ID="v1"
|
||||
;;
|
||||
"38 21")
|
||||
*sitronix*)
|
||||
ID="v2"
|
||||
;;
|
||||
*)
|
||||
|
|
Loading…
Reference in a new issue