포럼 회원으로 등록하신분만 다운로드가 가능합니다. 최대 업로드 가능한 용량은 1GB 입니다.

AESOP release된 kernel에 포함된 코드로 시험하였습니다.

하여간 간단히 ts 동작 하는지 확인하는 방법을 찾던중 거의 참조할만한게 없어서 삽질후에 알게되어 이렇게 올립니다.
제가 따로 수정한건 없고 기존 코드 그대로 사용했습니다.

새로이 추가한 config는 Touchscreen interface 이고 아래와 같습니다.

Device Drivers  --->                                                    
   Input device support  --->                                                
   <*>   Touchscreen interface                                              
   (1024)  Horizontal screen resolution                                        
   (1024)  Vertical screen resolution                                          
   [*]   Touchscreens  --->                                                      
      <*>   Samsung S3C2410 touchscreen input driver  

device명은 /dev/input/ts0
crw-r--r--    1 root     root      13, 128 Nov 21  2006 /dev/input/ts0

ts_event 구조는 아래와 같이 되어 있네요.
    struct ts_event {
        short pressure;
        short x;
        short y;
        short millisecs;
    };

위 config 추가하신후 부팅하고 첨부한 ts.c로 시험해보세요^^

필요하신분이 있었으면 좋겠네요^^

* 고도리님에 의해서 게시물 이동되었습니다 (2007-03-19 10:36)

고현철

2006.11.22 22:28:20
*.117.46.252

자료 옮겨주셔서 감사합니다....^^

이종창

2006.11.23 18:17:20
*.136.171.200

^^ 아닙니다.
제가 AESOP에서 얻어가는게 더 많은데요..
제가 감사하죠^^

michael

2006.11.28 23:24:14
*.92.62.186

Hi I met problem in touchscreen.

I downloaded your rootfs and tried to run the X using "startx".
The screen for calibrate touch panel comes out and I tied to click the panel, nothing happened.

I think my touch panel driver is ok. For it's running well if I used my another fs(Qtopia is used)

Can I skip this step, I mean the calibration? I just want to have a look at how the TinyX+GTK looks.

고현철

2006.11.30 07:47:14
*.117.46.252

aesop's rootfs is for 2.6 input device driver. You may have kernel 2.4.x traditional device driver.

you see /etc/profile of roofs

TSLIB_TSDEVICE=/dev/input/event1
TSLIB_CONFFILE=/etc/tslib/ts.conf-input

This is for 2.6 input device driver.

If you have kernel 2.4.x style touch driver. see /etc.2420's profile

TSLIB_TSDEVICE=/dev/touchscreen/0raw
TSLIB_CONFFILE=/etc/tslib/ts.conf-h3600-2.4

This is for hp ipaq 3600 touch driver(traditional 2.4.x touch driver)
Qt & Qtopia only use 2.4.x style touch driver & calibrate.



michael

2006.12.12 20:32:19
*.92.62.186

Mr고현철,

Thank you very much!!
This is the second time I get help from you and aesop-embedded.(before my ID is Mic and I forgot my password)

Tinyx+ GTK is working now, as well as directfb+gtk.

I prefer directfb and SDL, it's simple and easier to use.



고현철

2006.12.13 20:43:13
*.117.46.252

^^

That's good...

Tinyx(aka.Xkdrive) is very fast. but large capacity.
I prefer SDL, too. it is simple & fast.

If you want to get SDL application launcher. visit to www.pmplab.org
This site is open source application site used in I-station V43 PMP.

SDL launcher is good solution for visual multimedia device.





michael

2006.12.14 20:34:12
*.92.62.186

Yes that's right! SDL launcher is enough for visual multimedia devce.

Any way Have you tried directFB+ GTK+vxWidgets?
Seems that vxWidget can't compile sucessfully with directfb.(I've tried this but failed)


List of Articles
번호 제목 글쓴이 날짜 조회 수
122 K9F1G08 라지 난드에서 난드 부트되게한 DIY입니다. (uboot소스) file [5] 수연 2007-03-11 5818
121 RJ45 Connector 대치품입니다. file [4] 방창혁 2007-02-15 5914
120 LAN91C113 (Datasheet) file 방창혁 2007-02-15 5752
119 linux용 opengl(mesa3d) library compiling howto(x86용) 고현철 2007-02-15 6018
118 xfree86(tiny-X) 4.4.0 install log file 고현철 2007-02-09 5729
117 이솝 3차 개발 환경구축 배포 문서 수정 및 보완 file [5] 노희준 2007-02-05 5890
116 usb device 동작시 usb cable detection device driver file [1] 고현철 2007-01-19 5832
115 [HowTo] USB slave 모드 동작 [2] 성진호 2007-01-19 6096
114 [Howto] Vmware 4.XXX 버젼에서 window 와 파일공유 [3] 김영일 2007-01-16 6163
113 EZBOOT 2410을 2440으로... file [3] 김영곤 2007-01-16 5803
112 NOR MTD howto & Software(boot loader & kernel) upgrade file [1] 고현철 2007-01-11 5992
111 [howto] madplay(fixed point mp3 player) cross compile file 고현철 2007-01-06 5904
110 [Tip] linux 커널에서 대용량 메모리 잡는 방법 중 하나 file 고현철 2007-01-05 5733
109 [howto] NetBSD ports for aESOP2440 3rd B'd file [3] 김도윤 2007-01-02 5915
108 GPIO포트제어하는 간단 프로그램입니다. file [2] 한지훈 2006-12-16 5841
107 SDL에서 터치 사용... [2] 김증일 2006-12-05 5739
» [2440] ts touchscreen 간단 test code입니다. file [7] 이종창 2006-11-22 8036
105 SDL 실행시... 김증일 2006-11-18 5737
104 NET-SNMP 사용기 [1] 고도리 2006-11-13 5925
103 u-boot 1.1.2 의 낸드부트 버전...^^; file [4] 이율삼 2006-07-05 5890

사용자 로그인