From owner-freebsd-bugs@FreeBSD.ORG Wed Oct 16 20:00:00 2013 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id E3FBABE for ; Wed, 16 Oct 2013 20:00:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C1D2326FF for ; Wed, 16 Oct 2013 20:00:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r9GK00wD085053 for ; Wed, 16 Oct 2013 20:00:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r9GK00bx085048; Wed, 16 Oct 2013 20:00:00 GMT (envelope-from gnats) Resent-Date: Wed, 16 Oct 2013 20:00:00 GMT Resent-Message-Id: <201310162000.r9GK00bx085048@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Ian Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id BCDFCE03 for ; Wed, 16 Oct 2013 19:54:23 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9C1B026BF for ; Wed, 16 Oct 2013 19:54:23 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r9GJsN3m047552 for ; Wed, 16 Oct 2013 19:54:23 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r9GJsNLT047546; Wed, 16 Oct 2013 19:54:23 GMT (envelope-from nobody) Message-Id: <201310161954.r9GJsNLT047546@oldred.freebsd.org> Date: Wed, 16 Oct 2013 19:54:23 GMT From: Ian To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: kern/183032: uep driver not working with eGalax touchcontroller X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Oct 2013 20:00:01 -0000 >Number: 183032 >Category: kern >Synopsis: uep driver not working with eGalax touchcontroller >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Oct 16 20:00:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Ian >Release: 9.2-RELEASE >Organization: >Environment: FreeBSD tsconsole.local 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898: Fri Sep 27 03:52:52 UTC 2013 root@bake.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC i386 >Description: eGalax Touchscreens don't appear to be working with FreeBSD 9.2. This has been an ongoing problem, I think, since the 8.x branch. Please refer to these links for existing similar reports: http://149.20.54.209/showthread.php?p=158199 http://forums.freebsd.org/archive/index.php/t-28521.html Major Points: - uep finds the touchscreen and assigns it to /dev/uep0 - uep0 does not offer any data when the touchscreen events happen - I have made the appropriate changes to xorg.conf (attached as xorg.txt) - The touchscreen does not function in Xorg; no cursor movement ever happens. - The touchscreen is known to work under Windows XP Embedded and Linux (via the evtouch driver) Lines from dmesg that are important: > dmesg | grep -iE 'ums|uhid|uep|galax' ugen3.2: at usbus3 uep0: on usbus3 usbconfig output for the touchscreen: > usbconfig -u 3 -a 2 dump_device_desc ugen3.2: at usbus3, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (100mA) bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0110 bDeviceClass = 0x0000 bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0000 bMaxPacketSize0 = 0x0040 idVendor = 0x0eef idProduct = 0x0001 bcdDevice = 0x0100 iManufacturer = 0x0001 iProduct = 0x0002 iSerialNumber = 0x0000 bNumConfigurations = 0x0001 Please let me know if any more information could be helpful. Thank you. >How-To-Repeat: Attempt to use an eGalax touchscreen with FreeBSD 9.x using the uep driver >Fix: Patch attached with submission follows: Section "ServerLayout" Identifier "X.org Configured" Screen 0 "Screen0" 0 0 Option "DontZap" "on" InputDevice "Touch0" "SendCoreEvents" EndSection Section "Files" ModulePath "/usr/local/lib/xorg/modules" FontPath "/usr/local/lib/X11/fonts/misc/" FontPath "/usr/local/lib/X11/fonts/TTF/" FontPath "/usr/local/lib/X11/fonts/OTF" FontPath "/usr/local/lib/X11/fonts/Type1/" FontPath "/usr/local/lib/X11/fonts/100dpi/" FontPath "/usr/local/lib/X11/fonts/75dpi/" EndSection Section "Module" Load "dbe" Load "dri" Load "dri2" Load "extmod" Load "record" Load "glx" EndSection Section "InputDevice" Identifier "Touch0" Driver "egalax" Option "Protocol" "auto" Option "Device" "/dev/uep0" EndSection Section "Monitor" Identifier "Monitor0" VendorName "Monitor Vendor" ModelName "Monitor Model" EndSection Section "Device" Identifier "Card0" Driver "intel" VendorName "Intel Corporation" BoardName "Mobile 945GSE Express Integrated Graphics Controller" BusID "PCI:0:2:0" EndSection Section "Screen" Identifier "Screen0" Device "Card0" Monitor "Monitor0" DefaultDepth 24 SubSection "Display" Viewport 0 0 Depth 24 EndSubSection EndSection >Release-Note: >Audit-Trail: >Unformatted: