From owner-freebsd-questions@FreeBSD.ORG Thu May 8 12:48:28 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 38E8837B404 for ; Thu, 8 May 2003 12:48:28 -0700 (PDT) Received: from mail.yifansoft.com (ns1.yifansoft.com [64.61.26.50]) by mx1.FreeBSD.org (Postfix) with SMTP id 008DF43FA3 for ; Thu, 8 May 2003 12:48:27 -0700 (PDT) (envelope-from teilhk@yifan.net) Received: (qmail 13307 invoked from network); 8 May 2003 19:35:51 -0000 Received: from unknown (HELO dsl-200-67-187-63.prodigy.net.mx) (200.67.187.63) by host6.yifansoft.com with SMTP; 8 May 2003 19:35:51 -0000 From: Teilhard Knight To: "Vlad D.Markov" , FreeBSD In-Reply-To: <20030508112711.48e35b47.markov@monmouth.com> References: <000c01c31557$27ae7ab0$00cefea9@arlette> <20030508112711.48e35b47.markov@monmouth.com> Content-Type: text/plain Organization: Message-Id: <1052422739.5162.29.camel@arlette.love.dad> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.4-1.1mdk Date: 08 May 2003 14:38:59 -0500 Content-Transfer-Encoding: 7bit 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: Thu, 08 May 2003 19:48:28 -0000 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. Teilhard Knight The Extraterrestrial Who ate my sandwich?