Bug 22678 - connector info for lenovo radeon hd 2400 xt card
Summary: connector info for lenovo radeon hd 2400 xt card
Status: RESOLVED WONTFIX
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/radeonhd (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: Luc Verhaegen
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-08 17:34 UTC by Jonathan Matthew
Modified: 2011-10-17 00:16 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments
connector information (1.29 KB, patch)
2009-07-08 17:34 UTC, Jonathan Matthew
no flags Details | Splinter Review
xorg -logverbose 7 output (77.68 KB, text/plain)
2009-07-10 18:18 UTC, Jonathan Matthew
no flags Details
rom file (60.00 KB, application/octet-stream)
2009-07-13 16:49 UTC, Jonathan Matthew
no flags Details

Description Jonathan Matthew 2009-07-08 17:34:25 UTC
Created attachment 27506 [details] [review]
connector information

A Lenovo machine I use has a radeon HD 2400 XT card that lies about its connector information, which results in the DVI port not working with the radeonhd driver.  I figured out the right connector information via trial and error.

I obviously don't have the connector macro name right, but I don't really understand the naming scheme there.

I've been using this patch for a few months with both the DVI and VGA ports in use and everything seems to work properly.
Comment 1 Matthias Hopf 2009-07-09 08:54:24 UTC
Can you please attach a Xorg.0.log of a 'X -logverbose 7' run?

Also, for determining the correct set of flags we use the 'conntest' of the utils/ directory. It includes a README how to run it.

Please attach the output of conntest with and without attached monitor(s), because chances are that just the HDP pins are wrong.
Comment 2 Jonathan Matthew 2009-07-09 19:40:32 UTC
Here's the conntest info.  I'll provide a xorg log shortly.

conntest with DVI and VGA plugged in:

rhd_conntest: v1.2.5, non-git sources
Found card: ATI Technologies Inc - RV610 [Radeon HD 2400 XT]
Checking connectors on 0x94C1, 0x1458, 0x2174  (@01:00:00):
  Load Detection: RHD_OUTPUT_DACA
  HotPlug: RHD_HPD_1
  DDC: RHD_DDC_NONE 

-----------------------------------------------------

with DVI only:

rhd_conntest: v1.2.5, non-git sources
Found card: ATI Technologies Inc - RV610 [Radeon HD 2400 XT]
Checking connectors on 0x94C1, 0x1458, 0x2174  (@01:00:00):
  Load Detection: RHD_OUTPUT_NONE 
  HotPlug: RHD_HPD_1
  DDC: RHD_DDC_NONE 
  
-----------------------------------------------------

with VGA only:

rhd_conntest: v1.2.5, non-git sources
Found card: ATI Technologies Inc - RV610 [Radeon HD 2400 XT]
Checking connectors on 0x94C1, 0x1458, 0x2174  (@01:00:00):
  Load Detection: RHD_OUTPUT_DACA
  HotPlug: RHD_HPD_NONE 
  DDC: RHD_DDC_NONE 

-----------------------------------------------------

and with neither:

rhd_conntest: v1.2.5, non-git sources
Found card: ATI Technologies Inc - RV610 [Radeon HD 2400 XT]
Checking connectors on 0x94C1, 0x1458, 0x2174  (@01:00:00):
  Load Detection: RHD_OUTPUT_NONE 
  HotPlug: RHD_HPD_NONE 
  DDC: RHD_DDC_NONE 
Comment 3 Matthias Hopf 2009-07-10 06:39:34 UTC
This rather looks rather bad - neither load detection is working for DVI for you, nor is *any* DDC detected.

Egbert, you know best about DDC, what is happening here?
Comment 4 Alex Deucher 2009-07-10 07:01:07 UTC
A copy of your vbios would be helpful.
(as root)
cd /sys/bus/pci/devices/<pci bus id>/
echo 1 > rom
cat rom > /tmp/lenovo_hd2400.rom
echo 0 > rom
Comment 5 Jonathan Matthew 2009-07-10 18:18:31 UTC
Created attachment 27584 [details]
xorg -logverbose 7 output

This was generated with my patch applied, so I'm not sure if it'll help at all.  I don't have access to this machine outside business hours, so this is the best I can do for now.
Comment 6 Jonathan Matthew 2009-07-13 16:49:44 UTC
Created attachment 27659 [details]
rom file
Comment 7 Matthias Hopf 2009-07-14 04:57:20 UTC
? The driver gets EDID from DDC_1, but conntest fails to detect that there's something on DDC_1?

What is happening there? Strange...

Luc, I think you wrote conntest, any ideas?
Comment 8 Matthias Hopf 2009-07-14 07:18:42 UTC
Apparently Egbert wrote the DDC code. Egbert?
Comment 9 Jeremy Huddleston Sequoia 2011-10-16 16:01:15 UTC
Does this issue occur with the preferred ati driver (xf86-vide-ati)?  If so, please move this to the Driver/Radeon component.  

Development of radeonhd has pretty much halted and development focus is on the ati driver.  Please see http://www.x.org/wiki/radeonhd

If the issue does not exist in the ati driver (or if there is no response to this message), this bug will be closed as WONTFIX unless someone contributes a patch.
Comment 10 Jonathan Matthew 2011-10-16 16:16:33 UTC
I don't have access to the hardware any more.  Feel free to close this bug.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.