Linux on Apple

Posted 2009/04/26 23:46 by kdsoo

Linux on apple

but not running Linux on my MBA actually. :-)

저작자 표시 비영리 동일 조건 변경 허락
이올린에 북마크하기(0) 이올린에 추천하기(0)
크리에이티브 커먼즈 라이선스
Creative Commons License

'[1] 일상... > My stuff' 카테고리의 다른 글

Snow Leopard  (2) 2009/09/02
Linux on Apple  (0) 2009/04/26
Targus AMB08AP vs Apple mighty mouse  (0) 2009/03/05
OSX(Leopard) Screen sharing  (0) 2009/02/06
Happy birthday to Mac  (0) 2009/01/25
배경화면  (0) 2008/01/13

Tag : Linux, Linux on Apple, MBA

Alcoholic Tux

Posted 2009/04/09 15:35 by kdsoo


Panasonic | DMC-LX2 | Normal program | Center-Weighted Average | 1/20sec | F/2.8 | 0.00 EV | 6.3mm | ISO-800 | Off Compulsory | 2009:04:08 19:35:21

consumption of alcoholic beverages impairs your ability to drive a system or operate a shell.
저작자 표시 비영리 동일 조건 변경 허락
이올린에 북마크하기(0) 이올린에 추천하기(0)
크리에이티브 커먼즈 라이선스
Creative Commons License

'[3] My specialty' 카테고리의 다른 글

Camera interface V4L2 driver design  (0) 2009/04/17
It's me  (2) 2009/04/14
Alcoholic Tux  (2) 2009/04/09
Linux collaboration summit 2009  (0) 2009/04/09
GIT branch 사용  (0) 2009/03/27
Linux kernel 2.6.29 TUX to TUZ devil  (0) 2009/03/24

Tag : Linux, TUX

Linux collaboration summit 2009

Posted 2009/04/09 02:44 by kdsoo
Hello SF and hello Linux!

Panasonic | DMC-LX2 | Normal program | Center-Weighted Average | 1/24sec | F/4.0 | 0.00 EV | 14.4mm | ISO-400 | Off Compulsory | 2009:04:08 09:42:50

I'm falling into this city!

저작자 표시 비영리 동일 조건 변경 허락
이올린에 북마크하기(0) 이올린에 추천하기(0)
크리에이티브 커먼즈 라이선스
Creative Commons License

'[3] My specialty' 카테고리의 다른 글

It's me  (2) 2009/04/14
Alcoholic Tux  (2) 2009/04/09
Linux collaboration summit 2009  (0) 2009/04/09
GIT branch 사용  (0) 2009/03/27
Linux kernel 2.6.29 TUX to TUZ devil  (0) 2009/03/24
Color temperature in kelvin for White Balance  (0) 2009/03/18

Tag : Linux, Linux collaboration summit, San Francisco

Linux kernel 2.6.29 TUX to TUZ devil

Posted 2009/03/24 23:59 by kdsoo
리눅스 펭귄 아시죠... TUX

오늘 2.6.29 정식 릴리즈된 커널로 땡기고 타겟을 부팅시켜보니

귀엽던 턱스가 사라지고

bsd 악마돌이와 턱스를 합성한듯한 놈이 lcd 에 떡하니 뜨더군요

순간 뜨아...



알아보니 멸종위기인 Tasmanian 주머니곰을 위해 이런짓(?)을 했다는군요....

주머니곰 합성 펭귄인듯...

암튼 신선한 충격이었다능...
저작자 표시 비영리 동일 조건 변경 허락
이올린에 북마크하기(0) 이올린에 추천하기(0)
크리에이티브 커먼즈 라이선스
Creative Commons License

Tag : 2.6.29, Linux, Tasmanian, TUX, TUZ

Vim with git plugin (git-vim)

Posted 2009/02/24 19:42 by kdsoo

vi(vim)로 git repository 에서 작업하다 보면 터미널을 하나 더 띄우거나 쉘을 vim 에서 fork 해서 띄워서 git 을 확인해야 할 경우가 많다.

 

간편하게 vim plugin 으로 이 작업들을 해결 가능하다.

 

Git plugin

Plugin : http://github.com/motemen/git-vim/tree/master

 

위의 repository 에서 받을수 있다.

주의할 점은 vim 7.1 이상만 지원하는 듯 하다.

 

Git plugin 설치

plugin 디렉토리와 syntax 디렉토리가 있고 각각의 디렉토리 안에 .vim 플러그인들이 있다.

본인의 계정에

 

    1. .vim/ 디렉토리가 없으면 만들고
    2. 그 안에 plugin 과 syntax 디렉토리를 없으면 만들고
    3. plugin, syntax 디렉토리에 앞서 받은 git-vim plugin 들을 카피해 넣는다.

 

kdsoo@chromatix:~$ pwd
/home/kdsoo
kdsoo@chromatix:~$ ls -al .vim
total 64
drwxr-xr-x  6 kdsoo kdsoo       4096 2009-02-24 19:05 .
drwxr-xr-x 73 kdsoo kdsoo       4096 2009-02-24 19:38 ..
drwxr-xr-x  2 kdsoo kdsoo       4096 2008-10-17 09:32 colors
drwxr-xr-x  2 kdsoo kdsoo       4096 2009-02-24 19:06 doc
drwxr-xr-x  2 kdsoo kdsoo       4096 2009-02-24 19:30 plugin
drwxr-xr-x  2 kdsoo kdsoo       4096 2009-02-24 19:18 syntax

 

git-vim 의 사용

기본 키맵은 다음과 같이 매핑 되어있다.

 

== Keymaps
[<Leader>gd] :GitDiff
[<Leader>gD] :GitDiff --cached
[<Leader>gs] :GitStatus
[<Leader>gl] :GitLog
[<Leader>ga] :GitAdd
[<Leader>gA] :GitAdd <cfile>
[<Leader>gc] :GitCommit

 

=== In git-status buffer
[<Enter>]    :GitAdd <cfile>

 

쉽게 설명하면 vim 의 command mode, 즉 esc 를 한번 누른 상태에서

 

\gs

 

라고 입력하면 GitStatus 명령을 친것과 같이 동작한다.

 

즐거운 vi & git 생활 되시길.

이올린에 북마크하기(0) 이올린에 추천하기(0)
크리에이티브 커먼즈 라이선스
Creative Commons License

Tag : git, git-vim, Linux, vim

git pull & patch 간략 정리

Posted 2009/02/18 19:10 by kdsoo

1. modified 파일이 있나 확인.

kdsoo@chromatix:/home/share/GIT/OMAP3430/linux-2.6.29-rc3-omap$ git status

# On branch master

# Changed but not updated:

#   (use "git add <file>..." to update what will be committed)

#

#   modified:   arch/arm/mach-omap2/board-xxx.c

#   modified:   arch/arm/mach-omap2/mux.c

#   modified:   arch/arm/plat-omap/include/mach/mux.h

#   modified:   drivers/media/video/xxxx.h

#

# Untracked files:

#   (use "git add <file>..." to include in what will be committed)

#

#   090202

#   work.patch

#   work.patch2

no changes added to commit (use "git add" and/or "git commit -a")

 

modified 파일이 있으면 pull 이 안될수 있습니다.

 

2. modified 파일이 있으면 patch 뜬다.

kdsoo@chromatix:/home/share/GIT/OMAP3430/linux-2.6.29-rc3-omap$ git diff > work.patch

 

패치가 work.patch 파일로 저장됩니다.

 

3. local git repository를 리셋

가장 마지막으로 pull 해왔던 상태로 리셋합니다.

 kdsoo@chromatix:/home/share/GIT/OMAP3430/linux-2.6.29-rc3-omap$ git reset --hard

 

이때 주의할것은 git status 에서 untracked file 이 있으면 리셋할때 파일이 지워집니다.

untracked file 이 없도록 commit 해놓고 reset 하세요.

 

4. git pull

kdsoo@chromatix:/home/share/GIT/OMAP3430/linux-2.6.29-rc3-omap$ git pull

 

하시면 깨끗하게 최신으로 패치 됩니다.

 

5. 본인이 수정한 파일을 패치로 적용

  • 우선 패치해도 에러가 안나는지 테스트 합니다.
    • patch -p1 --dry-run < work.patch
  • patch fail 이 되지 않으면 패치 해도 됩니다.
    • patch -p1 <work.patch
  • patch fail 이 하나라도 나면 fail 난 파일의 diff 내용만 따로 파일로 보관하고 work.patch 에서 삭제합니다.
  • fail 난 파일의 diff 를 수작업으로 붙여넣어 줍니다.

 

6. 정리하면

  1. git diff > work.patch
  2. git reset --hard
  3. git pull
  4. patch -p1 --dry-run < work.patch
    1. 성공시 : patch -p1 <work.patch
    2. fail 시 : fail 되는 파일의 diff 만 따로 파일로 저장해두고 work.patch 에서 해당 파일 패치는 삭제후 다시 patch
이올린에 북마크하기(0) 이올린에 추천하기(0)
크리에이티브 커먼즈 라이선스
Creative Commons License

Tag : git, git pull, kernel, Linux, Patch

Hello San Francisco.

Posted 2009/02/13 16:54 by kdsoo
Dongsoo,


I am very pleased to inform you that your presentation, titled:

"Framework for digital camera in Linux"

has been accepted as a session for the upcoming CELF
Embedded Linux Conference, 2009.

The conference is April 6, 7 and 8 in San Francisco,
California.  As a presenter, you do not need to pay
any fee to attend the conference or the social event.
However, please register as a speaker at:
http://events.linuxfoundation.org/component/registrationpro/?func=details&did=6

Details about ELC 2009 are available at:
http://www.embeddedlinuxconference.com/elc_2009/index.html

Please note that this year, we are co-locating with the
Linux Collaboration Summit, which will be held April 8-10
in the same venue.  As an ELC attendee you are invited
to participate in that event as well.  This is normally
an invitation-only event, so this is a unique opportunity
to participate and interact with leading community and industry
Linux developers.

The website for the Collaboration Summit is:
http://events.linuxfoundation.org/events/collaboration-summit

The registration link for the summit is:
http://events.linuxfoundation.org/component/registrationpro/?func=details&did=2

If you plan on participating in the Collaboration Summit,
please register for that event (at no cost) separately.

Some additional notes...

You will be notified of your speaking date and time, and
room assignment, shortly before the conference.  If you
have restrictions on the date or time you can present,
please let me know immediately.

You should pick up your speaker badge and instructions at
the conference registration desk when you arrive at the
conference.

I need a short (1 to 2 paragraph) biography of you, for
the conference program and web site.  Please send me something
as soon as possible - but definitely no later than Feb 25.

If you have any special requests for facilities or session
time, please let me or the forum office <office@celinuxforum.org>
know as soon as possible.

If you have any questions, please don't hesitate to ask.

Thanks very much for your participation in this year's
embedded Linux conference.  I look forward to seeing you
there!
 -- Tim

=============================
Tim Bird
Architecture Group Chair, CE Linux Forum
Senior Staff Engineer, Sony Corporation of America
=============================

저작자 표시 비영리 동일 조건 변경 허락
크리에이티브 커먼즈 라이선스
Creative Commons License

'[3] My specialty' 카테고리의 다른 글

Vim with git plugin (git-vim)  (0) 2009/02/24
git pull & patch 간략 정리  (0) 2009/02/18
Hello San Francisco.  (0) 2009/02/13
vi 와 Linux programmer&rsquo;s manual 연동  (0) 2009/02/12
cscope with linux kernel source code  (0) 2009/02/10
Firefox url bar problem on Ubuntu 8.04  (0) 2009/02/02

Tag : Camera, ELC2009, Linux, v4l2

V4L2 개발 관련 정리.

Posted 2009/01/21 11:43 by kdsoo

1. V4L2 community : linuxtv

http://www.linuxtv.org

 

2. V4L2 repository

http://linuxtv.org/hg/v4l-dvb/

GIT 이 아닌 mercurial 을 사용

 

3. Mailing list

- http://vger.kernel.org/vger-lists.html#linux-media : 2009년 1월 2일부로 kernel.org 로 통합

- http://www.redhat.com/mailman/listinfo/video4linux-list : old mailing list

 

4. New API changes work

The way new API changes work is:
1. You should do a proposal at linux-media ML. People will review it and comment.
2. You should also propose the changes for the V4L2 API documentation.


After all guys being happy with your proposal, the API changes will be merged
at the development tree (and later at upstream kernel) together with your driver.

 

5. Documents

- Official V4L2 API doc : http://www.linuxtv.org/downloads/video4linux/API/V4L2_API/

- Latest V4L2 API docs : http://linuxtv.org/hg/~hverkuil/v4l-dvb-spec/file/ffe42a65649f/v4l2-spec/ : Make 가필요

- For driver developer : http://www.linuxtv.org/downloads/video4linux/v4l2dwgNew.html

- V4lL2 articles : http://lwn.net/Articles/203924/

이올린에 북마크하기(0) 이올린에 추천하기(0)
크리에이티브 커먼즈 라이선스
Creative Commons License

'[3] My specialty' 카테고리의 다른 글

cscope with linux kernel source code  (0) 2009/02/10
Firefox url bar problem on Ubuntu 8.04  (0) 2009/02/02
V4L2 개발 관련 정리.  (0) 2009/01/21
Diff tools  (0) 2009/01/16
Evolution can't open Inbox over 2GB size  (0) 2009/01/16
Framework for digital camera in Linux  (0) 2009/01/13

Tag : Camera, Linux, v4l2

Evolution can't open Inbox over 2GB size

Posted 2009/01/16 09:18 by kdsoo

This morning I’ve faced some kind of huge disaster.

 

My evolution mail client couldn’t open my bloody Inbox!!!!

 

Shame.

 

I figured it out that the cause of break was “evolution 2GB limit sort of bug”

 

Tried everything I could but not worked :(, and finally found out the solution.

 

Thanks google, and thanks nocturrne.

 

 

 

Source : https://bugs.launchpad.net/ubuntu/+source/evolution/+bug/197290

 

nocturrne wrote on 2008-06-30: (permalink)

 

I have the same problem every 6 months or so. This lame bug has been around since at least 2005. Please fix it.

Ubuntu Gutsy 7.10
Evolution 2.12.1

The best workaround I have found is to use archivemail to archive the old mail in the file, reducing the file size.

install archivemail:

sudo apt-get install archivemail

archive all mail older than 90 days:

archivemail -d90 ~/.evolution/mail/local/yourmailfile

After doing this, the file size is reduced way below 2GB, so it will open the next time you start evolution. If you like you can decompress the archive file and import it into another folder in evolution - takes a while though...

Regards

이올린에 북마크하기(0) 이올린에 추천하기(0)
크리에이티브 커먼즈 라이선스
Creative Commons License

'[3] My specialty' 카테고리의 다른 글

V4L2 개발 관련 정리.  (0) 2009/01/21
Diff tools  (0) 2009/01/16
Evolution can't open Inbox over 2GB size  (0) 2009/01/16
Framework for digital camera in Linux  (0) 2009/01/13
Palm Pre with Web OS  (0) 2009/01/11
MSM7K 계열의 리눅스 카메라 인터페이스 드라이버...  (0) 2008/12/28

Tag : archivemail, evolution, inbox size, Linux

Framework for digital camera in Linux

Posted 2009/01/13 16:08 by kdsoo

Proposal for presentation on CELF

 

Hello.

My name is Dongsoo Kim. and may I propose for a presentation about “Framework for digital camera in Linux” ?

 

In these days we practically use devices with camera in general which is based on SoC camera subsystem.

And those camera devices have been definitely improved in functional and performance level.

Let me take a specific case of mobile phone. Many of our mobile phones have camera on them and even dual for 3G handsets.

In case of Linux based smartphones, we have to control camera devices with video4linux APIs and thats what I want to talk about.

We’ve got several video4linux APIs in Linux kernel already but thats not enough. Because they are mostly for USB PC cameras as known as “webcam”.

But as I mentioned above, camera devices have been improved these days and they are running like a real digital camera. They have shutter device, iris, and some devices support object detection and wide dynamic range functionality.

But video4linux APIs in kernel mainline cannot cover all of them because those APIs are just considering cameras of “webcam” level.

So we are defining new video4linux APIs for digital cameras and wanna explain how it works.

Our presentation covers several SoC camera drivers in linux and legacy video4linux APIs and new video4linux APIs for digital camera.

And we also want to talk about camera porting issues.

Thank you.

 

I’m also attaching presentation contents below. You can refer to them.

 

 

 

 

Camera platform (except for USB camera) called SoC based camera subsystem

  • Various ways of preview (Live view) in SoC camera subsystems.
  • SoC camera subsystem in Linux kernel aspect

 

Aggressive development in mobile camera module devices

  • Legacy mobile camera modules are far behind latest ones in functional and performance level
  • Latest mobile camera modules are very close to real cameras
  • Needs of proper V4L2 APIs for real digital cameras

 

V4L2 and digital camera

  • V4L2 and legacy camera modules
  • Dual camera for 3G handset
  • New V4L2 APIs for digital cameras

 

Issues of porting in SoC camera subsystem

  • I2C issues
  • Size negotiation issues
  • color space negotiation issues
  • Lens control issues
  • JPEG data synchronization issues
  • Gstreamer & OpenMax

 

 

See you at San Francisco, CA on April 6th - 8th, 2009

크리에이티브 커먼즈 라이선스
Creative Commons License

Tag : Camera, Linux, v4l2