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

📄 optcd

📁 《嵌入式系统设计与实例开发实验教材二源码》Linux内核移植与编译实验
💻
字号:
This is the README file for the Optics Storage 8000 AT CDROM device driver.This is the driver for the so-called 'DOLPHIN' drive, with the 34-pinSony-compatible interface. For the IDE-compatible Optics Storage 8001drive, you will want the ATAPI CDROM driver. The driver also seems towork with the Lasermate CR328A. If you have a drive that works withthis driver, and that doesn't report itself as DOLPHIN, please drop mea mail.The support for multisession CDs is in ALPHA stage. If you use it,please mail me your experiences. Multisession support can be disabledat compile time.You can find some older versions of the driver at      dutette.et.tudelft.nl:/pub/linux/and at Eberhard's mirror      ftp.gwdg.de:/pub/linux/cdrom/drivers/optics/Before you can use the driver, you have to create the device file once: # mknod /dev/optcd0 b 17 0To specify the base address if the driver is "compiled-in" to your kernel,you can use the kernel command line item (LILO option)             optcd=0x340with the right address.If you have compiled optcd as a module, you can load it with # insmod /usr/src/linux/modules/optcd.oor # insmod /usr/src/linux/modules/optcd.o optcd=0x340with the matching address value of your interface card.The driver employs a number of buffers to do read-ahead and block sizeconversion. The number of buffers is configurable in optcd.h, and hasinfluence on the driver performance. For my machine (a P75), 6 buffersseems optimal, as can be seen from this table:#bufs	kb/s	%cpu1	97	0.12	191	0.33	188	0.24	246	0.35	189	196	280	0.47	281	7.08	246	2.816	281	3.4If you get a throughput significantly below 300 kb/s, try tweakingN_BUFS, and don't forget to mail me your results!I'd appreciate success/failure reports. If you find a bug, tryrecompiling the driver with some strategically chosen debug options(these can be found in optcd.h) and include the messages generated inyour bug report. Good luck.Leo Spiekman (spiekman@dutette.et.tudelft.nl)

⌨️ 快捷键说明

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