포럼 회원으로 등록하신분만 다운로드가 가능합니다. 최대 업로드 가능한 용량은 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 조회 수

s3c2410/1440 hdd 붙이기(sw적인 자료) file

페도라 5에 이솝보드 개발환경 만들기 따라하기 문서입니다. file [6]

S3C2410/2440 2.4.x용 touch test program

Serial 통신 프로그램입니다. file [4]

sound App(wave_player) 입니다. file [5]

[2440] ts touchscreen 간단 test code입니다. file [7]

SDL 실행시...

리셋회로입니다. file [1]

aesoptool을 이용한 SDL cross compile환경 file

iMX21 ADS용 Ext_uart 드라이버.. 커널 2.4 file

NET-SNMP 사용기 [1]

DM9000A 관련 문서 file [1]

Linux serial programming howto & example by godori file [1]

aesop-2440 2.6.13 kernel sound driver & App. file [1]

touchscreen library - tslib file [1]

임베디드 리눅스 공부에 대해서 [4]

리눅스커널2.6 포팅자료 .... file [3]

usb mass storage 관련 예전 spec문서 file

Aesop-2442 회로도 (미검증 버전) file [10]

aesop2440 dnw용 usb monitoring software file [1]

사용자 로그인