From owner-freebsd-questions Sat Nov 17 21: 0:16 2001 Delivered-To: freebsd-questions@freebsd.org Received: from IMGate1.cshore.com (imgate1.cshore.com [63.237.136.14]) by hub.freebsd.org (Postfix) with ESMTP id AA87A37B416 for ; Sat, 17 Nov 2001 21:00:05 -0800 (PST) Received: from there (dialup-uu-dynamic80.cshore.com [63.112.158.80]) by IMGate1.cshore.com (Postfix) with SMTP id 222BD23ED0 for ; Sun, 18 Nov 2001 00:24:11 -0500 (EST) Content-Type: text/plain; charset="iso-2022-jp" From: Matthew Graybosch Reply-To: matthew@starbreaker.net Organization: starbreaker.net Message-Id: <200111180004.31542@starbreaker.net> To: freebsd-questions@freebsd.org Subject: Fwd: RE: About BSD Date: Sun, 18 Nov 2001 00:05:06 -0500 X-Mailer: KMail [version 1.3] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Patrick Soltani sent me this email; I'm forwarding it to the list because I can't answer this question myself. - ---------- Forwarded Message ---------- Subject: RE: About BSD Date: Fri, 16 Nov 2001 19:10:24 -0800 From: "Patrick Soltani" To: Hi, I followed the instruction below carefully, however kde complains about the: Section "InputDevice" to be invalid and my XF86Config resides in /etc. The xmodmap -e "pointer = 1 2 3 6 7 4 5" also gets the complain: " you have 3 buttons "; I have tried with a new optical mouse and regular roller mouse both from Microsoft. The only device driver that works is /dev/psm0 though. Tried many combinations to no avail. Any info deeply appreciated. Regards, Patrick Soltani. - -----Original Message----- From: Matthew Graybosch [mailto:matthew@starbreaker.net] Sent: Thursday, November 15, 2001 5:27 PM To: Yuichiro Abe Cc: freebsd-questions@freebsd.org Subject: Re: About BSD - -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday 15 November 2001 19:53, you wrote: > To Freebsd.org > > I have some questions. Let me ask you something stupid. > > 1. Generally, where is the file .emacs which is for the resource? .emacs usually lives in your home directory. In my case, I have an .emacs file in "/home/matthew/.emacs". Yours would live in "/home/yuichiro/.emacs" if "yuichiro" is your username. > 2. How can I activate the sound stuff? I tried many ways. But the > machine didn't read the port, pcm0. pcm0 isn't a port, but a device. You have to add "device pcm" to your kernel config and rebuild the kernel. The FreeBSD Handbook's "Sound" section has instructions at http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound.html This page is in English; you might want to look around for a Japanese translation. > 3. I would like to use an intellimouse on BSD. I changed the files > which are /etc/rc.conf, /etc/XF86config, and the resource file for > Netscape. But it doesn't work yet. I assume that you want to use the wheel. You didn't have to alter /etc/rc.conf or the Netscape resource file. Here's what you need in /etc/X11/XF86Config if you're using an Intellimouse Explorer, which is a seven-button optical mouse: Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/mouse" Option "Buttons" "7" Option "ZAxisMapping" "6 7" EndSection Afterwards, you need to install the "imwheel" utility. It's in "/usr/ports/x11/imwheel". Install it, put the .imwheelrc file that I'll attach into your /home directory, and then run imwheel from a prompt. Also, if you're using the seven-button optical Intellimouse, then you need to type the following in an XTerm: xmodmap -e "pointer = 1 2 3 6 7 4 5" Once you've done all that you should be able to use your IntelliMouse in X. However, if you're using a regular intellmouse, you need the following in /etc/X11/XF86Config: Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/mouse" Option "Buttons" "5" Option "ZAxisMapping" "4 5" EndSection You'll probably also need to issue the following command if the wheel doesn't scroll properly: xmodmap -e "pointer = 1 2 4 5 3" Email the list if you have further questions. - - -- Matthew Graybosch http://www.starbreaker.net GnuPG Key ID: 0x7D488659 "This message has been satirized for your protection." - -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE79GtbcCiK1X1IhlkRAn0kAKCMouEoduNRXWdeSBPwtZq+Bo2SrwCdFXw+ 65IS7+whbZKCpU/nzT79oG8= =ViQ1 - -----END PGP SIGNATURE----- - ------------------------------------------------------- - -- Matthew Graybosch http://www.starbreaker.net GnuPG Key ID: 0x7D488659 "Sex, Unix, and rock 'n roll" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE790GCcCiK1X1IhlkRAgGEAJoCpSj+YhLCZsXXlybVcvL1AZUPzQCfekyv 18NeUJFSLdvupXc/h885EKc= =RkZy -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message