Re: evdev.c(EVIOCGBIT): Suspicious buffer size 511,

From: Justin Mattock
Date: Wed Aug 20 2008 - 12:31:21 EST


On Wed, Aug 20, 2008 at 6:31 AM, Dmitry Torokhov
<dmitry.torokhov@xxxxxxxxx> wrote:
> On Wed, Aug 20, 2008 at 12:00:40AM -0700, Andrew Morton wrote:
>> On Sun, 17 Aug 2008 23:10:54 -0700 "Justin Mattock" <justinmattock@xxxxxxxxx> wrote:
>>
>> > I'm noticing:
>> > evdev.c(EVIOCGBIT): Suspicious buffer size 511, limiting output to 64
>> > bytes. See http://userweb.kernel.org/~dtor/eviocgbit-bug.html
>> > with rc-3 not with rc2.
>> > Did the patch to synaptics, seems
>> > my xorg is not reading /usr/X11R6/lib/modules/input/synaptics_drv.o
>> > only /usr/lib/xorg/modules/input/synaptics_drv.so
>> > is there any easy fix, or do I have to recompile xorg?
>> > regards;
>> >
>>
>> (cc's added)
>>
>
> You can just copy the updated file manually into
> /usr/lib/xorg/modules/input/.
>
> I tried rebuilding synaptics from here:
>
> git://anongit.freedesktop.org/git/xorg/driver/xf86-input-synaptics
>
> but unfortunately it fails with some automake crap that I don't have
> time to trace through at the moment.
>
> --
> Dmitry
>

Cool, I'll have a try at it again.
What I did was copy /usr/lib/X11R6/lib/modules/input/synaptics_drv.o
to /usr/lib/xorg/modules/input/ then renamed it to synaptics_drv.so
the module loads but is broken. When given time today I'll try and
reinstall, and see if I can get it working.


--
Justin P. Mattock
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/