From owner-freebsd-current@FreeBSD.ORG Sun Jul 17 08:39:40 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8929916A41C; Sun, 17 Jul 2005 08:39:40 +0000 (GMT) (envelope-from imachine@toya.net.pl) Received: from lazir.toya.net.pl (lazir.toya.net.pl [217.113.224.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id D2BB343D46; Sun, 17 Jul 2005 08:39:39 +0000 (GMT) (envelope-from imachine@toya.net.pl) Received: from localhost (unknown [192.168.120.26]) by lazir.toya.net.pl (TOYAnet MailServer) with ESMTP id 382508C264; Sun, 17 Jul 2005 10:39:38 +0200 (CEST) Received: from lazir.toya.net.pl ([192.168.120.25]) by localhost (agregat [192.168.120.26]) (amavisd-new, port 10024) with ESMTP id 16429-05; Sun, 17 Jul 2005 10:39:35 +0200 (CEST) Received: from [192.168.0.4] (unknown [85.89.161.206]) by lazir.toya.net.pl (TOYAnet MailServer) with ESMTP id 7F8CA8C24B; Sun, 17 Jul 2005 10:39:36 +0200 (CEST) From: Mateusz =?utf-8?q?J=C4=99drasik?= To: "M. Warner Losh" Date: Sun, 17 Jul 2005 10:41:37 +0200 User-Agent: KMail/1.8.1 References: <200507170157.04718.imachine@toya.net.pl> <42D9A190.5060401@freebsd.org> <20050716.183851.56563544.imp@bsdimp.com> In-Reply-To: <20050716.183851.56563544.imp@bsdimp.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200507171041.37737.imachine@toya.net.pl> X-TOYA-AV: AntyVir-Skaner at toya.net.pl Cc: freebsd-current@freebsd.org, cperciva@freebsd.org Subject: Re: Requests for information/possible donation endpoint. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Jul 2005 08:39:40 -0000 Dnia niedziela 17 lipca 2005 02:38, M. Warner Losh napisa=C5=82: > In message: <42D9A190.5060401@freebsd.org> > > Colin Percival writes: > : Mateusz Jedrasik wrote: > : > Also, I dont want to sound "linuxy" here, but it could be nice with a > : > way that ata bus drivers could inform userland programs somehow when > : > the tray of a cd/dvd has closed - so it would be possible to automount > : > stuff like cd's upon closure of tray, and perhaphs upon the pressing = of > : > the eject button, automatic unmounts if the medium is not currently > : > used by any process. > : > : There is already a mechanism available for doing this: devd. I don't > : know if the ata drivers send the necessary messages, and I'm pretty sure > : that there isn't anything in userland which listens for those messages; > : but all of the infrastructure is there. > > Except that there's no way to know when the tray is closed, except > polling... > > Warner Ok, what about the rest of the stuff? I have now located also a powerd error, (bug?) mainly the frequencies picke= d=20 off by acpi are unavailable - this is a p4 1.6Ghz and it seems uncapable of= =20 clocking itself down to 1200Mhz. The levels said to be supported are: dev.cpu.0.freq: 1600 dev.cpu.0.freq_levels: 1600/22000 1400/19250 1200/9800 1050/8575 1000/13750= =20 900/7350 800/11000 750/6125 600/8250 450/3675 400/5500 300/2450 200/2750=20 150/1225 The ones actually supported are 1400, 1000, 800, 600, 400, 200. The other ones do not work, whether booting from A/C and then switching to= =20 battery, or whether starting on A/C or starting on battery. ttyp1 10:38 # sysctl dev.cpu.0.freq=3D450 dev.cpu.0.freq: 1600 sysctl: dev.cpu.0.freq: Device not configured and in messages: acpi_perf0: Px transition to 1200 failed acpi_perf0: set freq failed, err 6 Any ideas, good people? :-) Cheers, /m.