|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
x
Since this column began, it has discussed how a Linux driver writer can create various types of kernel
drivers, by explaining the different kernel driver interfaces including TTY, serial, I2C and the driver core. It
is time to move on now and focus on writing real drivers for real hardware. We start by explaining how to
determine what kind of kernel driver interface to use, tricks to help figure out how the hardware actually
works and a lot of other real-world knowledge.
Let's begin with a goal of making a simple USB lamp device work well with Linux. Editor Don Marti pointed
out a neat device, the USB Visual Signal Indicator, manufactured by Delcom Engineering and shown in
Figure 1. I have no relationship with this company; I just think they make nice products. This device can be
ordered on-line from the Delcom Web site, www.delcom-eng.com. Don challenged me to get the device
working on Linux, and this article explains how I did it. |
|