From owner-freebsd-questions@FreeBSD.ORG Fri Feb 17 09:42:06 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 135C716A420 for ; Fri, 17 Feb 2006 09:42:06 +0000 (GMT) (envelope-from mailings.freebsd@o0l0o.org) Received: from smartmx-01.inode.at (smartmx-01.inode.at [213.229.60.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id A94A943D46 for ; Fri, 17 Feb 2006 09:42:05 +0000 (GMT) (envelope-from mailings.freebsd@o0l0o.org) Received: from [81.223.62.146] (port=1847 helo=masternotebo.mhr.lan) by smartmx-01.inode.at with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.50) id 1FA27o-0001p1-Js for freebsd-questions@freebsd.org; Fri, 17 Feb 2006 10:42:04 +0100 From: FreeBSD Prospect To: freebsd-questions@freebsd.org User-Agent: KMail/1.9 MIME-Version: 1.0 Content-Disposition: inline Date: Fri, 17 Feb 2006 10:41:33 +0100 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200602171041.33508.mailings.freebsd@o0l0o.org> Subject: devfs rule: ioctl DEVFSIO_SAPPLY: No such process (???) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Feb 2006 09:42:06 -0000 Hi! I am trying to get the OSS soundsystem working for my nforce2 mainboard since yesterday, but with mixed success. The OSS driver is generally setup correctly and working, which means osstest outputs the demosound. My problem now seems to be the devfs, because I am trying to apply the ruleset to the audio devices in /dev, so that a normal user can access the sound in KDE. I used the following code for /etc/devfs.rules (which are given in this forum thread: http://www.4front-tech.com/forum/viewtopic.php?t=710): [oss_rules=200] add path 'dsp*' mode 666 add path 'mixer*' mode 666 add path 'audio*' mode 666 add path 'midi*' mode 666 add path sequencer mode 666 add path music mode 666 add path dmfm0 mode 666 The ruleset should be processed by the oss.sh startscript by calling: /sbin/devfs rule -s 200 applyset but this command only outputs: devfs rule: ioctl DEVFSIO_SAPPLY: No such process and nothing happens to the device nodes in /dev. I already tried to play around with devfs & devfs.rules, but whatever I tried, either it only gives the above error message, or simply gives no feedback and does nothing. If I run "/etc/rc.d/devfs restart", nothing happens. If I run "devfs ruleset 200 && devfs rule applyset" no feedback, and no change in /dev. I tried a similar approach for changing ownership and perms for /dev/acd* with another ruleset, I found on this mailinglist, but exactly the same result. For some reason unknown to me, devfs seems not be working on my system. I did nothing special on this installation. Installed from the 6.0-RELEASE install-cd, updated world to 6.1-PRERELEASE, installed the latest OSS driver package, configured it for nforce2, osstest OK, installed KDE by ports, and now I am stuck to get sound working in KDE... Any comments? -- Sincerely, Michael A FreeBSD Prospect, who is actually using Gentoo Linux