1

Temat: prinserver

Witam,

Zainstalowałem sobie plugin kmod-usb-printer_3.3.8-1_ar71xx.ipk
Plugin zainstalował się poprawnie. Ale mimo podłączenia drukarki Canon IP4800 w GUI w podmenu "Drukarki" mam
"Żadne drukarki USB nie są podłączone do routera lub nie zostały poprawnie wykryte."

Wykonałem:

cat /proc/bus/usb/devices

i mam:


T:  Bus=01 Lev=03 Prnt=11 Port=03 Cnt=03 Dev#= 16 Spd=480  MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=04a9 ProdID=10d5 Rev= 0.01
S:  Manufacturer=Canon
S:  Product=iP4800 series
S:  SerialNumber=2182DB
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=  2mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=07(print) Sub=01 Prot=02 Driver=(none)
E:  Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms

W logach systemowych tak samo jest po podłączeniu do portu USB

Aug  2 21:12:49 Gargoyle user.notice usb-modeswitch: 1-1.1.4:1.0: Manufacturer=Canon Product=iP4800_series Serial=2182DB

Z tego wszystkiego by wynikało, że nie ma sterownika?
Czy da się z tym coś jeszcze zrobić:)

2

Odp: prinserver

Nie, nie zainstalowałeś kmod-usb-printer. Pokazałeś właśnie że żadnego drivera nie ma.

opkg update
opkg install opkg
opkg install kmod-usb-printer zrób

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

3

Odp: prinserver

Wywaliło mi:

opkg update
Downloading http://downloads.openwrt.org/attitude_a … ackages.gz.
Updated list of available packages in /var/opkg-lists/attitude_adjustment.
Downloading http://ecco.selfip.net/attitude_adjustm … ackages.gz.
Updated list of available packages in /var/opkg-lists/eko1.
Downloading http://ecco.selfip.net/gargoyle-pl/atti … ackages.gz.
Updated list of available packages in /var/opkg-lists/gargoylepl.
root@Gargoyle:~# opkg install opkg
Package opkg (618-3) installed in root is up to date.
root@Gargoyle:~# opkg install kmod-usb-printer
Package kmod-usb-printer (3.3.8-1) installed in root is up to date.

4

Odp: prinserver

OK, odłącz drukarkę, podłącz i pokaż jeszcze raz /proc/bus/usb/devices. Zrób lsmod i zobacz czy moduł usblp jest załadowany

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

5

Odp: prinserver

cat /proc/bus/usb/devices jest tak:

root@Gargoyle:~# cat /proc/bus/usb/devices

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480  MxCh= 1
B:  Alloc=  1/800 us ( 0%), #Int=  3, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev= 3.03
S:  Manufacturer=Linux 3.3.8 ehci_hcd
S:  Product=Generic Platform EHCI Controller
S:  SerialNumber=ehci-platform
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=256ms

T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=480  MxCh= 4
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=1a40 ProdID=0101 Rev= 1.11
S:  Product=USB 2.0 Hub
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=100mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   1 Ivl=256ms

T:  Bus=01 Lev=02 Prnt=02 Port=00 Cnt=01 Dev#=  3 Spd=480  MxCh= 4
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=1a40 ProdID=0101 Rev= 1.11
S:  Product=USB 2.0 Hub
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=100mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   1 Ivl=256ms

T:  Bus=01 Lev=03 Prnt=03 Port=02 Cnt=01 Dev#= 10 Spd=480  MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=058f ProdID=6387 Rev= 1.02
S:  Manufacturer=Generic
S:  Product=USB Flash Drive
S:  SerialNumber=9E153EC1
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E:  Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms

T:  Bus=01 Lev=03 Prnt=03 Port=03 Cnt=02 Dev#= 13 Spd=480  MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=04a9 ProdID=10d5 Rev= 0.01
S:  Manufacturer=Canon
S:  Product=iP4800 series
S:  SerialNumber=2182DB
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=  2mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=07(print) Sub=01 Prot=02 Driver=(none)
E:  Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms

T:  Bus=01 Lev=02 Prnt=02 Port=02 Cnt=02 Dev#=  4 Spd=480  MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=13fe ProdID=3600 Rev= 1.10
S:  Manufacturer=
S:  Product=USB DISK 2.0
S:  SerialNumber=079A1C00BB4E27E7
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=200mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E:  Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms

T:  Bus=01 Lev=02 Prnt=02 Port=03 Cnt=03 Dev#= 11 Spd=480  MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=19d2 ProdID=0167 Rev= 0.00
S:  Manufacturer=ZTE,Incorporated
S:  Product=ZTE LTE Technologies MSM
S:  SerialNumber=MF821_FFFS111111
C:* #Ifs= 6 Cfg#= 1 Atr=c0 MxPwr=500mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
E:  Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I:* If#= 1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
E:  Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I:* If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
E:  Ad=83(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I:* If#= 3 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
E:  Ad=84(I) Atr=03(Int.) MxPS=  64 Ivl=2ms
E:  Ad=85(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=04(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I:* If#= 4 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E:  Ad=86(I) Atr=03(Int.) MxPS=  64 Ivl=2ms
E:  Ad=87(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=05(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I:* If#= 5 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E:  Ad=06(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=88(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms

a w lsmod nie ma usblp:

Module                  Size  Used by    Tainted: G
fuse                   51088  0
qcserial                3520  0
option                 15120  1
cdc_ncm                 6448  0
usb_wwan                6560  2 qcserial,option
cdc_ether               2992  0
ums_usbat               7360  0
ums_sddr55              4752  0
ums_sddr09              8704  0
ums_karma               1456  0
ums_jumpshot            3584  0
ums_isd200              4912  0
ums_freecom             1872  0
ums_datafab             4592  0
ums_cypress             2064  0
ums_alauda              8240  0
sierra_net              5808  0
sierra                  8368  0
usbserial              23792  6 qcserial,option,usb_wwan,sierra
usbnet                 12032  3 cdc_ncm,cdc_ether,sierra_net
cdc_acm                11456  0
ath79_wdt               2240  1
ledtrig_usbdev          2032  0
ledtrig_netdev          3184  0
xt_set                  3056 10
ip_set_list_set         4800  0
ip_set_hash_netport    22512  0
ip_set_hash_netiface    22880  0
ip_set_hash_net        20288  1
ip_set_hash_ipportnet    23904  0
ip_set_hash_ipportip    18976  0
ip_set_hash_ipport     17936  0
ip_set_hash_ip         16336  0
ip_set_bitmap_port      4160  0
ip_set_bitmap_ipmac     4816  0
ip_set_bitmap_ip        4864  0
ip_set                 17936 12 xt_set,ip_set_list_set,ip_set_hash_netport,ip_set_hash_netiface,ip_set_hash_net,ip_set_hash_ipportnet,ip_set_hash_ipportip,ip_set_hash_ipport,ip_set_hash_ip,ip_set_bitmap_port,ip_set_bitmap_ipmac,ip_set_bitmap_ip
ebt_among               1968  0
ebt_802_3                592  0
nfnetlink               1680  1 ip_set
xt_IMQ                   624  0
imq                     5024  0
ipt_weburl             13296  0
ipt_webmon             12528  0
ipt_timerange            784  0
nf_nat_tftp              400  0
nf_conntrack_tftp       2352  1 nf_nat_tftp
nf_nat_snmp_basic       6912  0
nf_conntrack_snmp        656  1 nf_nat_snmp_basic
nf_nat_sip              5088  0
nf_conntrack_sip       15872  1 nf_nat_sip
nf_nat_pptp             1312  0
nf_conntrack_pptp       3072  1 nf_nat_pptp
nf_nat_h323             4544  0
nf_conntrack_h323      33200  1 nf_nat_h323
nf_nat_proto_gre         784  1 nf_nat_pptp
nf_conntrack_proto_gre     2368  1 nf_conntrack_pptp
nf_nat_amanda            608  0
nf_conntrack_amanda     1536  1 nf_nat_amanda
nf_conntrack_broadcast      752  1 nf_conntrack_snmp
nf_nat_irc               784  0
nf_conntrack_irc        2464  1 nf_nat_irc
nf_nat_ftp               976  0
nf_conntrack_ftp        4416  1 nf_nat_ftp
xt_iprange               896  0
xt_HL                   1200  0
xt_hl                    720  0
xt_ecn                  1168  0
ipt_ECN                 1264  0
xt_CLASSIFY              496  0
xt_time                 1456  0
xt_tcpmss                912  0
xt_statistic             688  0
xt_mark                  592  0
xt_length                608  0
xt_DSCP                 1360  0
xt_dscp                  912  0
xt_string                672  0
xt_layer7               8944  0
xt_quota                 656  0
xt_pkttype               528  0
xt_physdev              1248  0
xt_owner                 592  0
ipt_bandwidth          17600 20
ipt_REDIRECT             576  0
ipt_NETMAP               592  0
ipt_MASQUERADE           976  1
iptable_nat             2544  1
nf_nat                 10256 12 nf_nat_tftp,nf_nat_sip,nf_nat_pptp,nf_nat_h323,nf_nat_proto_gre,nf_nat_amanda,nf_nat_irc,nf_nat_ftp,ipt_REDIRECT,ipt_NETMAP,ipt_MASQUERADE,iptable_nat
xt_recent               5680  0
xt_helper                784  0
xt_connmark              960  0
xt_connbytes            1424  0
pppoe                   7488  0
xt_conntrack            2048  3
xt_CT                   1216  0
xt_NOTRACK               448  0
iptable_raw              560  1
xt_state                 608  0
nf_conntrack_ipv4       4384  6 iptable_nat,nf_nat
nf_defrag_ipv4           656  1 nf_conntrack_ipv4
nf_conntrack           38320 30 nf_nat_tftp,nf_conntrack_tftp,nf_nat_snmp_basic,nf_conntrack_snmp,nf_nat_sip,nf_conntrack_sip,nf_nat_pptp,nf_conntrack_pptp,nf_nat_h323,nf_conntrack_h323,nf_conntrack_proto_gre,nf_nat_amanda,nf_conntrack_amanda,nf_conntrack_broadcast,nf_nat_irc,nf_conntrack_irc,nf_nat_ftp,nf_conntrack_ftp,xt_layer7,ipt_MASQUERADE,iptable_nat,nf_nat,xt_helper,xt_connmark,xt_connbytes,xt_conntrack,xt_CT,xt_NOTRACK,xt_state,nf_conntrack_ipv4
pppox                   1152  1 pppoe
ipt_REJECT              1808  2
xt_TCPMSS               2560  1
ipt_LOG                 6160  0
xt_comment               400 19
xt_multiport            1104  0
xt_mac                   528  0
xt_limit                 944  1
iptable_mangle           832  1
iptable_filter           592  1
ip_tables               9440  4 iptable_nat,iptable_raw,iptable_mangle,iptable_filter
nfsd                   69648  0
nfs                   124704  0
msdos                   5520  0
ppp_async               5952  1
ppp_generic            18848  7 pppoe,pppox,ppp_async
slhc                    4368  1 ppp_generic
vfat                    7824  1
fat                    41728  2 msdos,vfat
lockd                  55552  2 nfsd,nfs
sunrpc                149216  4 nfsd,nfs,lockd
hfsplus                68496  0
ath9k                  92064  0
ath9k_common            1312  1 ath9k
ath9k_hw              370768  2 ath9k,ath9k_common
ath                    12752  3 ath9k,ath9k_common,ath9k_hw
nls_utf8                 784  0
nls_koi8_r              3824  0
nls_iso8859_2           3312  0
nls_iso8859_15          3312  0
nls_iso8859_13          3312  0
nls_iso8859_1           2800  1
nls_cp866               3824  0
nls_cp852               3568  0
nls_cp850               3568  0
nls_cp775               3824  0
nls_cp437               4336  1
nls_cp1251              3568  0
nls_cp1250              3824  0
mac80211              294576  1 ath9k
ts_fsm                  2496  0
ts_bm                   1344  0
ts_kmp                  1264  5
crc_ccitt                944  1 ppp_async
exportfs                2608  1 nfsd
cfg80211              169840  2 ath9k,mac80211
compat                 11680  5 ath9k,ath9k_common,ath9k_hw,mac80211,cfg80211
arc4                     768  2
aes_generic            29808  2
usb_storage            33136 12 ums_usbat,ums_sddr55,ums_sddr09,ums_karma,ums_jumpshot,ums_isd200,ums_freecom,ums_datafab,ums_cypress,ums_alauda
ehci_hcd               33616  0
sd_mod                 22240  4
ext4                  237664  1
jbd2                   37248  1 ext4
mbcache                 3504  1 ext4
usbcore                99168 24 qcserial,option,cdc_ncm,usb_wwan,cdc_ether,ums_usbat,ums_sddr55,ums_sddr09,ums_karma,ums_jumpshot,ums_isd200,ums_freecom,ums_datafab,ums_cypress,ums_alauda,sierra_net,sierra,usbserial,usbnet,cdc_acm,ledtrig_usbdev,usb_storage,ehci_hcd
usb_common               480  1 usbcore
scsi_mod               69888  3 ums_cypress,usb_storage,sd_mod
nls_base                4640 17 vfat,fat,hfsplus,nls_utf8,nls_koi8_r,nls_iso8859_2,nls_iso8859_15,nls_iso8859_13,nls_iso8859_1,nls_cp866,nls_cp852,nls_cp850,nls_cp775,nls_cp437,nls_cp1251,nls_cp1250,usbcore
crc16                    944  1 ext4
crypto_algapi           9200  2 arc4,aes_generic
ledtrig_timer           1072  0
ledtrig_default_on       416  0
leds_gpio               1552  0
gpio_button_hotplug     3216  0

6

Odp: prinserver

insmod usblp

Później w logread zobacz czy się nie wyłożył na czymś.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

7

Odp: prinserver

insmod: can't insert 'usblp': invalid module format

8

Odp: prinserver

Skąd więc to zainstalowałeś? Od instaluj pakiet i zainstaluj jeszcze raz tak jak napisałem.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

9

Odp: prinserver

Zainstalowałem od Ciebie.

Odinstalować taK? opkg remove plugin-gargoyle-usb-printer_1.5.10.8-1_ar71xx.ipk

10

Odp: prinserver

opkg remove  plugin-gargoyle-usb-printer kmod-usb-printer
opkg install plugin-gargoyle-usb-printer kmod-usb-printer

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

11

Odp: prinserver

Ok. działa. Jest ok.
Dzięki jeszcze raz.