[Bug 36947] Re: linux-image-2.6.15-19-powerpc64-smp unable to print to USB printer Lexmark E270

Jeff Bailey jbailey at ubuntu.com
Wed Apr 12 15:45:02 UTC 2006


I may try to hack on this over the long weekend.  Notes from BenC (they may as well be public, posted with consent)

<BenC> ok, in drivers/usb/class/usblp.c
<BenC> there's a usblp_ioctl()
<BenC> it's used in the file_operations struct
<BenC> in drivers/acpi/dev_acpi.c there's an example of an additional compat_ioctl for the file_ops struct
<BenC> any ioctl's that pass data that is the same for 32-bit and 64-bit (typedef'd values like u32, int's, structures that contain compatible members, etc) are just compatible and can be passed directly
<BenC> anything that has incompatible values (long's, pointers, etc) need to be translated
-- 
linux-image-2.6.15-19-powerpc64-smp unable to print to USB printer Lexmark E270
https://launchpad.net/malone/bugs/36947




More information about the kernel-bugs mailing list