From owner-freebsd-questions@FreeBSD.ORG Thu May 8 08:20:52 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 DD54F37B401 for ; Thu, 8 May 2003 08:20:51 -0700 (PDT) Received: from smtp.monmouth.com (smtp.monmouth.com [209.191.58.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id E372E43FA3 for ; Thu, 8 May 2003 08:20:50 -0700 (PDT) (envelope-from markov@monmouth.com) Received: from happy.markov.net (bg-tc-ppp913.monmouth.com [209.191.51.99]) by smtp.monmouth.com (8.12.9/8.12.9) with ESMTP id h48FKmPr063307 for ; Thu, 8 May 2003 11:20:49 -0400 (EDT) Received: from happy.markov.net (happy.markov.net [192.168.0.5]) by happy.markov.net (Postfix) with SMTP id 6D4D6412C for ; Thu, 8 May 2003 11:27:11 -0400 (EDT) Date: Thu, 8 May 2003 11:27:11 -0400 From: "Vlad D.Markov" To: freebsd-questions@freebsd.org Message-Id: <20030508112711.48e35b47.markov@monmouth.com> In-Reply-To: <3EBA6B58.3070607@401.cx> References: <000c01c31557$27ae7ab0$00cefea9@arlette> <3EBA6B58.3070607@401.cx> X-Mailer: Sylpheed version 0.8.11 (GTK+ 1.2.10; i386-portbld-freebsd4.8) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII 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 15:20:52 -0000 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.