blob: ab8c9346a5ac02beee9c7baec3d02c0525d15424 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
( hwinfo --gfxcard >/etc/hwinfo.gfxcard
case $(cat /etc/hwinfo.gfxcard) in
*i915*)
modprobe -a ${MODPRV} i915 2>/dev/null
;;
*intel*|*Intel*)
modprobe -a ${MODPRV} i810 i830 i915 2>/dev/null
;;
*nvidia*|*NVidia*|*nouveau*)
modprobe ${MODPRV} nouveau 2>/dev/null
;;
*radeon*|*Radeon*)
modprobe ${MODPRV} radeon 2>/dev/null
;;
*mga*|*matrox*|*Matrox*)
modprobe ${MODPRV} mga 2>/dev/null
;;
*)
modprobe -a ${MODPRV} r128 savage sis tdfx ttm via
;;
esac
modprobe -a drm fbcon; mdev -s ) &
|