출처 http://www.techcular.com/android-4-0-ice-cream-sandwich-sdk-and-adt-released/

갤럭시 넥서스...
삼성의 갤럭시와 구글의 넥서스 가 결합된 폰이 국내에도 출시된다.

안드로이드 4.0이 탑제되어 있는 상태로 ..

안드로이드 4.0의 특징이 위 사이트에 잘 나와 있다.

그 중 나는 HDP라는 것에 관심을 가지고 있다. ^^;
HDP때문에 많은 헛짓거리를 하고 있었는데 구글헬스는 없어지고  블루투스 프로파일에 HDP가 추가된다면..

  1. Unified Use Interface framework for smartphones, tablets and more: – The use interface is just like Honeycomb 3.0 with action bar and fragments.
  2. Communication and sharing: – ICS got new APIs for contacts, calendar and visual voice mail for the users who can share these easily to social networks and users activity area.
  3. Android Beam: – Actually it’s the NDEF Push with NFC (Near field communication) where users share by tapping the two phones together to transfer photos, documents and even a game (Link to Android Market) from approximately 4 cm distance
  4. Modular sharing widget: – The user interface framework includes a new widget, ShareActionProviders that permits developers quickly implant typical share functionality and UI in the Action Bar of their applications.
  5. Low-level streaming multimedia: – Ice cream sandwich offers a direct, efficient path for low-level streaming multimedia like it owes DRM (Digital rights management).
  6. More new camera facilities: – ICS supports 5MP camera with facilities like ZSL exposure, nonstop focus, and image zoom let apps capture improved still and video images, including during video capture.” You can also capture photos while recording video. There’s also face detection.
  7. Media effects for changing images and video: – Here developers can apply rich effects to any images passed as an OpenGL ES 2.0 texture. Here developers can adjust color levels and brightness, change backgrounds, sharpen, crop, rotate, add lens distortion, and apply other effects according to their desire.
  8. Audio remote controls: – Android 4.0 adds quite a few API’s for applications that interact with media such as photos, videos and music. And using the audio remote control API, any music or media app can register to get media button events from the remote control and hence control play state.
  9. Bluetooth HDP and Wi-Fi Direct: – It allows connecting through medical or fitness devices like MotoActive and framework provides a set of Wi-Fi P2P APIs that allow discovering and connecting to other devices when each device supports Wi-Fi Direct, and then communicate over a speedy connection across distances much longer than a Bluetooth connection.
  10. GrindLayout: – This can improve the performance of Android app by supporting evenly leveled view hierarchies that are faster to layout.
  11. OpenGL ES texture views: – These permits the developers straight amalgamate the OpenGL ES texture as rendering targets in a UI hierarchy.
  12. Other stuffs: – Integrated spell checker, support stylus, text-to-speech engines, VPN API, data usage and policy management for the camera.

9번 Bluetooth HDP and Wi-Fi Direct ...
HDP .. .. ㅠㅠ 어여 나와라 테스트 해보게..
이제 HDP 사용할수 있는 방법(API 사용법을 익혀야 겠군.)
저작자 표시 동일 조건 변경 허락
Posted by 인고의생애

2011/01/12 현재 넷사랑의 Xmanager 4는 베타버전이어서 다운로드 후 사용해 보실 수 있습니다.

사용하다가 너무 좋은것 같아서 연구실(학교)에서 몇 카피 구매했던 것으로 기억이 납니다. XShell,  최근에는 학교등에서는 무료로 사용할수 있도록 라이센스가 바꾸었습니다.

그전에는 자주 사용했었는데 GUI는 필요없는 작업을 많이 하다보니 그냥 XShell를 더 많이 사용했습니다.

이번 작업에서는 QT GUI 환경이 필요하여서 다시 Xmanager를 사용하게 되었습니다.
기존에는 XDM를 이용하여 서버에 로그인를 하여 사용했었는데 윈도우즈 환경에서 창으로 작동하는 방식이 더 편하다고 생각되어 Xstart라는 것을 사용하기로 하였습니다.

image

프로그램을 설치하면 프로그램 디렉토리에 위와 같은 아이콘이 설치되어 있습니다.
Xstart

 

실행하면 아래와 같은 창이 나타납니다.

세션은 사용자가 알아볼수 있는 이름을 넣어주면 됩니다.

저는 서버의 아이피(사내망입니다) 용도로 작명을 하고 있습니다.

호스트는 아이피나 도메인을 적어주시면 됩니다.
프로토콜 : 여러가지가 있습니다. 저는 주로 SSH를 사용합니다. 물론 접속 서버에 SSH 데몬이 작동중이여야 합니다.
사용자 로그인 아이디 입니다. ^^ (제 아이디 이죠.. )

image

실행명령은 ?

LANG=ko_KR.UTF-8; export XMODIFIERS=@im=SCIM; /usr/bin/scim& /usr/bin/gnome-terminal

넷사랑 홈페이지에서 가져왔습니다. 저도 그냥 카피에서 넣었습니다. 한영전환을 위해서 앞에 SCIM에 대한 설정이 들어가 있습니다. 그후 Terminal를 열게 되어 있습니다.

연결 상태 창 보여주기를 선택하면 연결과정에 대한 로그를 확인할수 있습니다.

연결이 잘 안될때 이유가 궁금할때 눌러주시면 됩니다.

이후 실행을 누르시면..

비밀번호 한번 물어봐주고. 바로..

image

리눅스 머신에서 보이는 창이 나타납니다.  편집에서 프로파일 수정에서 폰트등을 수정할수 있습니다.

GUI 작업이 가능한지 테스트 하기 위해서 시스템설정을 불러 보겠습니다.

system-config-printer 라는 명령을 실행해 보겠습니다.

image

백그라운드(후면) 작업이 아니므로.. 대기하고 있습니다. 이렇게 될때 새로운 창이 나타났습니다.

image

추가를 누르면

image

네트워크상의 프린터를 하나씩 검색해서 찾아 준다. 알고 있는 프린터를 설치해 버렸다.

image

이렇게 프린터를 추가해 버렸습니다.

서버랑 떨어져 있다고 아무런 문제가 없습니다. 물리적인 연결… 시리얼 연결이 문제인데.~

이것도 해결법은 있겠죠. ^^

 

초 간단. GUI 사용법이었습니다.

제가 자주 사용하고 좋은 프로그램이라 이렇게 .. 추천해 봅니다.

임베디드 .. 리눅스 관련 작업 하시는 분들은.. 좋은~ 툴인듯합니다. 사용하기 쉽구요..

Posted by 인고의생애

http://rootfriend.tistory.com/entry/unifdefc-conflicting-types-for-getline-function-%ED%95%B4%EA%B2%B0

해결법을 찾는중 위 블로그의 내용을 가지고 해결했습니다.

 

scripts/unifdef.c 파일을 열어서

getline을 모두 찾아서 getline_hanseok 으로 변경했습니다.

프로토 타입.. 그리고 함수 구현부분.. 사용하는 곳 1곳.. 이렇게 3개만 고쳐주면 됩니다.

scripts/unifdef.c:209: error: conflicting types for 'getline'
/usr/include/stdio.h:653: note: previous declaration of 'getline' was
here
make[2]: *** [scripts/unifdef] Error 1
make[1]: *** [__headers] Error 2
make: *** [vmlinux] Error 2
 
위의 링크를 따라가시면 조금 더 정보가 있습니다. 
 
Posted by 인고의생애

이 문서는 Platform general vxworks getting started 3.8 의 따라하며 화면을 캡쳐한 문서입니다.

깊이 있는 내용을 원하신다면 위의 제목의 PDF를 참고하시기 바랍니다.

 

프로그램은 설치되어 있다고 고려하고 수행합니다.

 

첫번째는 Compiling Source Code
- VxWorks Source Build Project

 

  1. Workbench 시작

시작>> 모든 프로그램 >> Wind River >> workbench 3.2 >> Workbench 3.2

이클립스 기반으로 만들어진 툴이다. 위와 같이 작업할 디렉토리(workspace)를 설정해 주면 된다. 기존의 이클립스를 수행해 본 경험이 있다면 쉽게 접근할 수 있다.

위와 같은 스플레쉬(?) 화면을 잠시 보여준후 workBench가 수행된다.(이클립스)

  1. VxWorks Source Build (Kernel Library) 프로젝트 생성하기

File >> new >> Other… (Ctrl + N)

VxWorks 6.X >> VxWorks Source Build (Kernel Library) Project

  1. 프로젝트 이름 & 프로젝트 경로 설정

프로젝트 이름 (follow_VSB : 따라하기 VxWorks Source Build)를 정하고 프로젝트를 경로 또한 설정할 수 있다.

  1. 프로젝트 하드웨어 설정(Board or CPU … )

BSP(Board Support Package) : mst OMAP3530evm
- 사용하는 보드가 있으므로 그것을 선택하였습니다.

이제 Finish

Creation.log 파일이 열려 있는 Workbench

Project Explorer 에 생성된 프로젝트

 

 

  1. 프로젝트 설정

더블클릭
프로젝트명 >> Source Build Configureation

더블클릭 결과?

VxWorks Global Configuration Option 확장

Select The Application Tool >> gnu 더블클릭 활성화

  • 본 문서(. pdf)에 적힌 대로 따라하기 중..

Real-Time Process 비활성화

è

VxWorks Kernel Configuration Options 확장

Enable VXTESTV2 비활성화

è

VxWorks Application Configuration Options 확장
è VxWorks Networking Component Configuration 확장

Networking Component 를 모두 n로 변경시킨다. Enable Appl, Enable VXCOMPAT은 활성화(Y)상태로 만든다.

  • 변경은 더블클릭으로 속성이 변경된다.
  1. 파일 저장하기 ( Ctrl + S )
    1~5번 과정 완료후 COMMAND Line 에서 위와 같은 과정이 가능하다.
    PDF 문서를 참고해서 따라해 보기 바란다.

 

이후. Building Projects

  • Kernel library이라 그런지 생각보다 빌드 하는데 시간이 걸립니다.

아래 그림의 빌드 아이콘(빠른가기)

프로젝트에서 오른쪽 마우스 클릭후 메뉴에 나오는 Build Project

 

다음 따라하기는 VxWorks Image Project 만들기 및 설정하기..

Posted by 인고의생애

tslib를 모르시면서 검색하지는 않았을 것이라 생각합니다.

TSLIB는 Touch Screen의 약자일것입니다.
임베디드 보드에서 터치스크린을 사용할수 있도록 지원해 주는 라이브러리 입니다.
터치스크린의 입력을 받아서 보정(?)을 하고

테스트 하는 프로그램 또한 들어 있습니다.
보정한 값을 저장하는 그와 같은 환경변수를 지정하는 것입니다.

=========== 시스템이 시작할때 설정이 이루어 져야 이후 터치 스크린이 정상 작동합니다. ========
===>시스템 마다 시작위치가 다릅니다. (저의 경우 로그인 이후에 만지게 될것이므로 /etc/profile)
===> 시스템 시작후 바로 만진다면 /etc/rc.local <== 이것 root 파일 시스템 마다 다릅니다.

#hanseok add
export TSLIB_TSDEVICE=/dev/input/event0

# 모듈등 설정을 위한 파일입니다. TS에 대한  설정..
export TSLIB_CONFFILE=/etc/ts.conf
export TSLIB_PLUGINDIR=/opt/s3c2440/usr/lib/ts

export QWS_MOUSE_PROTO=tslib:/dev/input/event1
export QWS_SIZE=800x480

# 보정한 값을 저장하는 파일입니다.
# 이후 이 값을 사용하여 터치스크린의 정확한 위치를 찾을 수 있습니다.
export TSLIB_CALIBFILE=/etc/pointercal


export TSLIB_CONSOLEDEVICE=none
export TSLIB_FBDEVICE=/dev/fb0

export LD_LIBRARY_PATH=/usr/lib:/opt/s3c2440/usr/lib$LD_LIBRARY_PATH

export PATH=$PATH:/opt/s3c2440/usr/bin

Posted by 인고의생애