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

사용자 로그인