[Bug 473464] Re: BUG: unable to handle kernel NULL pointer dereference at (null)

Lloyd Summers kermed at gmail.com
Wed May 5 15:17:40 UTC 2010


Hi everyone,

The problem still exists - and its across all versions of the Linux
kernel equal to and greater than 2.6.30.

We have encountered two sets of semi-solutions - however I would not
recommend either as a long-term solution.

--- Option #1 - requires kernel changes

These instructions do not apply to a particular Linux distribution. But
it is only intended for Linux kernel 2.6.30 or greater. You will need to
do this every time your distrubution releases a kernel update. This
method provides you with drivers that are closer to what your system is
currently running.

1. Download the source code for the Linux kernel. Every distribution
does this differently. Consult your distribution's website for details.

2. Edit linux/drivers/hid/hid-input.c. In the function 
   hidinut_configure_usage() search for:

	case HID_UP_DIGITIZER:
		switch (usage->hid & 0xff) {

   Add this code immediately after the switch statement:

			case 0x00: /* Undefined */
				goto ignore;

3. Save the file.

4. Build and install your kernel according to your distributions
instructions.


--- Option #2 - Still has error messages in the Kernel

Make a file

/etc/hal/fdi/policy/10-smarttech.fdi

with the contents

<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
  <device>
    <match key="info.category" contains="input">
      <match key="info.product" contains_outof="SMART">
          <merge key="input.x11_driver" type="string">evdev</merge>
          <merge key="input.x11_options.SendCoreEvents" type="string">false</merge>
      </match>
    </match>
  </device>
</deviceinfo>

Then plug in the smartboard and start the service manually.

--- References:  http://exchange-forum.smarttech.com/forums/t/6045.aspx

-- 
BUG: unable to handle kernel NULL pointer dereference at (null)
https://bugs.launchpad.net/bugs/473464
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to linux in ubuntu.




More information about the kernel-bugs mailing list