포럼 회원으로 등록하신분만 다운로드가 가능합니다. 최대 업로드 가능한 용량은 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
122 linux용 opengl(mesa3d) library compiling howto(x86용) 고현철 2007-02-15 6018
121 RTEMS 4.6.99.3 설치 문서 file [3] 김정한 2006-05-16 6017
120 SDL 컴파일시 필요한 cross-sdl-config script file [1] 고현철 2007-01-09 6016
119 [howto] mtd nor boot cmdlinepart partitions howto - smdk24... file 이재훈 2006-04-06 6006
118 S3C2410 2003-10-01 samsung site자료 고도리 2007-01-23 6000
117 SDL TTF를 이용한 한글 display 예제..... file [4] 고현철 2007-05-17 5998
116 Embedded Linux Reference Guide - 예전에썼던글 [1] 고현철 2006-07-18 5996
115 S3C2410/2440 2.6.13 usb gadget howto file [1] 고현철 2006-12-08 5995
114 NOR MTD howto & Software(boot loader & kernel) upgrade file [1] 고현철 2007-01-11 5992
113 aesop2440a_NOR_MTD_sw_upgrade_howto file [2] 이홍석 2006-05-10 5989
112 tty에 명령어를 입력하도록 하는 프로그램 file [2] 고현철 2007-02-21 5987
111 Linux 2.6.x NFS client howto file 고현철 2006-06-21 5986
110 페도라 5에 이솝보드 개발환경 만들기 따라하기 문서입니다. file [6] 진태영 2006-11-30 5985
109 DM9000A 관련 문서 file [1] 이제현 2006-11-12 5983
108 aesop-2440 inetd telnetd howto file [1] 고도리 2006-07-28 5977
107 S3C2410용 u-boot-0.4.0 & intel strata flash jtag program 고현철 2007-01-26 5973
106 usb gadget 관련 gp2x에 쓰이는 스크립트 파일 file 고현철 2007-02-05 5972
105 [howto] aesop2440 2.6.13 ramdisk howto 수정버전 file 고현철 2006-04-06 5971
104 K9F1G08 128M 난드 전용 jtag 프로그램입니다. file 수연 2007-02-25 5970
103 S3C2440A용 SD driver using DMA file 고현철 2007-02-07 5962

사용자 로그인