Re: [linux-usb-devel] printer.c patch: new ioctls, bug fixes

2001-12-22 Thread David Paschal
Hi, Greg and Vojtech. Attached are version-specific patches for printer.c against 2.4.13 (also 2.5.1) and 2.2.20. If there are no objections, then would you please incorporate them at least into 2.5 and 2.4, and into 2.2 if there ever ends up being a new 2.2 version. If there are objections, th

Re: [linux-usb-devel] printer.c patch: new ioctls, bug fixes

2001-12-20 Thread Pete Zaitcev
> - Added MODULE_{INC,DEC}_USE_COUNT to prevent unloading printer.o while it's > active, which causes OOPSes. Do they, really? I am curious, how it happens. Did you keep the oops traces? > static struct file_operations usblp_fops = { > +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,3,0) >

[linux-usb-devel] printer.c patch: new ioctls, bug fixes

2001-12-20 Thread David Paschal
Hi, Greg. I would like to submit the following patch to printer.c for inclusion into 2.5. It adds the ioctls I need for the HP OfficeJet Linux driver project (http://hpoj.sourceforge.net) to dynamically switch 7/1/[123] alternate settings and send an HP vendor-specific command needed to support