>> Delete No. 3220 article
No. 소니에서 fn키를 활성화 하기...

등록 2003-01-04 03:30:00     조회 6
이름 바보    

		예전에 소니의 fn키 활성화 팁을 올렸었는데 이번에도 같은 팁입니다.
 허나 조금 다른 점이라면 저번에 올린 팁에서는 펑션키를 가동해도 그냥
 아무런 그림같은게 안나오고 동작만되는 식이 였는데 오늘 올리는 팁은 윈도우
 에서 처럼 펑션키를 작동하면 이쁜 그림이 중앙에 표시 됩니다.
 자그럼 출발 해보죠~~~
 필요한 준비물!!!
 1.http://www.azzit.de/dotconf/download/v1.0/dotconf-1.0.11.tar.gz  2.http://unc.dl.sourceforge.net/sourceforge/sonyfx/s
onyfxd-0.1.2-1.i586.rpm   하나.  설치 전에 먼저 커널에서 " Sony Vaio Programmable I/O Control Device support
" in "Character devices" 저 옵션을 주고 커널 컴파일이 되어 있어야 합니다. 아마 기본적으로 커
널을 설치 하면 포함되어서 설치 되어 있을 겁니다  둘.
 /etc/modules.conf 를 열어서
alias char-major-10-63 sonypi
options sonypi minor=63 nojogdial=1 를 추가해 줍니다
  셋.
 mknod /dev/sonypi c 10 63 를 실행해서 장치를 만들어 줍니다.
 <<먼저 위의 3개의 조건이 있어야 하니 필히 지켜 주십시요!!!>>
 이제 본격적인 작업으로 들어 가 보죠
 1.먼저 dotconf를 컴파일 합니다
 그냥 압축을 푸시고 ./configure; make; make install하면 됩니다 간단하죠...
 자 그리고 sonyfxd를 설치 합니다 rpm이니 rpm -Uvh sonyfxd-0.1.2-1.i585.rpm 하면 되겠죠~~~
 이제 설치가 다 되었으니 이제 조금의 컨피그 파일을 수정해주시면 됩니다
 2.sonyfxd를 설치 하고 나면
 /usr/share/doc/sonyfxd-0.1.2/sample.conf
 저 파일이 있을 겁니다 저 파일을 /etc/sonyfxd.conf로 옮겨 줍니다.
 이제 /etc/sonyfxd.conf를 조금 편집해줘야 합니다
 vi로 열어 보시면 아래 처럼 되어있을 겁니다.
 # sonyfxd configuration file
#
# See http://sonyfx.sourceforge.net for the latest version
#
# Comment out all unused options
 # Configuration Options
 # The background used for the brightness window
Brightness_Background   /usr/share/sonyfxd/brightness.xpm
# The background used for the volume window
Volume_Background       /usr/share/sonyfxd/volume.xpm
# The background used for the mute window
Mute_Background         /usr/share/sonyfxd/mute.xpm
# The file where the mute state is stored. Make sure
# this location is readable/writable by the user, and
# is not deleted at any time (or else you will lose
# the state of the mute function)
Mute_State_File         /tmp/sonyfxd.state
# On start, the LCD brightness will be set to this level
# you can comment the following line out to disable this
Init_Brightness         25
 # Key Options
Fn_Esc
Fn_F1
Fn_F2
# use internal for the following 3 keys to enable the
# internal X windows
Fn_F3   internal
Fn_F4   internal
Fn_F5   internal
Fn_F6
Fn_F7
Fn_F8
Fn_F9
Fn_F10
Fn_F11
Fn_F12
Fn_D
Fn_E    /usr/bin/eject
Fn_S
Fn_B
P1      mozilla
P2      "mozilla -mail"
P3
# Run a command when you close the LCD
Lid_Closed
# Run a command when you open the LCD
Lid_Opened
~
 이놈들중에 Fn_F3, F4, F5 , Fn_E를 제외 하고 모든 Fn,P로된 놈들을 주석 처리 해줍니다.
그리고 Lid_closed와 Lid_Opened도 주석으로 처리 합니다
 왜 주석 처리 하냐 하면 사용하지 않는 키에 아무런 실행코드가 없으면 에러가 나기 때문
에 주석 처리 해줍니다.  차후에 난 Fn_11에 xmms를 넣고 싶다면 그 놈을 주석을 푸시고 xmms의 
절대 경로를 적어 주면 fn+f11을 누르면 xmms가 실행 되겠죠  그리고 Init_Brightness  25 요놈을 
보시면 lcd의 기본 밝기 값입니다  전 항상 최대로 해서 사용하기 때문에 25대신 100을 넣어
서 최대 밝기로 사용합니다  필요하시다면 사용자분들의 구미에 맞게 값을 변경하십시요!!
!  자 이제 모든 준비는 다 끝났습니다
 이제 이놈을 리눅스가 실행 할때 마다 자동으로 돌아가게만 해주시면 됩니다
 3. /etc/rc.local에 chmod 777 /dev/sonypi을 추가 해줍니다
 4. /etc/X11/xdm/Xsession 를 열어서 #!/bin/sh 밑에
 if [ -f ~/.sonyfxd.conf ]; then
    /usr/bin/sonyfxd -C ~/.sonyfxd.conf &
elif [ -f /etc/sonyfxd.conf ]; then
    /usr/bin/sonyfxd -C /etc/sonyfxd.conf &
fi
 를 추가 해 줍니다.
  자 이제 모든 것이 끝났습니다
 리부팅 하시고 펑션키를 눌러 보시면 멋진 그림이 나오죠 그리고 크키의 레벨은 방향키로
 조정 하시면 됩니다  써놓고 보니 너무 장황 하군요......ㅡ.ㅡ;;
 암튼 허접한 팁을 읽어 주셔서 감사 합니다....
 참고 싸이트
 http://sonyfx.sourceforge.net/sonyfxd.html  --도
누구 acpi를 활성화 해서 lcd의 전원을 끄는 방법 아시는분......
 하이버네이션을 돌려다오........ㅡ0ㅡ
[관리자] 패스워드를 입력 하십시오. 답장이 존재하면 함께 삭제됩니다.[ 목록 | 이전 ]
패스워드:    

Copyleft 1999-2026 by JSBoard Open Project
Theme Designed by IDOO All right reserved