<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>网以言志</title>
	<atom:link href="http://blog.donews.com/heiyou/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.donews.com/heiyou</link>
	<description>----同好请进</description>
	<lastBuildDate>Thu, 10 Mar 2005 14:43:00 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>必备的软件包&#8211;记下来防止忘了</title>
		<link>http://blog.donews.com/heiyou/archive/2005/03/10/298512.aspx</link>
		<comments>http://blog.donews.com/heiyou/archive/2005/03/10/298512.aspx#comments</comments>
		<pubDate>Thu, 10 Mar 2005 14:35:00 +0000</pubDate>
		<dc:creator>黑友</dc:creator>
				<category><![CDATA[未分类]]></category>

		<guid isPermaLink="false">http://blog.donews.com/heiyou/archive/2005/03/10/298512.aspx</guid>
		<description><![CDATA[1已安装的软件：
#dpkg -l
Desired=Unknown/Install/Remove/Purge/Hold
&#124; Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
&#124;/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
&#124;&#124;/ Name           Version        Description
+++-==============-==============-============================================
ii  adduser        3.59           Add and remove users and groups
ii  apmd  [...]]]></description>
			<content:encoded><![CDATA[<p>1已安装的软件：<br />
#dpkg -l<br />
Desired=Unknown/Install/Remove/Purge/Hold<br />
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed<br />
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)<br />
||/ Name           Version        Description<br />
+++-==============-==============-============================================<br />
ii  adduser        3.59           Add and remove users and groups<br />
ii  apmd           3.2.2-2        Utilities for Advanced Power Management (APM<br />
ii  apt            0.5.27         Advanced front-end for dpkg<br />
ii  apt-utils      0.5.27         APT utility programs<br />
ii  aptitude       0.2.15.8-1     terminal-based apt frontend<br />
rc  at             3.1.8-11       Delayed job execution and batch processing<br />
ii  aumix          2.8-13         Simple text-based mixer control program<br />
ii  autoconf       2.59a-3        automatic configure script builder<br />
ii  automake1.4    1.4-p6-9       A tool for generating GNU Standards-complian<br />
ii  autotools-dev  20041130.2     Update infrastructure for config.{guess,sub}<br />
ii  base-config    2.53.4         Debian base system configurator<br />
ii  base-files     3.1            Debian base system miscellaneous files<br />
ii  base-passwd    3.5.7          Debian base system master password and group<br />
ii  bash           2.05b-24       The GNU Bourne Again SHell<br />
ii  binutils       2.15-5         The GNU assembler, linker and binary utiliti<br />
ii  bittorrent     3.4.2-3        Scatter-gather network file transfer<br />
ii  bittorrent-gui 3.4.2-3        Scatter-gather network file transfer (GUI fi<br />
ii  bmv            1.2-17         PostScript viewer for SVGAlib<br />
ii  bsdmainutils   6.0.17         collection of more utilities from FreeBSD<br />
ii  bsdutils       2.12-10        Basic utilities from 4.4BSD-Lite<br />
ii  bzip2          1.0.2-5        high-quality block-sorting file compressor -<br />
ii  console-common 0.7.47         Basic infrastructure for text console config<br />
ii  console-data   2002.12.04dbs- Keymaps, fonts, charset maps, fallback table<br />
ii  console-tools  0.2.3dbs-55    Linux console and font utilities<br />
ii  coreutils      5.2.1-2        The GNU core utilities<br />
ii  cpio           2.5-1.1        GNU cpio &#8212; a program to manage archives of<br />
ii  cpp            3.3.5-1        The GNU C preprocessor (cpp)<br />
ii  cpp-3.3        3.3.5-8        The GNU C preprocessor<br />
ii  cramfsprogs    1.1-6          Tools for CramFs (Compressed ROM File System<br />
ii  cron           3.0pl1-86      management of regular background processing<br />
ii  d4x            2.5.0rel-1     graphical download manager<br />
ii  dash           0.5.1-3        The Debian Almquist Shell<br />
ii  debconf        1.4.30.10      Debian configuration management system<br />
ii  debconf-i18n   1.4.30.10      full internationalization support for debcon<br />
ii  debian-referen 1.08-1         Debian system administration guide, common e<br />
ii  debian-referen 1.08-1         Debian system administration guide, Chinese(<br />
ii  debianutils    2.8.4          Miscellaneous utilities specific to Debian<br />
ii  defoma         0.11.8-0.1     Debian Font Manager &#8212; automatic font config<br />
ii  dhcp-client    2.0pl5-19.1    DHCP Client<br />
ii  diff           2.8.1-6        File comparison utilities<br />
ii  discover1      1.7.3          hardware identification system<br />
ii  discover1-data 1.2004.11.09   hardware lists for libdiscover1<br />
ii  dpkg           1.10.23        Package maintenance system for Debian<br />
ii  dselect        1.10.23        a user tool to manage Debian packages<br />
ii  e2fslibs       1.35-6         The EXT2 filesystem libraries<br />
ii  e2fsprogs      1.35-6         The EXT2 file system utilities and libraries<br />
ii  ed             0.2-20         The classic unix line editor<br />
rc  exim4-base     4.34-7         EXperimental Internal Mailer &#8212; a Mail Trans<br />
rc  exim4-config   4.34-7         Debian configuration for exim4<br />
ii  fcitx          3.0.3-1        Free Chinese Input Toy for X (XIM)<br />
ii  fdutils        5.4-20040228-1 Linux floppy utilities<br />
ii  file           4.09-1         Determines file type using &#8220;magic&#8221; numbers<br />
ii  findutils      4.1.20-4       utilities for finding files&#8211;find, xargs, an<br />
ii  fontconfig     2.2.3-3        generic font configuration library<br />
ii  gaim           1.1.1-1        multi-protocol instant messaging client<br />
ii  gcc            3.3.5-1        The GNU C compiler<br />
ii  gcc-3.3        3.3.5-8        The GNU C compiler<br />
ii  gcc-3.3-base   3.3.5-8        The GNU Compiler Collection (base package)<br />
ii  gettext-base   0.14.1-6       GNU Internationalization utilities for the b<br />
ii  grep           2.5.1.ds1-3.2  GNU grep, egrep and fgrep<br />
ii  groff-base     1.18.1.1-2     GNU troff text-formatting system (base syste<br />
ii  grub           0.95+cvs200406 GRand Unified Bootloader<br />
ii  gs             8.01-5         Transitional package<br />
ii  gs-common      0.3.6-0.1      Common files for different Ghostscript relea<br />
ii  gs-gpl         8.01-5         The GPL Ghostscript PostScript interpreter<br />
ii  gsfonts        8.14+v8.11-0.1 Fonts for the Ghostscript interpreter(s)<br />
ii  gzip           1.3.5-9        The GNU compression utility<br />
ii  hdparm         5.9-1          tune hard disk parameters for high performan<br />
ii  hermes1        1.3.3+really1. The Hermes pixel-format library<br />
ii  hostname       2.13           A utility to set/show the host name or domai<br />
ii  hotplug        0.0.20040329-1 Linux Hotplug Scripts<br />
ii  ifupdown       0.6.4-4.8      High level tools to configure network interf<br />
ii  info           4.7-2.2        Standalone GNU Info documentation browser<br />
ii  initrd-tools   0.1.74         tools to create initrd image for prepackaged<br />
ii  initscripts    2.86-5         Standard scripts needed for booting and shut<br />
ii  ipchains       1.3.10-15      Network firewalling for Linux 2.2.x<br />
ii  iptables       1.2.11-2       Linux kernel 2.4+ iptables administration to<br />
ii  iputils-ping   20020927-2     Tools to test the reachability of network ho<br />
ii  iso-codes      0.41-1         ISO language, territory, currency  codes and<br />
ii  jfbterm        0.4.6-1        multilingual terminal on Linux framebuffer<br />
ii  kernel-image-2 2.4.27-2       Linux kernel image for version 2.4.27 on 386<br />
ii  kernel-image-2 rev.02         Linux kernel binary image for version 2.4.27<br />
ii  kernel-pcmcia- 2.4.27-2       Mainstream PCMCIA modules 2.4.27 on 386<br />
ii  klogd          1.4.1-16       Kernel Logging Daemon<br />
ii  libacl1        2.2.23-1       Access control list shared library<br />
ii  libao2         0.8.5-1        Cross Platform Audio Output Library<br />
ii  libapm1        3.2.2-2        Library for interacting with APM driver in k<br />
ii  libapt-pkg-per 0.1.13         Perl interface to libapt-pkg<br />
ii  libaspell15    0.50.5-5       The GNU Aspell spell-checker runtime toolkit<br />
ii  libatk1.0-0    1.8.0-4        The ATK accessibility toolkit<br />
ii  libattr1       2.4.16-1       Extended attribute shared library<br />
ii  libaudio2      1.6d-2         The Network Audio System (NAS). (shared libr<br />
ii  libaudiofile0  0.2.6-5        Open-source version of SGI&#8217;s audiofile libra<br />
ii  libblkid1      1.35-6         Block device id library<br />
ii  libbz2-1.0     1.0.2-5        high-quality block-sorting file compressor l<br />
ii  libc6          2.3.2.ds1-18   GNU C Library: Shared libraries and Timezone<br />
ii  libcap1        1.10-14        support for getting/setting POSIX.1e capabil<br />
ii  libcomerr2     1.35-6         The Common Error Description library<br />
ii  libconfig-inif 2.38-3         Read .ini-style configuration files<br />
ii  libconsole     0.2.3dbs-55    Shared libraries for Linux console and font<br />
ii  libdb1-compat  2.1.3-7        The Berkeley database routines [glibc 2.0/2.<br />
ii  libdb3         3.2.9-20       Berkeley v3 Database Libraries [runtime]<br />
ii  libdb4.2       4.2.52-17      Berkeley v4.2 Database Libraries [runtime]<br />
ii  libdiscover1   1.7.3          hardware identification library<br />
ii  libdps1        4.3.0.dfsg.1-8 Display PostScript (DPS) client library<br />
ii  libexpat1      1.95.8-1       XML parsing C library &#8211; runtime library<br />
ii  libfontconfig1 2.2.3-3        generic font configuration library (shared l<br />
ii  libfreetype6   2.1.7-2.2      FreeType 2 font engine, shared library files<br />
ii  libfribidi0    0.10.4-6       Free Implementation of the Unicode BiDi algo<br />
ii  libgcc1        3.4.2-2        GCC support library<br />
ii  libgcrypt11    1.2.0-4        LGPL Crypto library &#8211; runtime library<br />
ii  libgcrypt7     1.1.90-9       LGPL Crypto library &#8211; runtime library<br />
ii  libgdbm3       1.8.3-2        GNU dbm database routines (runtime version)<br />
ii  libggi2        2.0.5-1        General Graphics Interface runtime libraries<br />
ii  libgii0        0.8.5-2        General Input Interface runtime libraries<br />
ii  libgii0-target 0.8.5-2        General Input Interface X input target<br />
ii  libgimpprint1  4.2.7-5        The Gimp-Print printer driver library<br />
ii  libglib1.2     1.2.10-9       The GLib library of C routines<br />
ii  libglib2.0-0   2.6.2-1        The GLib library of C routines<br />
ii  libgnutls10    1.0.4-8        GNU TLS library &#8211; runtime library<br />
ii  libgnutls11    1.0.16-9       GNU TLS library &#8211; runtime library<br />
ii  libgpg-error0  1.0-1          library for common error values and messages<br />
ii  libgpmg1       1.19.6-12.1    General Purpose Mouse Library [libc6]<br />
ii  libgtk1.2      1.2.10-17      The GIMP Toolkit set of widgets for X<br />
ii  libgtk1.2-comm 1.2.10-17      Common files for the GTK+ library<br />
ii  libgtk2.0-0    2.6.2-3        The GTK+ graphical user interface library<br />
ii  libgtk2.0-bin  2.6.2-3        The programs for the GTK+ graphical user int<br />
ii  libgtk2.0-comm 2.6.2-3        Common files for the GTK+ graphical user int<br />
ii  libgtkspell0   2.0.8-1        a spell-checking addon for GTK&#8217;s TextView wi<br />
ii  libice6        4.3.0.dfsg.1-8 Inter-Client Exchange library<br />
ii  libjpeg62      6b-9           The Independent JPEG Group&#8217;s JPEG runtime li<br />
ii  liblcms1       1.13-1         Color management library<br />
ii  liblocale-gett 1.01-17        Using libc functions for internationalizatio<br />
ii  liblockfile1   1.06           NFS-safe locking library, includes dotlockfi<br />
ii  liblzo1        1.08-1.2       A real-time data compression library<br />
ii  libmagic1      4.09-1         File type determination library using &#8220;magic<br />
ii  libmng1        1.0.8-1        Multiple-image Network Graphics library<br />
ii  libncurses5    5.4-4          Shared libraries for terminal handling<br />
ii  libnewt0.51    0.51.6-18      Not Erik&#8217;s Windowing Toolkit &#8211; text mode win<br />
ii  libopencdk8    0.5.5-10       Open Crypto Development Kit (OpenCDK) (runti<br />
ii  libpam-modules 0.76-22        Pluggable Authentication Modules for PAM<br />
ii  libpam-runtime 0.76-22        Runtime support for the PAM library<br />
ii  libpam0g       0.76-22        Pluggable Authentication Modules library<br />
ii  libpango1.0-0  1.8.0-3        Layout and rendering of internationalized te<br />
ii  libpango1.0-co 1.8.0-3        Modules and configuration files for the Pang<br />
ii  libpaper1      1.1.14-3       Library for handling paper characteristics<br />
ii  libpcap0.7     0.7.2-7        System interface for user-level packet captu<br />
ii  libpcre3       4.5-1.1        Perl 5 Compatible Regular Expression Library<br />
ii  libpng10-0     1.0.18-1       PNG library, older version &#8211; runtime<br />
ii  libpng12-0     1.2.8rel-1     PNG library &#8211; runtime<br />
ii  libpopt0       1.7-5          lib for parsing cmdline parameters<br />
ii  libpth2        2.0.1-2        The GNU Portable Threads<br />
ii  libqt3c102-mt  3.3.3-4.1      Qt GUI Library (Threaded runtime version), V<br />
ii  libreadline4   4.3-11         GNU readline and history libraries, run-time<br />
ii  libsigc++-1.2- 1.2.5-1        Type-safe Signal Framework for C++ &#8211; runtime<br />
ii  libsm6         4.3.0.dfsg.1-8 X Window System Session Management library<br />
ii  libss2         1.35-6         Command-line interface parsing library<br />
ii  libssl0.9.7    0.9.7d-5       SSL shared libraries<br />
ii  libstartup-not 0.8-1          library for program launch feedback (shared<br />
ii  libstdc++5     3.3.4-13       The GNU Standard C++ Library v3<br />
ii  libsvga1       1.4.3-21       console SVGA display libraries<br />
ii  libtasn1-2     0.2.10-3       Manage ASN.1 structures (runtime)<br />
ii  libtext-charwi 0.04-1         get display widths of characters on the term<br />
ii  libtext-iconv- 1.2-3          Convert between character sets in Perl<br />
ii  libtext-wrapi1 0.06-1         internationalized substitute of Text::Wrap<br />
ii  libtextwrap1   0.1-1          text-wrapping library with i18n &#8211; runtime<br />
ii  libtiff4       3.6.1-3        Tag Image File Format library<br />
ii  libungif4g     4.1.3-1        shared library for GIF images (runtime lib)<br />
ii  libusb-0.1-4   0.1.8-17       Userspace USB programming library<br />
ii  libuuid1       1.35-6         Universally unique id library<br />
ii  libwrap0       7.6.dbs-6      Wietse Venema&#8217;s TCP wrappers library<br />
ii  libwraster2    0.80.2-0.4     Shared libraries of Window Maker rasterizer<br />
ii  libwraster3    0.91.0-7       Shared libraries of Window Maker rasterizer<br />
ii  libwxgtk2.4    2.4.2.6        wxWindows Cross-platform C++ GUI toolkit (GT<br />
ii  libwxgtk2.4-py 2.4.2.6        wxWindows Cross-platform C++ GUI toolkit (wx<br />
ii  libx11-6       4.3.0.dfsg.1-8 X Window System protocol client library<br />
ii  libxaw7        4.3.0.dfsg.1-8 X Athena widget set library<br />
ii  libxcursor1    1.1.3-1        X cursor management library<br />
ii  libxext6       4.3.0.dfsg.1-8 X Window System miscellaneous extension libr<br />
ii  libxft1        4.3.0.dfsg.1-8 FreeType-based font drawing library for X (v<br />
ii  libxft2        2.1.2-6        FreeType-based font drawing library for X<br />
ii  libxi6         4.3.0.dfsg.1-8 X Window System Input extension library<br />
ii  libxmu6        4.3.0.dfsg.1-8 X Window System miscellaneous utility librar<br />
ii  libxmuu1       4.3.0.dfsg.1-8 lightweight X Window System miscellaneous ut<br />
ii  libxp6         4.3.0.dfsg.1-8 X Window System printing extension library<br />
ii  libxpm4        4.3.0.dfsg.1-8 X pixmap library<br />
ii  libxrandr2     4.3.0.dfsg.1-8 X Window System Resize, Rotate and Reflectio<br />
ii  libxrender1    0.8.3-7        X Rendering Extension client library<br />
ii  libxt6         4.3.0.dfsg.1-8 X Toolkit Intrinsics<br />
ii  libxtrap6      4.3.0.dfsg.1-8 X Window System protocol-trapping extension<br />
ii  libxtst6       4.3.0.dfsg.1-8 X Window System event recording and testing<br />
ii  libxv1         4.3.0.dfsg.1-8 X Window System video extension library<br />
ii  links          0.99+1.00pre12 Character mode WWW browser<br />
ii  locales        2.3.2.ds1-18   GNU C Library: National Language (locale) da<br />
ii  localization-c 0.108          Configures different programs&#8217; locale settin<br />
ii  login          4.0.3-30.3     System login tools<br />
ii  logrotate      3.7-2          Log rotation utility<br />
ii  m4             1.4.2-1        a macro processing language<br />
rc  mailx          8.1.2-0.200405 A simple mail user agent<br />
ii  make           3.80-9         The GNU version of the &#8220;make&#8221; utility.<br />
ii  makedev        2.3.1-75       Creates device files in /dev<br />
ii  man-db         2.4.2-19       The on-line manual pager<br />
ii  manpages       1.70-1         Manual pages about using a GNU/Linux system<br />
ii  mawk           1.3.3-11       a pattern scanning and text processing langu<br />
ii  menu           2.1.19         Provides update-menus functions for some app<br />
ii  mlterm         2.8.0.cvs20040 MultiLingual TERMinal<br />
ii  mlterm-common  2.8.0.cvs20040 MultiLingual TERMinal, common files<br />
ii  modutils       2.4.26-1.1     Linux module utilities<br />
ii  mount          2.12-10        Tools for mounting and manipulating filesyst<br />
ii  nano           1.2.4-2        free Pico clone with some new features<br />
ii  ncurses-base   5.4-4          Descriptions of common terminal types<br />
ii  ncurses-bin    5.4-4          Terminal-related programs and man pages<br />
ii  net-tools      1.60-10        The NET-3 networking toolkit<br />
ii  netbase        4.19           Basic TCP/IP networking system<br />
ii  netkit-inetd   0.10-10        The Internet Superserver<br />
ii  nvi            1.79-21        4.4BSD re-implementation of vi<br />
ii  openq          0.3.1-2        OpenQ is a QQ-like protocol plugin for Gaim.<br />
ii  opera          7.60-20040824. The Opera Web Browser<br />
ii  passwd         4.0.3-30.3     Change and administer password and group dat<br />
ii  pciutils       2.1.11-15      Linux PCI Utilities<br />
ii  pcmcia-cs      3.2.5-8        PCMCIA Card Services for Linux<br />
ii  perl           5.8.4-3        Larry Wall&#8217;s Practical Extraction and Report<br />
ii  perl-base      5.8.4-3        The Pathologically Eclectic Rubbish Lister<br />
ii  perl-modules   5.8.4-3        Core Perl modules<br />
ii  powermgmt-base 1.21           Common utils and configs for power managemen<br />
ii  ppp            2.4.2+20040428 Point-to-Point Protocol (PPP) daemon<br />
ii  pppconfig      2.3.6          A text menu based utility for configuring pp<br />
ii  pppoe          3.5-4          PPP over Ethernet driver<br />
ii  pppoeconf      1.0.11         configures PPPoE/ADSL connections<br />
ii  procps         3.2.1-2        The /proc file system utilities<br />
ii  psmisc         21.5-1         Utilities that use the proc filesystem<br />
ii  python         2.3.5-1        An interactive high-level object-oriented la<br />
ii  python2.3      2.3.5-1        An interactive high-level object-oriented la<br />
ii  rcconf         1.12           Debian Runlevel configuration tool<br />
ii  reiserfsprogs  3.6.19-1       User-level tools for ReiserFS filesystems<br />
ii  sed            4.1.2-1        The GNU sed stream editor<br />
ii  slang1a-utf8   1.4.9dbs-8     The S-Lang programming library with utf8 sup<br />
ii  sudo           1.6.8p5-1      Provide limited super user privileges to spe<br />
ii  sysklogd       1.4.1-16       System Logging Daemon<br />
ii  sysv-rc        2.86-5         Standard boot mechanism using symlinks in /e<br />
ii  sysvinit       2.86-5         System-V like init<br />
ii  tar            1.13.93-4      GNU tar<br />
ii  tasksel        2.15           Tool for selecting tasks for installation on<br />
ii  tcpd           7.6.dbs-6      Wietse Venema&#8217;s TCP wrapper utilities<br />
ii  telnet         0.17-26        The telnet client.<br />
ii  ttf-arphic-gbs 2.11-6         &#8220;AR PL SungtiL GB&#8221; Chinese TrueType font by<br />
ii  ttf-bitstream- 1.10-3         The Bitstream Vera family of free TrueType f<br />
ii  ucf            1.13           Update Configuration File: preserves user ch<br />
ii  unicon-im      3.0.4-9        Chinese Input Method Libaray<br />
ii  unifont        1.0-1          X11 dual-width GNU unicode font<br />
ii  unzip          5.51-2         De-archiver for .zip files<br />
ii  usbutils       0.11+cvs200411 USB console utilities<br />
ii  util-linux     2.12-10        Miscellaneous system utilities<br />
ii  vim            6.3-058+1      Vi IMproved &#8211; enhanced vi editor<br />
ii  vim-common     6.3-013+2      Vi IMproved &#8211; Common files<br />
ii  vim-gtk        6.3-058+1      Vi IMproved &#8211; GTK2 Version<br />
ii  wget           1.9.1-8        retrieves files from the web<br />
ii  whiptail       0.51.6-18      Displays user-friendly dialog boxes from she<br />
ii  wmaker         0.91.0-7       NeXTSTEP-like window manager for X<br />
ii  wmaker-usersgu 0.20.2-2       Window Maker Users&#8217; Guide &#8212; postscript form<br />
ii  wmakerconf     2.9.2-2        GTK+ based configuration tool for Window Mak<br />
ii  wmakerconf-dat 0.80.0.1-1     Data files for wmakerconf, a configuration t<br />
ii  x-window-syste 4.3.0.dfsg.1-8 X Window System core components<br />
ii  xbase-clients  4.3.0.dfsg.1-8 miscellaneous X clients<br />
ii  xfonts-100dpi  4.3.0.dfsg.1-8 100 dpi fonts for X<br />
ii  xfonts-75dpi   4.3.0.dfsg.1-8 75 dpi fonts for X<br />
ii  xfonts-base    4.3.0.dfsg.1-8 standard fonts for X<br />
ii  xfonts-scalabl 4.3.0.dfsg.1-8 scalable fonts for X<br />
ii  xfree86-common 4.3.0.dfsg.1-8 X Window System (XFree86) infrastructure<br />
ii  xlibmesa-dri   4.3.0.dfsg.1-8 Mesa 3D graphics library modules [XFree86]<br />
ii  xlibmesa-gl    4.3.0.dfsg.1-8 Mesa 3D graphics library [XFree86]<br />
ii  xlibmesa-glu   4.3.0.dfsg.1-8 Mesa OpenGL utility library [XFree86]<br />
ii  xlibs          4.3.0.dfsg.1-8 X Window System client libraries metapackage<br />
ii  xlibs-data     4.3.0.dfsg.1-8 X Window System client data<br />
ii  xmms           1.2.10-2       Versatile X audio player that looks like Win<br />
ii  xserver-common 4.3.0.dfsg.1-8 files and utilities common to all X servers<br />
ii  xserver-xfree8 4.3.0.dfsg.1-8 the XFree86 X server<br />
ii  xutils         4.3.0.dfsg.1-8 X Window System utility programs<br />
ii  zhcon          0.2.3-8        A Fast Console CJK System Using FrameBuffer<br />
ii  zlib1g         1.2.2-3        compression library &#8211; runtime</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.donews.com/heiyou/archive/2005/03/10/298512.aspx/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>内核配置USB篇</title>
		<link>http://blog.donews.com/heiyou/archive/2005/02/09/272202.aspx</link>
		<comments>http://blog.donews.com/heiyou/archive/2005/02/09/272202.aspx#comments</comments>
		<pubDate>Wed, 09 Feb 2005 01:38:00 +0000</pubDate>
		<dc:creator>黑友</dc:creator>
				<category><![CDATA[未分类]]></category>

		<guid isPermaLink="false">http://blog.donews.com/heiyou/archive/2005/02/09/272202.aspx</guid>
		<description><![CDATA[USB是英文&#8221;Universal Serial
Bus&#8221;的缩写，意为&#8221;通用串行总线&#8221;。是由Compaq(康柏)、DEC、IBM、Intel、NEC、微软以及Northern
Telecom（北方电讯）等公司于1994年11月共同提出的，主要目的就是为了解决接口标准太多的弊端。USB使用一个4针插头作为标准插头，并通过
这个标准接头，采用菊花瓣形式把所有外设连接起来，它采用串行方式传输数据，目前最大数据传输率为12Mbps,
支持多数据流和多个设备并行操作，允许外设热插拔。
目前USB接口虽然只发展了2代（USB1.0/1.1，USB2.0），但是USB综合了一个多平台标准的所有优点 &#8212; 包括降低成本，增加兼容性，可连接大量的外部设备，融合先进的功能和品质。使其逐步成为PC接口标准，进入了高速发展期。
那么对于使用Linux系统，正确支持和配置常见的USB设备，就是其使用必不可少的关键一步。
相关技术基础
模块（驱动程序）
模块（module）是在内核空间运行的程序，实际上是一种目标对象文件，没有链接，不能独立运行，但是可以装载到系统中作为内核的一部分运行，从而可以动态扩充内核的功能。模块最主要的用处就是用来实现设备驱动程序。 
Linux下对于一个硬件的驱动，可以有两种方式：直接加载到内核代码中，启动内核时就会驱动此硬件设备。另一种就是以模块方式，编译生成一个.o文件。当应用程序需要时再加载进内核空间运行。所以我们所说的一个硬件的驱动程序，通常指的就是一个驱动模块。
设备文件
对于一个设备，它可以在/dev下面存在一个对应的逻辑设备节点，这个节点以文件的形式存在，但它不是普通意义上的文件，它是设备文件，更确切的
说，它是设备节点。这个节点是通过mknod命令建立的，其中指定了主设备号和次设备号。主设备号表明了某一类设备，一般对应着确定的驱动程序；次设备号
一般是区分不同属性，例如不同的使用方法，不同的位置，不同的操作。这个设备号是从/proc/devices文件中获得的，所以一般是先有驱动程序在内
核中，才有设备节点在目录中。这个设备号（特指主设备号）的主要作用，就是声明设备所使用的驱动程序。驱动程序和设备号是一一对应的，当你打开一个设备文
件时，操作系统就已经知道这个设备所对应的驱动程序。
SCSI 设备
SCSI是有别于IDE的一个计算机标准接口。现在大部分平板式扫描仪、CD-R刻录机、MO光磁盘机等渐渐趋向使用SCSI接口，加之SCSI又
能提供一个高速传送通道，所以，接触到SCSI设备的用户会越来越多。Linux支持很多种的SCSI设备，例如：SCSI硬盘、SCSI光驱、SCSI
磁带机。更重要的是，Linux提供了IDE设备对SCSI的模拟（ide-scsi.o模块），我们通常会就把IDE光驱模拟为SCSI光驱进行访问。
因为在Linux中很多软件都只能操作SCSI光驱。例如大多数刻录软件、一些媒体播放软件。通常我们的USB存储设备，也模拟为SCSI硬盘而进行访
问。
Linux硬件驱动架构
对于一个硬件，Linux是这样来进行驱动的：首先，我们必须提供一个.o的驱动模块文件（这里我们只说明模块方式，其实内核方式是类似的）。我们
要使用这个驱动程序，首先要加载运行它（insmod
*.o）。这样驱动就会根据自己的类型（字符设备类型或块设备类型，例如鼠标就是字符设备而硬盘就是块设备）向系统注册，注册成功系统会反馈一个主设备
号，这个主设备号就是系统对它的唯一标识（例如硬盘块设备在/proc/devices中显示的主设备号为3 ，我们用ls -l
/dev/had看到的主设备就肯定是3）。驱动就是根据此主设备号来创建一个一般放置在/dev目录下的设备文件（mknod命令用来创建它，它必须用
主设备号这个参数）。在我们要访问此硬件时，就可以对设备文件通过open、read、write等命令进行。而驱动就会接收到相应的read、
write操作而根据自己的模块中的相应函数进行了。
其中还有几个比较有关系的东西：一个是/lib/modules/2.4.XX目录，它下面就是针对当前内核版本的模块。只要你的模块依赖关系正确
（可以通过depmod设置），你就可以通过modprobe 命令加载而不需要知道具体模块文件位置。
另一个是/etc/modules.conf文件，它定义了一些常用设备的别名。系统就可以在需要此设备支持时，正确寻找驱动模块。例如alias
eth0 e100，就代表第一块网卡的驱动模块为e100.o。他们的关系图如下：

配置USB设备
内核中配置.
要启用 Linux USB 支持，首先进入&#8221;USB support&#8221;节并启用&#8221;Support for
USB&#8221;选项（对应模块为usbcore.o）。尽管这个步骤相当直观明了，但接下来的 Linux USB
设置步骤则会让人感到糊涂。特别地，现在需要选择用于系统的正确 USB 主控制器驱动程序。选项是&#8221;EHCI&#8221;
（对应模块为ehci-hcd.o）、&#8221;UHCI&#8221; （对应模块为usb-uhci.o）、&#8221;UHCI (alternate
driver)&#8221;和&#8221;OHCI&#8221; （对应模块为usb-ohci.o）。这是许多人对 Linux 的 USB 开始感到困惑的地方。 
要理解&#8221;EHCI&#8221;及其同类是什么，首先要知道每块支持插入 USB 设备的主板或 PCI 卡都需要有 USB 主控制器芯片组。这个特别的芯片组与插入系统的 USB 设备进行相互操作，并负责处理允许 USB 设备与系统其它部分通信所必需的所有低层次细节。 
Linux USB 驱动程序有三种不同的 USB 主控制器选项是因为在主板和 PCI 卡上有三种不同类型的 USB
芯片。&#8221;EHCI&#8221;驱动程序设计成为实现新的高速 USB 2.0 协议的芯片提供支持。&#8221;OHCI&#8221;驱动程序用来为非 PC 系统上的（以及带有
SiS 和 ALi 芯片组的 PC 主板上的）USB [...]]]></description>
			<content:encoded><![CDATA[<p>USB是英文&#8221;Universal Serial<br />
Bus&#8221;的缩写，意为&#8221;通用串行总线&#8221;。是由Compaq(康柏)、DEC、IBM、Intel、NEC、微软以及Northern<br />
Telecom（北方电讯）等公司于1994年11月共同提出的，主要目的就是为了解决接口标准太多的弊端。USB使用一个4针插头作为标准插头，并通过<br />
这个标准接头，采用菊花瓣形式把所有外设连接起来，它采用串行方式传输数据，目前最大数据传输率为12Mbps,<br />
支持多数据流和多个设备并行操作，允许外设热插拔。</p>
<p>目前USB接口虽然只发展了2代（USB1.0/1.1，USB2.0），但是USB综合了一个多平台标准的所有优点 &#8212; 包括降低成本，增加兼容性，可连接大量的外部设备，融合先进的功能和品质。使其逐步成为PC接口标准，进入了高速发展期。</p>
<p>那么对于使用Linux系统，正确支持和配置常见的USB设备，就是其使用必不可少的关键一步。</p>
<p><a name="1"><span class="atitle2">相关技术基础</span></a></p>
<p><b>模块（驱动程序）</b></p>
<p>模块（module）是在内核空间运行的程序，实际上是一种目标对象文件，没有链接，不能独立运行，但是可以装载到系统中作为内核的一部分运行，从而可以动态扩充内核的功能。模块最主要的用处就是用来实现设备驱动程序。 </p>
<p>Linux下对于一个硬件的驱动，可以有两种方式：直接加载到内核代码中，启动内核时就会驱动此硬件设备。另一种就是以模块方式，编译生成一个.o文件。当应用程序需要时再加载进内核空间运行。所以我们所说的一个硬件的驱动程序，通常指的就是一个驱动模块。</p>
<p><b>设备文件</b></p>
<p>对于一个设备，它可以在/dev下面存在一个对应的逻辑设备节点，这个节点以文件的形式存在，但它不是普通意义上的文件，它是设备文件，更确切的<br />
说，它是设备节点。这个节点是通过mknod命令建立的，其中指定了主设备号和次设备号。主设备号表明了某一类设备，一般对应着确定的驱动程序；次设备号<br />
一般是区分不同属性，例如不同的使用方法，不同的位置，不同的操作。这个设备号是从/proc/devices文件中获得的，所以一般是先有驱动程序在内<br />
核中，才有设备节点在目录中。这个设备号（特指主设备号）的主要作用，就是声明设备所使用的驱动程序。驱动程序和设备号是一一对应的，当你打开一个设备文<br />
件时，操作系统就已经知道这个设备所对应的驱动程序。</p>
<p><b>SCSI 设备</b></p>
<p>SCSI是有别于IDE的一个计算机标准接口。现在大部分平板式扫描仪、CD-R刻录机、MO光磁盘机等渐渐趋向使用SCSI接口，加之SCSI又<br />
能提供一个高速传送通道，所以，接触到SCSI设备的用户会越来越多。Linux支持很多种的SCSI设备，例如：SCSI硬盘、SCSI光驱、SCSI<br />
磁带机。更重要的是，Linux提供了IDE设备对SCSI的模拟（ide-scsi.o模块），我们通常会就把IDE光驱模拟为SCSI光驱进行访问。<br />
因为在Linux中很多软件都只能操作SCSI光驱。例如大多数刻录软件、一些媒体播放软件。通常我们的USB存储设备，也模拟为SCSI硬盘而进行访<br />
问。</p>
<p><b>Linux硬件驱动架构</b></p>
<p>对于一个硬件，Linux是这样来进行驱动的：首先，我们必须提供一个.o的驱动模块文件（这里我们只说明模块方式，其实内核方式是类似的）。我们<br />
要使用这个驱动程序，首先要加载运行它（insmod<br />
*.o）。这样驱动就会根据自己的类型（字符设备类型或块设备类型，例如鼠标就是字符设备而硬盘就是块设备）向系统注册，注册成功系统会反馈一个主设备<br />
号，这个主设备号就是系统对它的唯一标识（例如硬盘块设备在/proc/devices中显示的主设备号为3 ，我们用ls -l<br />
/dev/had看到的主设备就肯定是3）。驱动就是根据此主设备号来创建一个一般放置在/dev目录下的设备文件（mknod命令用来创建它，它必须用<br />
主设备号这个参数）。在我们要访问此硬件时，就可以对设备文件通过open、read、write等命令进行。而驱动就会接收到相应的read、<br />
write操作而根据自己的模块中的相应函数进行了。</p>
<p>其中还有几个比较有关系的东西：一个是/lib/modules/2.4.XX目录，它下面就是针对当前内核版本的模块。只要你的模块依赖关系正确<br />
（可以通过depmod设置），你就可以通过modprobe 命令加载而不需要知道具体模块文件位置。<br />
另一个是/etc/modules.conf文件，它定义了一些常用设备的别名。系统就可以在需要此设备支持时，正确寻找驱动模块。例如alias<br />
eth0 e100，就代表第一块网卡的驱动模块为e100.o。他们的关系图如下：</p>
<p align="center"><img src="http://www-900.ibm.com/developerWorks/cn/linux/l-usb/image001.gif" alt=""/></p>
<p><a name="2"><span class="atitle2">配置USB设备</span></a></p>
<p><b>内核中配置.</b></p>
<p>要启用 Linux USB 支持，首先进入&#8221;USB support&#8221;节并启用&#8221;Support for<br />
USB&#8221;选项（对应模块为usbcore.o）。尽管这个步骤相当直观明了，但接下来的 Linux USB<br />
设置步骤则会让人感到糊涂。特别地，现在需要选择用于系统的正确 USB 主控制器驱动程序。选项是&#8221;EHCI&#8221;<br />
（对应模块为ehci-hcd.o）、&#8221;UHCI&#8221; （对应模块为usb-uhci.o）、&#8221;UHCI (alternate<br />
driver)&#8221;和&#8221;OHCI&#8221; （对应模块为usb-ohci.o）。这是许多人对 Linux 的 USB 开始感到困惑的地方。 </p>
<p>要理解&#8221;EHCI&#8221;及其同类是什么，首先要知道每块支持插入 USB 设备的主板或 PCI 卡都需要有 USB 主控制器芯片组。这个特别的芯片组与插入系统的 USB 设备进行相互操作，并负责处理允许 USB 设备与系统其它部分通信所必需的所有低层次细节。 </p>
<p>Linux USB 驱动程序有三种不同的 USB 主控制器选项是因为在主板和 PCI 卡上有三种不同类型的 USB<br />
芯片。&#8221;EHCI&#8221;驱动程序设计成为实现新的高速 USB 2.0 协议的芯片提供支持。&#8221;OHCI&#8221;驱动程序用来为非 PC 系统上的（以及带有<br />
SiS 和 ALi 芯片组的 PC 主板上的）USB 芯片提供支持。&#8221;UHCI&#8221;驱动程序用来为大多数其它 PC 主板（包括 Intel 和<br />
Via）上的 USB 实现提供支持。只需选择与希望启用的 USB<br />
支持的类型对应的&#8221;?HCI&#8221;驱动程序即可。如有疑惑，为保险起见，可以启用&#8221;EHCI&#8221;、&#8221;UHCI&#8221;<br />
（两者中任选一种，它们之间没有明显的区别）和&#8221;OHCI&#8221;。（<i>赵明注：根据文档，EHCI已经包含了UHCI和OHCI，但目前就我个人的测试，单独加EHCI是不行的，通常我的做法是根据主板类型加载UHCI或OHCI后，再加载EHCI这样才可以支持USB2.0设备</i>）。</p>
<p>启用了&#8221;USB support&#8221;和适当的&#8221;?HCI&#8221;USB 主控制器驱动程序后，使 USB<br />
启动并运行只需再进行几个步骤。应该启用&#8221;Preliminary USB device filesystem&#8221;，然后确保启用所有特定于将与<br />
Linux 一起使用的实际 USB 外围设备的驱动程序。例如，为了启用对 USB 游戏控制器的支持，我启用了&#8221;USB Human<br />
Interface Device (full HID) support&#8221;。我还启用了主&#8221;Input core support&#8221;<br />
节下的&#8221;Input core support&#8221;和&#8221;Joystick support&#8221;。 </p>
<p>一旦用新的已启用 USB 的内核重新引导后，若/proc/bus/usb下没有相应USB设备信息，应输入以下命令将 USB 设备文件系统手动挂装到 /proc/bus/usb： </p>
<table width="100%" cellspacing="0" cellpadding="5" border="1" bgcolor="#cccccc">
<tbody>
<tr>
<td>
<pre><code><br/># mount -t usbdevfs none /proc/bus/usb <br/><br/></code></pre>
</td>
</tr>
</tbody>
</table>
<p>为了在系统引导时自动挂装 USB 设备文件系统，请将下面一行添加到 /etc/fstab 中的 /proc 挂装行之后： </p>
<table width="100%" cellspacing="0" cellpadding="5" border="1" bgcolor="#cccccc">
<tbody>
<tr>
<td>
<pre><code><br/>none /proc/bus/usb usbdevfs defaults 0 0 <br/><br/></code></pre>
</td>
</tr>
</tbody>
</table>
<p><b>模块的配置方法.</b></p>
<p>在很多时候，我们的USB设备驱动并不包含在内核中。其实我们只要根据它所需要使用的模块，逐一加载。就可以使它启作用。</p>
<p>首先要确保在内核编译时以模块方式选择了相应支持。这样我们就应该可以在/lib/modules/2.4.XX目录看到相应.o文件。在加载模块<br />
时，我们只需要运行modprobe<br />
xxx.o就可以了（modprobe主要加载系统已经通过depmod登记过的模块，insmod一般是针对具体.o文件进行加载）</p>
<p>对应USB设备下面一些模块是关键的。</p>
<table>
<tbody>
<tr>
<td>usbcore.o</td>
<td>要支持usb所需要的最基础模块</td>
</tr>
<tr>
<td>usb-uhci.o</td>
<td>（已经提过）</td>
</tr>
<tr>
<td>usb-ohci.o</td>
<td>（已经提过）</td>
</tr>
<tr>
<td>uhci.o</td>
<td>另一个uhci驱动程序，我也不知道有什么用，一般不要加载，会死机的</td>
</tr>
<tr>
<td>ehci-hcd.o</td>
<td>（已经提过 usb2.0）</td>
</tr>
<tr>
<td>hid.o</td>
<td>USB人机界面设备，像鼠标呀、键盘呀都需要</td>
</tr>
<tr>
<td>usb-storage.o</td>
<td>USB存储设备，U盘等用到</td>
</tr>
</tbody>
</table>
<p>相关模块</p>
<table>
<tbody>
<tr>
<td>ide-disk.o</td>
<td>IDE硬盘</td>
</tr>
<tr>
<td>ide-scsi.o</td>
<td>把IDE设备模拟SCSI接口</td>
</tr>
<tr>
<td>scsi_mod.o</td>
<td>SCSI支持</td>
</tr>
</tbody>
</table>
<p>注意kernel config其中一项：</p>
<table width="100%" cellspacing="0" cellpadding="5" border="1" bgcolor="#cccccc">
<tbody>
<tr>
<td>
<pre><code><br/>	Probe all LUNs on each SCSI device<br/><br/></code></pre>
</td>
</tr>
</tbody>
</table>
<p>最好选上，要不某些同时支持多个口的读卡器只能显示一个。若模块方式就要带参数安装或提前在/etc/modules.conf中加入以下项，来支持多个LUN。</p>
<table width="100%" cellspacing="0" cellpadding="5" border="1" bgcolor="#cccccc">
<tbody>
<tr>
<td>
<pre><code><br/>	add options scsi_mod max_scsi_luns=9  <br/><br/></code></pre>
</td>
</tr>
</tbody>
</table>
<table>
<tbody>
<tr>
<td>sd_mod.o</td>
<td>SCSI硬盘</td>
</tr>
<tr>
<td>sr_mod.o</td>
<td>SCSI光盘</td>
</tr>
<tr>
<td>sg.o</td>
<td>SCSI通用支持（在某些探测U盘、SCSI探测中会用到）</td>
</tr>
</tbody>
</table>
<p><b>常见USB设备及其配置</b></p>
<blockquote>
<p>在Linux 2.4的内核中已经支持不下20种设备。它支持几乎所有的通用设备如键盘、鼠标、modem、打印机等，并不断地添加厂商新的设备象数码相机、MP3、网卡等。下面就是几个最常见设备的介绍和使用方法：</p>
<p><b>USB鼠标：</b></p>
<p>键盘和鼠标属于低速的输入设备，对于已经为用户认可的PS/2接口，USB键盘和USB鼠标似乎并没有太多更优越的地方。现在的大部分鼠标采用了<br />
PS/2接口，不过USB接口的鼠标也越来越多，两者相比，各有优势：一般来说，USB的鼠标接口的带宽大于PS/2鼠标，也就是说在同样的时间内，<br />
USB鼠标扫描次数就要多于PS/2鼠标，这样在定位上USB鼠标就更为精确；同时USB接口鼠标的默认采样率也比较高，达到125HZ，而PS/2接口<br />
的鼠标仅有40HZ（Windows 9x/Me）或是60HZ（Windows NT/2000）。</p>
<p>对于USB设备你当然必须先插入相应的USB控制器模块：usb-uhci.o或usb-ohci.o</p>
<table width="100%" cellspacing="0" cellpadding="5" border="1" bgcolor="#cccccc">
<tbody>
<tr>
<td>
<pre><code><br/>	modprobe usb-uhci<br/><br/></code></pre>
</td>
</tr>
</tbody>
</table>
<p>USB鼠标为了使其正常工作，您必须先插入模块usbmouse.o和mousedev.o</p>
<table width="100%" cellspacing="0" cellpadding="5" border="1" bgcolor="#cccccc">
<tbody>
<tr>
<td>
<pre><code><br/>	modprobe usbmouse<br/>	modprobe mousedev<br/><br/></code></pre>
</td>
</tr>
</tbody>
</table>
<p>若你把HID input layer支持和input core 支持也作为模块方式安装，那么启动hid模块和input模块也是必要的。</p>
<table width="100%" cellspacing="0" cellpadding="5" border="1" bgcolor="#cccccc">
<tbody>
<tr>
<td>
<pre><code><br/>	modprobe hid<br/>	modprobe input<br/><br/></code></pre>
</td>
</tr>
</tbody>
</table>
<p><b>USB键盘：</b></p>
<p>一般的，我们现在使用的键盘大多是PS/2的，USB键盘还比较少见，但是下来的发展，键盘将向USB接<br />
口靠拢。使用USB键盘基本上没有太多的要求，只需在主板的BIOS设定对USB键盘的支持，就可以在各系统中完全无障碍的使用，而且更可以真正做到在即<br />
插即用和热插拔使用,并能提供两个USB连接埠：让您可以轻易地直接将具有USB接头的装置接在您的键盘上，而非计算机的后面。</p>
<p>同样你当然必须先插入相应的USB控制器模块：usb-uhci.o或usb-ohci.o</p>
<table width="100%" cellspacing="0" cellpadding="5" border="1" bgcolor="#cccccc">
<tbody>
<tr>
<td>
<pre><code><br/>	modprobe usb-uhci<br/><br/></code></pre>
</td>
</tr>
</tbody>
</table>
<p>然后您还必须插入键盘模块usbkbd.o，以及keybdev.o，这样usb键盘才能够正常工作。此时，运行的系统命令：</p>
<table width="100%" cellspacing="0" cellpadding="5" border="1" bgcolor="#cccccc">
<tbody>
<tr>
<td>
<pre><code><br/>modprobe usbkbd<br/>modprobe keybdev<br/><br/></code></pre>
</td>
</tr>
</tbody>
</table>
<p>同样若你把HID input layer支持和input core 支持也作为模块方式安装，那么启动hid模块和input模块也是必要的。</p>
<p><b>U盘和USB读卡器：</b></p>
<p>数码存储设备现在对我们来说已经是相当普遍的了。CF卡、SD卡、Memory<br />
Stick等存储卡已经遍及我们的身边，通常，他们的读卡器都是USB接口的。另外，很多MP3、数码相机也都是USB接口和计算机进行数据传递。更我们<br />
的U盘、USB硬盘，作为移动存储设备，已经成为我们的必须装备。</p>
<p>在Linux下这些设备通常都是以一种叫做usb-storage的方式进行驱动。要使用他们必须加载此模块</p>
<table width="100%" cellspacing="0" cellpadding="5" border="1" bgcolor="#cccccc">
<tbody>
<tr>
<td>
<pre><code><br/>	modprobe usb-storage<br/><br/></code></pre>
</td>
</tr>
</tbody>
</table>
<p>当然，usbcore.o 和usb-uhci.o或usb-ohci也肯定是不可缺少的。另外，若你系统中SCSI支持也是模块方式，那么下面的模块也要加载</p>
<table width="100%" cellspacing="0" cellpadding="5" border="1" bgcolor="#cccccc">
<tbody>
<tr>
<td>
<pre><code><br/>	modprobe scsi_mod<br/>	modprobe sd_mod<br/><br/></code></pre>
</td>
</tr>
</tbody>
</table>
<p>在加载完这些模块后，我们插入U盘或存储卡，就会发现系统中多了一个SCSI硬盘，通过正确地mount它，就可以使用了（SCSI硬盘一般为/dev/sd?，可参照文章后面的常见问题解答）。</p>
<table width="100%" cellspacing="0" cellpadding="5" border="1" bgcolor="#cccccc">
<tbody>
<tr>
<td>
<pre><code><br/>	mount /dev/sda1 /mnt<br/><br/></code></pre>
</td>
</tr>
</tbody>
</table>
<p><b>Linux支持的其他USB设备。</b></p>
<p>MODEM&#8211;（比较常见）<br/><br />
网络设备<br/><br />
摄像头&#8211;（比较常见）例如ov511.o<br/><br />
联机线&#8211;可以让你的两台电脑用USB线实现网络功能。usbnet.o<br/><br />
显示器&#8211;（我没见过）<br/><br />
游戏杆<br/><br />
电视盒&#8211;（比较常见）<br/><br />
手写板&#8211;（比较常见）<br/><br />
扫描仪&#8211;（比较常见）<br/><br />
刻录机&#8211;（比较常见）<br/><br />
打印机&#8211;（比较常见）<br/></p>
<p><b>注意：</b>上面所说的每个驱动模块，并不是都要手动加载，有很多系统会在启动或你的应用需要时自动加载的，写明这些模块，是便于你在不能<br />
够使用USB设备时，可以自行检查。只要用lsmod确保以上模块已经被系统加载，你的设备就应该可以正常工作了。当然注意有些模块已经以内核方式在<br />
kernel启动时存在了（这些模块文件在/lib/modules/2.4.XX中是找不到的）。</p>
</blockquote>
<p><a name="3"><span class="atitle2">最常遇见的USB问题</span></a></p>
</p>
<ol>
<li>
<b>有USB设备的系统安装完redhat 7.3启动死机问题</b></p>
<p>有USB设备，当你刚装完redhat<br />
7.3第一次启动时，总会死掉。主要原因是Linux在安装时探测到有usb-uhci和ehci-hcd两个控制器，但在启动时，加载完usb-<br />
uhci再加载ehci-hcd就会有冲突。分析认为redhat7.3系统内核在支持USB2.0标准上存在问题。在其他版本的Linux中均不存在此<br />
问题。</p>
<p>解决办法：在lilo或grub启动时用命令行传递参数init=/sbin/init。这样在启动后就不运行其他服务而直接启动shell。然后运行<br/><br />
mount -o remount,rw /               使/ 可写，init直接启动的系统默认只mount /为只读<br/><br />
然后vi /etc/modules.config文件<br/><br />
删除alias usb-controller1 ehci-hcd一行。或前面加#注释掉<br/><br />
然后mount -o remount,ro /               使/ 只读，避免直接关机破坏文件系统<br/><br />
然后就可以按Ctrl-Alt-Delete直接重启了<br/><br />
或许，你有更简单的办法：换USB键盘和鼠标为PS2接口，启动后修改/etc/modules.config文件。</p>
</li>
<li>
<b>我们已经知道U盘在Linux中会模拟为SCSI设备去访问，可怎么知道它对应那个SCSI设备呢？</b></p>
<p>方法1：推测。通常你第一次插入一个SCSI设备，它就是sda，第二个就是sdb以此类推。你启动Linux插入一个U盘，就试试sda，换了一<br />
个就可能是sdb。这里注意两个特例：1）<br />
你用的是联想U盘，它可能存在两个设备区（一个用于加密或启动电脑），这样就可能一次用掉两个sda、sdb，换个U盘就是sdc、sdd。2）<br />
联想数码电脑中，可能已经有了六合一读卡器。它同样也是USB存储设备。它会占掉一个或两个SCSI设备号。</p>
<p>方法2：看信息。其实，只要你提前把usb-storage.o、scsi_mod.o、sd_mod.o模块加载（直接在kernel中也可以）了，在你插入和拔出U盘时，系统会自动打出信息如下：</p>
<table width="100%" cellspacing="0" cellpadding="5" border="1" bgcolor="#cccccc">
<tbody>
<tr>
<td>
<pre><code><br/>SCSI device sda: 60928 512-byte hdwr sectors ( 31 MB )<br/>sda: Write Protect is on<br/></code></pre>
</td>
</tr>
</tbody>
</table>
<p>根据此信息，你就知道它在sda上了。当然，可能你的系统信息级别比较高，上述信息可能没有打出，这时候你只要tail /var/log/messages就可以看到了。</p>
<p>方法3：同样，cat /proc/partitions也可以看到分区信息，其中sd?就是U盘所对应的了。若根本没有sd设备，就要检查你的SCSI模块和usb-storage模块是否正确加载了。</p>
</li>
<li>
<b>在使用U盘或存储卡时，我该mount /dev/sda还是/dev/sda1呢？</b></p>
<p>这是一个历史遗留问题。存储卡最初尺寸很小，很多厂商在使用时，就直接使用存储，不含有分区表信息。而随着存储卡尺寸的不断扩大，它也就引入了类似<br />
硬盘分区的概念。例如/dev/hda你可以分成主分区hda1、hda2扩展分区hda3，然后把扩展分区hda3又分为逻辑分区hda5、hda6、<br />
hda7等。这样，通常的U盘就被分成一个分区sda1，类似把硬盘整个分区分成一个主分区hda1。实际上，我们完全可以通过fdisk<br />
/dev/sda对存储卡进行完全类似硬盘的分区方式分成sda1、sda2甚至逻辑分区sda5、sda6。实际上，对USB硬盘目前你的确需要这样，<br />
因为它通常都是多少G的容量。而且通常，它里面就是笔记本硬盘。</p>
<p>一个好玩的问题。你在Linux下用fdisk /dev/sda<br />
对U盘进行了多分区，这时候到windows下，你会发现怎么找，怎么格式化，U盘都只能找到第一个分区大小尺寸，而且使用看不出任何问题。这主要是<br />
windows驱动对U盘都只支持一个分区的缘故。你是不是可以利用它来进行一些文件的隐藏和保护？你是不是可以和某些人没玩过Linux的人开些玩笑：<br />
你的U盘容量变小了J。</p>
<p>现在较多的数码设备也和windows一样，是把所有U盘容量分为一个，所以在对待U盘的时候，通常你mount的是sda1。但对于某些特殊的数<br />
码设备格式化的U盘或存储卡（目前我发现的是一款联想的支持模拟USB软盘的U盘和我的一个数码相机），你就要mount<br />
/dev/sda。因为它根本就没分区表（若mount<br />
/dev/sda1通常的效果是死掉）。其实，这些信息，只要你注意了/proc/partitions文件，都应该注意到的。</p>
</li>
<li>
<b>每次插入U盘，都要寻找对应设备文件名，都要手动mount，我能不能做到象windows那样插入就可以使用呢。</b></p>
<p>当然可以，不过你需要做一些工作。我这里只提供一些信息帮助你去尝试完成设置：Linux内核提供了一种叫hotplug支持的东西，它可以让你系<br />
统在PCI设备、USB等设备插拔时做一些事情。而automount<br />
功能可以使你的软驱、光盘等设备的分区自动挂载和自动卸载。你甚至可以在KDE桌面中创建相应的图标，方便你操作。具体设置方法就要你自己去尝试了。详见http://www-900.ibm.com/developerWorks/cn/linux/l-usb/index1.shtml<br type="_moz"/></p>
</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://blog.donews.com/heiyou/archive/2005/02/09/272202.aspx/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>一条龙的续篇</title>
		<link>http://blog.donews.com/heiyou/archive/2005/02/08/271935.aspx</link>
		<comments>http://blog.donews.com/heiyou/archive/2005/02/08/271935.aspx#comments</comments>
		<pubDate>Tue, 08 Feb 2005 09:21:00 +0000</pubDate>
		<dc:creator>黑友</dc:creator>
				<category><![CDATA[未分类]]></category>

		<guid isPermaLink="false">http://blog.donews.com/heiyou/archive/2005/02/08/271935.aspx</guid>
		<description><![CDATA[有些安装中碰到的故障，在这儿写写，自己觉得更重要，也许别人用不着。1 网络问题我的是用户名密码验证后才能上网。而没有浏览器不能输入。不过只要在多重启动系统上的另一个系统上上了网，再回到DEBIAN，就可以上网了。2在用GRUB启动安装程序时，我有多个ISO 文件，它找到了我用不着的那个，当然提示不能从光盘读。这时候 切换到控制台F2。用mount看一下。有个/cdrom    /hd-media是mount的装载点。umount /cdromumount /hd-mediamount /discs/disk0/part5 /hd-media  #是我的ISO所在的分区mount -o loop /hd-media/&#8230;/xxx.iso    /cdrom   #是我的ISO所在的目录。这时候再切换到原来的终端上，就可以正常安装了。一句话，重新按原来的目录结构mount 我的ISO文件。3编译内核的时候，我的声卡，cs4232 的，找不到，网卡也找不到，但源目录 下明明有。原来我 的这些驱动只有在打开了Code maturity level options&#8212;&#62;Prompt for development and/or incomplete code/drivers 才会在相应的地方出现。我的是sound 和usb support.因为我用的是usb 网卡。这里面的选项多多，如果想找只适合自己的，还得用心配配啊。给一个好网址，精：http://www-900.ibm.com/developerWorks/cn/linux/l-usb/index1.shtml给自己提个醒吧，要支持联想的U盘（或许全部的U盘），必须先选SCSI support&#8212;&#62;SCSI disk support.为什么？看文章。我选的是USB Mass Storage support,UHCI (Intel PIIX4,VIA,&#8230;) support,Preliminary USB device filesystem,Support for USB.&#8212;&#8212;-写反了顺序。sound里有个OSS sound modules选项，如果不打开还是没有我的cs4232.它是OSS的一部分嘛 。网卡在USB support&#8212;&#62;USB Network adaptors里有好些usb 网卡的驱动。4电源选项在 general setup &#8212;&#62;Power [...]]]></description>
			<content:encoded><![CDATA[<p>有些安装中碰到的故障，在这儿写写，自己觉得更重要，也许别人用不着。<br/>1 网络问题<br/>我的是用户名密码验证后才能上网。而没有浏览器不能输入。不过只要在多重启动系统上的另一个系统上上了网，再回到DEBIAN，就可以上网了。<br/><br/>2在用GRUB启动安装程序时，我有多个ISO 文件，它找到了我用不着的那个，当然提示不能从光盘读。这时候 切换到控制台F2。<br/>用mount看一下。有个/cdrom    /hd-media是mount的装载点。<br/>umount /cdrom<br/>umount /hd-media<br/>mount /discs/disk0/part5 /hd-media  #是我的ISO所在的分区<br/>mount -o loop /hd-media/&#8230;/xxx.iso    /cdrom   #是我的ISO所在的目录。<br/>这时候再切换到原来的终端上，就可以正常安装了。一句话，重新按原来的目录结构mount 我的ISO文件。<br/><br/>3编译内核的时候，我的声卡，cs4232 的，找不到，网卡也找不到，但源目录 下明明有。原来我 的这些驱动只有在打开了Code maturity level options&#8212;&gt;Prompt for development and/or incomplete code/drivers 才会在相应的地方出现。我的是sound 和<br/>usb support.因为我用的是usb 网卡。这里面的选项多多，如果想找只适合自己的，还得用心配配啊。给一个好网址，精：<br/>http://www-900.ibm.com/developerWorks/cn/linux/l-usb/index1.shtml<br/>给自己提个醒吧，要支持联想的U盘（或许全部的U盘），必须先选SCSI support&#8212;&gt;SCSI disk support.为什么？看文章。<br/>我选的是USB Mass Storage support,UHCI (Intel PIIX4,VIA,&#8230;) support,Preliminary USB device filesystem,Support for USB.&#8212;&#8212;-写反了顺序。<br/><br/>sound里有个OSS sound modules选项，如果不打开还是没有我的cs4232.它是OSS的一部分嘛 。<br/>网卡在USB support&#8212;&gt;USB Network adaptors里有好些usb 网卡的驱动。<br/><br/>4电源选项<br/>在 general setup &#8212;&gt;Power Management support里选上了Advanced Power Management BIOS support ,Enable PM at boot time,Make CPU Idle calls when idle<br/>在ACPI Support 里我选 了ac adatper ,battery,button,fan,processor,<br/>不知为何，还是不能自动关机。最后在系统中安了一个apmd.才行了。这也得另外下载安装？linux太不讲了，不默认安了，谁家的机子不支持APM OR ACPI？我还下了个 acpid,听说能用ACPI，反正我以自动关机了，没用它。<br/><br/>5源代码选择<br/>一开始用apt-get install kernel-source-2.4.27-x。下了一个。因为我用的 &#8211;initrd 选项，编译时提示说CROM文件系统的事，好象initrd.img这个文件用的是这一系统。如果我要生成initrd.img文件，需要安一个debian的patch.这样才能生成这个文件。我晕，麻烦。没管它，继续，倒也能编译完，生成了一个deb 包。安装吧。发现只有一个vmlinuz文件在/boot目录下。<br/>不行，就算，我又在DEBIAN官方网站 上下了2.4系列最新版，提示：要选 unstable类型 的，以kernel-source搜索，否则可能找不到最新的吧。<br/>一路OK。用标准DEBIAN方法编译，安装完。<br/><br/>啊，好啊，比原来启动快了20秒。感觉程序也快了。更绝了，开机就是DMA方式。爽，不过是16位的，改就行了。<br/>下面是lsmod的输出。<br/>input                   3616   0  (autoclean)<br/>cs4232                  4068   0  (autoclean)<br/>ad1848                 23916   0  (autoclean) [cs4232]<br/>uart401                 6468   0  (autoclean) [cs4232]<br/>sound                  57544   0  (autoclean) [cs4232 ad1848 uart401]<br/>isa-pnp                31952   0  (autoclean) [cs4232 ad1848]<br/>rtl8150                 7832   1 <br/>apm                    10124   2  (autoclean)<br/>usb-uhci               23344   0  (unused)<br/>usbcore                62892   1  [rtl8150 usb-uhci]<br/>而老内核的输出是：<br/>Module                  Size  Used by    Not tainted<br/>input                   3040   0  (autoclean)<br/>cs4232                  3524   0  (autoclean)<br/>ad1848                 19916   0  (autoclean) [cs4232]<br/>uart401                 5860   0  (autoclean) [cs4232]<br/>sound                  48872   0  (autoclean) [cs4232 ad1848 uart401]<br/>isa-pnp                25552   0  (autoclean) [cs4232 ad1848]<br/>soundcore               3268   4  (autoclean) [sound]<br/>usb-storage            54496   0  (unused)<br/>rtl8150                 6616   1 <br/>cs461x                  1488   0  (unused)<br/>gameport                1388   0  [cs461x]<br/>uhci                   21468   0  (unused)<br/>usbcore                52268   1  [usb-storage rtl8150 uhci]<br/>ide-scsi                8272   0 <br/>scsi_mod               86020   2  [usb-storage ide-scsi]<br/>agpgart                39108   0  (unused)<br/>nls_cp437               4284   2  (autoclean)<br/>vfat                    8716   1  (autoclean)<br/>fat                    27576   0  (autoclean) [vfat]<br/>ext3                   65388   1  (autoclean)<br/>jbd                    34628   1  (autoclean) [ext3]<br/>ide-cd                 27040   0 <br/>cdrom                  26212   0  [ide-cd]<br/>rtc                     5768   0  (autoclean)<br/>reiserfs              152944   1  (autoclean)<br/>ide-detect               288   0  (autoclean) (unused)<br/>ide-disk               12416   4  (autoclean)<br/>piix                    7784   1  (autoclean)<br/>ide-core               91800   4  (autoclean) [usb-storage ide-scsi ide-cd ide-detect ide-disk piix]<br/>unix                   12720  33  (autoclean)<br/><br/>少了好几个呢。&#8212;&#8212;&#8212;&#8211;待续。<br/></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.donews.com/heiyou/archive/2005/02/08/271935.aspx/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>基本系统安装、图形界面安装、定制内核一条龙</title>
		<link>http://blog.donews.com/heiyou/archive/2005/02/08/271924.aspx</link>
		<comments>http://blog.donews.com/heiyou/archive/2005/02/08/271924.aspx#comments</comments>
		<pubDate>Tue, 08 Feb 2005 09:09:00 +0000</pubDate>
		<dc:creator>黑友</dc:creator>
				<category><![CDATA[未分类]]></category>

		<guid isPermaLink="false">http://blog.donews.com/heiyou/archive/2005/02/08/271924.aspx</guid>
		<description><![CDATA[这几天没事，下了个SARGE 3.1.其实只用它安了基本系统。第一次安完之后重启，一路中文配置。到选安装包的时候什么也不选，这样它会安一些必备包。这时候的系统应该是最小的吧。人家都这么说。重要：用root安装所有程序，再添加用户。为什么？嘿，这可是试出来的经验。见一些LINUX迷老问  0.0 错误，这是一原因。因为我选 了中文，在控制台下APT-GET的时候一些中文无法显示，于是我装了zh_con包，运行zhcon就行了。1 配置网络ifconfig eth0 x.x.x.x netmask x.x.x.x route add default gw x.x.x.xvi /etc/resolv.conf:加上    nameserver x.x.x.x此时ping下，能通就上网了。不行的话我有两大绝招：/etc/init.d/networking stop/etc/init.d/networking start还不行？？？只好用绝招了。拨下网线，稍微停一下再插上。再ping，百分之九九行了，不行的话。是你的机子有问题。呵呵。2  安装图形界面和软件apt-get install x-window-system-coreapt-get install xfce4 menu sysv-rc-conf xdm fcitx mozilla-firefox d4x xmms vim vim-gtk xchat rxvt-ml rcconf locales \ /synaptic  aumixer xfc4 menu xdm 属于桌面系统，类似的有kde,gnomefcitx  输入法mozilla-firefoc  d4x xmms vim vim-gtk xchat 属应用软件rcconf rxvt-ml rcconf locales [...]]]></description>
			<content:encoded><![CDATA[<p>这几天没事，下了个SARGE 3.1.其实只用它安了基本系统。<br/>第一次安完之后重启，一路中文配置。到选安装包的时候什么也不选，这样它会安一些必备包。这时候的系统应该是最小的吧。人家都这么说。<br/>重要：用root安装所有程序，再添加用户。为什么？嘿，这可是试出来的经验。见一些LINUX迷老问  0.0 错误，这是一原因。<br/>因为我选 了中文，在控制台下APT-GET的时候一些中文无法显示，于是我装了zh_con包，运行zhcon就行了。<br/><br/>1 配置网络<br/>ifconfig eth0 x.x.x.x netmask x.x.x.x <br/>route add default gw x.x.x.x<br/>vi /etc/resolv.conf:加上<br/>    nameserver x.x.x.x<br/>此时ping下，能通就上网了。不行的话我有两大绝招：<br/>/etc/init.d/networking stop<br/>/etc/init.d/networking start<br/>还不行？？？只好用绝招了。拨下网线，稍微停一下再插上。再ping，百分之九九行了，不行的话。是你的机子有问题。呵呵。<br/><br/>2  安装图形界面和软件<br/>apt-get install x-window-system-core<br/>apt-get install xfce4 menu sysv-rc-conf xdm fcitx mozilla-firefox d4x xmms vim vim-gtk xchat rxvt-ml rcconf locales \ /synaptic  aumixer <br/>xfc4 menu xdm 属于桌面系统，类似的有kde,gnome<br/>fcitx  输入法<br/>mozilla-firefoc  d4x xmms vim vim-gtk xchat 属应用软件<br/>rcconf rxvt-ml rcconf locales synaptic属系统配置 <br/>aumixer 没它我的声卡没音，我不想用ALSA的。太大。<br/>全部装完了，重启。上不了网了？再重复上面的。当然可以开机上网，可不是这儿的主题。不写了。<br/>打开终端。输入crxvt-gb.最好用它代替系统自带的。为什么 ？支持x终端中文了。<br/>http://packages.debian.org/unstable/source/kernel-source-2.4.27<br/>在上面的网页上找到了适合我的DEBIAN最新源码包。不在官方下是因为官方的源码包不一定支持生成CROM文件系统的initrd.也许需要下 一个DEBIAN的pathc.不适合如我这样的新手。正如我为了吃鸡蛋先去买只小鸡去喂大？？？安装patch是我下一步的计划。当然不一定需要生成initrd文件。不过在DEBIAN的参考里的标准安装里都用了，我为什么不用？<br/><br/>3  内核配置<br/>一波三折啊。没有这个网站我也不编译了。难啊！可是有了它，就太容易了。 请访问以下网址查看详情，强烈推荐：<br/>http://www.linuxfocus.org/ChineseGB/July2002/article252.shtml<br/><br/>就是太长了。我选啊选 ，适合我的tp600e的配置终于出现了。哈哈哈。有机会我贴出来。<br/>下面我把DEBIAN方式编译内核的步骤写一下，详见DEBIAN参考手册<br/>apt-get install debhelper modutils  kernel-package  libncurses5-dev    #一个都不能少，也球人都知道<br/>apt-get install kernel-source-2.4.27*                                                #我有了，没用这一步<br/>apt-get install  fakeroot<br/>vi /etc/kernel-plg.conf                                                                  #无非是写上你的名字和email<br/>cd /usr/src<br/>tar &#8211;bzip2 -xvf kernel-source-2.4.27*.tar.bz2<br/>cd kernel-source-2.4.27*<br/>make menuconfig<br/>make-kpkg clean<br/>fakeroot  make-kpkg &#8211;append_to_version  -?86  &#8211;initrd  &#8211;revision=rev.01 kernel_image<br/>cd ..<br/>dpkg -i kernel-image*.deb<br/>啊，成功了，重启选 刚才新生成的内核，最后一步已经加入了内核，在grub中。<br/><br/>写起来简单。可是总有不顺的情况啊，只好待续了。。。<img width="21" height="21" unselectable="on" onload="this.style.visibility = '';" style="" src="skins/default/toolbar/button.smiley.gif" alt=""/></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.donews.com/heiyou/archive/2005/02/08/271924.aspx/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SOUNDCARD -MODULES.CONF(RH9/DEBIAN)</title>
		<link>http://blog.donews.com/heiyou/archive/2005/02/04/268560.aspx</link>
		<comments>http://blog.donews.com/heiyou/archive/2005/02/04/268560.aspx#comments</comments>
		<pubDate>Fri, 04 Feb 2005 14:42:00 +0000</pubDate>
		<dc:creator>黑友</dc:creator>
				<category><![CDATA[未分类]]></category>

		<guid isPermaLink="false">http://blog.donews.com/heiyou/archive/2005/02/04/268560.aspx</guid>
		<description><![CDATA[redhat 9.0 /etc/modules.confalias usb-controller usb-uhcialias eth0 rtl8150 based usb-ethernet drivev0.4.3 (2002/12/31)#this is from sndconfig(RH9 LINUX)alias sound-slot-0 cs4232post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L &#62;/dev/null 2&#62;&#38;1 &#124;&#124; :pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S &#62;/dev/null 2&#62;&#38;1 &#124;&#124; :options sound dmabuf=1alias synth0 opl3options opl3 io=0&#215;388options cs4232 io=0&#215;530 irq=5 dma=1 dma2=0 mpuio=0&#215;330 mpuirq=9debian sarge 3.1 kernel 2.4.27/etc/modules.conf  与声卡有关的.是alsa生成的，有一定的通用性
# &#8212; BEGIN: [...]]]></description>
			<content:encoded><![CDATA[<p>redhat 9.0 <br/>/etc/modules.conf<br/>alias usb-controller usb-uhci<br/>alias eth0 rtl8150 based usb-ethernet drivev0.4.3 (2002/12/31)<br/>#this is from sndconfig(RH9 LINUX)<br/>alias sound-slot-0 cs4232<br/>post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L &gt;/dev/null 2&gt;&amp;1 || :<br/>pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S &gt;/dev/null 2&gt;&amp;1 || :<br/>options sound dmabuf=1<br/>alias synth0 opl3<br/>options opl3 io=0&#215;388<br/>options cs4232 io=0&#215;530 irq=5 dma=1 dma2=0 mpuio=0&#215;330 mpuirq=9<br/><br/><br/>debian sarge 3.1 kernel 2.4.27<br/>/etc/modules.conf  与声卡有关的.是alsa生成的，有一定的通用性<br/><br />
# &#8212; BEGIN: Generated by ALSACONF, do not edit. &#8212;<br/><br />
# &#8212; ALSACONF verion 0.9.0 &#8212;<br/><br />
alias char-major-116 snd<br/><br />
alias snd-card-0 cs4232<br/><br />
alias char-major-14 soundcore<br/><br />
alias sound-slot-0 snd-card-0<br/><br />
alias sound-service-0-0 snd-mixer-oss<br/><br />
alias sound-service-0-1 snd-seq-oss<br/><br />
alias sound-service-0-3 snd-pcm-oss<br/><br />
alias sound-service-0-8 snd-seq-oss<br/><br />
alias sound-service-0-12 snd-pcm-oss<br/><br />
options snd major=116 cards_limit=1<br/><br />
#options cs46xx index=0<br/><br />
options cs4232 io=0&#215;530 irq=5 dma=1 dma2=0 mpuio=0&#215;330 mpuirq=9 synthirq=-1 synthio=-1<br/><br />
# &#8212; END: Generated by ALSACONF, do not edit. &#8212;<br type="_moz"/></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.donews.com/heiyou/archive/2005/02/04/268560.aspx/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>hiweed debian in tp600e  :XF86Config-4</title>
		<link>http://blog.donews.com/heiyou/archive/2005/02/03/266586.aspx</link>
		<comments>http://blog.donews.com/heiyou/archive/2005/02/03/266586.aspx#comments</comments>
		<pubDate>Thu, 03 Feb 2005 01:41:00 +0000</pubDate>
		<dc:creator>黑友</dc:creator>
				<category><![CDATA[未分类]]></category>

		<guid isPermaLink="false">http://blog.donews.com/heiyou/archive/2005/02/03/266586.aspx</guid>
		<description><![CDATA[# XF86Config-4 (XFree86 X Window System server configuration file)## This file was generated by dexconf, the Debian X Configuration tool, using# values from the debconf database.## Edit this file with caution, and see the XF86Config-4 manual page.# (Type &#8220;man XF86Config-4&#8243; at the shell prompt.)## This file is automatically updated on xserver-xfree86 package upgrades *only*# if [...]]]></description>
			<content:encoded><![CDATA[<p># XF86Config-4 (XFree86 X Window System server configuration file)<br/>#<br/># This file was generated by dexconf, the Debian X Configuration tool, using<br/># values from the debconf database.<br/>#<br/># Edit this file with caution, and see the XF86Config-4 manual page.<br/># (Type &#8220;man XF86Config-4&#8243; at the shell prompt.)<br/>#<br/># This file is automatically updated on xserver-xfree86 package upgrades *only*<br/># if it has not been modified since the last upgrade of the xserver-xfree86<br/># package.<br/>#<br/># If you have edited this file but would like it to be automatically updated<br/># again, run the following commands as root:<br/>#如果运行dpkg-reconfigure xserver-xfree86不能生成更新的XF86Config-4,请执行下面三步<br/>#   cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.custom        <br/>#   md5sum /etc/X11/XF86Config-4 &gt; /var/lib/xfree86/XF86Config-4.md5sum<br/>#   dpkg-reconfigure xserver-xfree86<br/><br/>Section &#8220;Files&#8221;<br/>FontPath &#8220;/usr/share/fonts/truetype/hiweed&#8221;<br/>    FontPath    &#8221;unix/:7100&#8243;            # local font server<br/>    # if the local font server has problems, we can fall back on these<br/>    FontPath    &#8221;/usr/lib/X11/fonts/misc&#8221;<br/>    FontPath    &#8221;/usr/lib/X11/fonts/cyrillic&#8221;<br/>    FontPath    &#8221;/usr/lib/X11/fonts/100dpi/:unscaled&#8221;<br/>    FontPath    &#8221;/usr/lib/X11/fonts/75dpi/:unscaled&#8221;<br/>    FontPath    &#8221;/usr/lib/X11/fonts/Type1&#8243;<br/>    FontPath    &#8221;/usr/lib/X11/fonts/CID&#8221;<br/>    FontPath    &#8221;/usr/lib/X11/fonts/Speedo&#8221;<br/>    FontPath    &#8221;/usr/lib/X11/fonts/100dpi&#8221;<br/>    FontPath    &#8221;/usr/lib/X11/fonts/75dpi&#8221;<br/>EndSection<br/>Section &#8220;Module&#8221;<br/>    Load    &#8221;GLcore&#8221;<br/>    Load    &#8221;bitmap&#8221;<br/>    Load    &#8221;dbe&#8221;<br/>    Load    &#8221;ddc&#8221;<br/>    Load    &#8221;dri&#8221;<br/>    Load    &#8221;extmod&#8221;<br/>    Load    &#8221;glx&#8221;<br/>    Load    &#8221;int10&#8243;<br/>    Load    &#8221;record&#8221;<br/>    Load    &#8221;speedo&#8221;<br/>    Load    &#8221;vbea&#8221;<br/>    Load    &#8220;type1&#8243;<br/>    Load    &#8221;xtt&#8221;<br/>EndSection<br/>Section &#8220;InputDevice&#8221;<br/>    Identifier    &#8221;Generic Keyboard&#8221;<br/>    Driver        &#8221;keyboard&#8221;<br/>    Option        &#8221;CoreKeyboard&#8221;<br/>    Option        &#8221;XkbRules&#8221;    &#8221;xfree86&#8243;<br/>    Option        &#8221;XkbModel&#8221;    &#8221;pc104&#8243;<br/>    Option        &#8221;XkbLayout&#8221;    &#8221;us&#8221;<br/>#    Option        &#8221;XkbOptions&#8221;    &#8221;CoreKeyboard&#8221;<br/>EndSection<br/>Section &#8220;InputDevice&#8221;<br/>    Identifier    &#8221;Configured Mouse&#8221;<br/>    Driver        &#8221;mouse&#8221;<br/>    Option        &#8221;CorePointer&#8221;<br/>    Option        &#8221;Device&#8221;        &#8221;/dev/psaux&#8221;<br/>    Option        &#8221;Protocol&#8221;        &#8221;ImPS/2&#8243;                         # &#8212;&#8212;&#8212;有关老鼠轮<br/>    Option        &#8221;Emulate3Buttons&#8221;    &#8221;true&#8221;<br/>    Option        &#8221;ZAxisMapping&#8221;        &#8221;4 5&#8243;<br/>EndSection<br/><br/>Section &#8220;InputDevice&#8221;<br/>    Identifier    &#8221;Generic Mouse&#8221;<br/>    Driver        &#8221;mouse&#8221;<br/>    Option        &#8221;SendCoreEvents&#8221;    &#8221;true&#8221;<br/>    Option        &#8221;Device&#8221;        &#8221;/dev/input/mice&#8221;<br/>    Option        &#8221;Protocol&#8221;        &#8221;ImPS/2&#8243;<br/>    Option        &#8221;Emulate3Buttons&#8221;    &#8221;true&#8221;<br/>    Option        &#8221;ZAxisMapping&#8221;        &#8221;4 5&#8243;<br/>EndSection<br/>Section &#8220;Device&#8221;<br/>    Identifier    &#8221;NeoMagic (laptop/notebook)&#8221;                   #这全是我google找了手工填上去的。不容易啊<br/>    Driver        &#8221;neomagic&#8221;<br/>#    BusID        &#8221;PCI:0000:01:00&#8243;                       #&#8212;&#8212;&#8212;-这家伙是多个显卡用的，不知道加上去了，所以注释了。<br/>    VideoRam    2560<br/>EndSection<br/><br/>#&#8212;-下面这一节可能更准确，因为是debian sarge 3.1 kernel 2.4.27自认的,当然在Screen一节也需要改一下。不过我没觉出来和#上面的有什么区别。<br/>#Section &#8220;Device&#8221;<br/>#       Identifier      &#8220;NeoMagic Corporation NM2200 [MagicGraph 256AV]&#8220;<br/>#       Driver          &#8220;neomagic&#8221;<br/>#       Option          &#8220;UseFBDev&#8221;              &#8220;true&#8221;<br/>#          VideoRam    2560                                                              #&#8211;呵呵，它还不能测出显存，自己加的了。<br/>#EndSection<br/><br/>Section &#8220;Monitor&#8221;<br/>    Identifier    &#8221;Generic|LCD Panel 1024&#215;768&#8243;                         #用回原参数，爽<br/>    HorizSync    30-64<br/>    VertRefresh    50-100<br/>    Option        &#8221;DPMS&#8221;<br/>EndSection<br/>Section &#8220;Screen&#8221;<br/>    Identifier    &#8221;Default Screen&#8221;<br/>    Device        &#8221;NeoMagic (laptop/notebook)&#8221;<br/>    Monitor        &#8221;Generic|LCD Panel 1024&#215;768&#8243;<br/>    DefaultDepth    16<br/>    SubSection &#8220;Display&#8221;<br/>        Depth        1<br/>        Modes        &#8221;1024&#215;768&#8243; &#8220;800&#215;600&#8243; &#8220;640&#215;480&#8243;<br/>    EndSubSection<br/>    SubSection &#8220;Display&#8221;<br/>        Depth        4<br/>        Modes        &#8221;1024&#215;768&#8243; &#8220;800&#215;600&#8243; &#8220;640&#215;480&#8243;<br/>    EndSubSection<br/>    SubSection &#8220;Display&#8221;<br/>        Depth        8<br/>        Modes        &#8221;1024&#215;768&#8243; &#8220;800&#215;600&#8243; &#8220;640&#215;480&#8243;<br/>    EndSubSection<br/>    SubSection &#8220;Display&#8221;<br/>        Depth        15<br/>        Modes        &#8221;1024&#215;768&#8243; &#8220;800&#215;600&#8243; &#8220;640&#215;480&#8243;<br/>    EndSubSection<br/>    SubSection &#8220;Display&#8221;<br/>        Depth        16<br/>        Modes        &#8221;1024&#215;768&#8243; &#8220;800&#215;600&#8243; &#8220;640&#215;480&#8243;<br/>    EndSubSection<br/>    SubSection &#8220;Display&#8221;<br/>        Depth        24<br/>        Modes        &#8221;1024&#215;768&#8243; &#8220;800&#215;600&#8243; &#8220;640&#215;480&#8243;<br/>    EndSubSection<br/>EndSection<br/>Section &#8220;ServerLayout&#8221;<br/>    Identifier    &#8221;Default Layout&#8221;<br/>    Screen        &#8221;Default Screen&#8221;<br/>    InputDevice    &#8221;Generic Keyboard&#8221;<br/>    InputDevice    &#8221;Configured Mouse&#8221;<br/>    InputDevice    &#8221;Generic Mouse&#8221;<br/>EndSection<br/>Section &#8220;DRI&#8221;                                 #好象是用上openGL?  在内核配置里好象有这一项?<br/>    Mode    0666<br/>EndSection<br/><br type="_moz"/></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.donews.com/heiyou/archive/2005/02/03/266586.aspx/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>安装debian输入法</title>
		<link>http://blog.donews.com/heiyou/archive/2005/02/01/264190.aspx</link>
		<comments>http://blog.donews.com/heiyou/archive/2005/02/01/264190.aspx#comments</comments>
		<pubDate>Tue, 01 Feb 2005 01:01:00 +0000</pubDate>
		<dc:creator>黑友</dc:creator>
				<category><![CDATA[未分类]]></category>

		<guid isPermaLink="false">http://blog.donews.com/heiyou/archive/2005/02/01/264190.aspx</guid>
		<description><![CDATA[在Debian中默认安装的输入法为Chinput，但由于该输入法并未提供五笔，所以将其换成Fcitx输入法。 其步骤如下：

首先是卸载Chinput，使用命令apt-get remove &#8211;purge chinput；
安装fcitx输入法，使用命令apt-get -u install fcitx；
创建 /etc/x11/Xsession.d/25xchinput_start 脚本，以便在启动X 窗口时，自动启动fcitx输入法。由于fcitx为XIM输入法，所以有：

case &#8220;$LANG&#8221; in
    zh_CN*)
        XMODIFIERS=@im=fcitx
        XIM=fcitx
        XIM_PROGRAM=fcitx
        ;;
    zh_TW*)
        ;;
esac
export XMODIFIERS
export XIM
export XIM_PROGRAM
  
/usr/bin/fcitx &#38;
  
之所以要用case来区别语种的目的是为了可以方便以后使用繁体输入法。亲身试过，比别的法子好用。
]]></description>
			<content:encoded><![CDATA[<p>在Debian中默认安装的输入法为Chinput，但由于该输入法并未提供五笔，所以将其换成Fcitx输入法。 其步骤如下：<br/>
<ol>
<li>首先是卸载Chinput，使用命令apt-get remove &#8211;purge chinput；</li>
<li>安装fcitx输入法，使用命令apt-get -u install fcitx；</li>
<li>创建 /etc/x11/Xsession.d/25xchinput_start 脚本，以便在启动X 窗口时，自动启动fcitx输入法。由于fcitx为XIM输入法，所以有：</li>
</ol>
<p>case &#8220;$LANG&#8221; in<br/><br />
    zh_CN*)<br/><br />
        XMODIFIERS=@im=fcitx<br/><br />
        XIM=fcitx<br/><br />
        XIM_PROGRAM=fcitx<br/><br />
        ;;<br/><br />
    zh_TW*)<br/><br />
        ;;<br/><br />
esac<br/><br />
export XMODIFIERS<br/><br />
export XIM<br/><br />
export XIM_PROGRAM<br/><br />
  <br/><br />
/usr/bin/fcitx &amp;<br/><br />
  <br/><br />
之所以要用case来区别语种的目的是为了可以方便以后使用繁体输入法。<br/><br/>亲身试过，比别的法子好用。<br type="_moz"/></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.donews.com/heiyou/archive/2005/02/01/264190.aspx/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>debian安装常用软件</title>
		<link>http://blog.donews.com/heiyou/archive/2005/02/01/264185.aspx</link>
		<comments>http://blog.donews.com/heiyou/archive/2005/02/01/264185.aspx#comments</comments>
		<pubDate>Tue, 01 Feb 2005 00:56:00 +0000</pubDate>
		<dc:creator>黑友</dc:creator>
				<category><![CDATA[未分类]]></category>

		<guid isPermaLink="false">http://blog.donews.com/heiyou/archive/2005/02/01/264185.aspx</guid>
		<description><![CDATA[安装步骤如下：
   1. 首先安装的是输入法fcitx，具体安装方法请参见在Debian中添加Fcitx输入法
   2. 然后就是安装系统工具了，主要是apt的图形界面，毕竟用了桌面环境了，如果不用图形界面岂不是白白浪费了？我没有安装KDE中的Kpackage工具，而是用了Synaptic，可能是我用惯了，不过据我所知，用Synaptic的人可不在少数，好用嘛，不用白不用！
   3. 再就是安装Java环境了，具体安装方法请参见Debian 下如何安装 Java
   4. 下面便是网络工具的安装了，首先当然是浏览器了，我安装的是Mozilla-Firefox，对于Mozilla我一向是敬仰如滔滔江水的，这次的Firefox浏览器硬是从IE手里夺走了5%的市场份额，不简单呀！而且还免费，对中文的支持也不错，实在是太合我意了！
      # apt-get -u install mozilla-firefox mozilla-firefox-locale-zh-cn
      安装好Mozilla-Firefox之后，有一个界面美化的问题，这个问题如果在GNOME桌面环境下并不是问题，但在KDE下就必须要进行美化了，编辑（如果没有的话就新建一个）~/.mozilla/firefox/×××××.default/chrome/userChrome.css 文件：
      /*
       * For more examples see http://www.mozilla.org/unix/customizing.html
 [...]]]></description>
			<content:encoded><![CDATA[<p>安装步骤如下：</p>
<p>   1. 首先安装的是输入法fcitx，具体安装方法请参见在Debian中添加Fcitx输入法</p>
<p>   2. 然后就是安装系统工具了，主要是apt的图形界面，毕竟用了桌面环境了，如果不用图形界面岂不是白白浪费了？我没有安装KDE中的Kpackage工具，而是用了Synaptic，可能是我用惯了，不过据我所知，用Synaptic的人可不在少数，好用嘛，不用白不用！</p>
<p>   3. 再就是安装Java环境了，具体安装方法请参见Debian 下如何安装 Java</p>
<p>   4. 下面便是网络工具的安装了，首先当然是浏览器了，我安装的是Mozilla-Firefox，对于Mozilla我一向是敬仰如滔滔江水的，这次的Firefox浏览器硬是从IE手里夺走了5%的市场份额，不简单呀！而且还免费，对中文的支持也不错，实在是太合我意了！<br />
      # apt-get -u install mozilla-firefox mozilla-firefox-locale-zh-cn<br />
      安装好Mozilla-Firefox之后，有一个界面美化的问题，这个问题如果在GNOME桌面环境下并不是问题，但在KDE下就必须要进行美化了，编辑（如果没有的话就新建一个）~/.mozilla/firefox/×××××.default/chrome/userChrome.css 文件：<br />
      /*<br />
       * For more examples see http://www.mozilla.org/unix/customizing.html<br />
       */</p>
<p>      /* Set font size and family for dialogs<br />
          * and other miscellaneous text<br />
           */<br />
      window {<br />
            font-size: 12px !important;<br />
              font-family: simsun !important;<br />
      }</p>
<p>      /* Make tab group bookmarks italic and brown */<br />
      .bookmark-group &gt; .toolbarbutton-text {<br />
             font-style: normal;<br />
                color: brown;<br />
      }</p>
<p>      /* Make bookmark folders bold and navy blue */<br />
      .bookmark-item[type="menu"] &gt; .toolbarbutton-text {<br />
             font-weight: medium;<br />
                color: navy;<br />
      }</p>
<p>      /* BOOKMARKS MENU */</p>
<p>      /* bookmark folders */<br />
      menu.bookmark-item {<br />
            color: navy !important;<br />
                 font-weight: medium !important;<br />
      }</p>
<p>      /* tab group bookmarks */<br />
      menuitem.bookmark-group {<br />
             color: brown !important;<br />
                   font-style: normal !important;<br />
      }</p>
<p>      /* Shrink tab titles by 10% */<br />
      .tabbrowser-tabs .tab-text {<br />
            font-size: 11pt;<br />
      }</p>
<p>      /* Turn off the great big icons on editor/mail toolbars (bugs 78843/94581) */<br />
      .toolbar-primary-icon {<br />
              visibility: collapse;<br />
      }</p>
<p>      /* Make menus big, pretty and readable (like the old SGI look):<br />
          * menubar isn&#8217;t used after 12/19 builds, but is needed for NS6;<br />
           * the rest are for post-12/19<br />
            */<br />
      menubar, menubutton, menulist, menu, menuitem {<br />
            font-family: simsun !important;<br />
              font-style: normal !important;<br />
                font-weight: medium !important;<br />
                  font-size: 12px !important;<br />
      }</p>
<p>      /* Single line text fields */<br />
      input {<br />
            /* Set font size and family of text fields */<br />
            font-family: simsun !important;<br />
              font-size: 12px !important;</p>
<p>                /* Set background color to something a little prettier */<br />
                background-color: rgb(200, 255, 220) !important;</p>
<p>      }</p>
<p>      /* Multi-line textareas */<br />
      textarea {<br />
            background-color: rgb(200, 255, 220) !important;<br />
      }</p>
<p>      /* Specify the font used for the subject in the message pane<br />
          * (it was bold, fixed-width and too wide).<br />
           */<br />
      .subjectvalue {<br />
            font-family: simsun !important;<br />
              font-weight: normal !important;<br />
      }</p>
<p>      /* Make the thread and folder panes readable. */<br />
      treechildren {<br />
            font-size: 12px !important;<br />
      }</p>
<p>      /* Change the background colour of the messages (top right hand<br />
          * pane in 3-pane view) of Mail/News from gray to white.<br />
           */<br />
      outliner {<br />
               background-color : white !important;<br />
      }</p>
<p>      /* Chatzilla status area: */<br />
      .status-label {<br />
              color: yellow !important;<br />
      }<br />
      .status-data {<br />
              color: white !important;<br />
      }<br />
      可以根据显示效果自行调整，反正CSS文件是地球人都知道！:)</p>
<p>   5. 其次是邮件系统，我个人推荐Evolution，尤其是最近Evolution项目组更是宣布要将Evolution做成Linux下的Outlook。另一个原因就是因为Evolution毕竟是老牌的邮件系统，其他软件对他的支持也是最多的。</p>
<p>   6. 再就是下载软件，推荐使用D4X，这个软件使我想到了FlashGet，可惜的是它没有Linux版本。不过D4X也不赖，只是少了批下载的功能。</p>
<p>   7. 然后就是Gaim、LumaQQ和SkyPE这种即时通讯软件了！直接 apt-get install 就成了，没什么需要特殊提示的。（使用LumaQQ的原因是因为这个软件做得比较好，而Gaim下的openq已经好久没有更新了，兼容性太差！）</p>
<p>   8. 接下来就是办公软件了，推荐使用OpenOffice，如果是教育部门的话，可以使用StarOffice，因为 Sun同教育部签过协议，是可以免费使用的。OpenOffice是StarOffice的开源项目，项目开发人员相对稳定且使用人数较多，发展趋势较好。注意，在安装OpenOffice时一定要将locale设为zh_CN，这样不容易出现一些意想不到的现象发生。</p>
<p>   9. 再就是开发软件了，由于我使用的开发语言主要是PHP、JAVA和C++，所以主要开发工具是Anjuta、BlueFish和Eclipse（含 PHPEclipse 插件），其中Eclipse由于Debian的Deb包版本只有2.1.3，所以是直接从www.eclipse.org官方网站下载的，直接解开就可以用了。同时安装了项目管理软件Planner，它支持甘特图、资源及进度，有点象MS Project。开发工具安装好了之后，就要开始安装开发环境了，主要是PHP5、Apache和数据库PostgreSQL。</p>
<p>  10. 多媒体软件Linux下两大经典XMMS和MPlayer，XMMS类似于Winamp，而MPlayer更是功能强大，除了RM格式的视频之外，几乎所有的视频格式它都基本上能播，为了能看RM和RMVB格式的视频，可以下载HelixPlayer和RealPlayer以便播放。</p>
<p>  11. 最后就是字典了，我个人推荐使用StarDict，这个东东使用起来比金山词霸还要好用。</p>
<p>  12. 还有些杂项软件：比如Acroread、ChmSee、Qtparted等等就不一一详述了，反正一个原则要用什么才下什么。Debian就象是一个大型的软件自选超市，要什么就apt-get什么！方便！！祝大家好运！！！</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.donews.com/heiyou/archive/2005/02/01/264185.aspx/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>/etc/apt/sources.list</title>
		<link>http://blog.donews.com/heiyou/archive/2005/02/01/264183.aspx</link>
		<comments>http://blog.donews.com/heiyou/archive/2005/02/01/264183.aspx#comments</comments>
		<pubDate>Tue, 01 Feb 2005 00:51:00 +0000</pubDate>
		<dc:creator>黑友</dc:creator>
				<category><![CDATA[未分类]]></category>

		<guid isPermaLink="false">http://blog.donews.com/heiyou/archive/2005/02/01/264183.aspx</guid>
		<description><![CDATA[sources.list
deb http://changsha.hiweed.com/xfce4 testing maindeb http://debian.okey.net/debian-uo/ sid java marillat rareware misc
# Replace /etc/apt/sources.list with this file will change apt source to Debian Mirror on CN99

deb http://debian.cn99.com/debian/ woody main non-free contrib 
deb http://debian.cn99.com/debian-non-US/ woody/non-US main contrib non-free 
deb http://debian.cn99.com/debian/ sarge main non-free contrib 
deb http://debian.cn99.com/debian-non-US/ sarge/non-US main contrib non-free 
deb http://debian.cn99.com/debian/ testing-proposed-updates main contrib non-free 
deb http://debian.cn99.com/debian-non-US/ [...]]]></description>
			<content:encoded><![CDATA[<p>sources.list<br/><br />
<br/>deb <a href="http://changsha.hiweed.com/xfce4" target="_blank">http://changsha.hiweed.com/xfce4</a> testing main<br/>deb <a href="http://debian.okey.net/debian-uo/" target="_blank">http://debian.okey.net/debian-uo/</a> sid java marillat rareware misc<br/><br />
# Replace /etc/apt/sources.list with this file will change apt source to Debian Mirror on CN99<br/><br />
<br/><br />
deb http://debian.cn99.com/debian/ woody main non-free contrib <br/><br />
deb http://debian.cn99.com/debian-non-US/ woody/non-US main contrib non-free <br/><br />
deb http://debian.cn99.com/debian/ sarge main non-free contrib <br/><br />
deb http://debian.cn99.com/debian-non-US/ sarge/non-US main contrib non-free <br/><br />
deb http://debian.cn99.com/debian/ testing-proposed-updates main contrib non-free <br/><br />
deb http://debian.cn99.com/debian-non-US/ testing-proposed-updates/non-US main contrib non-free <br/><br />
deb http://debian.cn99.com/debian/ sid main non-free contrib <br/><br />
deb http://debian.cn99.com/debian-non-US/ sid/non-US main contrib non-free <br/><br />
<br/><br />
deb http://debian.cn99.com/debian-security/ sarge/updates main contrib non-free <br/><br />
<br/><br />
deb-src http://debian.cn99.com/debian/ sarge main non-free contrib <br/><br />
deb-src http://debian.cn99.com/debian-non-US/ sarge/non-US main contrib non-free <br/><br />
deb-src http://debian.cn99.com/debian/ testing-proposed-updates main contrib non-free <br/><br />
deb-src http://debian.cn99.com/debian-non-US/ testing-proposed-updates/non-US main contrib non-free <br/><br />
deb-src http://debian.cn99.com/debian/ sid main non-free contrib <br/><br />
deb-src http://debian.cn99.com/debian-non-US/ sid/non-US main contrib non-free <br/><br />
<br/><br />
#&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-Gnome&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br/><br />
deb http://debian.cn99.com/debian/ ../project/experimental main <br/><br />
deb-src http://debian.cn99.com/debian/ ../project/experimental main <br/><br />
<br/><br />
# deb http://pkg-gnome.alioth.debian.org/debian/ experimental main <br/><br />
# deb-src http://pkg-gnome.alioth.debian.org/debian/ experimental main <br/><br />
<br/><br />
#&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;j2re&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br/><br />
deb http://jopa.studentenweb.org/ debian/ <br/><br />
deb http://z42.de/ debian/ <br/><br />
deb http://www.landshut.org/members/db1ras/debian woody all<br/><br />
<br/><br />
#&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-mplayer&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br/><br />
deb ftp://ftp.nerim.net/debian-marillat/ unstable main <br/><br />
<br/><br />
#&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-Chinese Fonts&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br/><br />
deb http://211.100.7.181/~liling/debian/ttfonts/ ./ <br/><br />
deb ftp://debian.linux.org.tw/pub/apt/ unstable main <br/><br />
<br/><br />
#&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-php5&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br/><br />
deb http://packages.dotdeb.org/ ./ <br/><br />
deb http://debian.theracingworld.com/ local main contrib non-free <br/><br />
<br/><br />
#&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-Other No-Offical Sites&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br/><br />
deb http://debian.okey.net/debian-uo/ sid firefly jrfonseca java marillat misc rareware ustc xorg </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.donews.com/heiyou/archive/2005/02/01/264183.aspx/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>中文界面美化</title>
		<link>http://blog.donews.com/heiyou/archive/2005/02/01/264180.aspx</link>
		<comments>http://blog.donews.com/heiyou/archive/2005/02/01/264180.aspx#comments</comments>
		<pubDate>Tue, 01 Feb 2005 00:49:00 +0000</pubDate>
		<dc:creator>黑友</dc:creator>
				<category><![CDATA[未分类]]></category>

		<guid isPermaLink="false">http://blog.donews.com/heiyou/archive/2005/02/01/264180.aspx</guid>
		<description><![CDATA[之所以不象以前那种说汉化是因为这实在不能说是汉化，最多也只能说是美化，只是把汉化的东西表现得更好看而已！具体步骤如下：

首先是图形登录界面，进入gdm图形登录界面，选择行动/配置登录管理器&#8230;菜单，系统会要求你输入根用户密码，进入
后在通用标签中在欢迎程序/本地下拉框中选择图形欢迎程序，图形欢迎程序标签中选择你喜欢的主题，然后关闭该配置程序。这样你就拥有了一个漂亮的图形登录
界面了！
进入KDE，你会遇到一个桌面设置向导，选择中国/简体中文及你喜欢的系统行为和外观，就可以进入
KDE桌面环境了。如果想要修改的话，可以控制中心里修改。如果你看到的配置向导有很多的小方块的话，可以取消它，等到我们安装好我们的中文字体之后，再
到控制中心中修改。如果你无法忍受的话，也可以到控制中心里的外观和主题/字体选项中，暂时先选AR PL SungtiL
GB字体，虽然样子难看点，但毕竟还是看得到中文而不是乱码了！
安装中文字体：中文字体的安装有两种方法，请参考

如何在Debian下快速安装中文字体 和

如何在Debian下手工安装中文字体这两篇文章，在这里我就不再多讲了。只把快速安装的命令列出来，有兴趣的朋友可以仔细看看这两篇文章：
    # apt-get install x-ttcidfont-conf libft-perl libttf2 libxft2  修改/etc/X11/XF86Config-4文件
    # apt-get install ttf-bitstream-vera msttcorefonts
# apt-get install ttf-microsoft-simsun ttf-microsoft-simhei ttf-microsoft-simyou ttf-microsoft-simli
重启计算机或X窗口系统使字体生效，首先修改GTK的字体设置，进入/etc/gtk目录，编辑文件gtkrc.zh_CN
style &#8220;gtk-default-zh-cn&#8221; {
    fontset=&#8221;-adobe-helvetica-mudium-r-normal&#8211;12-*-*-*-*-*-iso8859-1,\
                 
-*-simsun-medium-r-normal&#8211;14-*-*-*-*-*-gb2312-0,fixed&#8221;
}
class &#8220;GtkWidget&#8221; style &#8220;gtk-default-zh-cn&#8221;
然后设置KDE，进入菜单 控制中心/外观和主题/字体 将字体设为simsun 12，然后Ctrl+Alt+Backspace，重启X窗口系统。
恭喜你，你已经可以看到漂亮的中文图形界面了！

]]></description>
			<content:encoded><![CDATA[<p>之所以不象以前那种说汉化是因为这实在不能说是汉化，最多也只能说是美化，只是把汉化的东西表现得更好看而已！具体步骤如下：
<ol>
<li>首先是图形登录界面，进入gdm图形登录界面，选择行动/配置登录管理器&#8230;菜单，系统会要求你输入根用户密码，进入<br />
后在通用标签中在欢迎程序/本地下拉框中选择图形欢迎程序，图形欢迎程序标签中选择你喜欢的主题，然后关闭该配置程序。这样你就拥有了一个漂亮的图形登录<br />
界面了！</li>
<li>进入KDE，你会遇到一个桌面设置向导，选择中国/简体中文及你喜欢的系统行为和外观，就可以进入<br />
KDE桌面环境了。如果想要修改的话，可以控制中心里修改。如果你看到的配置向导有很多的小方块的话，可以取消它，等到我们安装好我们的中文字体之后，再<br />
到控制中心中修改。如果你无法忍受的话，也可以到控制中心里的外观和主题/字体选项中，暂时先选AR PL SungtiL<br />
GB字体，虽然样子难看点，但毕竟还是看得到中文而不是乱码了！<br/></li>
<li>安装中文字体：中文字体的安装有两种方法，请参考<br />
<a href="http://firehare.blogchina.com/blog/article_139917.717554.html"><br />
如何在Debian下快速安装中文字体</a> 和<br />
<a href="http://firehare.blogchina.com/blog/article_139917.717426.html"><br />
如何在Debian下手工安装中文字体</a>这两篇文章，在这里我就不再多讲了。只把快速安装的命令列出来，有兴趣的朋友可以仔细看看这两篇文章：<br/><br />
    <strong># apt-get install x-ttcidfont-conf libft-perl libttf2 libxft2</strong>  修改/etc/X11/XF86Config-4文件<br/><br />
    <strong># apt-get install</strong><strong> ttf-bitstream-vera msttcorefonts<br/><br />
# apt-get install</strong><strong> ttf-microsoft-simsun ttf-microsoft-simhei</strong><strong> ttf-microsoft-simyou ttf-microsoft-simli</strong></li>
<li>重启计算机或X窗口系统使字体生效，首先修改GTK的字体设置，进入/etc/gtk目录，编辑文件gtkrc.zh_CN<br/><br />
style &#8220;gtk-default-zh-cn&#8221; {<br/><br />
    fontset=&#8221;-adobe-helvetica-mudium-r-normal&#8211;12-*-*-*-*-*-iso8859-1,\<br/><br />
                 <br />
-*-simsun-medium-r-normal&#8211;14-*-*-*-*-*-gb2312-0,fixed&#8221;<br/><br />
}<br/><br />
class &#8220;GtkWidget&#8221; style &#8220;gtk-default-zh-cn&#8221;</li>
<li>然后设置KDE，进入菜单 控制中心/外观和主题/字体 将字体设为simsun 12，然后Ctrl+Alt+Backspace，重启X窗口系统。</li>
<li>恭喜你，你已经可以看到漂亮的中文图形界面了！</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://blog.donews.com/heiyou/archive/2005/02/01/264180.aspx/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

