[android-kernel] Re: Building kernel modules for custom kernel version

2014-01-05 Thread Max von E
In the common sense the extraversion means a lot. The modules should be compiled within the original kernel, because of the functions availability. But my own experience shows that you probably have an error in your module source... it should work if the kernel versions match. First compile your

Re: [android-kernel] Re: Debugging Android Kernel

2014-01-05 Thread Max von E
First you have to check if developer options -> USB Debuging is enabled. Then you can (if you are root or by issuing su command in adb shell) use dmesg to see kernel messages aswell as logcat. If you have the sources and it's the kernel you have compiled by yourself you can add prinkt("my messgag

[android-kernel] Re: Light sensor driver for nexus 7

2014-01-05 Thread Max von E
IMHO you need to check what sensor is used and then search the driver for it. Each driver is using a bus, and in case with i2c devices (or others) each device has its slave address. So there is not just a common info on all drivers, but rather each device has it's own complicated driver. To fin

[android-kernel] HID Touch Pad mouse and multi touch with switch

2013-12-14 Thread Max von E
Hello guys, girls. Recently i ran into a problem. I have an unknown vendon (Anton) Touch pad that has a switch to be able to switch between mouse and touch. By default, without any drivers it works ok as a mouse (with mouse ON, Touch OFF), but as a touchpad (touch ON, Mouse OFF) it will want to

[android-kernel] Root and Memory settings in Android/Kernel

2013-11-25 Thread Max von E
Hello, i am trying to build AOSP, it works ok but i have no root, cannot remount via adb although i have the ro-secure = 0. Another question is how to allocate how much memory to use for my build? I am running 4.2.2 from SDCard. BR Max -- -- unsubscribe: android-kernel+unsubscr

[android-kernel] wakelocks doesn't work

2013-04-29 Thread Max Liao
I was porting Android 4.0.4 to a board, and the kernel is based on linux-3.6.9. According to the usage of android wakelocks, if I input echo asdf > /sys/power/wake_lock and then input echo mem > /sys/power/state the system won't suspend and sleep. But actually not! The console print following info

[android-kernel] how can I create a asound.conf based on my hardware sound card configure?

2009-04-10 Thread max
based on my own sound card. Max Thanks. --~--~-~--~~~---~--~~ unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-kernel -~--~~~~--~~--~--~---

[android-kernel] why it always complain execve("/system/bin/alsamixer", ["alsamixer"], [/* 10 vars */]) = -1 ENOENT (No such file or directory)

2009-04-08 Thread max
ot;No such file or directory", 25) = 25 02:24:29.349132 write(2, "\n", 1) = 1 02:24:29.350353 io_submit(1, -1344068532, {...} Anyone can give me some light on this? Max --~--~-~--~~~---~--~~ unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-kernel -~--~~~~--~~--~--~---

[android-kernel] question about sysfs interface for backlight adjustment

2009-02-05 Thread Xiaoyang Yu (Max)
Android assumes the sysfs interface for backlight adjustment is at "/ sys/class/leds/lcd-backlight/brightness", which is not true for EeePC. EeePC uses "/sys/class/backlight/eeepc/brightness". And other platforms may use "/sys/class/backlight/acpi_video0/brightness". Also Android assuems the back