Re: CF Card Adapter White List Candidate
From: Robert Hancock <hidden>
Date: 2011-01-08 15:30:32
On Fri, Jan 7, 2011 at 10:51 AM, Tom Denchfield [off-list ref] wrote:
Robert, yes, the IDE socket missing pin was # 20, the Key needed for 80-conductor IDE cables, as you stated below. I had to take the adapter out so I carefully looked at it and compared it to a photograph on a pin-out Internet site. I also looked at an enlarged photo of the laptop CF card adapter pictured in URL03, and counted 44 pins - at least counting from the bottom of the socket. I notice that the dmesg output in my Wednesday, January 5, 2011 11:33 PM email to you guys has been removed from you response below. I realize that you need to keep emails shorter than those that I write, but I think that the dmesg demonstrates that my particular CF card adapter is indeed capable of being forced (libata.force=80c) to UDMA/66 even though it is not (economically) feasible to insert a 80-wire IDE cable between the CF card adapter and the IDE socket on a desktop computer's motherboard.
Yes, in this case there's likely no issue with using speeds faster than UDMA33. However, problem is that since these kind of adapters are essentially passive devices, there's no way for the kernel to detect them automatically. In this sort of case, the libata.force option is likely the best one.
quoted hunk ↗ jump to hunk
Robert, again thank you for helping me, and I hope that I may have contributed at least a little bit of useful information. Tom--- On Thu, 1/6/11, Robert Hancock <hancockrwd@gmail.com> wrote:quoted
From: Robert Hancock <redacted> Subject: Re: CF Card Adapter White List Candidate To: "Tom Denchfield" <redacted> Cc: "Tejun Heo" <redacted>, linux-ide@vger.kernel.org Date: Thursday, January 6, 2011, 10:22 PM On Wed, Jan 5, 2011 at 11:33 PM, Tom Denchfield [off-list ref] wrote:quoted
The reason that I mentioned powering my CF adapterwith a floppy drive power plug is that the first time I booted after inserting the adapter, I forgot to plug the floppy drive power plug into the adapter. The adapter's power on LED did not light, and I think that Ubuntu did not see the CF card.quoted
The reason that I mentioned the pin that wasintentionally left out of the motherboard IDE socket was that I thought that the missing pin might have had something to do with needing to power the adapter with the floppy drive power plug given my experience with forgetting to plug the floppy power plug into the adapter as mentioned in the previous paragraph.quoted
The pin that is missing from the motherboard IDEsocket is very close to the middle of the IDE socket. My guess is that the pin is in the in the range #18 to #24. It is far away from pin #34. I am going by memory here, but I clearly remember that the missing pin is in the middle. Pin #34 is going into the CF card adapter when I insert it. I do not know whether pin #34 is grounded at the mainboard. If it's pin 20, that's a key pin that's always missing and which has the corresponding hole filled in on the cable side (from compliant connectors, anyway), to prevent plugging in the cable the wrong way around. Not sure where the adapter would be potentially drawing power from on the IDE connector - as far as I know there aren't any pins on a standard IDE connector which provide continuous power. The adapters I've seen all use an extra power connector.quoted
When I asked my question, before I noticed and paidany real attention to the UDMA/100 CF card configured as UDMA/100 in URL03 above, I was concerned that there might be a UDMA/66 speed limit with the type of CF card adapter that I have. We may never know for sure until someone who has a CF card that is faster than UDMA/66 tries it in the URL01 adapter with Linux and the libata.force=80c boot parameter.quoted
Robert, thank you for helping me. I hope that myadditional comments and the information above will contribute to further Linux kernel development.quoted
Tom--- On Wed, 1/5/11, Robert Hancock <hancockrwd@gmail.com>wrote:quoted
quoted
From: Robert Hancock <redacted> Subject: Re: CF Card Adapter White List Candidate To: "Tom Denchfield" <redacted> Cc: "Tejun Heo" <redacted>,linux-ide@vger.kernel.orgquoted
quoted
Date: Wednesday, January 5, 2011, 5:47 PM On Wed, Jan 5, 2011 at 12:18 PM, Tom Denchfield [off-list ref] wrote:quoted
Hello, Tejun, this CF card adapter plugs directlyinto an IDEquoted
quoted
socket (Channel 0, in my case) on a desktopcomputerquoted
quoted
motherboard. You can see a picture of theadapter in thequoted
quoted
following URL01:quoted
URL01: http://preview.tinyurl.com/233u92u I have to power the adapter with a floppydrive powerquoted
quoted
plug because my motherboard's IDE sockets wereintentionallyquoted
quoted
manufactured without the pin that could havesupplied powerquoted
quoted
through an IDE cable.quoted
Does anyone have a top of the head opinion astoquoted
quoted
whether there are inherent usage limitations ineither thisquoted
quoted
passive CF card adapter and/or in the Linux kernelused withquoted
quoted
Ubuntu v10.10 that would prevent users with CFcards fasterquoted
quoted
than UDMA/66 (see URL02 below) from beingconfigured byquoted
quoted
Linux to work at speeds above UDMA/66? Thereason that Iquoted
quoted
ask this question is that I bought both my UDMA/66CF cardquoted
quoted
and the adapter from the URL01 seller. It isforeseeablequoted
quoted
that a lot of customers might have purchasedfaster CF cardsquoted
quoted
envisioning that they would work at speeds higherthanquoted
quoted
UDMA/66 with the adapter. The 'TechnicalDetails' sectionquoted
quoted
of URL01 does not state anything about UDMA speedusagequoted
quoted
limitations.quoted
URL02: http://www.hjreggel.net/cardspeed/index.html I think that there are CF card adapters oneBay thatquoted
quoted
are similar to the one pictured in URL01 above,and therequoted
quoted
are also IDE adapters that will hold two CFcards.quoted
quoted
The reason the speed is being limited to 33 isthat thequoted
quoted
cable detection code is detecting that an 80-wire cabledoesn'tquoted
quoted
appear to be connected. In order for an 80-wire cable to bedetected,quoted
quoted
pin 34 on the cable is supposed to be grounded at themotherboard end. Inquoted
quoted
the case of this adapter, since it plugs directly into the motherboard, it would have to be grounding pin 34 to get an80-wirequoted
quoted
detection, but presumably it's not.quoted
Tom--- On Wed, 1/5/11, Tejun Heo <htejun@gmail.com>wrote:quoted
quoted
From: Tejun Heo <redacted> Subject: Re: CF Card Adapter White ListCandidatequoted
quoted
quoted
quoted
To: "Robert Hancock" <redacted> Cc: "Tom Denchfield" <redacted>,linux-ide@vger.kernel.orgquoted
quoted
Date: Wednesday, January 5, 2011, 5:51AMquoted
quoted
quoted
quoted
Hello, On Tue, Jan 04, 2011 at 10:19:17PM -0600,Robertquoted
quoted
Hancockquoted
quoted
wrote:quoted
On 01/04/2011 04:18 PM, TomDenchfieldquoted
quoted
wrote:quoted
quoted
quoted
quoted
As you further recommended, inan attemptquoted
quoted
to getquoted
quoted
the SD-CF-IDE-DIquoted
quoted
IDE to CF Adapter that holds myCF cardquoted
quoted
whitequoted
quoted
listed, I amquoted
quoted
submitting the attachedlibata_force_80c_CF_card_adapter_whitelist_candidate_information.txtquoted
quoted
quoted
quoted
quoted
quoted
file that has the output fromexecutingquoted
quoted
fourquoted
quoted
terminal commands toquoted
quoted
hopefully supply enoughinformation toquoted
quoted
get itquoted
quoted
whitelisted. Thanks.quoted
quoted
Although I expect that my RV280Radeonquoted
quoted
9200 Proquoted
quoted
video card is tooquoted
quoted
old to expend much effort on, itwould bequoted
quoted
nice toquoted
quoted
also get itquoted
quoted
whitelisted so that futurenewbie Linuxquoted
quoted
users whoquoted
quoted
do not know aboutquoted
quoted
using the radeon.modeset=0parameter onquoted
quoted
the kernelquoted
quoted
command linequoted
quoted
will not be looking at a blackscreenquoted
quoted
with aquoted
quoted
blinking cursor whenquoted
quoted
they attempt to use a LiveCDforquoted
quoted
troubleshooting,quoted
quoted
or whatever.quoted
quoted
I purposely did not include theURL ofquoted
quoted
one of thequoted
quoted
Internet sitesquoted
quoted
that sells the adapter in thisemail inquoted
quoted
case thisquoted
quoted
is a no no. I don't think that's a no no unless theintentionquoted
quoted
isquoted
quoted
commercial.quoted
quoted
Tejun, I am not sure that I willhavequoted
quoted
either thequoted
quoted
time or thequoted
quoted
interest to learn theintricacies ofquoted
quoted
editingquoted
quoted
to addquoted
quoted
libata.force=80c to this site inlieu ofquoted
quoted
quoted
quoted
force_cbl=80: so thatquoted
quoted
fewer people will be asking youquestions. Iquoted
quoted
have a ThinkPadquoted
quoted
without a HDD plus a laptopadapter thatquoted
quoted
will holdquoted
quoted
my CF card, butquoted
quoted
my Think Pad is a lot older thanthequoted
quoted
onesquoted
quoted
discussed onquoted
quoted
Compact_Flash_boot_drive. Inaddition,quoted
quoted
I didquoted
quoted
not see any recentquoted
quoted
updates to this Internet page,but maybequoted
quoted
I canquoted
quoted
find someone toquoted
quoted
email who will update thispage.quoted
quoted
quoted
quoted
Yeah, just ping someone.quoted
Is there actually any way toidentify thequoted
quoted
adapterquoted
quoted
automatically?quoted
AFAIK, these CF-IDE adapters arejustquoted
quoted
passivequoted
quoted
circuitry and there'squoted
no way to identify them throughsoftware.quoted
quoted
quoted
quoted
Hmmm... I was thinking this was somehingintegrated to thequoted
quoted
machine (so the dmidecode), in which case we cancombine dmi +quoted
quoted
pciquoted
quoted
function # + port # to whitelist the device, which wealreadyquoted
quoted
do forquoted
quoted
some type of quirks. If it's a plug in device, weobviouslyquoted
quoted
can'tquoted
quoted
identify it. Tom, is the CF slot integrated to themachine orquoted
quoted
is itquoted
quoted
something you put into the PCMCIA slot? Thanks. -- tejun