1 # TODO: implement a more generic auto detection by scanning /sys
2 # For now we just look up the machine name.
4 # FBDEV: framebuffer driver
8 # CAMDEV: camera driver
12 board=`cat /sys/class/dmi/id/board_name`
13 # assume Eee PC models
34 # common for all Eee PC models
36 SNDDEV="snd-hda-codec-realtek snd-hda-intel"
54 grep -q "$1" /sys/class/dmi/id/uevent
59 check_product ASUSTeK && get_asus_info
60 check_product VirtualBox && get_vbox_info
61 check_product QEMU && get_qemu_info
66 ALL_MODULES="$FBDEV $LANDEV $WIFDEV $SNDDEV $CAMDEV"