Date: Sun, 17 Jul 2005 10:41:37 +0200 From: Mateusz =?utf-8?q?J=C4=99drasik?= <imachine@toya.net.pl> To: "M. Warner Losh" <imp@bsdimp.com> Cc: freebsd-current@freebsd.org, cperciva@freebsd.org Subject: Re: Requests for information/possible donation endpoint. Message-ID: <200507171041.37737.imachine@toya.net.pl> In-Reply-To: <20050716.183851.56563544.imp@bsdimp.com> References: <200507170157.04718.imachine@toya.net.pl> <42D9A190.5060401@freebsd.org> <20050716.183851.56563544.imp@bsdimp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Dnia niedziela 17 lipca 2005 02:38, M. Warner Losh napisa=C5=82: > In message: <42D9A190.5060401@freebsd.org> > > Colin Percival <cperciva@freebsd.org> 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200507171041.37737.imachine>