請先看『使用說明』
Touch Panel:PenMount 6000/9000
From LEXWiKi
(→Driver Support) |
(→Driver Support) |
||
Line 74: | Line 74: | ||
<center>[ftp://ftp.lex.com.tw//Engineer/SoftSupport/Driver/Module/TouchScreen/Linux/DMC9000/DMC9000_redhat_9.0_Driver_V1.0.zip Download]</center> | <center>[ftp://ftp.lex.com.tw//Engineer/SoftSupport/Driver/Module/TouchScreen/Linux/DMC9000/DMC9000_redhat_9.0_Driver_V1.0.zip Download]</center> | ||
| | | | ||
- | |||
|- | |- | ||
| | | | ||
Line 81: | Line 80: | ||
<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/PenMount_Ubuntu_7.10_Driver_V2.0.1.tar Download]</center> |
+ | |- | ||
+ | | | ||
+ | Ubuntu 8.04 | ||
+ | | | ||
+ | <center>[ Download]</center> | ||
+ | | | ||
+ | <center>[ftp://ftp.lex.com.tw/Engineer/SoftSupport/Driver/Module/TouchScreen/Linux/DMC6000/PenMount_Ubuntu8.04_Driver_V2.2.tar.gz Download]</center> | ||
|-class='sortbottom' | |-class='sortbottom' | ||
Revision as of 11:27, 26 November 2008
Contents |
Driver Support
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 |
| |
Red Hat 9.0 |
| |
Ubuntu 7.10 |
|
|
Ubuntu 8.04 |
|
|
FAQ for all PenMount touch controller
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 |
FAQ for RS-232
FAQ for USB
How can I using touch panel in linux ?
Ans: |
plug in the PenMount USB controller in advance, then issuing more /proc/bus/input/devices should list something similiar to the following: 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 Xorg Driver Module installation procedures: 1. copy penmount driver "penmount_drv.o" to "/usr/X11R6/lib/modules/input".
2. Edit X window configuration file to load driver.
InputDevice "Penmount" "AlwaysCore"
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 Utilities Installation procedures:
# mkdir /usr/local/pencal # cp * /usr/local/pencal
# 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) |
---|---|
Patch File: | |
Defect: |
N/A |
Asker: |
Robert, April 07, 2008 |
Provider: |
Denny, April 07, 2008 |