首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >科学Linux下的佳能iP3600

科学Linux下的佳能iP3600
EN

Unix & Linux用户
提问于 2012-04-11 19:28:57
回答 2查看 394关注 0票数 2

我买了一台新打印机(我以前在谷歌上搜索过,看起来它在我的操作系统下工作)

我把打印机插在一台win7机器上,安装了几百MBytes的软件,而且它工作了。

然后我把它插到我的科学Linux 6.1 (64位)笔记本上。一个打印机配置窗口打开,我可以添加打印机,太棒了!

但是:如果我想从这个笔记本打印一个作业的状态是“完成”,所以它看起来像打印ok,但从现实世界方面,打印机什么也不做。

该怎么办呢。佳能的网站为Linux提供rpm,但为i386提供rpm。

我能做什么?

一些信息:

当我插入打印机时:

代码语言:javascript
运行
复制
Apr 11 21:16:48 a kernel: usb 2-6: new high speed USB device using ehci_hcd and address 45
Apr 11 21:16:48 a kernel: usb 2-6: New USB device found, idVendor=04a9, idProduct=10ca
Apr 11 21:16:48 a kernel: usb 2-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Apr 11 21:16:48 a kernel: usb 2-6: Product: iP3600 series
Apr 11 21:16:48 a kernel: usb 2-6: Manufacturer: Canon
Apr 11 21:16:48 a kernel: usb 2-6: SerialNumber: 1754F5
Apr 11 21:16:48 a kernel: usb 2-6: configuration #1 chosen from 1 choice
Apr 11 21:16:48 a kernel: usblp0: USB Bidirectional printer dev 45 if 0 alt 0 proto 2 vid 0x04A9 pid 0x10CA
Apr 11 21:16:48 a udev-configure-printer: invalid or missing IEEE 1284 Device ID
Apr 11 21:16:49 a kernel: type=1400 audit(1334171809.432:164): avc:  denied  { module_request } for  pid=22860 comm="udev-configure-" kmod="net-pf-10" scontext=system_u:system_r:cupsd_config_t:s0-s0:c0.c1023 tcontext=system_u:system_r:kernel_t:s0 tclass=system
Apr 11 21:16:49 a kernel: type=1400 audit(1334171809.434:165): avc:  denied  { module_request } for  pid=22860 comm="udev-configure-" kmod="net-pf-10" scontext=system_u:system_r:cupsd_config_t:s0-s0:c0.c1023 tcontext=system_u:system_r:kernel_t:s0 tclass=system
Apr 11 21:16:49 a kernel: type=1400 audit(1334171809.434:166): avc:  denied  { module_request } for  pid=22860 comm="udev-configure-" kmod="net-pf-10" scontext=system_u:system_r:cupsd_config_t:s0-s0:c0.c1023 tcontext=system_u:system_r:kernel_t:s0 tclass=system
Apr 11 21:16:49 a kernel: type=1400 audit(1334171809.472:167): avc:  denied  { module_request } for  pid=22860 comm="udev-configure-" kmod="net-pf-10" scontext=system_u:system_r:cupsd_config_t:s0-s0:c0.c1023 tcontext=system_u:system_r:kernel_t:s0 tclass=system
Apr 11 21:16:49 a kernel: type=1400 audit(1334171809.473:168): avc:  denied  { module_request } for  pid=22860 comm="udev-configure-" kmod="net-pf-10" scontext=system_u:system_r:cupsd_config_t:s0-s0:c0.c1023 tcontext=system_u:system_r:kernel_t:s0 tclass=system
Apr 11 21:16:49 a kernel: type=1400 audit(1334171809.473:169): avc:  denied  { module_request } for  pid=22860 comm="udev-configure-" kmod="net-pf-10" scontext=system_u:system_r:cupsd_config_t:s0-s0:c0.c1023 tcontext=system_u:system_r:kernel_t:s0 tclass=system
Apr 11 21:16:49 a kernel: type=1400 audit(1334171809.473:170): avc:  denied  { module_request } for  pid=22860 comm="udev-configure-" kmod="net-pf-10" scontext=system_u:system_r:cupsd_config_t:s0-s0:c0.c1023 tcontext=system_u:system_r:kernel_t:s0 tclass=system
Apr 11 21:16:49 a udev-configure-printer: Re-enabled printer ipp://localhost:631/printers/Canon-iP3600-series
EN

回答 2

Unix & Linux用户

回答已采纳

发布于 2012-04-19 16:55:39

这方面的工作如下:

代码语言:javascript
运行
复制
lsb_release -a
LSB Version:    :core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
Distributor ID: Scientific
Description:    Scientific Linux release 6.1 (Carbon)
Release:    6.1
Codename:   Carbon

打印机:佳能PIXMA iP3600

代码语言:javascript
运行
复制
lsusb: Bus 002 Device 006: ID 04a9:10ca Canon, Inc.

如何安装

1)

代码语言:javascript
运行
复制
# download RPM (select Linux/English)
http://www.canon-europe.com/Support/Consumer_Products/products/printers/InkJet/PIXMA_iP_series/iP3600.aspx?type=download&page=1

2)

代码语言:javascript
运行
复制
# with normal user
mkdir ip3600 && mv iP3600_RPM_printer.tar ip3600/ && cd ip3600 && tar -xf iP3600_RPM_printer.tar

3)

代码语言:javascript
运行
复制
# with root in same directory
yum install -y cups-devel.i686 popt-devel.i686 && rpm -i cnijfilter-common-*.i386.rpm
yum install -y gtk2.i686 atk-devel.i686 && rpm -i cnijfilter-ip3600series-*.i386.rpm
cd .. && rm -fr ip3600

4)

代码语言:javascript
运行
复制
# add the printer
env LC_MESSAGES=EN system-config-printer
票数 1
EN

Unix & Linux用户

发布于 2012-04-17 20:11:29

当SELinux试图创建设备时,它拒绝udev的操作,加载内核模块。

一个快速、容易但非永久性的修复方法是将SELinux置于允许的模式中.作为root用户,或者使用sudo,命令是

setenforce Permissive

现在插入打印机并发送打印作业。

如果成功的话,你可以

  • 永久关闭SELinux (在/etc/selinux/config中设置SELINUX=disabled )
  • 将SELinux永久保持允许模式(在/etc/selinux/config中设置SELINUX=permissive )
  • 通过定义正确的上下文来纠正SELinux (更困难,从这里开始:RHEL 6 SELinux用户指南)
票数 1
EN
页面原文内容由Unix & Linux提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://unix.stackexchange.com/questions/36264

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档