星期日, 10月 17, 2010

[Ubuntu]安裝三期配發的 USB Webcam

udo apt-get install git-core git-doc git-gui kernel-package linux-headers-`uname -r` build-essential libv4l-0 mplayer

下載驅動程式並解壓縮


$ make

make -C /lib/modules/2.6.32-25-generic/build SUBDIRS=/home/bob/webcam/microdia modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.32-25-generic'
  CC [M]  /home/bob/webcam/microdia/sn9c20x-usb.o
  CC [M]  /home/bob/webcam/microdia/sn9c20x-v4l2.o
  CC [M]  /home/bob/webcam/microdia/sn9c20x-sysfs.o
  CC [M]  /home/bob/webcam/microdia/sn9c20x-dev.o
  CC [M]  /home/bob/webcam/microdia/sn9c20x-queue.o
  CC [M]  /home/bob/webcam/microdia/sn9c20x-bridge.o
  CC [M]  /home/bob/webcam/microdia/omnivision.o
  CC [M]  /home/bob/webcam/microdia/micron.o
  CC [M]  /home/bob/webcam/microdia/hv7131r.o
  CC [M]  /home/bob/webcam/microdia/sn9c20x-debugfs.o
  LD [M]  /home/bob/webcam/microdia/sn9c20x.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /home/bob/webcam/microdia/sn9c20x.mod.o
  LD [M]  /home/bob/webcam/microdia/sn9c20x.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-25-generic'
$ sudo insmod ./sn9c20x.ko

星期二, 10月 05, 2010

Ubuntu 與 Nvidia 8600 GTS 的問題

錯誤訊息:「The directory "/usr/share/fonts/X11/cyrillic" does not exist
解決方式:
sudo apt-get install xfonts-cyrillic