Screen Resolution is 800x600

 My main concern is the touch events not getting propagated to gaia at all.
Is 320x480 is the touch screen limitation or something

Thanks
Kiran


On Fri, May 10, 2013 at 3:24 PM, Wei Deng <[email protected]> wrote:

> What's the screen resolusion?
>
> the log below:
> /dev/input/event1: 0003 0035 00000022
> /dev/input/event1: 0003 0036 000001d5
>
> keycode 0035 means absolute x-axis, it's HEX 022 ,DECI 34
> keycode 0036 means absolute y-axis, its value is HEX 1d5, DECI 469
>
> you can estimate wheater the positon you touch is the very position driver
> reports to gecko.
>
> Gaia supports screens of 320x480 best, anyone can confirm it?
>
> Or maybe you can debug whether the touch event propagates to gaia.
>
>
> ----- Original Message -----
> From: "kiran bhat" <[email protected]>
> To: "Wei Deng" <[email protected]>
> Cc: "Viral Wang" <[email protected]>, [email protected]
> Sent: Friday, May 10, 2013 4:50:10 PM
> Subject: Re: [b2g] [Porting] Gaia doesn't recognize touches
>
>
> Hi
> it is multi touch screen it works on Android ics software but doen not
> work on b2g the following is the captured log which says it detects
> multitouch screen, prefs.js does not contain the dom.w3c.touch_enabled true
> does it have any impact on android ?
>
>
>
>
>
> InputReader( 1174): BatchSize: 6 Count: 6
> D/InputReader( 1174): Input event: device=2 type=0x0003 scancode=0x0030
> keycode=0x0000 value=0x00000001 flags=0x00000000
> D/InputReader( 1174): MultiTouchMotionAccumulator::process
> D/InputReader( 1174): EVENT POSITION 0 0
> D/InputReader( 1174): Input event: device=2 type=0x0003 scancode=0x0032
> keycode=0x0000 value=0x00000001 flags=0x00000000
> D/InputReader( 1174): MultiTouchMotionAccumulator::process
> D/InputReader( 1174): EVENT POSITION 0 0
> D/InputReader( 1174): Input event: device=2 type=0x0003 scancode=0x0035
> keycode=0x0000 value=0x00000022 flags=0x00000000
> D/InputReader( 1174): MultiTouchMotionAccumulator::process
> D/InputReader( 1174): EVENT POSITION 34 0
> D/InputReader( 1174): Input event: device=2 type=0x0003 scancode=0x0036
> keycode=0x0000 value=0x000001d5 flags=0x00000000
> /dev/input/event1: 0003 0032 00000001
> /dev/input/event1: 0003 0035 00000022
> /dev/input/event1: 0003 0036 000001d5
> /dev/input/event1: 0000 0002 00000000
> /dev/FINGER1 UP
> FINGER1 UP
> input/event1: 0000 0000 00000000
> D/InputReader( 1174): MultiTouchMotionAccumulator::process
> D/InputReader( 1174): EVENT POSITION 34 469
> D/InputReader( 1174): Input event: device=2 type=0x0000 scancode=0x0002
> keycode=0x0000 value=0x00000000 flags=0x00000000
> D/InputReader( 1174): MultiTouchMotionAccumulator::process
> D/InputReader( 1174): Input event: device=2 type=0x0000 scancode=0x0000
> keycode=0x0000 value=0x00000000 flags=0x00000000
> D/InputReader( 1174): SYNC TOUCH EVENT
> D/InputReader( 1174): syncTouch: pointerCount 0 -> 1, no pointer ids
> D/InputReader( 1174): MultiTouchMotionAccumulator::process
> I/IdleService( 1174): next timeout 1000 msec from now
> I/IdleService( 1174): SetTimerExpiryIfBefore: next timeout 1000 msec from
> now
> I/IdleService( 1174): reset timer expiry to 1010 msec from now
> I/IdleService( 1174): Reset idle timeout: tell observer 4803d820 user is
> back
> /dev/input/event1: 0003 0035 00000022
> /dev/input/event1: 0003 0036 000001d5
> D/InputReader( 1174): BatchSize: 3 Count: 3
> D/InputReader( 1174): Input event: device=2 type=0x0003 scancode=0x0035
> keycode=0x0000 value=0x00000022 flags=0x00000000
> D/InputReader( 1174): MultiTouchMotionAccumulator::process
> D/InputReader( 1174): EVENT POSITION 34 0
> D/InputReader( 1174): Input event: device=2 type=0x0003 scancode=0x0036
> keycode=0x0000 value=0x000001d5 flags=0x00000000
> D/InputReader( 1174): MultiTouchMotionAccumulator::process
> D/InputReader( 1174): EVENT POSITION 34 469
> D/InputReader( 1174): Input event: device=2 type=0x0000 scancode=0x0000
> keycode=0x0000 value=0x00000000 flags=0x00000000
> D/InputReader( 1174): SYNC TOUCH EVENT
> D/InputReader( 1174): syncTouch: pointerCount 1 -> 0, touching ids
> 0x80000000 -> 0x00000000, hovering ids 0x00000000 -> 0x00000000
> /dev/input/event1: 0000 0000 00000000
> D/InputReader( 1174): MultiTouchMotionAccumulator::process
> D/ ( 1174): TOUCH START
> D/ ( 1174): ELSE PART TOUCH END
> D/ ( 1174): DISPATCHING TO WINDOW
> /dev/input/event1: 0003 0035 00000022
> /dev/input/event1: 0003 0036 000001d5
> /dev/input/event1: 0000 0000 00000000
> D/InputReader( 1174): BatchSize: 3 Count: 3
> D/InputReader( 1174): Input event: device=2 type=0x0003 scancode=0x0035
> keycode=0x0000 value=0x00000022 flags=0x00000000
> D/InputReader( 1174): MultiTouchMotionAccumulator::process
> D/InputReader( 1174): EVENT POSITION 34 0
> D/InputReader( 1174): Input event: device=2 type=0x0003 scancode=0x0036
> keycode=0x0000 value=0x000001d5 flags=0x00000000
> D/InputReader( 1174): MultiTouchMotionAccumulator::process
> D/InputReader( 1174): EVENT POSITION 34 469
> D/InputReader( 1174): Input event: device=2 type=0x0000 scancode=0x0000
> keycode=0x0000 value=0x00000000 flags=0x00000000
> D/InputReader( 1174): SYNC TOUCH EVENT
> D/InputReader( 1174): syncTouch: pointerCount 0 -> 0, touching ids
> 0x00000000 -> 0x00000000, hovering ids 0x00000000 -> 0x00000000
> D/InputReader( 1174): MultiTouchMotionAccumulator::process
> /dev/input/event1: 0003 0035 00000022
> /dev/input/event1: 0003 0036 000001d5
> /dev/input/event1: 0000 0000 00000000
> D/InputReader( 1174): BatchSize: 3 Count: 3
> D/InputReader( 1174): Input event: device=2 type=0x0003 scancode=0x0035
> keycode=0x0000 value=0x00000022 flags=0x00000000
> D/InputReader( 1174): MultiTouchMotionAccumulator::process
> D/InputReader( 1174): EVENT POSITION 34 0
> D/InputReader( 1174): Input event: device=2 type=0x0003 scancode=0x0036
> keycode=0x0000 value=0x000001d5 flags=0x00000000
> D/InputReader( 1174): MultiTouchMotionAccumulator::process
> D/InputReader( 1174): EVENT POSITION 34 469
> D/InputReader( 1174): Input event: device=2 type=0x0000 scancode=0x0000
> keycode=0x0000 value=0x00000000 flags=0x00000000
> D/InputReader( 1174): SYNC TOUCH EVENT
> D/InputReader( 1174): syncTouch: pointerCount 0 -> 0, touching ids
> 0x00000000 -> 0x00000000, hovering ids 0x00000000 -> 0x00000000
> D/InputReader( 1174): MultiTouchMotionAccumulator::process
> D/ ( 1174): TOUCH END
> D/ ( 1174): ADDING TO DOM EVENT FOR TOUCH END
> D/ ( 1174): DISPATCHING TO WINDOW
> D/InputReader( 1174): BatchSize: 3 Count: 3
> D/InputReader( 1174): Input event: device=2 type=0x0003 scancode=0x0035
> keycode=0x0000 value=0x00000022 flags=0x00000000
> D/InputReader( 1174): MultiTouchMotionAccumulator::process
> D/InputReader( 1174): EVENT POSITION 34 0
> D/InputReader( 1174): Input event: device=2 type=0x0003 scancode=0x0036
> keycode=0x0000 value=0x000001d5 flags=0x00000000
> D/InputReader( 1174): MultiTouchMotionAccumulator::process
> D/InputReader( 1174): EVENT POSITION 34 469
> D/InputReader( 1174): Input event: device=2 type=0x0000 scancode=0x0000
> keycode=0x0000 value=0x00000000 flags=0x00000000
> D/InputReader( 1174): SYNC TOUCH EVENT
> D/InputReader( 1174): syncTouch: pointerCount 0 -> 0, touching ids
> 0x00000000 -> 0x00000000, hovering ids 0x00000000 -> 0x00000000
> D/InputReader( 1174): MultiTouchMotionAccumulator::process
> D/InputReader( 1174): BatchSize: 2 Count: 2
> /dev/input/event1: 0003 0035 00000022
> /dev/input/event1: 0003 0036 000001d5
> /dev/input/event1: 0000 0000 00000000
> /dev/input/event1: 0000 0002 00000000
> /dev/input/event1: 0000 0000 00000000
> D/InputReader( 1174): Input event: device=2 type=0x0000 scancode=0x0002
> keycode=0x0000 value=0x00000000 flags=0x00000000
> D/InputReader( 1174): MultiTouchMotionAccumulator::process
> D/InputReader( 1174): Input event: device=2 type=0x0000 scancode=0x0000
> keycode=0x0000 value=0x00000000 flags=0x00000000
> D/InputReader( 1174): SYNC TOUCH EVENT
> D/InputReader( 1174): syncTouch: pointerCount 0 -> 0, touching ids
> 0x00000000 -> 0x00000000, hovering ids 0x00000000 -> 0x00000000
> D/InputReader( 1174): MultiTouchMotionAccumulator::process
> D/InputReader( 1174): Timeout expired, latency=0.696ms
> I/IdleService( 1174): Get idle time: time since reset 923 msec
> I/IdleService( 1174): Idle timer callback: current idle time 923 msec
> I/IdleService( 1174): next timeout 77 msec from now
> I/IdleService( 1174): SetTimerExpiryIfBefore: next timeout 77 msec from now
> I/IdleService( 1174): reset timer expiry to 87 msec from now
> I/IdleService( 1174): Get idle time: time since reset 1008 msec
> I/IdleService( 1174): Idle timer callback: current idle time 1008 msec
> I/IdleService( 1174): next timeout 298992 msec from now
> I/IdleService( 1174): SetTimerExpiryIfBefore: next timeout 298992 msec
> from now
> I/IdleService( 1174): reset timer expiry to 299002 msec from now
> I/IdleService( 1174): Idle timer callback: tell observer 4803d820 user is
> idle
> I/IdleService( 1174): Get idle time: time since reset 1008 msec
> E/uim-sysfs( 1421): uim: Inside main
>
>
>
>
>
>
>
>
>
>
>
>
>
> On Fri, May 10, 2013 at 2:00 PM, Wei Deng < [email protected] > wrote:
>
>
> just run commands "adb shell" and then "getevent", you will see a device
> name like "xxx-touchsceen",
> you can find the touchscreen config file /system/usr/idc/xxx-touchscreen,
>
> Check the config file, remove all of them but keeping one line
> touch.deviceType = touchScreen
>
> Hope it works.
>
>
>
> ----- Original Message -----
> From: "Viral Wang" < [email protected] >
> To: [email protected]
> Cc: [email protected]
> Sent: Friday, May 10, 2013 12:01:43 PM
> Subject: Re: [b2g] [Porting] Gaia doesn't recognize touches
>
> Hi,
>
> We found three different types event from touch panel in different
> projects:
>
> type 1: report ID,X,Y,width,pressure, but no finger leave event.
> type 2: report ID,X,Y, and finger leave event
> type 3: report ID,X,Y,width,pressure, and finger leave event.
>
> I'm guessing here's another type 1 case again.
> It will become finger always pressed and never leave.
>
> Shall you provide more specific information about Android 4.0.4 like r1 or
> r2?
> I think you should use the pure Android without any modification, is that
> right?
>
> Regards,
> viral
>
>
> ----- Original Message -----
> From: [email protected]
> To: [email protected]
> Sent: Thursday, May 9, 2013 6:15:31 PM
> Subject: Re: [b2g] [Porting] Gaia doesn't recognize touches
>
> On Thursday, February 21, 2013 4:25:39 AM UTC+5:30, Maxim Kouprianov wrote:
> > Hi all.
> >
> >
> >
> > I'm building my own port of B2G for a custom android tablet. I have a
> full set of sources (Android 4.0.4) and building goes well. The image which
> I made boots and displays welcome screen (FTU), even sound volume may be
> adjusted with hw keys (and also it's possible to bring down power menu with
> the power key).
> >
> >
> >
> > But I have one problem here - I can't click anything. Touchscreen is
> working and it's events is here, since I can wake up device by touching the
> screen (backlight dims if I don't).
> >
> >
> >
> > But how do I enable touch events in Gaia?
> >
> > Help appreciated :)
> >
> >
> >
> > --
> >
> > Regards,
> >
> > Maxim Kouprianov
>
> Maxim Kouprianov
> even i am facing the same problem, Did u solve the issue ? can u share the
> information regarding this
> _______________________________________________
> dev-b2g mailing list
> [email protected]
> https://lists.mozilla.org/listinfo/dev-b2g
> _______________________________________________
> dev-b2g mailing list
> [email protected]
> https://lists.mozilla.org/listinfo/dev-b2g
>
>
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to