OSDN Git Service
(root)
/
android-x86
/
device-viewsonic-viewpad10.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Corrected permission setting
[android-x86/device-viewsonic-viewpad10.git]
/
viewpad10_info
1
set -x
2
3
viewpad10_info()
4
{
5
# common for all Eee PC models
6
PREDEV=snd-hda-codec-realtek
7
SNDDEV=snd-hda-intel
8
CAMDEV=uvcvideo
9
10
board=`cat /sys/class/dmi/id/product_name`
11
12
case "$board" in
13
VPAD10)
14
FB0DEV=i915
15
WIFDEV=ath9k
16
;;
17
*)
18
;;
19
esac
20
return 0
21
}
22
23
detect_hardware()
24
{
25
26
case "`cat /sys/class/dmi/id/uevent`" in
27
*VPAD10*)
28
viewpad10_info
29
;;
30
*)
31
echo "error WARNING: Not a ViewSonic ViewPad 10"
32
;;
33
esac
34
35
36
}
37