Wrong priority reporting with new 0(1) scheduler; USB changes to 2.4.18 pre/rc1 breaks HPOJ
Priority reporting issue:
I've applied the 0(1) scheduler patch in conjunction with the preemptible patch to 2.4.18 pre (sched-O1-2.4.18-pre8-K3.patch and preempt-kernel-rml-2.4.18-rc1-ingo-K3-1.patch)
I found that top and other process managers (like kpm) report the priority as 9 instead of 0 for nice level 0 applications with the preemptible patch, and 15 with both preemptible and 0(1). Nice'd applications can have their priority reported as high as 39. It seems to read it as 15-20 higher than the nice value. The kernel appears to work flawlessly otherwise.
USB issue:
The USB changes after 2.4.17 up to and including 2.4.18 rc1 cause the hp officejet drivers to fail on my machine. While the usb mouse continues to work, the hp ptal-init probe cannot find the device when scanning /dev/usb/lp0. The device is still reported correctly in /proc/bus/usb/devices. This is with both the usb-uhci and the uhci drivers.
Hardware configuration:
Soltek 65KV apollo pro via motherboard with PIII 933. HP Officejet G55.
Regards,
Con Kolivas
(Please cc: me if any correspondence is appropriate as I am not subscribed to lkml)
Quoted 6 lines · Con Kolivas
The USB changes after 2.4.17 up to and including 2.4.18 rc1 cause the hp officejet drivers to fail on my machine. While the usb mouse continues to work, the hp ptal-init probe cannot find the device when scanning
/dev/usb/lp0. The device is still reported correctly in/proc/bus/usb/devices. This is with both the usb-uhci and the uhci drivers.
There have been some "interesting" discussions about HP printers on the linux-usb-devel mailing list :)
A very simple patch that might work for you is at:
http://marc.theaimsgroup.com/?l=linux-usb-devel&m=101338636901219 while a more "correct" patch is at: http://marc.theaimsgroup.com/?l=linux-usb-devel&m=101366701613394
Please let me know if either of these patches fix your problem.
thanks,
greg k-h