找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 16483|回复: 103

【20220517更新openwrt sdk编译cups】[使用cups搞定HP_LaserJet_M1319f_MFP打印共享]

 火.. [复制链接]
本帖最后由 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

游客,如果您要查看本帖隐藏内容请回复
[/hide]

./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搞定了打印
看五楼和六楼
===============================================
如题,两个都不顺利有没有坛友处理过类似问题


打印机:
  1. root@XZB:~# ls /dev/usb/
  2. lp0
复制代码
  1. 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
复制代码
电脑上打印测试页,打印机没反应,过会电脑上提示错误。

扫描:
  1. root@XZB:~# scanimage -L
  2. device `hpaio:/usb/HP_LaserJet_M1319f_MFP?serial=MGA0XLM' is a Hewlett-Packard HP_LaserJet_M1319f_MFP all-in-one
复制代码
装的包有
  1. root@XZB:~# opkg list-installed | grep sane
  2. hplip-sane - 3.19.6-2
  3. libsane - 1.0.27-4
  4. sane-daemon - 1.0.27-4
  5. sane-frontends - 1.0.27-4
  6. sane-hp - 1.0.27-4
  7. sane-hpljm1005 - 1.0.27-4
  8. root@XZB:~# opkg list-installed | grep xine
  9. xinetd - 2.3.15-5
复制代码
扫描时提示
  1. Thu Sep  3 18:16:48 2020 daemon.debug saned[1880]: saned (AF-indep+IPv6) from sane-backends 1.0.27 starting up
  2. Thu Sep  3 18:16:48 2020 daemon.debug saned[1880]: check_host: access by remote host: 119.*.71.*
  3. Thu Sep  3 18:16:48 2020 daemon.debug saned[1880]: check_host: getaddrinfo for local hostname failed: Name does not resolve
  4. Thu Sep  3 18:16:48 2020 daemon.debug saned[1880]: init: access granted to root@119.*.71.*
  5. 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
  6. Thu Sep  3 18:16:48 2020 daemon.info saned[1880]: io/hpmud/musb.c 389: Active kernel driver on interface=1 ret=1
  7. Thu Sep  3 18:16:48 2020 daemon.info saned[1880]: io/hpmud/musb.c 393: Detaching kernel driver on interface=1 ret=0
  8. Thu Sep  3 18:16:48 2020 daemon.info saned[1880]: io/hpmud/musb.c 535: claimed 7/1/2 interface
  9. Thu Sep  3 18:16:48 2020 kern.info kernel: [13222.848026] usblp0: removed
  10. Thu Sep  3 18:16:48 2020 kern.debug kernel: [13222.851676] Did not find alt setting 1 for intf 0, config 1
  11. 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
  12. Thu Sep  3 18:16:48 2020 daemon.info saned[1880]: io/hpmud/musb.c 561: released 7/1/2 interface
  13. 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
  14. 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
  15. Thu Sep  3 18:16:48 2020 daemon.info saned[1880]: io/hpmud/musb.c 389: Active kernel driver on interface=0 ret=0
  16. Thu Sep  3 18:16:48 2020 daemon.info saned[1880]: io/hpmud/musb.c 535: claimed ff/ff/ff interface
  17. 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
  18. 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]
  19. Thu Sep  3 18:16:48 2020 daemon.err saned[1880]: common/utils.c 206: Plugin version is not matching
  20. Thu Sep  3 18:16:48 2020 daemon.err saned[1880]: common/utils.c 277: Invalid Library hanlder pLibHandler = NULL.
  21. Thu Sep  3 18:16:48 2020 daemon.info saned[1880]: io/hpmud/musb.c 561: released ff/ff/ff interface
  22. 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
  23. Thu Sep  3 18:16:50 2020 daemon.debug saned[1880]: decode_handle: cancel: error while decoding handle argument (h=0, No error information)
  24. Thu Sep  3 18:16:50 2020 daemon.debug saned[1880]: saned exiting
复制代码










本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
我的恩山、我的无线 The best wifi forum is right here.
我有一模一样型号的打印机,用CUPS搞定了,还有Airprint

点评

亲,你用什么设备实现的  详情 回复 发表于 2020-10-30 11:02
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
【2017-05-20】OpenWrt 打印机共享专用固件 (trunk, r47249)     [复制链接]
https://www.right.com.cn/forum/thread-182689-1-1.html
谁有这个固件的小米mini或者下载宝的
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

同求同求同求同求

点评

https://downloads.pangubox.com:63443/pandorabox/ 上的固件有cups安装包  详情 回复 发表于 2020-9-5 19:48
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
bear70730 发表于 2020-9-3 23:55
同求同求同求同求

https://downloads.pangubox.com:63443/pandorabox/
上的固件有cups安装包
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
链接: https://pan.baidu.com/s/1df8lhuHtKovGz3y1wpYRnQ 提取码: iung


timecloud_pandorabox_cups & xiaomi-mini_pandorabox_cups

点评

感谢分享!学习学习!  详情 回复 发表于 2020-9-7 01:30
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

fengchen 发表于 2020-9-5 19:54
链接: https://pan.baidu.com/s/1df8lhuHtKovGz3y1wpYRnQ 提取码: iung

感谢分享!学习学习!
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
【20200908更新openwrt sdk编译cups】
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

感谢分享,能说明一下刷什么固件?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

看看好不好用。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

我现在x86的 安装了cups,电脑有线连接可以打印,控制台打印没反应,手机也不能发现airprint
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

什么时候编译一下bcm的?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

看看是咋玩的
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

嘎嘎嘎嘎嘎过
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

来自手机 | 显示全部楼层
看看,谢谢老板
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

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

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-27 01:44

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

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