[Pkg-cups-devel] Bug#414515: cups or kernel
Torsten Wiebke
TorstenWiebke at gmx.net
Tue Mar 13 09:56:27 CET 2007
Hi,
I made this bugreport by thinking that the problem is cups or the package
cupsys. After my recherches it could be that this is a kernel-problem.
See:
"Background:
As far as I could see (strace, usbmon), the Kyocera FS-820 answers to ID
requests only a few seconds after plugging it in. This applies to detecting
it with cups and is also true for the printing itself, which is initiated
with an ID request. Since I have little usb knowledge, maybe someone can
interpret the data, especially the fist bulk transfer - why request 8192
bytes? This is the second version of the patch.
usbmon output of printing an email without patch:
tail -F /tmp/printlog.txt
c636e140 3374734463 S Bi:002:02 -115 8192 <
c9d43b40 3374734494 S Ci:002:00 s a1 00 0000 0000 03ff 1023 <
c9d43b40 3379732301 C Ci:002:00 -104 0
c636e140 3379733294 C Bi:002:02 -2 0
[...repeating...]
with patch:
tail -F /tmp/printlog.txt
d9cb82c0 3729790131 S Ci:002:00 s a1 00 0000 0000 03ff 1023 <
d9cb82c0 3729791725 C Ci:002:00 0 91 = 005b4944 3a46532d 3832303b 4d46473a
4b796f63 6572613b 434d443a 50434c58 df956320 3732493190 S Bo:002:01 -115
1347 = 1b252d31 32333435 5840504a 4c0a4050 4a4c2053 4554204d 414e5541
4c464545 [...more data...]
--- linux-2.6.19.1/drivers/usb/class/usblp.c.orig 2006-12-28
20:15:34.000000000 +0100
+++ linux-2.6.19.1/drivers/usb/class/usblp.c 2006-12-28 19:32:52.000000000
+0100
@@ -217,6 +217,7 @@ static const struct quirk_printer_struct
{ 0x0409, 0xbef4, USBLP_QUIRK_BIDIR }, /* NEC Picty760 (HP OEM) */
{ 0x0409, 0xf0be, USBLP_QUIRK_BIDIR }, /* NEC Picty920 (HP OEM) */
{ 0x0409, 0xf1be, USBLP_QUIRK_BIDIR }, /* NEC Picty800 (HP OEM) */
+ { 0x0482, 0x0010, USBLP_QUIRK_BIDIR }, /* Kyocera Mita FS 820, by zut
<ker... at zut.de> */
{ 0, 0 }
};
"
from:
http://groups.google.de/group/linux.kernel/browse_thread/thread/b5206fe4fbd9f96f/c4abe3c281075eea?lnk=st&q=cups+kyocera+martin+williges&rnum=1&hl=de#c4abe3c281075eea
So I do not know what to do. Should I use the patch of Martin Williger on:
http://www.zut.de/kyocerafs820.html
or is there an other opportunity? Why was there no problem under Sarge with
cups 1.1?
Thank You.
Sorry for my english, I hope you understand me.
Torsten
--
Torsten Wiebke
Großenhainer Str. 18 B
01097 Dresden
Tel.: 03517992271
Funk: 01794620036
More information about the Pkg-cups-devel
mailing list