grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Request: hdparm module with -X <transfer mode>


From: Christian Franke
Subject: Re: Request: hdparm module with -X <transfer mode>
Date: Mon, 11 Jan 2010 16:01:02 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.4) Gecko/20091017 SeaMonkey/2.0

Nando wrote:
It's great to have hdparm output added. Another fixup that would be needed would be setting the ATAPI cable mode to be 80pin, rather than the slower 40pin. Users who add hard drives in place of PATA optical drives are liked affected. Eg:

http://forum.notebookreview.com/showthread.php?p=5519419 (HP 2510P / optical drive caddy) http://www.gottabemobile.com/forum/forum_posts.asp?TID=8260&PID=55271 <http://www.gottabemobile.com/forum/forum_posts.asp?TID=8260&PID=55271> (Dell XT / not sure why)

Comments/suggestions?


AFAICS this is not possible:

Cable detection can be done either by host sensing the PDIAG:CBLID signal, by relying on sensing info from the device, or a combination of both. This is rather complex such that false results may be not unlikely. The device reports the state of PDIAG:CBLID in IDENTIFY word 93. The original Linux hdparm prints this info as:
"HW reset results: CBLID- above/below Vih".
(I will add this to GRUB hdparm).

There is no standard ATA command to change what the device reports in word 93. The host OS driver may or may not use this info from the device to detect cable type.

Reference: T13/1532D Vol 2 Rev 4b (ATA-7 Parallel Transport) section 8.2.11 and annex D.

Christian





reply via email to

[Prev in Thread] Current Thread [Next in Thread]