포럼 회원으로 등록하신분만 다운로드가 가능합니다. 최대 업로드 가능한 용량은 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
번호 제목 글쓴이 날짜 조회 수sort
42 로지텍 캠올리기 file [2] 박기호 2007-02-23 6160
41 [Howto] Vmware 4.XXX 버젼에서 window 와 파일공유 [3] 김영일 2007-01-16 6163
40 [how-to] SDL-1.2.11 관련 컴파일 과정 정리 file [7] 김성주 2007-01-24 6187
39 linux web cam howto 및 자료들 file 고현철 2007-02-23 6189
38 [howto] QT Embedded 3.3.6 with TSLIB patch and porting ... file [1] 이재훈 2006-04-06 6217
37 tslib(touchscreeen library) cross & native compile howto file 고현철 2007-01-26 6220
36 Linux serial programming howto & example by godori file [1] 고현철 2006-10-27 6225
35 [howto] Cross Tool Chain 만들기 file [1] 이재훈 2006-04-06 6300
34 ARM9 uCOS-II 이해 자료 file 노희준 2006-04-12 6304
33 uCOS-2 for aesop-2440 by 김정한 file [4] 고현철 2007-01-11 6416
32 [3차보드] JTAG 회로 관련 문제. [6] 유용출 2007-08-16 6448
31 [I2C] GPIO로 I2C 제어자료 file [7] 이재훈 2007-02-14 6454
30 inetd, tcpd, telnetd install howto(scratchbox이용) file [1] 고현철 2007-01-13 6469
29 logo display(framebuffer control 코드) file 고현철 2007-10-13 6512
28 linux kernel 2.6 kthread example file 고현철 2007-10-12 6752
27 [팁] aesop-2440 에서 ssh server 돌리기 [8] 유형목 2007-05-11 6842
26 임베디드 리눅스 공부에 대해서 [4] 고현철 2006-10-14 6860
25 [HowTo] scratchbox설치에서 qtopia까지 삽질기 file [13] 안경식 2007-06-27 7192
24 [howto] RootFS 만들기 howto file [2] 이재훈 2006-04-06 7861
» [2440] ts touchscreen 간단 test code입니다. file [7] 이종창 2006-11-22 8036

사용자 로그인