Originally Posted By: Archeon


The manual says:

6-1-2 Kernel source patch If your Linux kernel version is 3.8.0 upwards and using resistive or SCAP touch controller, please comment the following RED section in your source code.

/SourceCode/drivers/hid/hid-core.c
bool hid_ignore(struct hid_device *hdev)

------------------------------------------------------------------------------------------------------------------------------------------------
{

switch (hdev->vendor) {

/*case USB_VENDOR_ID_DWAV:*/
/* These are handled by usbtouchscreen. hdev->type is probably
* HID_TYPE_USBNONE, but we say !HID_TYPE_USBMOUSE to match
* usbtouchscreen. */
/*if ((hdev->product == USB_DEVICE_ID_EGALAX_TOUCHCONTROLLER ||
hdev->product == USB_DEVICE_ID_DWAV_TOUCHCONTROLLER) &&
hdev->type != HID_TYPE_USBMOUSE)
return true;
break;*/




They're asking you to find that part of the code in the source file.
Ie the
switch (hdev->vendor) { statement, and in that switch statement, the
case USB_VENDOR_ID_DWAV:
part/section, and add the shown /* */ so that it looks like what's in the instruction.
The compiler ignores stuff between the comment markers, /*ignoredstuff*/
The same way many script language interpreters ignore everything on a line that starts with a #
You could, with the same effect, delete the lines, but adding the comment markers allows an easier 'undo' if you'll ever want to.

/* These are handled by usbtouchscreen. hdev->type is probably
* HID_TYPE_USBNONE, but we say !HID_TYPE_USBMOUSE to match
* usbtouchscreen. */

This part probably already has the /* */, as that looks like an existing comment...

Edit - overtaken by events. And if Mark says it's BS, I wouldn't bet against him smile


Edited by mtempsch (09/09/2014 11:20)
_________________________
/Michael