Re: ataidle and -current ?



Matthew N. Dodd wrote:
On Fri, 26 May 2006, Julian Elischer wrote:
the interface to control the deveices has changed. Theoretically you
could make a much simpler ataidle program now but no-one has done it..

I wrote ftp://ftp.jurai.net/users/winter/atautil.tar to manipulate ATA
"APM" settings. APM is drive managed power configuration.

I call a simple shell script via apmd to enabling idling when the laptop
is on battery.

'atautil' also supports reading the drive tempreature from IBM/Hitachi
Travelstars.


well, It does not work on amd64. or - with my HDD.


#aldan ~/atautil> ./atautil -f ad0 identify
atautil: IOCATAREQUEST: Inappropriate ioctl for device


at same time atacontrol says that it is
#aldan ~/atautil> atacontrol list
ATA channel 0:
Master: ad0 <ST9100822A/3.01> ATA/ATAPI revision 6

Are there any ideas why IOCATAREQUEST ioctl fails - as I see all ioctl
request from ad_disk driver are redirected to ata-all:ata_*_ioctl
function. At same time I cannot see any ifdefs in ata* files which
disable processing this ioctl..

May be this is an issue with hard driver() it is
#aldan ~/atautil> atacontrol cap ad0

Protocol ATA/ATAPI revision 6
device model ST9100822A
serial number 3LG1EH90
firmware revision 3.01
cylinders 16383
heads 16
sectors/track 63
lba supported 195371568 sectors
lba48 supported 195371568 sectors
dma supported
overlap not supported

Feature Support Enable Value Vendor
write cache yes yes
read ahead yes yes
Tagged Command Queuing (TCQ) no no 0/0x00
SMART yes yes
microcode download yes yes
security yes no
power management yes yes
advanced power management yes yes 32896/0x8080
automatic acoustic management no no 0/0x00 254/0xFE


so it CAN support power management.

--
Gaspar


_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • RE: how to enable auto power off
    ... >> OK, I just checked the BIOS, and it does have Power ... >> I've never used Power Management on any of my computers, ... Should I assume that the BIOS does not support soft power off? ...
    (freebsd-questions)
  • Re: XP will not "Wake the computer to run this task"
    ... The OS is not operating when the system is in hibernation. ... is no way for it to trigger a wake up from hibernation. ... BIOS would power on the system and boot it from hibernation. ... look for power management settings on my network cards. ...
    (microsoft.public.windowsxp.general)
  • Re: What so special about PostgreSQL and other RDBMS?
    ... > provider is unavailable or limited to simple telephone support. ... about license management and control of procurement. ... dependencies, at the very least you are dependent on skill and expertise - ... >> even if this means being dependent upon that platform. ...
    (comp.lang.php)
  • Re: fehler apm-gerät
    ... > Systemkomponenten bei Unterstützung für Advanced Power ... > Management im Gerätestatus Fehler Code 10 angezeigt. ...
    (microsoft.public.de.german.win98.allgemein)
  • Re: Sell Program - Screwed by Managers !!!
    ... jumps in the management ladder) and managed to pursuade him. ... did you gain the industry knowledge before your currnet employer ... do you need support from anyone else to support the sell? ... tony h's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=21074 ...
    (microsoft.public.excel.programming)