本帖最后由 fengchen 于 2022-12-19 16:49 编辑
221219
编译22.03.2版本用的cups,包含了依赖包
还是把分卷放一块,还是文件名都去掉.zip,再7zip打开解压就行了
-------------------------------------------------------------------------------------------
20220517
新编译了下 21.02.3版本用的cups,包含了依赖包
还是把4个分卷放一块,都去掉.zip,再7zip打开解压就行了
===================================================================================================================================
20200908
更新使用openwrt sdk编译cups方法
啰嗦下sdk的好处吧,它已经编译好工具链了,编译软件很快
forked from Gr4ffy/lede-cups
修改了下makefile
具体方法为
tar vxJf sdk.tar.xz cd openwrt-sdk ./scripts/feeds update -a ./scripts/feeds install -a make menuconfig (set Network-> Printing->cups as "M") make package/cups/compile V=s copy bin/***/cups/cups*.ipk&libcups*.ipk to router
附openwrt19.07.3 mt7621平台的cups和libcups,下面两个文件是7z分两卷压缩的,文件名都把.zip去掉再解压
再附上x86-64和ipq40xx的cups/lib-cups
**************************************************************
9.7
使用潘多拉的cups搞定了打印
看五楼和六楼
===============================================
如题,两个都不顺利有没有坛友处理过类似问题
打印机:
- root@XZB:~# ls /dev/usb/
- lp0
复制代码- Thu Sep 3 18:16:50 2020 kern.info kernel: [13224.736825] usblp 1-1:1.1: usblp0: USB Bidirectional printer dev 2 if 1 alt 0 proto 2 vid 0x03F0 pid 0x5817
复制代码 电脑上打印测试页,打印机没反应,过会电脑上提示错误。
扫描:
- root@XZB:~# scanimage -L
- device `hpaio:/usb/HP_LaserJet_M1319f_MFP?serial=MGA0XLM' is a Hewlett-Packard HP_LaserJet_M1319f_MFP all-in-one
复制代码 装的包有
- root@XZB:~# opkg list-installed | grep sane
- hplip-sane - 3.19.6-2
- libsane - 1.0.27-4
- sane-daemon - 1.0.27-4
- sane-frontends - 1.0.27-4
- sane-hp - 1.0.27-4
- sane-hpljm1005 - 1.0.27-4
- root@XZB:~# opkg list-installed | grep xine
- xinetd - 2.3.15-5
复制代码 扫描时提示
- Thu Sep 3 18:16:48 2020 daemon.debug saned[1880]: saned (AF-indep+IPv6) from sane-backends 1.0.27 starting up
- Thu Sep 3 18:16:48 2020 daemon.debug saned[1880]: check_host: access by remote host: 119.*.71.*
- Thu Sep 3 18:16:48 2020 daemon.debug saned[1880]: check_host: getaddrinfo for local hostname failed: Name does not resolve
- Thu Sep 3 18:16:48 2020 daemon.debug saned[1880]: init: access granted to root@119.*.71.*
- Thu Sep 3 18:16:48 2020 daemon.info saned[1880]: io/hpmud/musb.c 427: Found interface conf=0, iface=1, altset=0, index=1
- Thu Sep 3 18:16:48 2020 daemon.info saned[1880]: io/hpmud/musb.c 389: Active kernel driver on interface=1 ret=1
- Thu Sep 3 18:16:48 2020 daemon.info saned[1880]: io/hpmud/musb.c 393: Detaching kernel driver on interface=1 ret=0
- Thu Sep 3 18:16:48 2020 daemon.info saned[1880]: io/hpmud/musb.c 535: claimed 7/1/2 interface
- Thu Sep 3 18:16:48 2020 kern.info kernel: [13222.848026] usblp0: removed
- Thu Sep 3 18:16:48 2020 kern.debug kernel: [13222.851676] Did not find alt setting 1 for intf 0, config 1
- Thu Sep 3 18:16:48 2020 daemon.info saned[1880]: io/hpmud/musb.c 780: read actual device_id successfully fd=1 len=126
- Thu Sep 3 18:16:48 2020 daemon.info saned[1880]: io/hpmud/musb.c 561: released 7/1/2 interface
- Thu Sep 3 18:16:48 2020 daemon.info saned[1880]: io/hpmud/musb.c 960: new HP-MARVELL-SCAN channel=21 clientCnt=1 channelCnt=1
- Thu Sep 3 18:16:48 2020 daemon.info saned[1880]: io/hpmud/musb.c 427: Found interface conf=0, iface=0, altset=0, index=7
- Thu Sep 3 18:16:48 2020 daemon.info saned[1880]: io/hpmud/musb.c 389: Active kernel driver on interface=0 ret=0
- Thu Sep 3 18:16:48 2020 daemon.info saned[1880]: io/hpmud/musb.c 535: claimed ff/ff/ff interface
- Thu Sep 3 18:16:48 2020 daemon.err saned[1880]: common/utils.c 112: unable to open /var/lib/hp/hplip.state: No such file or directory
- Thu Sep 3 18:16:48 2020 daemon.err saned[1880]: common/utils.c 162: validate_plugin_version() Failed to get Plugin version from [/var/lib/hp/hplip.state]
- Thu Sep 3 18:16:48 2020 daemon.err saned[1880]: common/utils.c 206: Plugin version is not matching
- Thu Sep 3 18:16:48 2020 daemon.err saned[1880]: common/utils.c 277: Invalid Library hanlder pLibHandler = NULL.
- Thu Sep 3 18:16:48 2020 daemon.info saned[1880]: io/hpmud/musb.c 561: released ff/ff/ff interface
- Thu Sep 3 18:16:48 2020 daemon.info saned[1880]: io/hpmud/musb.c 975: removed HP-MARVELL-SCAN channel=21 clientCnt=0 channelCnt=0
- Thu Sep 3 18:16:50 2020 daemon.debug saned[1880]: decode_handle: cancel: error while decoding handle argument (h=0, No error information)
- Thu Sep 3 18:16:50 2020 daemon.debug saned[1880]: saned exiting
复制代码
|