기존 이솝 임베디드 포럼의 지식인 서비스가 게시판 형태로 변경되었습니다.

[환경]

- 보드 : 메리테크 SMDK6410

- Tool chain : cross-4.2.2-eabi.tar.bz2

- u-boot : s3c-u-boot-1.1.6_rel-4-3-6_081015.tar.bz2

- Kernel : smdk6410_linux_2.6-samsung_v2.6.28.6-r5_090430.tar.bz2

- root file system : aESOP 다운로드>삼성s3c64x0계열프로세서>55>자료 AESOP6410 GPE Root File System-090321

  (RootFS-NFS-aesop6410-090327.tar.bz2)

  + root file system을 NFS로 사용

- booting message : 아래 참조

  + Touch screen driver는 정상 설치되는 것으로 판단(확인 해 주세요)

 

[현상]

- Touch screen의 동작이 제대로 되지 않음

- 화면의 좌하귀부분을 누르면 커서가 조금 움직이나 정확하게 포인팅이 되지 않아 control 불가

- Mouse를 USB port에 연결할 경우 graphic 동작 됨

- 메뉴 중 touch screen calibration 메뉴 선택 시

  + 십자가 표시가 나와 좌표점을 선택하려고 하여도 인식을 하지 못함.

  + 아예 입력을 하지 못하는 것으로 판단

 

[문의]

- 어떻게 하여야 하나요?

- 경험상, QTE 사용 시 TSLIB_TSDEVICE 같은 configuration을 설정하는 것이 잘못되어 있는 것은 아닌지? 확인하는 방법?

- Kernel compile시 touch screen의 window 크기를 지정해 주는 것이 있는지?

  + 2.6.21 manual에는 width와 height를 지정해 주는 make menuconfig 화면이 있는데,

  + 지금 kernel version은 그것이 없네요. (make menuconfig시 그 부분이 없었음)

- GPE에 대한 공부를 위해 참고자료는 어떤 것이 있나요?

  init시 run-level 5로 수행되어 GPE가 수행되는 것 같은데, 이에 대한 지식이 없어서...

  + Graphic을 어떻게 접근해야 하는지? 파악을 하고 application을 개발하기 위해 알아야 할 것 같아서...

  + 다운로드 게시판의 GPE root file system에 있는 응용 프로그램외에 다른 응용 프로그램을 올리기 위해서 어떻게 해야 하나요?

 

[아래] 보드 booting 시 출력 메시지

NAND read: device 0 offset 0x60000, size 0x3a0000

 3801088 bytes read: OK

Boot with zImage


Starting kernel ...


Uncompressing Linux........................................................................................................................ done, booting the kernel.
Linux version 2.6.28.6-g1bf60f1-dirty (ksseo@ksseo-desktop) (gcc version 4.2.2) #2 Sat Jan 9 15:41:51 KST 2010
CPU: ARMv6-compatible processor [410fb766] revision 6 (ARMv7), cr=00c5387f
CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
Machine: SMDK6410
Memory policy: ECC disabled, Data cache writeback
CPU S3C6410 (id 0x36410101)
S3C24XX Clocks, (c) 2004 Simtec Electronics
S3C64XX: PLL settings, A=532000000, M=532000000, E=24000000
S3C64XX: HCLKx2=266000000, HCLK=133000000, PCLK=66500000
div1: 00000555
mout_apll: source is fout_apll (1), rate is 532000000
mout_epll: source is fout_epll (1), rate is 24000000
mout_mpll: source is mpll (1), rate is 532000000
mmc_bus: source is dout_mpll (1), rate is 44333333
mmc_bus: source is dout_mpll (1), rate is 44333333
mmc_bus: source is dout_mpll (1), rate is 44333333
usb-host-bus: source is mout_epll (0), rate is 24000000
uclk1: source is dout_mpll (1), rate is 66500000
spi-bus: source is mout_epll (0), rate is 24000000
spi-bus: source is mout_epll (0), rate is 24000000
audio-bus0: source is mout_epll (0), rate is 24000000
audio-bus1: source is mout_epll (0), rate is 24000000
audio-bus2: source is mout_epll (0), rate is 24000000
irda-bus: source is mout_epll (0), rate is 24000000
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
Kernel command line: root=/dev/nfs rw nfsroot=192.168.123.175:/nfsroot/RootFS-aESOP6410 ip=192.168.123.210:192.168.123.175:192.168.123.254:255.255.255.0::eth0:off console=ttySAC0,115200n81
PID hash table entries: 512 (order: 9, 2048 bytes)
Console: colour dummy device 80x30
console [ttySAC0] enabled
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 128MB = 128MB total
Memory: 125780KB available (3056K code, 402K data, 508K init)
SLUB: Genslabs=12, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Calibrating delay loop... 530.84 BogoMIPS (lpj=1327104)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
net_namespace: 316 bytes
NET: Registered protocol family 16
S3C6410: Initialising architecture
S3C DMA-pl080 Controller Driver, (c) 2006-2007 Samsung Electronics
Total 32 DMA channels will be initialized.
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 4, 81920 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
NET: Registered protocol family 1
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
S3C_LCD clock got enabled :: 133.000 Mhz
LCD TYPE :: LTE480WV will be initialized
Window[0] - FB1: map_video_memory: clear ff000000:003a9800
            FB1: map_video_memory: dma=57400000 cpu=ff000000 size=003a9800
Console: switching to colour frame buffer device 100x30
fb0: s3cfb frame buffer device
Serial: 8250/16550 driver4 ports, IRQ sharing disabled
s3c6400-uart.0: s3c2410_serial0 at MMIO 0x7f005000 (irq = 16) is a S3C6400/10
s3c6400-uart.1: s3c2410_serial1 at MMIO 0x7f005400 (irq = 20) is a S3C6400/10
brd: module loaded
loop: module loaded
eth0: LAN9115 (rev 2) at 0x18000000 IRQ 111
eth0: Ethernet addr: 00:09:c0:ff:ec:48
Driver 'sd' needs updating - please use bus_type methods
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
s3c2410-ohci s3c2410-ohci: S3C24XX OHCI
s3c2410-ohci s3c2410-ohci: new USB bus registered, assigned bus number 1
s3c2410-ohci s3c2410-ohci: irq 79, io mem 0x74300000
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
mice: PS/2 mouse device common for all mice
S3C Touchscreen driver, (c) 2008 Samsung Electronics                                ----> Touch Screen Driver 부분
S3C TouchScreen got loaded successfully : 12 bits
input: S3C TouchScreen as /class/input/input0
i2c /dev entries driver
s3c2440-i2c s3c2440-i2c.0: slave address 0x10
s3c2440-i2c s3c2440-i2c.0: bus frequency set to 377 KHz
s3c2440-i2c s3c2440-i2c.0: i2c-0: S3C I2C adapter
s3c2440-i2c s3c2440-i2c.1: slave address 0x10
s3c2440-i2c s3c2440-i2c.1: bus frequency set to 377 KHz
s3c2440-i2c s3c2440-i2c.1: i2c-1: S3C I2C adapter
at24 0-0050: 1024 byte 24c08 EEPROM (writable)
at24 1-0057: 16384 byte 24c128 EEPROM (writable)
S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics
s3c2410-wdt s3c2410-wdt: watchdog inactive, reset disabled, irq enabled
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
s3c-sdhci s3c-sdhci.0: clock source 0: hsmmc (133000000 Hz)
s3c-sdhci s3c-sdhci.0: clock source 1: hsmmc (133000000 Hz)
s3c-sdhci s3c-sdhci.0: clock source 2: mmc_bus (44333333 Hz)
mmc0: SDHCI controller on samsung-hsmmc [s3c-sdhci.0] using ADMA
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
Advanced Linux Sound Architecture Driver Version 1.0.18rc3.
ASoC version 0.13.2
WM8580 Audio Codec 0.1
playback: 1, capture : 1
asoc: WM8580 PAIFRX <-> s3c6410-i2s mapping ok
ALSA device list:
  #0: smdk6410 (WM8580)
TCP cubic registered
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 5
eth0: link down
IP-Config: Complete:
     device=eth0, addr=192.168.123.210, mask=255.255.255.0, gw=192.168.123.254,
     host=192.168.123.210, domain=, nis-domain=(none),
     bootserver=192.168.123.175, rootserver=192.168.123.175, rootpath=
Looking up port of RPC 100003/2 on 192.168.123.175
eth0: link up, 100Mbps, half-duplex, lpa 0x05E1
Looking up port of RPC 100005/1 on 192.168.123.175
VFS: Mounted root (nfs filesystem).
Freeing init memory: 508K
udevd version 124 started
udevd-event[1092]: run_program: open /dev/null failed: No such file or directory
 udevd-event[1097]: run_program: open /dev/null failed: No such file or directory
 udevd-event[1102]: run_program: open /dev/null failed: No such file or directory
 udevd-event[1104]: run_program: open /dev/null failed: No such file or directory
 udevd-event[1103]: run_program: open /dev/null failed: No such file or directory
 udevd-event[1108]: run_program: open /dev/null failed: No such file or directory
 udevd-event[1107]: run_program: open /dev/null failed: No such file or directory
 udevd-event[1120]: run_program: open /dev/null failed: No such file or directory
 udevd-event[1128]: run_program: open /dev/null failed: No such file or directory
 
INIT: Entering runlevel: 5 Starting Dropbear SSH server: dropbear.
Starting system message bus: dbus.
Starting syslogd/klogd: done
Starting Connection Manager
Starting GPE display manager: gpe-dm

  _____ _____ _____ _____ _____
 |  _  |   __|   __|     |  _  |
 |     |   __|__   |  |  |   __|
 |__|__|_____|_____|_____|__|.or.kr
 
 (C)2009 aESOP Embedded Forum.                            
 aESOP S3C6410 Embedded Linux Platform.

 System  : aESOP-S3C6410
 Console : s3c2410_serial0

aESOP-S3C6410 login: root
login[1260]: root login  on `s3c2410_serial0'
 root@aESOP-S3C6410:~#


고현철

2010.02.01 05:06:40
*.82.146.170

첨부하는 파일을 보시고, 소스를 약간 수정하셔서.........

현재

/dev/input/event1이 touch로 되어 있기 때문에요......

 

그 후에

 

./aesopev touch를 하시고 테스트해 보시기 바랍니다.

 

제대로 커널에서 값이 올라오는지 확인후에나 얘기가 가능할 듯 합니다.

요셉

2010.04.06 05:41:33
*.138.118.233

aESOP의 root file system에서 mdev/findtouchscreen.sh의 내용 중 ln -sf /dev/input/event1 touchscreen0로 되어 있는 것을

ln -sf /dev/input/event0 touchscreen0로 변경하여야 합니다.  또한 xtscal로 calibration을 하여 좌표값의 error를 교정 하였습니다.

List of Articles
번호 제목 글쓴이 날짜sort 조회 수
3508 NDK를 쓸려면 target에 포팅된 Android 버전? [1] jacket 2010-01-27 657
3507 [완료] gtk+에 webkit만 올리는것도 가능한가요? [2] 당그니 2010-01-27 585
3506 x.org. 관련 질문.. [1] 최영진 2010-01-27 515
3505 Linux에서 force or attribute 구문 [1] 김병종 2010-01-28 785
3504 [질문] 터치스크린 ts_test로는 잘되는데 gtk-demo하면 안되요.. 당그니 2010-01-28 509
3503 김재훈님 안드로이드커널 2.6.29이식방법 #2 강좌 해주세요~^^ [1] 김정희 2010-01-28 556
3502 MAX8698C를 S3C6410에도 사용 가능한가요? [2] 이창훈 2010-01-29 821
3501 sdcard가 안드로이드에서 인식이 되지 않습니다. [1] 김승한 2010-01-29 871
3500 jvm 요청 [1] sjbaek 2010-01-29 483
3499 오드로이드 터치패널을 바꿔보고 있습니다. [1] 현쓰 2010-01-29 675
3498 오드로이드 AS할수 있는 방법? [3] 권철우 2010-01-29 833
3497 xfree86 4.4.0 install error file [1] 최영진 2010-01-29 506
3496 안드로이드 버전별 커널 소스 트리 질문입니다. [1] jacket 2010-01-30 842
» Touch Screen이 동작이 안됩니다. [2] 요셉 2010-01-30 1336
3494 USB 기능 정리가 안되네요. [1] 김병종 2010-02-01 796
3493 안드로이드에 디바이스 추가하는 방법 [2] 푸른하늘 2010-02-01 788
3492 오드로이드 디버깅이 안되네요... [2] 현쓰 2010-02-01 26620
3491 samsung git에서 받은 것중 특정 linux 는 어떻게 뽑아내죠 ? [2] 박영근 2010-02-02 591
3490 suspend to ram을 2.6.24에서 진행 중 입니다. debugging 방법은 어... [1] 박영근 2010-02-02 557
3489 cupcake컴파일이 오류가.... [5] 이정화 2010-02-02 1316

사용자 로그인