⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cs461x.txt

📁 ARM 嵌入式 系统 设计与实例开发 实验教材 二源码
💻 TXT
字号:
Preface.This is a new low-level driver to support analog joystick attached toCrystal SoundFusion CS4610/CS4612/CS4615. This code is based upon Vortex/Solo drivers as an example of decoration style, and ALSA0.5.8a kernel drivers as an chipset documentation and samples.This version does not have cooked mode support; the basic code is present here, but have not tested completely. The button analysis is completed in this mode, but the axis movement is not. Raw mode works fine with analog joystick front-end driver and cs461xdriver as a backend. I've tested this driver with CS4610, 4-axis and 4-button joystick; I mean the jstest utility. Also I've tried toplay in xracer game using joystick, and the result is better thankeyboard only mode.The sensitivity and calibrate quality have not been tested; the tworeasons are performed: the same hardware cannot work under Win95 (blue screen in VJOYD); I have no documentation on my chip; and the existing behavior in my case was not raised the requirement of joystick calibration. So the driver have no code to perform hardware related calibration.The patch contains minor changes of Config.in and Makefile files. Allneeded code have been moved to one separate file cs461x.c like ns558.cThis driver have the basic support for PCI devices only; there is noISA or PnP ISA cards supported. AFAIK the ns558 have support for Crystal ISA and PnP ISA series.The driver works witn ALSA drivers simultaneously. For exmple, the xraceruses joystick as input device and PCM device as sound output in one time.There are no sound or input collisions detected. The source code havecomments about them; but I've found the joystick can be initialized separately of ALSA modules. So, you canm use only one joystick driverwithout ALSA drivers. The ALSA drivers are not needed to compile orrun this driver.There are no debug information print have been placed in source, and nospecific options required to work this driver. The found chipset parametersare printed via printk(KERN_INFO "..."), see the /var/log/messages toinspect cs461x: prefixed messages to determine possible card detection errors.Regards,Viktor

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -