From owner-freebsd-questions@FreeBSD.ORG Thu May 8 21:09:02 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 01DEE37B401 for ; Thu, 8 May 2003 21:09:02 -0700 (PDT) Received: from lilzcluster.liwest.at (lilzclust02.liwest.at [212.33.55.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id C5DC443F93 for ; Thu, 8 May 2003 21:09:00 -0700 (PDT) (envelope-from dgw@liwest.at) Received: from cm58-27.liwest.at by lilzcluster.liwest.at (8.10.2/1.1.2.11/08Jun01-1123AM) id h4948qn0001497942; Fri, 9 May 2003 06:08:53 +0200 (MEST) From: Daniela To: Teilhard Knight , "Vlad D.Markov" , FreeBSD Date: Fri, 9 May 2003 06:09:35 +0000 User-Agent: KMail/1.5.1 References: <000c01c31557$27ae7ab0$00cefea9@arlette> <20030508112711.48e35b47.markov@monmouth.com> <1052422739.5162.29.camel@arlette.love.dad> In-Reply-To: <1052422739.5162.29.camel@arlette.love.dad> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200305090609.35441.dgw@liwest.at> Subject: Re: I must be dummy X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 May 2003 04:09:02 -0000 On Thursday 08 May 2003 19:38, Teilhard Knight wrote: > On Thu, 2003-05-08 at 10:27, Vlad D.Markov wrote: > > On Thu, 08 May 2003 16:36:08 +0200 > > > > "Roger 'Rocky' Vetterberg" wrote: > > > Teilhard Knight wrote: > > > > Well, I'm in Windows now. No pun intended, but I trust better $ill > > > > Gates' Control Panel, than any other OS hardware information tool. > > > > > > > > The Handbook and everybody makes feel it is such a simple > > > > straightforward procedure to build our kernel, that I feel a real > > > > dummy. I first post what I have done so far, and then my questions > > > > to you. > > > > > > > > Kernel: > > > > > > *snipped huge kernel config* > > > > > > > I just added three entries: > > > > > > > > 1.- device fxp0 # Intel PRO/100 VE Network > > > > Connection > > > > > > > > 2.- device ulpt0 # hp DeskJet 845c > > > > > > > > 3.- device pci1 # NVIDIA RIVA TNT2 64/64 pro > > > > (Ultra Vanta). > > > > > > > > Now, the first think I have difficulties with is with the right > > > > identification (the "code"? name) of the device. I have found > > > > nowhere that my mouse is fd0, but for Shantanu, who wrote to me. In > > > > the entry 3 above, "pci1" sounds to me, like socket PCI 1, not the > > > > identification of my device. But on dmesg.boot, the card is just > > > > spotted like that. Also, in parenthesis is how the card is > > > > detected, and how I wote it is how really the card is. I have > > > > looked where to find those codes and I have had no success. > > > > > > > > There are three things that remain to be configured. > > > > > > > > 1.- Sound card. It is a "Sound Max Integrated Digital Audio". This > > > > configuration strikes me as not simply an entry like the rest, > > > > because handles: a) Digital Audio, b) MIDI Devices, and c) Mixer > > > > Devices. There is also a Modem Wave Driver. And this and the Video > > > > card are bundled somehow to provide game controllers. > > > > > > > > 2.- An OHCI Compliant IEEE 1394 Firewire Port. > > > > > > > > 3.- An External dial-up USB modem. It's and Aztech UM9800-U. > > > > Drivers are provided for UNIX and Linux. > > > > > > > > I appreciate in advance the help you can spare. > > > > > > > > Teilhard Knight The Extraterrestrial > > > > > > > > Who ate my sandwich? > > > > > > First of all, you should not edit GENERIC, you should copy GENERIC to > > > a name you decide, and then use that to modify your kernel. > > > Second, you should not use numbers in device name. Instead of 'device > > > fxp0' try just 'device fxp'. However, Im almost 100% sure fxp is in > > > the GENERIC kernel so you should not have to add that yourself. > > > I never use sound on my bsd machines, but try adding the pcm driver to > > > > > > your kernel, I've heard it should handle most soundcards. > > > Try looking in the LINT file (/sys/i386/conf/LINT) for tips and > > > pointer to all devices and their names. > > > > > > -- > > > R > > > > I found the easiest way to get sound working was to put: snd_load="YES" > > into /boot/loader.conf. This loads every sound card driver as a module. > > > > On the next boot, /var/run/dmesg.boot will list which soundcard was > > detected so you can just load the proper module next time instead of > > all of them. > > > > The next thing to do is to make the sound device - that is explained > > clearly in the FreeBSD handbook. > > > > As an aside, I just installed OpenBSD on a laptop. Sound was configured > > on the first boot. Instead of adding drivers like in FreeBSD, I get to > > remove them. Which way is better? - I don't pretend to know. > > Your approach is an appealing one. I just wish I knew how to spot the > drivers loaded and be able to uninstall those I do not want. I'm not > much knowledgeable in command-line operations, and GUI's like KDE are > not like Mandrake's which have the software configuration and > install-uninstall utilities. You can use /stand/sysinstall for configuration. It's not a GUI, but it has a nice menu-driven interface. Should be easy for you. Daniela