[Freedreno] HP-TouchPad , touchscreen driver

Andreas Färber afaerber at suse.de
Thu Nov 13 03:30:00 PST 2014


Vinay,

The touchpad is in fact I2C-connected on HP Chromebook 11 - that's an
Exynos5 based ARM netbook, not a regular notebook.

I noticed that openSUSE 13.2 ships the following default configuration:

Section "InputClass"
        Identifier "evdev pointer catchall"
        MatchIsPointer "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Section "InputClass"
        Identifier "evdev keyboard catchall"
        MatchIsKeyboard "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Section "InputClass"
        Identifier "evdev touchpad catchall"
        MatchIsTouchpad "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Section "InputClass"
        Identifier "evdev tablet catchall"
        MatchIsTablet "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Section "InputClass"
        Identifier "evdev touchscreen catchall"
        MatchIsTouchscreen "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Cheers,
Andreas

Am 13.11.2014 um 12:00 schrieb vinay simha:
> Andreas,
> 
> In hp chromebook the way touchscreen is added would be different, it
> will be either USB(hid) based touchscreen. In general laptops will have
> usb(hid) touchscreens. Default linux drivers and x11 supports that.
> 
> For mobiles it will be having mipi dsi(for display) interfaces and uses
> i2c/spi interface for touchscreen. Android have it's own framework to
> handle the touchscreens.
> 
> Regards,
> vinay simha
> 
> On Wed, Nov 12, 2014 at 9:18 PM, vinay simha
> <vinaysimha at inforcecomputing.com
> <mailto:vinaysimha at inforcecomputing.com>> wrote:
> 
>     added the respective driver of himax controller(based on i2c), to
>     link this with x11 added the 69-himaxtouch.conf
> 
>     root at linaro-gnome:~# more /usr/share/X11/xorg.conf.d/69-himaxtouch.conf
>     Section "InputClass"
>               Identifier  "himax-touchscreen"
>               Driver      "evdev"
>               #Driver      "himax8526a"
>               Option      "Type" "finger"
>               Option      "Device" "/dev/input/event1"
>               Option      "ScreenNo" "0"
>               Option      "MinimumXPosition" "0"
>               Option      "MaximumXPosition" "480"
>               Option      "MinimumYPosition" "0"
>               Option      "MaximumYPosition" "864"
>               Option      "Calibration" "0 480 0 864"
>     EndSection
> 
>     When i touch the screen(cursor doesnt move accordigly) dmesg logs
>     pmic8xxx_pwrkey: Attempted to start touch without x/y (driver bug)
> 
>     i do get responses to "cat /dev/input/event1"
>     cat /proc/bus/input/devices
> 
>     I: Bus=0000 Vendor=0000 Product=0000 Version=0000
>     N: Name="himax-touchscreen"
>     P: Phys=
>     S: Sysfs=/devices/virtual/input/input1
>     U: Uniq=
>     H: Handlers=event1 cpufreq 
>     B: PROP=2
>     B: EV=b
>     B: KEY=400 0 0 0 0 0 0 0 0 0 0
>     B: ABS=2650000 10000000
> 
> 
>     Regards,
>     vinay simha
> 
>     On Wed, Nov 12, 2014 at 8:41 PM, Rob Clark <robdclark at gmail.com
>     <mailto:robdclark at gmail.com>> wrote:
> 
>         I don't really remember myself, but maybe someone else does. 
>         But IIRC
>         the touchpad had some goofy userspace driver.
> 
>         I'm not an input expert, but I think if the touchscreen driver used
>         normal kernel evdev stuff, x11 should automatically detect it.  At
>         least on desktop/x86 that stuff should be plug-and-play.
> 
>         BR,
>         -R
> 
>         On Wed, Nov 12, 2014 at 4:32 AM, vinay simha
>         <vinaysimha at inforcecomputing.com
>         <mailto:vinaysimha at inforcecomputing.com>> wrote:
>         > HI,
>         >
>         > What is the .conf used for touchscreen driver  for hp-touchpad ,
>         > usr/share/X11/xorg.conf.d/
>         >
>         > Is there any separate .conf used in /etc/X11/xorg.conf.d/ for
>         hp-touchpad
>         >
>         > Regards,
>         > vinay simha
>         >
>         > _______________________________________________
>         > Freedreno mailing list
>         > Freedreno at lists.freedesktop.org
>         <mailto:Freedreno at lists.freedesktop.org>
>         > http://lists.freedesktop.org/mailman/listinfo/freedreno
>         >
> 
> 
> 


-- 
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 21284 AG Nürnberg


More information about the Freedreno mailing list