当前在线人数10346
首页 - 分类讨论区 - 电脑网络 - Linux 操作系统版 -文摘区 - 阅读文章
未名交友
[更多]
[更多]
文章阅读:[转载] Wonderful World of Linux 2.4 (part VI)
[版面: Linux 操作系统] [作者:ayanami] , 2000年11月26日17:55:00
ayanami
进入未名形象秀
我的博客
[上篇] [下篇]

发信人: ayanami (发情的蚊子~甲亢中), 信区: Linux
标  题: [转载] Wonderful World of Linux 2.4 (part VI)
发信站: The unknown SPACE (Sun Nov 26 17:55:00 2000), 转信

【 以下文字转载自 ITnews 讨论区 】
【 原文由 ayanami 所发表 】
Character Devices - Keyboards, Mice,Consoles, and Ports

The class of devices which can only be accessed sequentially
is the character device. These are devices, such as serial
devices, which allow you to read from a stream or push data
onto it, but not to "skip" ahead or behind. This includes
serial and parallel ports, keyboards, mice, and terminal
devices. There have been several major improvements in this
area for the latest incarnation of the Linux kernel.

One of the largest improvements in this area is in regards
to Linux 2.4's support for keyboards and mice. Previous
incarnations of Linux included support for serial and PS/2
mice and keyboards (and ADB, for instance, on the
Macintosh.) Linux 2.4 also supports using keyboards and mice
attached to the USB ports. Additionally, Linux 2.4 also
supports keyboards on some systems where the keyboard is not
initialized by the BIOS and systems that have trouble
determining whether a keyboard is attached or not. And
finally, Linux 2.4 includes expanded support for digitizer
pads and features an emulation option to allow them to be
used as normal mice, even when this is not directly
supported in hardware.

Linux's support for serial ports has not changed much since
the days of Linux 2.2. Linux 2.4 (and some later versions of
Linux 2.2) supports sharing IRQs on PCI serial boards;
previously, this feature was limited to ISA and on-board
serial ports. Additionally, Linux 2.4 has added a number of
new drivers for multi-port serial cards. It is hoped that
these changes and others will make using your serial ports
under Linux2.4 easier than before.

In a separate department, there has been some work since 2.2
on supporting so-called "WinModems" (or "soft modems").
These are modems which exist largely in software and whose
drivers are often only provided by the manufacturer for
Windows. (Often the DSP or other parts of the hardware must
be implemented in software rather than on the board.) While
no code has been submitted to Linus for the support of these
beasts, several independent driver projects have been
working to get some support for these beasts in and the
first fruits of these labors are becoming usable outside the
main tree. While it will be a long time before we see most
of these devices supported under Linux, for the first time
it actually appears that the Open Source snowball is
beginning to roll in this direction.

Linux 2.4 also includes a largely rewritten parallel port
subsystem. One of the major changes in this area is support
for so-called"generic" parallel devices. This functionality
can be used by programs which access the parallel ports in
unusual ways or, more likely, just want to probe the port
for PnP information. Additionally, this rewrite allows Linux
2.4 users to access all the enhanced modes of their parallel
ports,including using UDMA (for faster I/O) if supported by
the hardware. Under the new Linux kernel, it is also
possible to direct all console messages to a parallel port
device such as a printer. This allows Linux to match the
functionality of many commercial UNIXes by being able to put
kernel and debug messages on a line printe

--
Linux is only free when your time has no value
                                - JWZ

※ 来源:.The unknown SPACE bbs.mit.edu.[FROM: 167.95.252.64.s]
--
※ 转载:.The unknown SPACE bbs.mit.edu.[FROM: 64.252.95.167]

[上篇] [下篇]
[转寄] [转贴] [回信给作者] [修改文章] [删除文章] [同主题阅读] [从此处展开] [返回版面] [快速返回] [收藏] [举报]
 
回复文章
标题:
内 容:

未名交友
将您的链接放在这儿

友情链接


 

Site Map - Contact Us - Terms and Conditions - Privacy Policy

版权所有,未名空间(mitbbs.com),since 1996