Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Nov 2001 00:05:06 -0500
From:      Matthew Graybosch <matthew@starbreaker.net>
To:        freebsd-questions@freebsd.org
Subject:   Fwd: RE: About BSD
Message-ID:  <200111180004.31542@starbreaker.net>

next in thread | raw e-mail | index | archive | help
-----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" <psoltani@ultradns.com>
To: <matthew@starbreaker.net>

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200111180004.31542>