Hide Forgot
HP LaserJet 1200 doesn't work over USB out-of-the-box. However, if I edit printer.c as suggested by http://www.geocrawler.com/mail/msg.php3?msg_id=5622496&list=2571 , everything works fine. This may be related to bug 26909, but I do not know enough about this stuff to be sure.
Please attach the contents of your /proc/bus/usb/devices.
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.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 0.00 S: Product=USB UHCI Root Hub S: SerialNumber=ff80 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= 8 Ivl=255ms T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 3 Spd=12 MxCh= 0 D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=03f0 ProdID=0317 Rev= 1.00 S: Manufacturer=HewLett Packard S: Product=HP LaserJet 1200 S: SerialNumber=00CNBQ041594 C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 2mA I: If#= 0 Alt= 0 #EPs= 3 Cls=07(print) Sub=01 Prot=03 Driver=usblp E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl= 0ms E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl= 0ms E: Ad=82(I) Atr=03(Int.) MxPS= 8 Ivl=255ms I: If#= 0 Alt= 1 #EPs= 2 Cls=07(print) Sub=01 Prot=02 Driver=usblp E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl= 0ms E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl= 0ms I: If#= 0 Alt= 2 #EPs= 1 Cls=07(print) Sub=01 Prot=01 Driver=usblp E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl= 0ms
Can you recompile kernels and apply patches for testing, or do you need RPMs?
Patches are OK (especially if I only need to recompile the modules and can avoid rebooting). RPM's are OK too. P.S. I currently have printer attached to RH7.1 system + all updates. It's and SMP system and I currently run 2.4.3-12smp from RH 7.1 updates).
Created attachment 26753 [details] David Paschal memo
Created attachment 26773 [details] Draft fix
+ if (proto_bias == 1 && alt_711 != -1) + return alt_713; + if (proto_bias == 2 && alt_712 != -1) + return alt_713; + if (proto_bias == 3 && alt_713 != -1) + return alt_713; The above code seems suspicious. Are you sure you really meant to return alt_713 in all the cases?
Looks like a copy-paste bug.
Created attachment 27853 [details] Fixed fix
Marked as "Rawhide", but it made it into fairfax.