Requests for information/possible donation endpoint.

Mateusz Jędrasik imachine at toya.net.pl
Sun Jul 17 08:39:40 GMT 2005


Dnia niedziela 17 lipca 2005 02:38, M. Warner Losh napisał:
> In message: <42D9A190.5060401 at freebsd.org>
>
>             Colin Percival <cperciva at 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 picked 
off by acpi are unavailable - this is a p4 1.6Ghz and it seems uncapable of 
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 
900/7350 800/11000 750/6125 600/8250 450/3675 400/5500 300/2450 200/2750 
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 
battery, or whether starting on A/C or starting on battery.

ttyp1 10:38 # sysctl dev.cpu.0.freq=450
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.


More information about the freebsd-current mailing list