From owner-freebsd-mobile@FreeBSD.ORG Sun Sep 5 14:12:08 2004 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E2A9A16A4CE for ; Sun, 5 Sep 2004 14:12:08 +0000 (GMT) Received: from mail.gmx.net (imap.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id E264143D31 for ; Sun, 5 Sep 2004 14:12:07 +0000 (GMT) (envelope-from ph.schulz@gmx.de) Received: (qmail 9390 invoked by uid 65534); 5 Sep 2004 14:12:06 -0000 Received: from p5090D30A.dip0.t-ipconnect.de (EHLO [192.168.1.4]) (80.144.211.10) by mail.gmx.net (mp003) with SMTP; 05 Sep 2004 16:12:06 +0200 X-Authenticated: #1954550 Message-ID: <413B1EB5.1040402@gmx.de> Date: Sun, 05 Sep 2004 16:12:05 +0200 From: Phil Schulz User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20040830 X-Accept-Language: de, en-us, en MIME-Version: 1.0 To: freebsd-mobile@freebsd.org X-Enigmail-Version: 0.84.2.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Cannot load speaker.ko X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Sep 2004 14:12:09 -0000 Hello List! When trying to load device speaker using `kldload speaker` on my laptop which runs FreeBSD 5.2.1-Release-p9, I get the following output on the console and no /dev/speaker: > Sep 5 15:30:44 mars kernel: fdc0: ready for input in output > Sep 5 15:30:44 mars kernel: fdc0: cmd 3 failed at out byte 1 of 3 When doing the same thing on my desktop, running 5.3-Beta2 from last Monday, I get > Sep 5 15:38:38 earth kernel: fdc0: cmd 3 failed at out byte 1 of 3 > Sep 5 15:38:38 earth kernel: device_attach: fdc0 attach returned 6 > Sep 5 15:38:38 earth kernel: speaker0 port 0x61 on acpi0 and I can access /dev/speaker. The only change to /sys/i386/isa/spkr.c between 5.2.1-Release and 5.3-Beta2 I can see seems to be the dev_t-to-struct cdev *-switch by phk@, but I don't see how this would make a difference. This may sound dumb, but is it possible that there is not PC speaker in my laptop? But pressing ctrl+f on the console makes the thing beep quite loudly actually... What other ways are there to make a background application beep w/o going through /dev/speaker? I tried curses' beep(3), but that somehow doesn't work neither on my desktop nor on my laptop... Thanks in advance, Phil. -- Did you know... If you play a Windows 2000 CD backwards, you hear satanic messages, but what's worse is when you play it forward.... ...it installs Windows 2000 -- Alfred Perlstein on chat@freebsd.org