請先看『使用說明』
Touch Panel:PenMount 6000/9000
From LEXWiKi
(→Driver Support) |
|||
Line 1: | Line 1: | ||
- | [[Category:AllowPages]] | ||
[[Category:Module]] | [[Category:Module]] | ||
- | == Driver Support == | ||
<!--box uid=f777871962f1c0432784d4e0e73802b8.231.K484f9ae87e9f8--> | <!--box uid=f777871962f1c0432784d4e0e73802b8.231.K484f9ae87e9f8--> | ||
<!-- | <!-- | ||
Line 53: | Line 51: | ||
<center>[ftp://ftp.lex.com.tw//Engineer/SoftSupport/Driver/Module/TouchScreen/Linux/DMC9000/DMC9000_Fedora_core4_Driver_V1.0.zip Download]</center> | <center>[ftp://ftp.lex.com.tw//Engineer/SoftSupport/Driver/Module/TouchScreen/Linux/DMC9000/DMC9000_Fedora_core4_Driver_V1.0.zip Download]</center> | ||
| | | | ||
- | <center>[ftp://ftp.lex.com.tw//Engineer/SoftSupport/Driver/Module/TouchScreen/Linux/DMC6000/6000_USB_Fedora_Core_4_Driver_V1.0.rar Download]</center> | + | <center>[ftp://ftp.lex.com.tw//Engineer/SoftSupport/Driver/Module/TouchScreen/Linux/DMC6000/Fedora/6000_USB_Fedora_Core_4_Driver_V1.0.rar Download]</center> |
|- | |- | ||
| | | | ||
Line 60: | Line 58: | ||
<center>[ftp://ftp.lex.com.tw//Engineer/SoftSupport/Driver/Module/TouchScreen/Linux/DMC9000/DMC9000_Fedora_core5_Driver_V1.1.zip Download]</center> | <center>[ftp://ftp.lex.com.tw//Engineer/SoftSupport/Driver/Module/TouchScreen/Linux/DMC9000/DMC9000_Fedora_core5_Driver_V1.1.zip Download]</center> | ||
| | | | ||
- | <center>[ftp://ftp.lex.com.tw//Engineer/SoftSupport/Driver/Module/TouchScreen/Linux/DMC6000/6000_USB_Fedora_Core_5_Driver_V1.0.rar Download]</center> | + | <center>[ftp://ftp.lex.com.tw//Engineer/SoftSupport/Driver/Module/TouchScreen/Linux/DMC6000/Fedora/6000_USB_Fedora_Core_5_Driver_V1.0.rar Download]</center> |
|- | |- | ||
| | | | ||
Line 67: | Line 65: | ||
| | | | ||
- | <center>[ftp://ftp.lex.com.tw//Engineer/SoftSupport/Driver/Module/TouchScreen/Linux/DMC6000/6000_USB_Fedora_Core_6_Driver_V1.0.zip Download]</center> | + | <center>[ftp://ftp.lex.com.tw//Engineer/SoftSupport/Driver/Module/TouchScreen/Linux/DMC6000/Fedora/6000_USB_Fedora_Core_6_Driver_V1.0.zip Download]</center> |
|- | |- | ||
| | | | ||
- | + | Fedora Core 9 | |
| | | | ||
- | <center>[ftp://ftp.lex.com.tw | + | <center>[ftp://ftp.lex.com.tw/Engineer/SoftSupport/Driver\Module/TouchScreen/Linux/DMC6000/Fedora/PenMount_Fedora9_Driver_RS232.tar.gz Download] </center> |
| | | | ||
+ | <center>[ftp://ftp.lex.com.tw/Engineer/SoftSupport/Driver\Module/TouchScreen/Linux/DMC6000/Fedora/PenMount_Fedora9_Driver_USB.tar.gz Download] </center> | ||
+ | |- | ||
+ | | | ||
+ | Fedora Core 10 | ||
+ | | | ||
+ | <center>[ftp://ftp.lex.com.tw/Engineer/SoftSupport/Driver\Module/TouchScreen/Linux/DMC6000/Fedora/PenMount_Fedora10_Driver_RS232.tar.gz Download]</center> | ||
+ | | | ||
+ | <center>[ftp://ftp.lex.com.tw/Engineer/SoftSupport/Driver\Module/TouchScreen/Linux/DMC6000/Fedora/PenMount_Fedora10_Driver_USB.tar.gz Download]</center> | ||
|- | |- | ||
| | | | ||
Line 80: | Line 86: | ||
<center>[ftp://ftp.lex.com.tw//Engineer/SoftSupport/Driver/Module/TouchScreen/Linux/DMC9000/PenMount_Ubuntu_Driver_V2.0.zip Download]</center> | <center>[ftp://ftp.lex.com.tw//Engineer/SoftSupport/Driver/Module/TouchScreen/Linux/DMC9000/PenMount_Ubuntu_Driver_V2.0.zip Download]</center> | ||
| | | | ||
- | <center>[ftp://ftp.lex.com.tw//Engineer/SoftSupport/Driver/Module/TouchScreen/Linux/DMC6000/PenMount_Ubuntu_7.10_Driver_V2.0.1.tar Download]</center> | + | <center>[ftp://ftp.lex.com.tw//Engineer/SoftSupport/Driver/Module/TouchScreen/Linux/DMC6000/Ubuntu/PenMount_Ubuntu_7.10_Driver_V2.0.1.tar Download]</center> |
|- | |- | ||
| | | | ||
Ubuntu 8.04 | Ubuntu 8.04 | ||
| | | | ||
- | + | ||
| | | | ||
- | <center>[ftp://ftp.lex.com.tw/Engineer/SoftSupport/Driver/Module/TouchScreen/Linux/DMC6000/PenMount_Ubuntu8.04_V2.2.4.tar.gz Download]</center> | + | <center>[ftp://ftp.lex.com.tw//Engineer/SoftSupport/Driver/Module/TouchScreen/Linux/DMC6000/Ubuntu/PenMount_Ubuntu8.04_V2.2.4.tar.gz Download]</center> |
+ | |- | ||
+ | | | ||
+ | Ubuntu 8.10 | ||
+ | | | ||
+ | <center> [ftp://ftp.lex.com.tw/Engineer/SoftSupport/Driver/Module/TouchScreen/Linux/DMC6000/Ubuntu/PenMount_Ubuntu8.10_Driver_RS232.tar.gz Download] </center> | ||
+ | | | ||
+ | <center> [ftp://ftp.lex.com.tw/Engineer/SoftSupport/Driver/Module/TouchScreen/Linux/DMC6000/Ubuntu/PenMount_Ubuntu8.10_Driver_USB.tar.gz Download] </center> | ||
+ | |- | ||
+ | | | ||
+ | Debian 4.0 | ||
+ | | | ||
+ | <center>[ftp://ftp.lex.com.tw/Engineer/SoftSupport/Driver/Module/TouchScreen/Linux/DMC6000/PenMount_Debian_4.0R1_driver_v2.1.tar Download]</center> | ||
+ | | | ||
+ | <center>[ftp://ftp.lex.com.tw/Engineer/SoftSupport/Driver/Module/TouchScreen/Linux/DMC6000/PenMount_Debian_4.0R1_driver_v2.1.tar Download]</center> | ||
+ | |- | ||
+ | | | ||
+ | Red Hat 9.0 | ||
+ | | | ||
+ | <center>[ftp://ftp.lex.com.tw//Engineer/SoftSupport/Driver/Module/TouchScreen/Linux/DMC9000/DMC9000_redhat_9.0_Driver_V1.0.zip Download]</center> | ||
+ | | | ||
+ | |||
|-class='sortbottom' | |-class='sortbottom' | ||
Line 94: | Line 121: | ||
<!--box uid=f777871962f1c0432784d4e0e73802b8.231.K484f9ae87e9f8--> | <!--box uid=f777871962f1c0432784d4e0e73802b8.231.K484f9ae87e9f8--> | ||
- | + | [[Category:AllowPages]] | |
=== Touch Panel Driver 該如何去區別, 使用? === | === Touch Panel Driver 該如何去區別, 使用? === | ||
{| | {| | ||
Line 156: | Line 183: | ||
!bgColor = #F3F3F3 align="left"| | !bgColor = #F3F3F3 align="left"| | ||
Denny 10/12/06 | Denny 10/12/06 | ||
- | |- | ||
- | |} | ||
- | == FAQ for RS-232 == | ||
- | == FAQ for USB == | ||
- | === How can I using touch panel in linux ? === | ||
- | {| | ||
- | !bgcolor = #ccccff width="50" align="center"|Ans: | ||
- | !bgcolor = #F3F3F3 width="100%" align="left"| | ||
- | plug in the PenMount USB controller in advance, then issuing more /proc/bus/input/devices should list something similiar to the following: | ||
- | <pre> | ||
- | T: Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=1.5 MxCh= 0 | ||
- | D: Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 | ||
- | P: Vendor=14e1 ProdID=5000 Rev=a5.b5 | ||
- | S: Manufacturer=Dialogue Inc | ||
- | S: Product=PenMount USB | ||
- | C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr= 50mA | ||
- | I: If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=02 Driver=penmountusb | ||
- | E: Ad=81(I) Atr=03(Int.) MxPS= 5 Ivl=10ms | ||
- | |||
- | * More /proc/bus/input/devices gives you | ||
- | |||
- | I: Bus=0003 Vendor=14e1 Product=5000 Version=a5b5 | ||
- | N: Name="Dialogue Inc PenMount USB" | ||
- | P: Phys=usb-0000:00:1d.0-1/input0 | ||
- | H: Handlers=event2 js0 # please record the event number of "Handlers" | ||
- | B: EV=b | ||
- | B: KEY=10000 0 0 0 0 0 0 0 0 | ||
- | B: ABS=3 | ||
- | </pre> | ||
- | |||
- | Xorg Driver Module installation procedures: | ||
- | |||
- | 1. copy penmount driver "penmount_drv.o" to "/usr/X11R6/lib/modules/input". | ||
- | # #cp Driver/penmount_drv.o /usr/X11R6/lib/modules/input | ||
- | 2. Edit X window configuration file to load driver. | ||
- | *vi /etc/X11/xorg.conf | ||
- | *In the Section "ServerLayout", add a statement : | ||
- | <pre> | ||
- | InputDevice "Penmount" "AlwaysCore" | ||
- | </pre> | ||
- | *Add a Section "InputDevice" : | ||
- | <pre> | ||
- | Section "InputDevice" | ||
- | Identifier "PenMount" | ||
- | Driver "penmount" | ||
- | Option "Protocol" "Auto" | ||
- | Option "Device" "/dev/input/event2" # this event number must be the same with "Handlers" | ||
- | Option "PMode" "1" | ||
- | Option "MinX" "10" | ||
- | Option "MaxX" "1000" | ||
- | Option "MinY" "10" | ||
- | Option "MaxY" "1000" | ||
- | Option "Beep" "1" # 0 = no beep, 1 = beep enabled | ||
- | Option "PressVol" "100" # volume of beep (press event) | ||
- | Option "PressPitch" "880" # pitch of beep (press event) | ||
- | Option "PressDur" "15" # length of beep in 10ms (press event) | ||
- | Option "ReleaseVol" "0" # volume of beep (release event) | ||
- | Option "ReleasePitch" "1200" # pitch of beep (release event) | ||
- | Option "ReleaseDur" "10" # length of beep in 10ms (release event) | ||
- | EndSection | ||
- | </pre> | ||
- | |||
- | Utilities Installation procedures: | ||
- | #Copy the file under utitliy/ into the "/usr/local/pencal" directory. | ||
- | <pre> | ||
- | # mkdir /usr/local/pencal | ||
- | # cp * /usr/local/pencal | ||
- | </pre> | ||
- | #Input "startx" to start X window. | ||
- | #Issue one of the following commands to calibrate your touch screen: | ||
- | <pre> | ||
- | # cd /usr/local/pencal | ||
- | # ./adv-calib [4|9|16] | ||
- | ./adv-calib 4 (=calibration 4 point) | ||
- | ./adv-calib 9 (=calibration 9 point) | ||
- | ./adv-calib 16 (=calibration 16 point) | ||
- | </pre> | ||
- | |- | ||
- | !bgcolor = #ccccff |Patch File: | ||
- | !bgcolor = #F3F3F3 align="left"| | ||
- | *[ftp://ftp.lex.com.tw/Engineer/SoftSupport/Driver/Module/TouchScreen/Linux/DMC6000/6000%20USB%20Fedora%20Core%204%20Driver%20V1.0.rar Fedora core 4] | ||
- | *[ftp://ftp.lex.com.tw/Engineer/SoftSupport/Driver/Module/TouchScreen/Linux/DMC6000/6000%20USB%20Fedora%20Core%205%20Driver%20V1.0.rar Fedora core 5] | ||
- | *[ftp://ftp.lex.com.tw/Engineer/SoftSupport/Driver/Module/TouchScreen/Linux/DMC6000/6000%20USB%20Fedora%20Core%206%20Driver%20V1.0.zip Fedora core 6] | ||
- | *[ftp://ftp.lex.com.tw/Engineer/SoftSupport/Driver/Module/TouchScreen/Linux/DMC6000/PenMount_Ubuntu_Driver_V2.0.zip Ubuntu 6.06/6.10/7.04] | ||
- | *[ftp://ftp.lex.com.tw/Engineer/SoftSupport/Driver/Module/TouchScreen/Linux/DMC6000/PenMount_Ubuntu_7.10_Driver_V2.0.1.tar Ubuntu 7.10] | ||
- | |- | ||
- | !bgcolor = #ccccff |Defect: | ||
- | !bgcolor = #F3F3F3 align="left"| | ||
- | N/A | ||
- | |- | ||
- | !bgcolor = #ccccff |Asker: | ||
- | !bgColor = #F3F3F3 align="left"| | ||
- | Robert, April 07, 2008 | ||
- | |- | ||
- | !bgcolor = #ccccff |Provider: | ||
- | !bgColor = #F3F3F3 align="left"| | ||
- | Denny, April 07, 2008 | ||
|- | |- | ||
|} | |} |
Revision as of 15:19, 6 March 2009
O.S | RS232 Driver | USB Driver |
---|---|---|
Windows 98, ME, 2000 |
|
|
Windows XP, Vista |
|
|
Windows CE 4.2 |
|
|
Windows CE 5.0 |
|
|
Fedora Core 3 |
| |
Fedora Core 4 |
|
|
Fedora Core 5 |
|
|
Fedora Core 6 |
| |
Fedora Core 9 |
|
|
Fedora Core 10 |
|
|
Ubuntu 7.10 |
|
|
Ubuntu 8.04 |
| |
Ubuntu 8.10 |
|
|
Debian 4.0 |
|
|
Red Hat 9.0 |
|
Touch Panel Driver 該如何去區別, 使用?
Ans: |
Touch Panel Driver 可以從 1. OS 2. Chipset 來做判斷
視乎其 Xorg 版本, 由於 Touch panel 由本質上來看可以當作是一個滑鼠, 所以對 Kernel version 來說,沒有太多關係.但是原廠(PenMount)為了 end-user 可能不是每個人都那麼了解 xorg 所以出了各個distribution的Driver像是 Fedora 2,3,4,5 之類的, 但其實他們之間的 xorg 版本都沒什麼差異 Chipset 目前我們所使用的 chipset 分為兩種: 1. dmc9000(RS232) 2. dmc6000(USB) 如何使用這兩種不一樣的driver只有差別在 xorg 中的設定 1. dmc9000(RS232): Option "Device" "/dev/ttyS0" #ttys0=COM1,ttys1=COM2 <= 藉由 rs232去控制 2. dmc6000(USB): Option "Device" "/dev/input/event0" <= 將 usb 視為 event Driver Supported: 1.dmc9000: Redhat9, Fedora Core3, 4, 5 2.dmc6000: Fedora Core 4, 5, 6 Xorg6.8
無論是 4.2 或是 5.0 都是把 driver 透過 CEC Editor 把driver 載到 Platform Builder 裡面再加到所要編譯的 image 就可以使用了 ( 須注意一點, WinCE 中 COM1 預設是 WincCE 用來做 Debug 的埠口, 所以要從 COM2 算起 ) Driver Supported: 1.dmc9000: WinCE4.2, WinCE5.0 2.dmc6000: WinCE4.2, WinCE5.0 |
---|---|
Patch File: |
N/A |
Defect: |
N/A |
Asker: |
Denny 05/03/07 |
Provider: |
Denny 05/03/07 |
Why can't poweroff when using touch panel ?
Ans: |
Touch panel needs 5V+ to turn on. 5V+ makes "power on by ring" estimate to "TRUE", so system will be restart . |
---|---|
Patch File: |
N/A |
Defect: |
N/A |
Asker: |
Denny 10/12/06 |
Provider: |
Denny 10/12/06 |