Originally Posted by
Favux
Hi tyranos,
Welcome to Ubuntu Forums!
Check to make sure your .fdi doesn't have debug code in it. Failing Ayuthia telling us for sure you could check to see if he used the same debug command as in the patches on the other thread. "You should be able to turn some of it off by going into src/2.6.28/wacom_wac.c and src/2.6.28/wacom_sys.c and look for":
If it's there comment it out like so:
Code:
/* #define DEBUG 1 */
And then recompile. From:
http://ubuntuforums.org/showthread.p...321238&page=65
Hope this helps.
i couldn't find any #define DEBUG in the src dir but what i found are printk()'s in the function below in /src/2.6.28/wacom_wac.c
Code:
static int wacom_bamboo_pt_irq(struct wacom_wac *wacom, void *wcombo)
so i commented out these lines like this
Code:
// printk ("[wacom-%d] data: ", PATCH);
// printk(" %d:%x", index, (int)data[index]);
// printk("\n");
// printk("[wacom-%d]: reporting as eraser\n", PATCH);
// printk("wacom-%d]: 0x80 detected as tool %x and id %x\n",
// PATCH, wacom->tool[0], wacom->id[0]);
// printk("[wacom-%d]: reporting as pen\n", PATCH);
// printk("[wacom-%d]: X=%d Y=%d pressure: %d d6: %x d7: %x\n", PATCH, x, y, pressure, data[6], data[7]);
// printk("[wacom-%d]: reset tool %x\n", PATCH, wacom->tool[0]);
// printk("[wacom-%d]: skipping over data[1] %x\n", PATCH, data[1]);
rebuilt and it no more debug info for me now
i created a patch to wacom_wac.c for no debug info for the jaunty kernel and uploaded it along with the wcm2 patches linked in kgingeri post #541
i assume to remove the debug info for the Bamboo pen
use
Code:
patch -p1 < wacom_wac.c.noDBG.patch
instead of
Code:
patch -p1 < wacom_wac.c.patch
and again thanks to all who helped.
Bookmarks