Dear Peter:<br> I try the latest version later, thanks for all your reply. <img goomoji="360" style="margin: 0pt 0.2ex; vertical-align: middle;" src="cid:360@goomoji.gmail"><br><br>B.R<br>Leo<br><br><br><div class="gmail_quote">
2010/11/18 Peter Hutterer <span dir="ltr"><<a href="mailto:peter.hutterer@who-t.net">peter.hutterer@who-t.net</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">On Thu, Nov 18, 2010 at 10:40:45AM +0800, Leo wrote:<br>
> >> My evdev version is xf86-input-evdev-2.4.99.901.<br>
> I still feel puzzled:<br>
> 1. But why XEV can not get the right position?I test XEV in my ubuntu10.04,<br>
> I can see the mouse's position changing.<br>
> How does xserver's event flows? e.g: kernel->dev/input/eventX -->read and<br>
> analyzed by evdev-->WM-->app ???<br>
<br>
</div><a href="http://who-t.blogspot.com/2010/07/input-event-processing-in-x.html" target="_blank">http://who-t.blogspot.com/2010/07/input-event-processing-in-x.html</a><br>
<div class="im"><br>
<br>
> 2. I google the my question, they say if we support touchscreen, we'd<br>
> install tslib or evtouch,<br>
> I dont know what's relation between these component, Can evdev handle the<br>
> touch screen independently?<br>
> or it may depends on the other such as tslib or anything else...<br>
<br>
</div>evdev will handle touchscreens and as I said, I don't really see an unusual<br>
event stream. that indicates that there may be a bug in the driver, or at<br>
least in the version you're running there. Have you tried running the latest<br>
git version?<br>
<div class="im"><br>
> 3. I can not access your blog, I dont know the information below meas what?<br>
> Does it tell me, evdev has been removed, it can not work, or still handle<br>
> the input events?<br>
> > > > [ 59.855] (EE) ioctl EVIOCGNAME failed: Inappropriate ioctl for device<br>
> > > > [ 59.856] (II) UnloadModule: "evdev"<br>
> > > > [ 59.856] (EE) PreInit returned NULL for "ADS7846 Touchscreen" \<br>
><br>
> 4. can you paste your article, send to me? I try a lot , but still can not<br>
> access. I very appreciate what you did!<br>
<br>
</div>the blog essentially says that you can ignore this warning, it's a<br>
misconfiguration that has no real effect.<br>
<div><div></div><div class="h5"><br>
Cheers,<br>
Peter<br>
<br>
<br>
> 2010/11/18 Peter Hutterer <<a href="mailto:peter.hutterer@who-t.net">peter.hutterer@who-t.net</a>><br>
><br>
> > On Thu, Nov 18, 2010 at 09:28:47AM +0800, Leo wrote:<br>
> > > Dear Peter:<br>
> > > I attach my evtest&&xev log. it seems to work ok.<br>
> > > But there's something intersting, I just repeat operation on the<br>
> > different<br>
> > > place of touch screen.<br>
> > > Evtest can distinguish the position, you can have a look at the log, the<br>
> > ABS<br>
> > > coordinate keep changing,<br>
> > > While XEV I run on my device, this test seems not as what we want, it<br>
> > can<br>
> > > distinguish the BTN_PRESS && BTN_RELEASE or<br>
> > > motion, but the position never changed.<br>
> ><br>
> > what version of evdev are you running? have you tried git master and/or an<br>
> > older version of evdev? If it works, can you bisect to it, I don't see<br>
> > anything in the evtest stream that should make this device not work.<br>
> ><br>
> ><br>
><br>
> > I guess there's some place to transform the event as user want in Xorg.<br>
> > > evtest may read from the /dev/input/event3 directly, it's ok. But XEV<br>
> > Which<br>
> > > may depends on X11's transformation, so appears the different situation.<br>
> > ><br>
> > > Please give some hints, thanks [?]<br>
> > ><br>
> > > BTW: I can not open the LINK [?]<br>
> > ><br>
> > <a href="http://who-t.blogspot.com/2010/11/how-to-ignore-configuration-errors.html" target="_blank">http://who-t.blogspot.com/2010/11/how-to-ignore-configuration-errors.html</a><br>
> > > Is there any other website ?<br>
> ><br>
> > no, I just wrote this up today and it seems to work here.<br>
> ><br>
> > Cheers,<br>
> > Peter<br>
> ><br>
> > > 2010/11/18 Peter Hutterer <<a href="mailto:peter.hutterer@who-t.net">peter.hutterer@who-t.net</a>><br>
> > ><br>
> > > > On Wed, Nov 17, 2010 at 09:34:49AM +0800, Leo wrote:<br>
> > > > > I prepare to port Meego(Linux based) to my devkit8000, follow the<br>
> > porting<br>
> > > > > guide<br>
> > > > > <a href="http://wiki.meego.com/ARM/Meego_on_B...d_from_scratch" target="_blank">http://wiki.meego.com/ARM/Meego_on_B...d_from_scratch</a><<br>
> > > > <a href="http://wiki.meego.com/ARM/Meego_on_Beagleboard_from_scratch" target="_blank">http://wiki.meego.com/ARM/Meego_on_Beagleboard_from_scratch</a>><br>
> > > > > everything seems ok: show the home screen, launch the application,<br>
> > > > > But there's problem about touch screen. Meego can not recognize my<br>
> > > > behavior.<br>
> > > > > I'm not sure it's related with Xorg or driver. Here is my Xorg log:<br>
> > > > ><br>
> > > > > 59.837] (II) config/udev: Adding input device ADS7846 Touchscreen<br>
> > > > (/dev/i)<br>
> > > > > [ 59.837] (**) ADS7846 Touchscreen: Applying InputClass "default"<br>
> > > > > [ 59.841] (**) ADS7846 Touchscreen: Applying InputClass "evdev<br>
> > > > touchscreen "<br>
> > > > > [ 59.842] (**) ADS7846 Touchscreen: always reports core events<br>
> > > > > [ 59.842] (**) ADS7846 Touchscreen: Device: "/dev/input/event3"<br>
> > > > > [ 59.842] (--) ADS7846 Touchscreen: Found absolute axes<br>
> > > > > [ 59.842] (--) ADS7846 Touchscreen: Found x and y absolute axes<br>
> > > > > [ 59.842] (--) ADS7846 Touchscreen: Found absolute touchscreen<br>
> > > > > [ 59.843] (II) ADS7846 Touchscreen: Configuring as touchscreen<br>
> > > > > [ 59.843] (**) ADS7846 Touchscreen: YAxisMapping: buttons 4 and 5<br>
> > > > > [ 59.843] (**) ADS7846 Touchscreen: EmulateWheelButton: 4,<br>
> > > > EmulateWheelIner0<br>
> > > > > [ 59.845] (II) XINPUT: Adding extended input device "ADS7846<br>
> > Touchscreen"<br>
> > > > ()<br>
> > > > > [ 59.851] (II) ADS7846 Touchscreen: initialized for absolute axes.<br>
> > > > > [ 59.854] (II) config/udev: Adding input device ADS7846 Touchscreen<br>
> > > > (/dev/i)<br>
> > > > > [ 59.854] (**) ADS7846 Touchscreen: Applying InputClass "default"<br>
> > > > > [ 59.855] (**) ADS7846 Touchscreen: always reports core events<br>
> > > > > [ 59.855] (**) ADS7846 Touchscreen: Device: "/dev/input/mouse0"<br>
> > > > > [ 59.855] (EE) ioctl EVIOCGNAME failed: Inappropriate ioctl for<br>
> > device<br>
> > > > > [ 59.856] (II) UnloadModule: "evdev"<br>
> > > > > [ 59.856] (EE) PreInit returned NULL for "ADS7846 Touchscreen"<br>
> > > > > [ 60.102] (NI) OMAPFBSaveScreen: Dim backlight?<br>
> > > > ><br>
> > > > > who has the experience about these kind of problem, pls talk to me!<br>
> > > > > thanks very much<br>
> > > ><br>
> > > > does it work at all? do you see events come out of the device when you<br>
> > run<br>
> > > > evtest against it?<br>
> > > ><br>
> > > > as for the error message:<br>
> > > ><br>
> > <a href="http://who-t.blogspot.com/2010/11/how-to-ignore-configuration-errors.html" target="_blank">http://who-t.blogspot.com/2010/11/how-to-ignore-configuration-errors.html</a><br>
> > > ><br>
> > > > Cheers,<br>
> > > > Peter<br>
> > > ><br>
> ><br>
> ><br>
> ><br>
> ><br>
</div></div></blockquote></div><br>