It works with a usb mouse connected to an eeepc. If you want, send me an Email with a detailed "screenoff" issue description. Maybe I can work on it.
On 14 Apr, 00:57, Yi Sun <beyo...@gmail.com> wrote: > BTW-- this is a sw cursor. > > On Mon, 2009-04-13 at 15:54 -0700, Yi Sun wrote: > > Sign... I really don't want to post this patch because there are > > something I'm not sure about. But I'm really busy with my work now and > > have no time to dig more. > > If you want, you can take the cursor.patch from > >http://code.google.com/p/patch-hosting-for-android-x86-support/ > > > Here is the idea: > > 1. detect mouse device in Eventhub.cpp. Currently, I think the trackball > > does not have both left and right button, so I detect mouse by check > > these two buttons in keybit but maps. > > 2. Change the KeyInputQueue.java to pass up mouse event for REL_[x/y] if > > the events come from the mouse device. > > 3. Change the WindowsManagerService.java to create a mouse surface so > > move around based on the mouse event > > 4. convert REL_(x/y) to ABS_(x/y) and dispatchpointer based on that. > > > I have left DEBUG_INPUT on in the WindowsManagerServrice.java so that if > > someone tell me it does not work I still can get a clue (hopefully). > > > The things still need to solve: > > 1. there are two hacks in the WindowManagerService.java to remove the > > "Screenoff" checks so that the event can be dispatched. We will need to > > find out why the screenoof flag is not correct. If may have something to > > do with the policy and powermanager. > > 2.I only test it on VirtualBox. Not sure if it works for you real > > hardware or not. > > 3. I did not test this change with either G1 or Android emulator. So > > there are high changes that I broke something. > > > So _don't_ pick on me, this is only the third weeks since I first time > > to play with Android. > > > Yi > > PS: you need to build your kernel correctly to enabled mouse drivers. > > > On Sat, 2009-04-11 at 21:01 -0700, Yi Yang wrote: > > > Hi, Sun, I am running android on thinkpad t60, alsa sound is working > > > now, next step I will try to enable mouse cursor, could you kindly > > > give me some hint? > > > > On Apr 10, 2:35 am, Yi Sun <beyo...@gmail.com> wrote: > > > > Agree, as matter fact, I have created a google code page this morning to > > > > host the patches I mentioned in earlier > > > > e-mail.http://code.google.com/p/patch-hosting-for-android-x86-support/ > > > > > BTW-- I also have mouse cursor support works done. I will post it after > > > > I clean up the code. > > > > Yi > > > > > On Thu, 2009-04-09 at 11:28 -0700, Luca Belluccini wrote: > > > > > By using vesa framebuffer we have a performance decrase, isn't it? > > > > > For me, now it is working with vesa. > > > > > I have some troubles compiling modules for specific kernels, cause of > > > > > many Makefiles are too complex. > > > > > We should put into a project all device driver modules from 3rd party, > > > > > specifying which patches are applied and provide Makefiles to be built > > > > > and exported to eee_701 vendor folder. > > > > > Or not in a specific project but in vendor/asus/eee_701... > > > > > Do u agree? > > > > > > On 9 Apr, 20:11, shleeforandroid <shlee3...@gmail.com> wrote: > > > > > > Hi Brian.Yi > > > > > > > thaks for your early reply. > > > > > > I've struggled with android 2.6.25 kernel building with modifying > > > > > > some > > > > > > config option. T.T;; > > > > > > > I did like this to make latest drm module. > > > > > > aa$ git clone > > > > > > git://anongit.freedesktop.org/git/mesa/drm > > > > > > aa$ cd drm/linux-core && make > > > > > > aa/drm/linux-core$ ls *.ko > > > > > > drm.ko mach64.ko nouveau.ko radeon.ko sis.ko via.ko > > > > > > i810.ko mga.ko r128.ko savage.ko tdfx.ko xgi.ko > > > > > > > aa/drm/linux-core$ cp drm.ko ~/mydroid/vendor/asus/eee_701/modules/ > > > > > > drm.ko > > > > > > aa/drm/linux-core$ cd ~/mydroid > > > > > > mydroid$ TARGET_ARCH=x86 TARGET_PRODUCT=eee_701 > > > > > > DISABLE_DEXPREOPT=true make -j2 installer_img > > > > > > > and I will modify init.rc. > > > > > > <out/~/eee_701dir>$ vi rootimg/init.rc > > > > > > ### Load some modules > > > > > > # insmod /lib/modules/atl2.ko > > > > > > # insmod /lib/modules/softcursor.ko > > > > > > # insmod /lib/modules/bitblit.ko > > > > > > # insmod /lib/modules/font.ko > > > > > > # insmod /lib/modules/cfbimgblt.ko > > > > > > # insmod /lib/modules/cfbfillrect.ko > > > > > > # insmod /lib/modules/cfbcopyarea.ko > > > > > > insmod /lib/modules/drm.ko > > > > > > # insmod /lib/modules/i915.ko modeset=1 > > > > > > insmod /lib/modules/fbcon.ko > > > > > > > and will follow the Chen's method. > > > > > > I just remove i915 module like above. > > > > > > > Is this step ok? > > > > > > I'm waiting the result of this steps. > > > > > > How to fix fbcon problem? > > > > > > > thanks > > > > > > shlee. > > > > > > > On Apr 10, 1:03 am, Brian <bgc...@gmail.com> wrote: > > > > > > > > Hi Shlee, > > > > > > > > In the end, I used 2.6.27. But 2.6.25 should also work. > > > > > > > The way I addressed the fb problem is to build and use the latest > > > > > > > intel drm driver modules. > > > > > > > Afterwards, you need to modify init.rc and some service files as > > > > > > > posted in this mailing list. > > > > > > > > -Brian > > > > > > > > On Apr 9, 7:58 am, shleeforandroid <shlee3...@gmail.com> wrote: > > > > > > > > > hi brian > > > > > > > > Congratulate your work !!!! > > > > > > > > > I've just reached to some part of your work that is posed " On > > > > > > > > Mar 30, > > > > > > > > 8:49 am, Brian <bgc...@gmail.com>" below. > > > > > > > > > > > >> >> >Thanks, Jerry! > > > > > > > > > > >> >> > I'm using kernel 2.6.27, and the modules have > > > > > > > > > > >> >> > version 2.6.25 as you > > > > > > > > > > >> >> > can see below. > > > > > > > > > > >> >> > There are inconsistencies in the cupcake branch. > > > > > > > > > > >> >> > I will either get kernel 2.6.25 or try to compile > > > > > > > > > > >> >> > 2.6.27 modules. > > > > > > > > > > >> >> > Thanks,Brian > > > > > > > > > > >> >> > ./kernel/include/config/kernel.release:2.6.27-00120-g453dc2b-dirty > > > > > > > > > > >> >> > $ modinfo > > > > > > > > > > >> >> > ./out/target/product/eee_701/rootimg/lib/modules/i915.ko > > > > > > > > > > >> >> > filename: > > > > > > > > > > >> >> > ./out/target/product/eee_701/rootimg/lib/modules/ > > > > > > > > > > >> >> > i915.ko > > > > > > > > > > >> >> > license: GPL and additional rights > > > > > > > > > > >> >> > description: Intel Graphics > > > > > > > > > > >> >> > author: Tungsten Graphics, Inc. > > > > > > > > > > >> >> > license: GPL > > > > > > > > > > >> >> > srcversion: 73F81EDC4CAE593AA695C49 > > > > > > > > > > >> >> > depends: > > > > > > > > > > >> >> > drm,cfbfillrect,cfbimgblt,cfbcopyarea > > > > > > > > > > >> >> > vermagic: 2.6.25-00101-gb6922fa SMP preempt > > > > > > > > > > >> >> > mod_unload PENTIUMM > > > > > > > > > > >> >> > parm: modeset:int > > > > > > > > > > >> >> > parm: fbpercrtc:int > > > > > > > > > > >> >> > parm: i915_rightof:int > > > > > > > > > I followed your steps, Chen's and Lim's method. > > > > > > > > I can see "ANDROID" message on my VirtualBox and some errors. > > > > > > > > > !!! ** > > > > > > > > I also want to build android kernel 2.6.25. but i can't this > > > > > > > > kernel > > > > > > > > version . > > > > > > > > Would you let me know the way? > > > > > > > > I want to know how to accept 2.6.25 kernel version. > > > > > > > > > Thanks > > > > > > > > shlee. > > > > > > > > > On 4월2일, 오후1시43분, Brian <bgc...@gmail.com> wrote: > > > > > > > > > > Hi Chen, > > > > > > > > > > Finally, Android booted successfully ! > > > > > > > > > Thanks for all the help. > > > > > > > > > I need to connect to it using adb, but I don't know its ip > > > > > > > > > address. > > > > > > > > > In my phone, I'm using an terminal emulator I downloaded from > > > > > > > > > the > > > > > > > > > market... > > > > > > > > > > Thanks, > > > > > > > > > Brian > > > > > > > > > > On Apr 1, 9:13 pm, Chen Yang <sunsety...@gmail.com> wrote: > > > > > > > > > > > hi Brian: > > > > > > > > > > You may need to modify the > > > > > > > > > > framework/base/preloaded-classes to > > > > > > > > > > remove those non existing classes. > > > > > > > > > > And you can reference Androidphan's reply in this thread. > > > > > > > > > > You may encounter the NFE and NPE, reference > > > > > > > > > > this:http://groups.google.com/group/android-porting/msg/64eb5a0158e6b815 > > > > > > > > > > and Androdphan's > > > > > > > > > > thread:http://groups.google.com/group/android-porting/msg/97bd8c7c44a189ec > > > > > > > > > > -- > > > > > > > > > > Chen > > > > > > > > > > > On Thu, Apr 2, 2009 at 12:05 PM, Brian <bgc...@gmail.com> > > > > > > > > > > wrote: > > > > > > > > > > > > The system is trying to run zygote, but I got the > > > > > > > > > > > following error. > > > > > > > > > > > I'm attaching my logcat output. > > > > > > > > > > > > E/Zygote ( 2126): Zygote died with exception > > > > > > > > > > > E/Zygote ( 2126): java.lang.IllegalStateException: > > > > > > > > > > > Missing class(es) > > > > > > > > > > > for preloading, update preloaded-classes > > > > > > > > > > > [com.android.internal.policy.impl.PhoneLayoutInflater > > > > > > > > > > > com.android.internal.policy.impl.PhoneWindow > > > > > > > > > > > com.android.internal.policy.impl.PhoneWindow$1 > > > > > > > > > > > com.android.internal.policy.impl.PhoneWindow$ContextMenuCallback > > > > > > > > > > > com.android.internal.policy.impl.PhoneWindow$DecorView > > > > > > > > > > > com.android.internal.policy.impl.PhoneWindow$PanelFeatureState > > > > > > > > > > > com.android.internal.policy.impl.PhoneWindow$PanelFeatureState > > > > > > > > > > > $SavedState com.android.internal.policy.impl.PhoneWindow > > > > > > > > > > > $PanelFeatureState$SavedState$1] > > > > > > > > > > > E/Zygote ( 2126): at > > > > > > > > > > > com.android.internal.os.ZygoteInit.preloadClasses(ZygoteInit.java:299) > > > > > > > > > > > E/Zygote ( 2126): at > > > > > > > > > > > com.android.internal.os.ZygoteInit.main > > > > > > > > > > > (ZygoteInit.java:512) > > > > > > > > > > > E/Zygote ( 2126): at > > > > > > > > > > > dalvik.system.NativeStart.main(Native > > > > > > > > > > > Method) > > ... > > leggi tutto --~--~---------~--~----~------------~-------~--~----~ unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---