Skip to contentSkip to conversation

Override 80-wire cable detection for Toshiba S1800-814

PATCH Al Boldi 4 participants 7 messages Aug 30, 2007

lore
Share & tools
lore

Al Boldi

author
#0 lore raw
Quoted 6 lines · Alan Cox
Quoted 3 lines · Daniel Exner

Attached patch will add above mentioned Laptop Model to whitelist for both pata_ali and alim15x3, as it is correctly detected as 40-wire connected but this cable is short enough to still do transfers higher than UDMA33.

Looks good to me - does need a Signed-off-by: line however

Wow! I have been running 80wire cable detection override on 40wire cables for quite some time without any problem, but I never thought it to be legal if the 40wire cable length is short enough.

How short does it have to be, and can't we have a kernel bootparm to override the cable detection?

Thanks!

--
Al

#1 lore raw
Quoted 3 lines

Wow! I have been running 80wire cable detection override on 40wire cables for quite some time without any problem, but I never thought it to be legal if the 40wire cable length is short enough.

Yes.

Quoted 2 lines

How short does it have to be, and can't we have a kernel bootparm to override the cable detection?

For most users the goal should be to automate behaviour. It should just work.

author
#2 lore raw
Quoted 11 lines · Alan Cox
Quoted 3 lines

Wow! I have been running 80wire cable detection override on 40wire cables for quite some time without any problem, but I never thought it to be legal if the 40wire cable length is short enough.

Yes.

Quoted 2 lines

How short does it have to be, and can't we have a kernel bootparm to override the cable detection?

For most users the goal should be to automate behaviour. It should just work.

What's the max length of a 40wire cable to sustain 80wire cable characteristics?

Thanks!

--
Al

#3 lore raw
Quoted 3 lines · Al Boldi

What's the max length of a 40wire cable to sustain 80wire cable characteristics?

Hard to tell, since some (most?) laptops have sort of a backplane and there might be no real cable you could see because it's all mainboard wire paths already.

Jan

#4 lore raw
Quoted 3 lines · Jan Engelhardt

Hard to tell, since some (most?) laptops have sort of a backplane and there might be no real cable you could see because it's all mainboard wire paths already.

Makes you wonder why the mainboard doesn't just pretend to be an 80 wire cable if that is what it is compatible with. Seems like a design flaw in the laptop to not do so.

--
Len Sorensen

#5 lore raw
Quoted 8 lines · Lennart Sorensen
Quoted 3 lines · Jan Engelhardt

Hard to tell, since some (most?) laptops have sort of a backplane and there might be no real cable you could see because it's all mainboard wire paths already.

Makes you wonder why the mainboard doesn't just pretend to be an 80 wire cable if that is what it is compatible with. Seems like a design flaw in the laptop to not do so.

Or lazyness on behalf the vendor. You know, some even don't fix their DSDT...

Jan

#6 lore raw
In reply to Al Boldi
Quoted 2 lines

What's the max length of a 40wire cable to sustain 80wire cable characteristics?

Depends on the materials and connector. The required electrical characteristics for any cable are in the spec, and if you want to know more you'll need to know a lot more than I do about transmission line theory!