LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 765|回复: 3

请教打印机的安装

[复制链接]
发表于 2005-5-18 11:35:54 | 显示全部楼层 |阅读模式
因为采用stage3安装gentoo,内核也是用genkernel. 而genkernel 并没有将打印机编进内核,不知应该怎样用模块添加。我在网上搜索过怎样安装打印机,所介绍的都不适合上面介绍的情况。好不容易找到一篇对症下药的:http://www.gentoo.org/doc/en/printing-howto.xml 刚好连接中的不编译内核添加在整理。我已经作了如下工作:
1 Code Listing 1.1: Editing /etc/make.conf
add cups, foomaticdb, ppds and usb (if you are using a USB printer connection) to your existing USE var list.
USE="cups foomaticdb ppds usb other_var1 other_var2"
2Code Listing 1.2: Emerging necessary packages
# emerge cups
# emerge foomatic
下面的步骤不知该怎样作
3 2. Setting up Kernel Modules
Parallel Port Modules
To enable Parallel port support, go to    Parallel port support and   enable Parallel port   support and    PC-style hardware.   Depending on your printer you also have to activate Multi-IO cards (parallel and serial), Support for foreign hardware and IEEE 1284 transfer mode. Then go to Character devices and enable Parallel Printer Support. Users of 2.6 kernels will find these options under Device Drivers.
Note: If you are not sure on how to compile the kernel, the specific instructions can be found in the Kernel Howto (currently down for review). Make sure you find out how to compile and install new modules without having to recompile your kernel or restart your computer. It's a real timesaver.
(我的打印机是HP LaserJet 6L 已经下载了 ppd file.)

我被卡在这一步了,请各位大侠指点指点
谢谢先!
 楼主| 发表于 2005-5-20 22:56:06 | 显示全部楼层
发现问题:
原来我的在第一次安装GENTOO的时候,所有的模块根本就没有安装。重新自己编译内核发现这个问题,在 make && make modules install 后显示
no rules for modules install .... stop
不知究竟是什么原因???
不过在重新编译内核后一切还很正常, 哈哈
在中文论坛上真的还是有点失望,发现最好的还是www.gentoo.org.  不过还是要感谢大家的无私奉献!感谢所有帮助过我的 PENGUIN!
回复 支持 反对

使用道具 举报

发表于 2005-5-21 11:10:15 | 显示全部楼层
安装modules的命令是make modules_install吧,少了个下划线……
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-5-22 21:27:15 | 显示全部楼层
Post by Freesnake
安装modules的命令是make modules_install吧,少了个下划线……

谢谢指出错误, 在实际操作时是这样的
make && make modules-install
重新
make modules_install 真的是来不得半点马虎!!

本来想偷懒不想编译内核, 没有办法。现在我反复编译内核,原来
我太谨慎了。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表