>
> [    3.482177] input: gpio-keys as /devices/platform/gpio-keys/input/input0
> [    3.490539] zxy100: zxy100_init
> [    3.490539] Unable to handle kernel NULL pointer dereference at virtual 
> address 00000060
> ...

[    3.523529] PC is at internal_create_group+0x24/0x1d8
> [    3.531311] LR is at sysfs_create_group+0x18/0x1c
>
 

> what's wrong?????????


Your zxy100 driver is buggy, probably some structure isn't initialized 
correctly.

When I had similar problems, I started to pepper my kernel with printk("#HS 
%s:%d\n", __func__, __LINE__) statements, to so where the execution path 
went. Occassionally I also printed the contents of values.

It also helps to look at similar drivers... or to ditch zxy100. After all, 
there's drivers/input/touchscreen/usbtouchscreen.c, why should one invent a 
whole new USB touchscreen driver if one is already present?

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

Reply via email to