个人工具
登录
查看“UbuntuHelp:EloTouchScreen”的源代码 - Ubuntu中文
UbuntuHelp
讨论
查看源代码
历史
搜索
导航
首页
最近更改
随机页面
页面分类
帮助
编辑
编辑指南
沙盒
新闻动态
字词处理
工具
链入页面
相关更改
特殊页面
页面信息
查看“UbuntuHelp:EloTouchScreen”的源代码
来自Ubuntu中文
←
UbuntuHelp:EloTouchScreen
跳转至:
导航
,
搜索
因为以下原因,你没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
{{From|https://help.ubuntu.com/community/EloTouchScreen}} {{Languages|UbuntuHelp:EloTouchScreen}} == ELO Touch-screen Driver Configuration == Ubuntu includes an Xorg xserver input driver in the package [http://packages.ubuntu.com/search?keywords=xserver-xorg-input-elographics&searchon=names&suite=all§ion=all xserver-xorg-input-elographics] for Dapper, Feisty, Gutsy, Hardy, Intrepid and Jaunty (for x86 and x86_64). This will work with many of the ELO touch-screen drivers, both serial and USB. E271-2210 and E271-2200 devices are supported. E281-2310 and compatible devices are supported with some features unavailable. === Installation === <pre><nowiki> sudo apt-get install xserver-xorg-input-elographics </nowiki></pre> '''Note:''' Version 1.1.0-3 has [https://bugs.edge.launchpad.net/ubuntu/+source/xserver-xorg-input-elographics/+bug/218671 a bug that is triggered when axis minimum and maximum values are inverted]. Until the package is updated a patched version (1.1.0-3ubuntu1) is [https://edge.launchpad.net/~intuitivenipple/+archive?field.name_filter=elographics&field.status_filter=published available from my PPA]. === Configuration === Edit '''`/etc/X11/xorg.conf`''' and add a new '''!InputDevice''' section similar to this one. This example comes from a screen test on a laptop that is configured so the external graphics device is on X screen 1 (note the '''screenNo''' option) rather than the default screen 0. <pre><nowiki> Section "InputDevice" Identifier "ELO Touchscreen" Driver "elographics" Option "Device" "/dev/ttyUSB0" Option "AlwaysCore" Option "screenNo" "1" Option "MinX" "4100" Option "MaxX" "0" Option "MinY" "0" Option "MaxY" "4100" Option "UntouchDelay" "5" Option "ReportDelay" "1" EndSection </nowiki></pre> '''Note:''' edit the '''Device''' value (/dev/ttyUSB0) to match the input device name the touch-screen input has. In this case, the device is a serial touch-screen connected via a serial-to-USB converter. You may have to invert the minimum and maximum X- and Y-scale values if the input values from the touch-screen are inverted. Use `man elographics" to see all the options and defaults. Add the input device to the '''!ServerLayout''' section so it looks similar to this: <pre><nowiki> Section "ServerLayout" Identifier "Default Layout" Screen 0 "Screen0" 0 768 Screen 1 "Screen1" Above "Screen0" InputDevice "Synaptics Touchpad" InputDevice "ELO Touchscreen" EndSection </nowiki></pre> Save the file and log-out to restart the X server. === Calibration === Manual calibration is required. It is a case of repeatedly changing the minimum and maximum X and Y axis values in xorg.conf, restarting and testing. An alternative is to build and then run [http://touchcal.sourceforge.net/ touchcal] from a non-X terminal to determine minimum and maximum values to use in xorg.conf. [[category:UbuntuHelp]]
该页面使用的模板:
模板:From
(
查看源代码
)
模板:Languages
(
查看源代码
)(受保护)
模板:Languages/Lang
(
查看源代码
)(受保护)
返回至
UbuntuHelp:EloTouchScreen
。