Touch Panel:PenMount 6000/9000

From LEXWiKi

Revision as of 11:45, 26 November 2008 by Denny (Talk | contribs)
Jump to: navigation, search

Contents

Driver Support

O.SRS232 DriverUSB Driver

Windows 98, ME, 2000

Download
Download

Windows XP, Vista

Download
Download

Windows CE 4.2

Download
Download

Windows CE 5.0

Download
Download

Fedora Core 3

Download

Fedora Core 4

Download
Download

Fedora Core 5

Download
Download

Fedora Core 6

Download

Red Hat 9.0

Download

Ubuntu 7.10

Download
Download

Ubuntu 8.04

Download
Download

edit table

FAQ for all PenMount touch controller

Touch Panel Driver 該如何去區別, 使用?

Ans:

Touch Panel Driver 可以從 1. OS 2. Chipset 來做判斷

  • Linux (OS)

視乎其 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
  • WinCE(OS)

無論是 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 .
Disable the option "Power on by ring" in BIOS could solved this problem.

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".

  1. #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 :
    InputDevice    "Penmount" "AlwaysCore"
  • Add a Section "InputDevice" :
 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:

  1. Copy the file under utitliy/ into the "/usr/local/pencal" directory.
    # mkdir /usr/local/pencal
    # cp * /usr/local/pencal
  1. Input "startx" to start X window.
  2. Issue one of the following commands to calibrate your touch screen:
    # 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

Personal tools