PDA

Bekijk de volledige versie : Xerox WorkCenter 5016 problem



Przemek
19-07-2010, 15:20
Hi All

I'm using WL500 GPv2 with oleg 1.9.2.7-d-r1612 running on it. I had some issues with my Xerox Printer. It's recognized correctly can see it on web UI and from log :


Dec 31 12:00:10 kernel: hub.c: new USB device 00:03.1-1.1, assigned address 4
Dec 31 12:00:10 kernel: printer.c: usblp0: USB Bidirectional printer dev 4 if 1 alt 0 proto 2 vid 0x0924 pid 0x4271
Dec 31 12:00:10 kernel: printer.c: usblp0 Device ID string [86]='MFG:Xerox;CMD:;MODEL:WorkCentre 5016;CLASS:PRINTER;DES:WorkCentre 5016;COMMENT:none;'
Dec 31 12:00:10 kernel: printer.c: usblp0 Device ID string [86]='MFG:Xerox;CMD:;MODEL:WorkCentre 5016;CLASS:PRINTER;DES:WorkCentre 5016;COMMENT:none;'

I can see it under /dev/usb as lp0.
This is output from lsmod:


Tainted: P
usb-storage 63112 3
sd_mod 12900 6
scsi_mod 72736 2 [usb-storage sd_mod]
videodev 8752 0 (unused)
printer 12500 1
ehci-hcd 28740 0 (unused)
usb-ohci 19428 0 (unused)
usbcore 78872 1 [usb-storage printer ehci-hcd usb-ohci]
ip_nat_ftp 3072 0 (unused)
ip_conntrack_ftp 4472 1
ipt_NETMAP 760 2
wl 897336 0 (unused)
et 29088 0 (unused)


and this is what i have if i do cat /proc/bus/usb/devices


T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 2
B: Alloc= 0/800 us ( 0%), #Int= 1, #Iso= 0
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 2.04
S: Manufacturer=Linux 2.4.37.9 ehci_hcd
S: Product=PCI device 14e4:471a
S: SerialNumber=00:03.1
C:* #Ifs= 1 Cfg#= 1 Atr=40 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= 2 Ivl=256ms
T: Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=480 MxCh= 2
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=0424 ProdID=2502 Rev= 0.01
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 2mA
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=02 Lev=02 Prnt=02 Port=00 Cnt=01 Dev#= 4 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=0924 ProdID=4271 Rev= 0.01
C:* #Ifs= 2 Cfg#= 1 Atr=c0 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=00 Driver=(none)
E: Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=82(I) Atr=03(Int.) MxPS= 8 Ivl=64ms
I: If#= 1 Alt= 0 #EPs= 2 Cls=07(print) Sub=01 Prot=02 Driver=usblp
E: Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=83(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
T: Bus=02 Lev=02 Prnt=02 Port=01 Cnt=02 Dev#= 3 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=1058 ProdID=1110 Rev=20.03
S: Manufacturer=Western Digital
S: Product=My Book 1110
S: SerialNumber=574341565933383538383833
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 2mA
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=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 0.00
S: Product=USB OHCI Root Hub
S: SerialNumber=b8003000
C:* #Ifs= 1 Cfg#= 1 Atr=40 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= 2 Ivl=255ms



I configured this printer on windows - just like manual explained. Was able to print a page immediately after printer starts. The problem now is that printer goes into standby mode after short time.. While it is on this stage i can't print - it's not waking up.. When i try to print i'm getting this in log :


Jul 19 01:40:53 kernel: printer.c: usblp0: nonzero read/write bulk status received: -71
Jul 19 01:40:53 kernel: printer.c: usblp0: nonzero read/write bulk status received: -71
Jul 19 01:40:54 kernel: printer.c: usblp0: error -71 reading printer status
Jul 19 01:40:54 kernel: printer.c: usblp0: error -71 reading printer status
Jul 19 01:40:54 kernel: printer.c: usblp0: error -71 reading printer status
Jul 19 01:40:54 kernel: printer.c: usblp0: error -71 reading printer status
Jul 19 01:40:55 kernel: printer.c: usblp0: error -71 reading printer status
Jul 19 01:40:55 kernel: printer.c: usblp0: error -71 reading printer status
Jul 19 01:40:55 kernel: printer.c: usblp0: error -71 reading printer status
Jul 19 01:40:55 kernel: printer.c: usblp0: error -71 reading printer status
Jul 19 01:40:56 kernel: printer.c: usblp0: error -71 reading printer status
Jul 19 01:40:56 kernel: printer.c: usblp0: error -71 reading printer status
Jul 19 01:40:56 kernel: printer.c: usblp0: error -71 reading printer status
Jul 19 01:40:56 kernel: printer.c: usblp0: error -71 reading printer status
Jul 19 01:40:56 kernel: printer.c: usblp0: error -71 reading printer status
Jul 19 01:40:57 kernel: printer.c: usblp0: error -71 reading printer status
Jul 19 01:40:57 kernel: printer.c: usblp0: error -71 reading printer status
Jul 19 01:40:57 kernel: printer.c: usblp0: error -71 reading printer status
Jul 19 01:40:58 kernel: printer.c: usblp0: error -71 reading printer status
Jul 19 01:40:58 kernel: printer.c: usblp0: error -71 reading printer status
Jul 19 01:40:58 kernel: printer.c: usblp0: error -71 reading printer status
Jul 19 01:40:58 kernel: printer.c: usblp0: error -71 reading printer status
Jul 19 01:40:58 kernel: printer.c: usblp0: error -71 reading printer status
Jul 19 01:40:58 kernel: printer.c: usblp0: error -71 reading printer status
Jul 19 01:40:58 kernel: printer.c: usblp0: error -71 reading printer status
Jul 19 01:40:59 kernel: printer.c: usblp0: error -71 reading printer status
Jul 19 01:40:59 kernel: printer.c: usblp0: error -71 reading printer status
Jul 19 01:40:59 kernel: printer.c: usblp0: error -71 reading printer status
Jul 19 01:40:59 kernel: printer.c: usblp0: error -71 reading printer status
Jul 19 01:40:59 kernel: printer.c: usblp0: error -71 reading printer status
Jul 19 01:40:59 kernel: printer.c: usblp0: error -71 reading printer status
Jul 19 01:41:00 kernel: printer.c: usblp0: error -71 reading printer status
Jul 19 01:41:00 kernel: printer.c: usblp0: error -71 reading printer status
Jul 19 01:41:00 kernel: printer.c: usblp0: error -71 reading printer status
Jul 19 01:41:00 kernel: printer.c: usblp0: error -71 reading printer status
Jul 19 01:41:00 kernel: printer.c: usblp0: error -71 reading printer status
Jul 19 01:41:00 kernel: printer.c: usblp0: error -71 reading printer status
Jul 19 01:41:01 kernel: printer.c: usblp0: error -71 reading printer status
Jul 19 01:41:01 kernel: printer.c: usblp0: error -71 reading printer status
Jul 19 01:41:01 kernel: printer.c: usblp0: error -71 reading printer status
Jul 19 01:41:01 kernel: printer.c: usblp0: error -71 reading printer status
Jul 19 01:41:01 kernel: printer.c: usblp0: error -71 reading printer status
Jul 19 01:41:01 kernel: printer.c: usblp0: error -71 reading printer status
Jul 19 01:41:01 kernel: printer.c: usblp0: off-line

and so on ... It shows on windows that some part of document was sent.. Printer seems to wake up - i can hear it preparing but nothing happens .. Have you seen anything like this ? Is there any solution for that ? Thank you for all your helps ..

Best Regards
Przemek

lly
19-07-2010, 17:26
Unfortunately, old kernel 2.4.37 doesn't has usb wake-up device capabilities. Another large backport from 2.6 upstream required...

Przemek
19-07-2010, 19:24
lly, thanks for that info.. From you signature i can see that you're using experimental branch. Just read that it runs on 2.6.. How those that work for you ? Any problems with this branch ?

Best Regards
Przemek

lly
20-07-2010, 07:00
From you signature i can see that you're using experimental branch. Just read that it runs on 2.6.. How those that work for you ? Any problems with this branch ?
Me & theMIROn maintain both branches :)

As you can read from other topics like http://wl500g.info/showthread.php?t=23223 2.6 branch is not so stable as we want, due to obsolete 2.6.22 kernel. And 2.6 kernels has more memory overhead than 2.4.