Re: PROBLEM: AIPTEK input doesn`t register `device` & `driver` section in sysfs (/sys/class/input/event#)

From: Greg KH
Date: Tue Apr 12 2005 - 02:59:48 EST


On Sun, Apr 10, 2005 at 07:21:28PM +0600, Viktor A. Danilov wrote:
>
> PROBLEM: aiptek input doesn`t register `device` & `driver` section in sysfs (/sys/class/input/event#)
> REASON: `dev` - field not filled...
> SOLUTION: in linux/drivers/usb/input/aiptek.c write
> aiptek->inputdev.dev = &intf->dev;
> before calling
> input_register_device(&aiptek->inputdev);

Good catch, I've applied this to my kernel trees.

thanks,

greg k-h
-
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/