>> Read No. 2218 article  
마우스 버튼 에뮬레이터..

등록 2002-02-14 19:08:00     조회 4
이름 굴렁이    

/etc/sysctl.conf
파일에..
 dev.mac_hid.mouse_button_emulation=1
dev.mac_hid.mouse_button3_key_keycode=125
 하면..
키보드 스페이스 왼쪽 맥버튼이 마우스의 오른쪽 버튼이 됩니다..
 showkey로 키코드를 확인할수있습니다..
 아자..듀얼헤드만 남았다..
  : 제목 : 맥킨토시(PowerBook)에 데비안설치하기..
:
:  갑작스럽게 접한 맥킨토시 시스템과..
: 접하자 마자 리눅스로 엎어버릴려는 무식한 발상으로..
: 3일만에 데비안을 설치하는데 성공하였습니다...씨디로 부팅하는방법도모르고
: 아무것도 모르는..상태에서...
:
: 맥킨토시 기종은..
: 코드네임 : 머큐리
: 일명 : Ti Book(타이북)
: 이름 : PowerBook
: 링크 : http://www.apple.com/powerbook/ : 모델 : G4/400 , 10G, ati rage128 mobile
:
: http://people.debian.org/~ieure/netinst/releases/20020212/woody_netinst-20020212-powerpc.iso : 맥킨토시용 debian 
: woody "netinst" iso images 를 받아서 CD로 만듬..
: 1. 파티션 나누기
:
: 맥에서 파티션은 이런식으로 나눠야 한다..
: 1 - HFS (HFS+ 아님!), yaboot, 50~60메가 가량
: 2 - AU/X, / , 리눅스파티션
: 3 - swap, 스왑
: 4 - HFS+, MacOS
:
: 파티션이 hda9 부터 시작한다..
: 고로..
: hda9, hda10, hda11, hda12가 된다.
:
: 파티션 나누는 법은..우선..맥킨토시에서 제공한 CD로 부팅한다.
: 유틸리티에 가면..하드디스트 초기화하는게 있다..
: 그때 나누워주면 된다..자세한방법은
: 맥관련사이트에서..
: http://www.maclink.co.kr : http://www.maczoo.com :
: 2. 데비안리눅스 설치하기
: 미리만든 netinst CD를 넣고 시동과함께.. C키를 누른다.
: 그럼 CD로 부팅이 된다.
: 내 경우 Linux-novideo 로 부팅해야됬다..
: Linux video=ofonly 와 같다..
: 그다음부턴.. IBM컴퓨터에 리눅스까는것과 같다..계속 쭉쭉나감..
: 하드 부트로더설치에서 막힐것이다..
: new world기종에선 않먹힌단다..
: 밑에.. excute shell을 선택한다..
:
: mkofboot --boot /dev/hda9 -m /usr/lib/yaboot/ofboot --root /dev/hda10 --partition 10
:
: exit
:
: reboot선택
:
:
: 3. 데비안리눅스 셋팅
: yaboot이 뜨면..
: Linux video=novideo 로 부팅..
: 역시..부팅되고나면 IBM계열과 비슷...그대로 진행해 나간다..
: 커널은 2.4.16 powerpc용으로 dselect로 설치했다..
:
: 맥킨토시 키보드는 특이하다..특히..노트북이므로..대부분 펑션으로 되어있다.
: 진짜 키가 않먹혀서..고생했다..
: YellowDogLinux에서 키보드배열을 따왔다..
: ftp://ftp.yellowdoglinux.com/pub/linux/distributions/yellowdog/yellowdog-2.1/ppc/install/ramdisk-text.image.gz : 이
: 걸 받아서.. tar xv ramdisk-text.image.gz
: mount -o ro,loop=/dev/loop0 ramdisk-text.image /mnt/test
: 기억이 가물가물하지만..
: /mnt/test/usr/lib/kbd/kemaps/i386/qwerty/us.kmap.gz
: 파일을
: /etc/console/boottime.kmap.gz 로 덥어버린다..
: 키보드가 그럼 만족스럽게 모두 동작한다..
:
: 버철터미널사용은
: Option(Alt) + Ctrl + fn + F1
: 이런식으로 사용하면 된다..
:
: 이제...최고의 삽질을 요했던건.. X윈도우였다..
: 파워북은 15.2인치의 와이드 화면이다..
: 1152x768
: ===================나의 XF86Config-4 파일========================
: Section "Files"
: #FontPath "unix/:7100" # local font server
: # if the local font server has problems, we can fall back on these
: FontPath "/usr/lib/X11/fonts/sun"
: FontPath "/usr/lib/X11/fonts/gulim"
: FontPath "/usr/lib/X11/fonts/misc"
: FontPath "/usr/lib/X11/fonts/cyrillic"
: #FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
: FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
: FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
: FontPath "/usr/lib/X11/fonts/Type1"
: FontPath "/usr/lib/X11/fonts/Speedo"
: #FontPath "/usr/lib/X11/fonts/100dpi"
: FontPath "/usr/lib/X11/fonts/75dpi"
: FontPath "/usr/lib/X11/fonts/100dpi"
: EndSection
:
: Section "Module"
: Load "GLcore"
: Load "bitmap"
: Load "dbe"
: #Load "ddc"
: #Load "dri"
: Load "extmod"
: Load "freetype"
: Load "glx"
: #Load "int10"
: Load "pex5"
: Load "record"
: Load "speedo"
: Load "type1"
: #Load "vbe"
: #Load "xie"
: #Load "xtt"
: EndSection
:
: Section "InputDevice"
: Identifier "Generic Keyboard"
: Driver "keyboard"
: #Option "CoreKeyboard"
: #Option "XkbRules" "xfree86"
: #Option "XkbModel" "macintosh"
: #Option "XkbLayout" "us"
: EndSection
:
: Section "InputDevice"
: Identifier "Configured Mouse"
: Driver "mouse"
: Option "CorePointer"
: Option "Device" "/dev/mouse"
: Option "Protocol" "IMPS/2"
: Option "Emulate3Buttons" "true"
: Option "ZAxisMapping" "4 5"
: EndSection
:
: Section "InputDevice"
: Identifier "Generic Mouse"
: Driver "mouse"
: Option "SendCoreEvents" "true"
: Option "Device" "/dev/input/mice"
: Option "Protocol" "ImPS/2"
: Option "Emulate3Buttons" "true"
: Option "ZAxisMapping" "4 5"
: EndSection
:
: Section "Device"
: Identifier "Generic Video Card"
: Option "HWcursor"
: Driver "r128"
: BusID "PCI:0:16:0"
: Option "UseFBDev" "true"
: EndSection
:
: Section "Monitor"
: Identifier "Monitor0"
: UseModes "Modes0"
: ModelName "Monitor Model"
: HorizSync 30-100
: VertRefresh 50-160
: Option "DPMS"
: EndSection
:
: Section "Modes"
: Identifier "Modes0"
: Modeline "1024x768" 78.525 1024 1049 1145 1312 768 769 772 800 +hsync +vsync
: Modeline "800x600" 62.357 800 821 901 1040 600 601 604 632 +hsync +vsync
: Modeline "1152x768" 64.994 1152 1178 1314 1472 768 771 777 806 +HSync +VSync
: EndSection
:
:
: Section "Screen"
: Identifier "Screen0"
: Device "Generic Video Card"
: Monitor "Monitor0"
: DefaultDepth 15
: SubSection "Display"
: Depth 8
: Modes "1152x768" "800x600"
: EndSubSection
: SubSection "Display"
: Depth 15
: Modes "1152x768" "800x600"
: EndSubSection
: SubSection "Display"
: Depth 16
: Modes "1152x768" "800x600"
: EndSubSection
: SubSection "Display"
: Depth 24
: Modes "1152x768" "800x600"
: EndSubSection
: EndSection
:
: Section "ServerLayout"
: Identifier "Default Layout"
: Screen "Screen0"
: InputDevice "Generic Keyboard" "CoreKeyboard"
: InputDevice "Configured Mouse"
: InputDevice "Generic Mouse"
: EndSection
:
: Section "DRI"
: Mode 0666
: EndSection
: ================================================================
: 완벽하다..아직까진.. ㅡㅡ;;
: 마우스는 USB 섹컨마우스도 쓸수있다..
:
: 이상하게..기본적으로 yaboot.conf가 없다
: /etc/yaboot.conf 를 만들어 주기 바란다.
: ================== yaboot.conf =================================
: ## Example yaboot.conf for ybin and yaboot >= 0.6
: ## see man yaboot.conf for more details.
:
: ## Change `unconfigured' to your bootstrap partition eg: /dev/hda2
: boot=/dev/hda9
:
: ## device is the OpenFirmware device path to the disk containing
: ## kernel images. if your disk is /dev/hda you can find the
: ## OpenFirmware path by running the command: ofpath /dev/hda DO NOT
: ## specify a partition number for this! On IBM hardware you can
: ## generally comment this out.
:
: device=hd:
:
: ## partition is the partition number where the kernel images are
: ## located. The kernel images should be on your root filesystem, so
: ## this is usually the same partition number as your root filesystem.
: ## so if root = /dev/hda3 (the 3rd partition) then you should have
: ## partition=3 This *MUST* be set correct or yaboot won't boot! This
: ## option can be either set globally as shown here, or per image in
: ## the image= sections
:
: partition=10
:
: ## delay is the amount of time in seconds the dual boot menu (if one
: ## is configured, by the presense of macos, macosx, etc options here)
: ## will wait before choosing the default OS (GNU/Linux or the value of
: ## defaultos=). If you omit this then the value of timeout=
: ## (converted to seconds) will be used.
:
: delay=10
: defaultos=macos
: macos=/dev/hda12
:
: ## timeout is the amount of time in tenths of a second that yaboot
: ## will wait before booting the default kernel image (the first image=
: ## section in this config file or the value of default=).
:
: timeout=40
: install=/usr/lib/yaboot/yaboot
: magicboot=/usr/lib/yaboot/ofboot
:
: ## Change the default colors, fgcolor is the text color, bgcolor is
: ## the screen background color. (default: fgcolor=white, bgcolor=black)
: #fgcolor=black
: #bgcolor=green
:
: ## Password supplied in plaintext, required for yaboot to boot, unless
: ## restricted is also present (see below). Be sure to
: ## chmod 600 /etc/yaboot.conf if you set this!
:
: #password=
:
: ## Password supplied as an md5 hash, see above
:
: #password=$1$saltstri$WHZcnT3IOdSrMvizOq7Ht1
:
: ## A password is only required to boot an image specified here if
: ## parameters are specified on the command line or if the user enters
: ## an image is not specified in the configuration file at all (ie.
: ## arbitrary file load). restricted can also be placed in an image
: ## section in that case any image not including the restricted keyword
: ## will be fully password protected.
:
: #restricted
:
: ## image is the kernel itself, commonly kept in / but also commonly
: ## found in /boot. Note that /boot should generally not be its own
: ## partition on powerpcs, its not necessary and complicates things.
: ## Make sure /boot is on the partition specified by partition= see
: ## above. /boot should never be an HFS filesystem. You may point
: ## image= to a symbolic link so long as the symlink does not cross
: ## partition boundries.
:
: image=/vmlinux
: label=Linux
: root=/dev/hda10
: read-only
: #append="hdc=ide-scsi"
: append="devfs=mount"
: append="apm=on"
:
: image=/vmlinux.old
: label=Linux.old
: root=/dev/hda10
: read-only
:
: =================================================================
:
: ybin 이라 타이핑한다..
: 그럼 부트로더 완료..
: 이제부턴....크게..IBM계열 컴퓨터와 다른것이 없다.
:
: 사운드카드의 경우..
: modconf로 간단히 모듈만올려주면된다..
: dmasound인가..
:
:
: 해결해야될 문제들..
: 1. DualHead사용 : 파워북은..미러방식의
: 외부VGA가 아닌..듀얼헤드이다..
: 아직시도는 않해봤다.
: XF86Config-4파일 수정만으로..가능할듯하다..
:
: 2. 맥마우스는 버튼이 한개이다.. ㅡ.ㅡ;;
: 섹컨마우스로 해결하고있지만...외출시를 생각해..해결해야될듯.. ㅡ.ㅡ;;
:
: 3. 서스펜드모드
: 원래 노트북을 덮으면..바로 서스펜드모드로 들어간다..
: YellowDogLinux를 깔았을때도..
: 데비안은..노트북덮어도..액정이 켜져있다..
: ...다시 커널컴파일해야될거같다..apm 모드
:
: -굴렁이
: shwj at hananet.net : http://www.gulung.org :
: ps. 본문이 반말이라 죄송합니다..편의상..
:
: --
: PowerBook Ti--PowerBook Ti
이름
암호


>> 관련글
2218 마우스 버튼 에뮬레이터..  굴렁이  2002.02.14  ....
  답장 RE: 마우스 버튼 에뮬레이터..  영은  2002.02.16  ....
  목록보기 윗글 아랫글
글쓰기
답장쓰기 수정 삭제
정규표현식 [ 상세 검색 ]
페이지로딩: [ 0.71 초 ] 작업시간: [ 0.06 초 ]

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

적수네 동네
+
| 적수네 동네
| 공부방
| 리눅스 잡지 서고
| LSN 소스
| 링크 모음
+---+
게시판
+
| 떠들어보세!
| 질문과 답변
| 새소식과 정보
| 1원짜리 팁?
| 대화방
+---+
칼럼?
+
| 세하 훔쳐보기
| Welcome2nite
| 혜진의 염장판
+---+
리눅스 상표권
+
| 반대 서명란
| 토론 게시판
+---+
GNU
+
| GNU 선언문
| GNU GPL
| GNU 미러 목록
+---+
프로젝트?
+
| 리눅스카운터
| RC5DES
| 실질헌법 제작
+---+
커널 소식
+
| 안정 버젼: 2.4.14
+---+
테마 선택
+
LSN 방송국?
+
| OFF AIR
+---+
회원
+
| 로그인
+---+
[ 적수네 동네 ] [ 리눅스 상표권 독점 반대 ] [ 한글 리눅스 문서 프로젝트 ] [ KrLine ] [ 사랑넷 ] [ Valid HTML 4.0! ] [ SlashDot ] [ Freshmeat ]
Copyleft (C) 1998-2001 Byeong-Chan Kim . License
TIME: 1791033766
System by WYZsoft, HDD by I.O.Linux, Mizi Research, Embryo, WOWLINUX, Domain by SarangNet, Network by KrLine.