Subject: Re: Egalax 0EEF:0001 types Also, make sure you de-select the FAYTECH setting in config On Feb 21, 12:26 pm, William Esser <markesser...@xxxxxxxxx> wrote: > in the file usbtouchscreen.c (kernel/dirvers/input/touchscreen) > you will find > #ifdef CONFIG_TOUCHSCREEN_USB_EGALAX > /* ignore the HID capable devices, handled by usbhid */ > {USB_DEVICE_HID_CLASS(0x0eef, 0x0001), .driver_info = > DEVTYPE_IGNORE}, > {USB_DEVICE_HID_CLASS(0x0eef, 0x0002), .driver_info = > DEVTYPE_IGNORE}, > > /* normal device IDs */ > {USB_DEVICE(0x3823, 0x0001), .driver_info = DEVTYPE_EGALAX}, > {USB_DEVICE(0x3823, 0x0002), .driver_info = DEVTYPE_EGALAX}, > {USB_DEVICE(0x0123, 0x0001), .driver_info = DEVTYPE_EGALAX}, > {USB_DEVICE(0x0eef, 0x0001), .driver_info = DEVTYPE_EGALAX}, > {USB_DEVICE(0x0eef, 0x0002), .driver_info = DEVTYPE_EGALAX}, > {USB_DEVICE(0x1234, 0x0001), .driver_info = DEVTYPE_EGALAX}, > {USB_DEVICE(0x1234, 0x0002), .driver_info = DEVTYPE_EGALAX}, > #endif > > change to > > #ifdef CONFIG_TOUCHSCREEN_USB_EGALAX > /* ignore the HID capable devices, handled by usbhid */ > {USB_DEVICE_HID_CLASS(0x0eef, 0x0001), .driver_info = > DEVTYPE_EGALAX}, > {USB_DEVICE_HID_CLASS(0x0eef, 0x0002), .driver_info = > DEVTYPE_EGALAX}, > > /* normal device IDs */ > {USB_DEVICE(0x3823, 0x0001), .driver_info = DEVTYPE_EGALAX}, > {USB_DEVICE(0x3823, 0x0002), .driver_info = DEVTYPE_EGALAX}, > {USB_DEVICE(0x0123, 0x0001), .driver_info = DEVTYPE_EGALAX}, > {USB_DEVICE(0x0eef, 0x0001), .driver_info = DEVTYPE_EGALAX}, > {USB_DEVICE(0x0eef, 0x0002), .driver_info = DEVTYPE_EGALAX}, > {USB_DEVICE(0x1234, 0x0001), .driver_info = DEVTYPE_EGALAX}, > {USB_DEVICE(0x1234, 0x0002), .driver_info = DEVTYPE_EGALAX}, > #endif > > and give it a try. > > On Feb 21, 2:51 am, Joseph Hayhoe <fnj00m...@xxxxxxxxx> wrote: > > > > > > > > > Did you ever figure anything about the 200+ version of 0eef:0001 panels? > > On Feb 14, 2012 10:17 AM, "William Esser" <markesser...@xxxxxxxxx> wrote: > > > > Here is a good ex. on the difference between a eGalax 0eef:0001 > > > version 100 and other 0eef:0001 devices > > > >http://openelec.tv/forum/19-feature-suggestions/2248-re-add-touchscre... > > > > On Feb 3, 9:46 am, William Esser <markesser...@xxxxxxxxx> wrote: > > > > I have submitted in the issues tracking system issue 670. in that > > > > issue is attached my patch file!!!! > > > > > On Feb 2, 10:53 am, William Esser <markesser...@xxxxxxxxx> wrote: > > > > > > I hope that we can get this integrated into ICS. > > > > > > Now that I have my GMA3150 resolution problem solved and my touch > > > > > screen working. > > > > > On to more items. > > > > > > On Jan 31, 2:40 pm, Bryan Hundven <bryanhund...@xxxxxxxxx> wrote: > > > > > > > On Tue, Jan 31, 2012 at 2:35 PM, William Esser < > > > markesser...@xxxxxxxxx> wrote: > > > > > > > I have the patch done > > > > > > > Cool. I've emailed Yi and Chih my new tslib repository. > > > > > > It can be found here: > > >http://bryanhundven.com/git/android-x86/tslib.git/log/?h=gingerbread-x86 > > > > > > > Granted my branch is gingerbread-x86, it can be used for HC and ICS. > > > > > > It just needs the right tags. > > > > > > I think it is also missing some newer changes for multitouch support > > > > > > that Chih did, so I think he needs to add that after he clones my > > > > > > tree. > > > > > > > Would you be able to rebase your patch on this new repository > > > instead? > > > > > > That way we can easily port your changes forward when newer versions > > > > > > of tslib release. > > > > > > > > On Jan 23, 9:54 am, Yi Sun <beyo...@xxxxxxxxx> wrote: > > > > > > >> Thanks William, > > > > > > >> Do you mind to generate a git patch by git format-patch? I will > > > try to > > > > > > >> push it into repo if Chih-wei did not come back from vacation yet > > > by then. > > > > > > > >> Yi > > > > > > > >> On 01/23/2012 06:43 AM, William Esser wrote: > > > > > > > >> > There are 2eGalaxtouchscreen controllers with the def of > > > 0eef:0001 > > > > > > > >> > 1. The first and oldest (still in production) is a resistive > > > touch > > > > > > >> > controller and can be found in almost all the Automotive touch > > > screen > > > > > > >> > monitors. Best example is theFayTechmonitor line. According to > > > > > > >> >Faytechthere are over 30,000 units in the supply chain, with > > > another > > > > > > >> > 20,000 slated for May. There are also a number of other touch > > > screen > > > > > > >> > monitors that use this chip. This is based on theeGalax4000 > > > series > > > > > > >> > and uses the development reference manual 1.1 > > > > > > > >> > 2. The second is a development chip only using 0eef:0001 and is > > > based > > > > > > >> > on the development reference manual 2.0. There are less than > > > 200 of > > > > > > >> > these in the market. They are not for production only for > > > development. > > > > > > >> > Once developed a new ID is assigned (example is the DELL touch > > > screen > > > > > > >> > 0eef:a001) > > > > > > > >> > I have patched the USBTOUCHSCREEN section to allow the use of > > > the 0eef: > > > > > > >> > 0001 resistive controller. > > > > > > >> > I have submitted this in the Bug section, but it never get into > > > the > > > > > > >> > build, so I am posting it here. It works for the Gingerbread, > > > > > > >> > Honeycomb and the ICS builds. > > > > > > > >> > project kernel/ > > > > > > >> > diff --git a/drivers/input/touchscreen/Kconfig b/drivers/input/ > > > > > > >> > touchscreen/Kconfig > > > > > > >> > index 4104103..b9dc2cf 100644 > > > > > > >> > --- a/drivers/input/touchscreen/Kconfig > > > > > > >> > +++ b/drivers/input/touchscreen/Kconfig > > > > > > >> > @@ -536,6 +536,7 @@ config TOUCHSCREEN_USB_COMPOSITE > > > > > > >> > help > > > > > > >> > USB Touchscreen driver for: > > > > > > >> > -eGalaxTouchkit USB (also includes eTurboTouch > > > > > > >> > CT-410/510/700) > > > > > > >> > + -FaytechTouchscreen Automotive Monitor (includes 7, 9 > > > and > > > > > > >> > 10 inch units) > > > > > > >> > - PanJit TouchSet USB > > > > > > >> > - 3M MicroTouch USB (EX II series) > > > > > > >> > - ITM > > > > > > >> > @@ -567,10 +568,20 @@ config TOUCHSCREEN_MC13783 > > > > > > >> > module will be called mc13783_ts. > > > > > > > >> > config TOUCHSCREEN_USB_EGALAX > > > > > > >> > - default y > > > > > > >> > + default n > > > > > > >> > bool "eGalax, eTurboTouch CT-410/510/700 device > > > support" if > > > > > > >> > EXPERT > > > > > > >> > depends on TOUCHSCREEN_USB_COMPOSITE > > > > > > > >> > +config TOUCHSCREEN_USB_EGALAX_REVERSE > > > > > > >> > + default n > > > > > > >> > + depends on TOUCHSCREEN_USB_EGALAX > > > > > > >> > + bool "eGalaxSpecial reverse MSB / LSB Packet" if EXPERT > > > > > > >> > + depends on TOUCHSCREEN_USB_EGALAX > > > > > > >> > + help > > > > > > >> > + Special reversed MSB / LSB packet and Reversed X / Y > > > > > > >> > + When selected it will disable 0xeef:0001 from the HID > > > system > > > > > > >> > + -FaytechTouch screen monitor FT0100TM, FT0070TM > > > > > > >> > + > > > > > > >> > config TOUCHSCREEN_USB_PANJIT > > > > > > >> > default y > > > > > > >> > bool "PanJit device support" if EXPERT > > > > > > >> > diff --git a/drivers/input/touchscreen/usbtouchscreen.c > > > b/drivers/ > > > > > > >> > input/touchscreen/usbtouchscreen.c > > > > > > >> > index 73fd664..b417a97 100644 > > > > > > >> > --- a/drivers/input/touchscreen/usbtouchscreen.c > > > > > > >> > +++ b/drivers/input/touchscreen/usbtouchscreen.c > > > > > > >> > @@ -123,6 +123,7 @@ struct usbtouch_usb { > > > > > > >> > enum { > > > > > > >> > DEVTYPE_IGNORE = -1, > > > > > > >> > DEVTYPE_EGALAX, > > > > > > >> > + DEVTYPE_EGALAX2, > > > > > > >> > DEVTYPE_PANJIT, > > > > > > >> > DEVTYPE_3M, > > > > > > >> > DEVTYPE_ITM, > > > > > > >> > @@ -150,6 +151,14 @@ enum { > > > > > > >> > .bInterfaceProtocol = USB_INTERFACE_PROTOCOL_MOUSE > > > > > > > >> > static const struct usb_device_id usbtouch_devices[] = { > > > > > > >> > + > > > > > > >> > +#ifdef CONFIG_TOUCHSCREEN_USB_EGALAX_REVERSE > > > > > > >> > + {USB_DEVICE_HID_CLASS(0x0eef, 0x0001), .driver_info = > > > > > > >> > DEVTYPE_EGALAX2}, > > > > > > >> > + {USB_DEVICE_HID_CLASS(0x0eef, 0x0002), .driver_info = > > > > > > >> > DEVTYPE_EGALAX2}, > > > > > > >> > + {USB_DEVICE(0x0eef, 0x0001), .driver_info = > > > DEVTYPE_EGALAX2}, > > > > > > >> > + {USB_DEVICE(0x0eef, 0x0002), .driver_info = > > > DEVTYPE_EGALAX2}, > > > > > > >> > +#endif > > > > > > >> > + > > > > > > >> > #ifdef CONFIG_TOUCHSCREEN_USB_EGALAX > > > > > > >> > /* ignore the HID capable devices, handled by usbhid > > > > > > >> > */ > > > > > > >> > {USB_DEVICE_HID_CLASS(0x0eef, 0x0001), .driver_info = > > > > > > >> > DEVTYPE_IGNORE}, > > > > > > >> > @@ -276,6 +285,51 @@ static int e2i_read_data(struct > > > usbtouch_usb > > > > > > >> > *dev, unsigned char *pkt) > > > > > > >> > } > > > > > > >> > #endif > > > > > > > >> > +/ > > > > ***************************************************************************** > > > > > > >> > + *FaytechMonitor part > > > > > > >> > + */ > > > > > > >> > + > > > > > > >> > +#ifdef CONFIG_TOUCHSCREEN_USB_EGALAX_REVERSE > > > > > > >> > + > > > > > > >> > +#ifndef MULTI_PACKET > > > > > > >> > +#define MULTI_PACKET > > > > > > >> > +#endif > > > > > > >> > + > > > > > > >> > +#define EGALAX2_PKT_TYPE_MASK 0xFE > > > > > > >> > +#define EGALAX2_PKT_TYPE_REPT 0x80 > > > > > > >> > +#define EGALAX2_PKT_TYPE_DIAG 0x0A > > > > > > >> > + > > > > > > >> > +int x0, x1, x2, x3, x4, x5 = 0; > > > > > > >> > + > > > > > > >> > +static int egalax2_read_data(struct usbtouch_usb *dev, > > > unsigned char > > > > > > >> > *pkt) > > > > > > >> > +{ > > > > > > >> > + if ((pkt[0]& EGALAX2_PKT_TYPE_MASK) != > > > EGALAX2_PKT_TYPE_REPT) > > > > > > >> > + > > ... > > read more » -- You received this message because you are subscribed to the Google Groups "Android-x86" group. To post to this group, send email to android-x86@xxxxxxxxxxxxxxxxx To unsubscribe from this group, send email to android-x86+unsubscribe@xxxxxxxxxxxxxxxxx For more options, visit this group at http://groups.google.com/group/android-x86?hl=en. |