Mailinglist Archive: radeonhd (698 mails)

< Previous Next >
[radeonhd] radeonhd driver with non-ATI PCI vendor ID
  • From: Yuri Ovcharenko <amwsoft@xxxxxxxxx>
  • Date: Fri, 30 Nov 2007 17:04:20 +0200
  • Message-id: <200711301704.20655.amwsoft@xxxxxxxxx>
Hi list.

I posted this as a bug https://bugs.freedesktop.org/show_bug.cgi?id=13459

On my Samsung R24plusF000 laptop ATI Mobility Radeon X2300 has non-ATI PCI
vendor ID. As a result X does not start with radeonhd driver. I see "No device
found" in Xorg.log.

Video card presented in the system as:
Vendor ID: 0x0001
Device ID: 0x7188
Subsystem vendor ID: 0x144D
Subsystem device ID: 0xC515

Patch attached resolves this problem for me, but it is ugly for
PCI_VENDOR_ID_ATI
replacement.

After recompiling with this patch applyed my display starts in 1280x800
resolution which is native for my panel.

I have no experence with Xorg/Drivers so I do not know what is the right way
to add more PCI vendor IDs support.

Sensible part of Xorg.log attached also.

Output from conntest is (with patch):
Unknown device: 0x0001:0x7188 (01:00.00)

--
Regards,
Yuri Ovcharenko.
amwsoft@xxxxxxxxx
code.google.com/u/amwsoft
diff -Naur old/src/rhd_driver.c new/src/rhd_driver.c
--- old/src/rhd_driver.c 2007-11-24 23:32:43.000000000 +0200
+++ new/src/rhd_driver.c 2007-11-29 22:02:14.000000000 +0200
@@ -361,7 +361,7 @@

/* PCI BUS */
if (xf86GetPciVideoInfo() ) {
- numUsed = xf86MatchPciInstances(RHD_NAME, PCI_VENDOR_ATI,
+ numUsed = xf86MatchPciInstances(RHD_NAME, 0x0001,
RHDChipsets, RHDPCIchipsets,
devSections,numDevSections,
drv, &usedChips);
diff -Naur old/src/rhd_id.c new/src/rhd_id.c
--- old/src/rhd_id.c 2007-11-24 23:32:43.000000000 +0200
+++ new/src/rhd_id.c 2007-11-29 22:01:03.000000000 +0200
@@ -460,6 +460,7 @@
/* 0x7186 : M64 : Mobility Radeon X1450 */
/* 0x7187 : RV516 : Radeon X1300/X1550 */
/* 0x7188 : M64 : Mobility Radeon X2300 */
+ { 0x7188, 0xC515, 0x144D, "Samsung R25plusF000 ATI Radeon X2300",
RHD_CARD_FLAG_NONE, ID_CONNECTORINFO_EMPTY },
/* 0x718A : M64 : Mobility Radeon X2300 */
/* 0x718B : M62 : Mobility Radeon X1350 */
/* 0x718C : M62 : Mobility Radeon X1350 */
(II) RADEONHD: X driver for the following AMD GPG (ATI) graphics devices:
RV505 : Radeon X1550, X1550 64bit.
RV515 : Radeon X1300, X1550, X1600; FireGL V3300, V3350.
RV516 : Radeon X1300, X1550, X1550 64-bit, X1600; FireMV 2250.
R520 : Radeon X1800; FireGL V5300, V7200, V7300, V7350.
RV530 : Radeon X1300 XT, X1600, X1600 Pro, X1650; FireGL V3400, V5200.
RV535 : Radeon X1300, X1650.
RV550 : Radeon X2300 HD.
RV560 : Radeon X1650.
RV570 : Radeon X1950, X1950 GT; FireGL V7400.
R580 : Radeon X1900, X1950; AMD Stream Processor.
R600 : Radeon HD 2900 GT/Pro/XT; FireGL V7600/V8600/V8650.
RV610 : Radeon HD 2350, HD 2400 Pro/XT, HD 2400 Pro AGP; FireGL V4000.
RV630 : Radeon HD 2600 LE/Pro/XT, HD 2600 Pro/XT AGP; Gemini RV630;
FireGL V3600/V5600.
M52 : Mobility Radeon X1300.
M54 : Mobility Radeon X1400; M54-GL.
M56 : Mobility Radeon X1600; Mobility FireGL V5200.
M58 : Mobility Radeon X1800, X1800 XT; Mobility FireGL V7100, V7200.
M62 : Mobility Radeon X1350.
M64 : Mobility Radeon X1450, X2300.
M66 : Mobility Radeon X1700, X1700 XT; FireGL V5250.
M68 : Mobility Radeon X1900.
M71 : Mobility Radeon HD 2300.
M72 : Mobility Radeon HD 2400; Radeon E2400.
M74 : Mobility Radeon HD 2400 XT.
M76 : Mobility Radeon HD 2600; (Gemini ATI) Mobility Radeon HD 2600
XT.
RS690 : Radeon X1200.
RS740 : RS740, RS740M

(II) RADEONHD: version 0.0.4, built from non-git sources

(II) Primary Device is: PCI 01:00:0
(--) Chipset M64 found
(II) resource ranges after xf86ClaimFixedResources() call:
[0] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
[1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
[2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
[3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[4] -1 0 0xd8200000 - 0xd82000ff (0x100) MX[B]
[5] -1 0 0xd8100000 - 0xd810ffff (0x10000) MX[B]
[6] -1 0 0xd8500000 - 0xd8503fff (0x4000) MX[B]
[7] -1 0 0xd8509400 - 0xd85094ff (0x100) MX[B]
[8] -1 0 0xd8508000 - 0xd8508fff (0x1000) MX[B]
[9] -1 0 0xd8507000 - 0xd8507fff (0x1000) MX[B]
[10] -1 0 0xd8506000 - 0xd8506fff (0x1000) MX[B]
[11] -1 0 0xd8505000 - 0xd8505fff (0x1000) MX[B]
[12] -1 0 0xd8504000 - 0xd8504fff (0x1000) MX[B]
[13] -1 0 0xd8509000 - 0xd85093ff (0x400) MX[B]
[14] -1 0 0xd8000000 - 0xd800ffff (0x10000) MX[B](B)
[15] -1 0 0xd0000000 - 0xd7ffffff (0x8000000) MX[B](B)
[16] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[17] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
[18] -1 0 0x0000a000 - 0x0000a0ff (0x100) IX[B]
[19] -1 0 0x00008420 - 0x0000842f (0x10) IX[B]
[20] -1 0 0x000003f4 - 0x000003f4 (0x1) IX[B]
[21] -1 0 0x000001f0 - 0x000001f0 (0x1) IX[B]
[22] -1 0 0x00008410 - 0x0000841f (0x10) IX[B]
[23] -1 0 0x00008400 - 0x0000840f (0x10) IX[B]
[24] -1 0 0x00008440 - 0x00008443 (0x4) IX[B]
[25] -1 0 0x00008430 - 0x00008437 (0x8) IX[B]
[26] -1 0 0x00008444 - 0x00008447 (0x4) IX[B]
[27] -1 0 0x00008438 - 0x0000843f (0x8) IX[B]
[28] -1 0 0x00009000 - 0x000090ff (0x100) IX[B](B)
(II) resource ranges after probing:
[0] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
[1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
[2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
[3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[4] -1 0 0xd8200000 - 0xd82000ff (0x100) MX[B]
[5] -1 0 0xd8100000 - 0xd810ffff (0x10000) MX[B]
[6] -1 0 0xd8500000 - 0xd8503fff (0x4000) MX[B]
[7] -1 0 0xd8509400 - 0xd85094ff (0x100) MX[B]
[8] -1 0 0xd8508000 - 0xd8508fff (0x1000) MX[B]
[9] -1 0 0xd8507000 - 0xd8507fff (0x1000) MX[B]
[10] -1 0 0xd8506000 - 0xd8506fff (0x1000) MX[B]
[11] -1 0 0xd8505000 - 0xd8505fff (0x1000) MX[B]
[12] -1 0 0xd8504000 - 0xd8504fff (0x1000) MX[B]
[13] -1 0 0xd8509000 - 0xd85093ff (0x400) MX[B]
[14] -1 0 0xd8000000 - 0xd800ffff (0x10000) MX[B](B)
[15] -1 0 0xd0000000 - 0xd7ffffff (0x8000000) MX[B](B)
[16] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[17] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
[18] -1 0 0x0000a000 - 0x0000a0ff (0x100) IX[B]
[19] -1 0 0x00008420 - 0x0000842f (0x10) IX[B]
[20] -1 0 0x000003f4 - 0x000003f4 (0x1) IX[B]
[21] -1 0 0x000001f0 - 0x000001f0 (0x1) IX[B]
[22] -1 0 0x00008410 - 0x0000841f (0x10) IX[B]
[23] -1 0 0x00008400 - 0x0000840f (0x10) IX[B]
[24] -1 0 0x00008440 - 0x00008443 (0x4) IX[B]
[25] -1 0 0x00008430 - 0x00008437 (0x8) IX[B]
[26] -1 0 0x00008444 - 0x00008447 (0x4) IX[B]
[27] -1 0 0x00008438 - 0x0000843f (0x8) IX[B]
[28] -1 0 0x00009000 - 0x000090ff (0x100) IX[B](B)
(**) RADEONHD(0): Depth 24, (--) framebuffer bpp 32
(WW) RADEONHD(0): Unknown card detected: 0x7188:0x144D:0xC515.
If your card does not work or does not work optimally
please contact radeonhd@xxxxxxxxxxxx to help rectify this.
Include your X log, the full name of the device
and the rhd_conntest (found in utils/conntest) output.
(--) RADEONHD(0): Detected an M64 on an unidentified card
(II) RADEONHD(0): Mapped IO at 0x2adb53f32000 (size 0x00010000)
(II) RADEONHD(0): Getting BIOS copy from legacy VBIOS location
(II) RADEONHD(0): ATOM BIOS Rom:
SubsystemVendorID: 0x144d SubsystemID: 0xc515
IOBaseAddress: 0x9000
Filename: BR25459_PPdi
BIOS Bootup Message:
SAMSUNG Hainan3_M64-S BIOS 480e/450m

(II) RADEONHD(0): Framebuffer space used by Firmware (kb): 20
(II) RADEONHD(0): Start of VRAM area used by Firmware: 0x7ffb000
(--) RADEONHD(0): VideoRAM: 131072 kByte
(II) RADEONHD(0): Framebuffer space used by Firmware (kb): 20
(II) RADEONHD(0): Start of VRAM area used by Firmware: 0x7ffb000
(II) RADEONHD(0): AtomBIOS requests 20kB of VRAM scratch space
(II) RADEONHD(0): AtomBIOS VRAM scratch base: 0x7ffb000
(II) RADEONHD(0): Default Engine Clock: 480000
(II) RADEONHD(0): Default Memory Clock: 450000
(II) RADEONHD(0): Maximum Pixel ClockPLL Frequency Output: 1100000
(II) RADEONHD(0): Minimum Pixel ClockPLL Frequency Output: 0
(II) RADEONHD(0): Maximum Pixel ClockPLL Frequency Input: 13500
(II) RADEONHD(0): Minimum Pixel ClockPLL Frequency Input: 1000
(II) RADEONHD(0): Maximum Pixel Clock: 400000
(II) RADEONHD(0): Reference Clock: 27000
(II) Loading sub module "i2c"
(II) LoadModule: "i2c"(II) Module already built-in
(II) RADEONHD(0): Default Engine Clock: 480000
(II) RADEONHD(0): I2C bus "RHD I2C line 0" initialized.
(II) RADEONHD(0): I2C bus "RHD I2C line 1" initialized.
(II) RADEONHD(0): I2C bus "RHD I2C line 2" initialized.
(II) Loading sub module "ddc"
(II) LoadModule: "ddc"(II) Module already built-in
(II) RADEONHD(0): Detected VGA mode.
(II) RADEONHD(0): Minimum Pixel ClockPLL Frequency Output: 0
(II) RADEONHD(0): Maximum Pixel ClockPLL Frequency Output: 1100000
(II) RADEONHD(0): Maximum Pixel Clock: 400000
(II) RADEONHD(0): Reference Clock: 27000
(II) RADEONHD(0): Connector[0] {RHD_CONNECTOR_VGA, "VGA CRT1", RHD_DDC_0,
RHD_HPD_NONE, { RHD_OUTPUT_DACA, RHD_OUTPUT_NONE } }
(II) RADEONHD(0): Connector[1] {RHD_CONNECTOR_PANEL, "PANEL LCD1", RHD_DDC_2,
RHD_HPD_NONE, { RHD_OUTPUT_LVTMA, RHD_OUTPUT_NONE } }
(--) RADEONHD(0): Attaching Output DAC A to Connector VGA 1
(II) RADEONHD(0): LVDS SEQ Dig onto DE: 30
(II) RADEONHD(0): LVDS SEQ DE to BL: 250
(II) RADEONHD(0): LVDS Off Delay: 500
(II) RADEONHD(0): LVDS Duallink: 0x0
(II) RADEONHD(0): LVDS 24Bit: 0x0
(II) RADEONHD(0): LVDS FPDI: 0x480
(--) RADEONHD(0): Detected a 18bit single link panel.
(--) RADEONHD(0): Attaching Output LVDS to Connector PANEL
(II) RADEONHD(0): RandR: Adding output VGA_1/DAC_A
(II) RADEONHD(0): RandR: Adding output PANEL/LVDS
(II) RADEONHD(0): Output VGA_1/DAC_A using monitor section Generic Monitor
(II) RADEONHD(0): Output PANEL/LVDS has no monitor section
(II) RADEONHD(0): Output VGA_1/DAC_A disconnected
(II) RADEONHD(0): EDID for output VGA_1/DAC_A
(II) RADEONHD(0): Output PANEL/LVDS connected
(II) RADEONHD(0): I2C device "RHD I2C line 2:ddc2" registered at address 0xA0.
(II) RADEONHD(0): I2C device "RHD I2C line 2:ddc2" removed.
(II) RADEONHD(0): EDID data for LVDS Panel
(II) RADEONHD(0): Manufacturer: SEC Model: 5643 Serial#: 0
(II) RADEONHD(0): Year: 2005 Week: 0
(II) RADEONHD(0): EDID Version: 1.3
(II) RADEONHD(0): Digital Display Input
(II) RADEONHD(0): Max H-Image Size [cm]: horiz.: 30 vert.: 19
(II) RADEONHD(0): Gamma: 2.20
(II) RADEONHD(0): No DPMS capabilities specified; RGB/Color Display
(II) RADEONHD(0): First detailed timing is preferred mode
(II) RADEONHD(0): redX: 0.580 redY: 0.340 greenX: 0.310 greenY: 0.550
(II) RADEONHD(0): blueX: 0.155 blueY: 0.155 whiteX: 0.313 whiteY: 0.329
(II) RADEONHD(0): Manufacturer's mask: 0
(II) RADEONHD(0): Supported additional Video Mode:
(II) RADEONHD(0): clock: 68.9 MHz Image Size: 303 x 190 mm
(II) RADEONHD(0): h_active: 1280 h_sync: 1292 h_sync_end 1356 h_blank_end
1408 h_border: 0
(II) RADEONHD(0): v_active: 800 v_sync: 803 v_sync_end 806 v_blanking: 816
v_border: 0
(II) RADEONHD(0): SAMSUNG
(II) RADEONHD(0): LTN141W1-L03
(II) RADEONHD(0): EDID (in hex):
(II) RADEONHD(0): 00ffffffffffff004ca3435600000000
(II) RADEONHD(0): 000f0103801e13780a87f594574f8c27
(II) RADEONHD(0): 27505400000001010101010101010101
(II) RADEONHD(0): 010101010101ee1a0080502010300c40
(II) RADEONHD(0): 33002fbe100000190000000f00000000
(II) RADEONHD(0): 00000000002387026400000000fe0053
(II) RADEONHD(0): 414d53554e470a2020202020000000fe
(II) RADEONHD(0): 004c544e31343157312d4c30330a0052
(II) RADEONHD(0): EDID for output PANEL/LVDS
(II) RADEONHD(0): Manufacturer: SEC Model: 5643 Serial#: 0
(II) RADEONHD(0): Year: 2005 Week: 0
(II) RADEONHD(0): EDID Version: 1.3
(II) RADEONHD(0): Digital Display Input
(II) RADEONHD(0): Max H-Image Size [cm]: horiz.: 30 vert.: 19
(II) RADEONHD(0): Gamma: 2.20
(II) RADEONHD(0): No DPMS capabilities specified; RGB/Color Display
(II) RADEONHD(0): First detailed timing is preferred mode
(II) RADEONHD(0): redX: 0.580 redY: 0.340 greenX: 0.310 greenY: 0.550
(II) RADEONHD(0): blueX: 0.155 blueY: 0.155 whiteX: 0.313 whiteY: 0.329
(II) RADEONHD(0): Manufacturer's mask: 0
(II) RADEONHD(0): Supported additional Video Mode:
(II) RADEONHD(0): clock: 68.9 MHz Image Size: 303 x 190 mm
(II) RADEONHD(0): h_active: 1280 h_sync: 1292 h_sync_end 1356 h_blank_end
1408 h_border: 0
(II) RADEONHD(0): v_active: 800 v_sync: 803 v_sync_end 806 v_blanking: 816
v_border: 0
(II) RADEONHD(0): SAMSUNG
(II) RADEONHD(0): LTN141W1-L03
(II) RADEONHD(0): EDID (in hex):
(II) RADEONHD(0): 00ffffffffffff004ca3435600000000
(II) RADEONHD(0): 000f0103801e13780a87f594574f8c27
(II) RADEONHD(0): 27505400000001010101010101010101
(II) RADEONHD(0): 010101010101ee1a0080502010300c40
(II) RADEONHD(0): 33002fbe100000190000000f00000000
(II) RADEONHD(0): 00000000002387026400000000fe0053
(II) RADEONHD(0): 414d53554e470a2020202020000000fe
(II) RADEONHD(0): 004c544e31343157312d4c30330a0052
(II) RADEONHD(0): Not using default mode "640x350" (vrefresh out of range)
(II) RADEONHD(0): Not using default mode "640x400" (vrefresh out of range)
(II) RADEONHD(0): Not using default mode "720x400" (vrefresh out of range)
(II) RADEONHD(0): Not using default mode "640x480" (hsync out of range)
(II) RADEONHD(0): Not using default mode "640x480" (vrefresh out of range)
(II) RADEONHD(0): Not using default mode "640x480" (vrefresh out of range)
(II) RADEONHD(0): Not using default mode "640x480" (vrefresh out of range)
(II) RADEONHD(0): Not using default mode "800x600" (vrefresh out of range)
(II) RADEONHD(0): Not using default mode "800x600" (hsync out of range)
(II) RADEONHD(0): Not using default mode "800x600" (vrefresh out of range)
(II) RADEONHD(0): Not using default mode "800x600" (vrefresh out of range)
(II) RADEONHD(0): Not using default mode "800x600" (vrefresh out of range)
(II) RADEONHD(0): Not using default mode "1024x768" (hsync out of range)
(II) RADEONHD(0): Not using default mode "1024x768" (vrefresh out of range)
(II) RADEONHD(0): Not using default mode "1024x768" (vrefresh out of range)
(II) RADEONHD(0): Not using default mode "1024x768" (vrefresh out of range)
(II) RADEONHD(0): Not using default mode "1152x864" (vrefresh out of range)
(II) RADEONHD(0): Not using default mode "1280x960" (hsync out of range)
(II) RADEONHD(0): Not using default mode "1280x960" (vrefresh out of range)
(II) RADEONHD(0): Not using default mode "1280x1024" (hsync out of range)
(II) RADEONHD(0): Not using default mode "1280x1024" (vrefresh out of range)
(II) RADEONHD(0): Not using default mode "1280x1024" (vrefresh out of range)
(II) RADEONHD(0): Not using default mode "1600x1200" (hsync out of range)
(II) RADEONHD(0): Not using default mode "1600x1200" (vrefresh out of range)
(II) RADEONHD(0): Not using default mode "1600x1200" (vrefresh out of range)
(II) RADEONHD(0): Not using default mode "1600x1200" (vrefresh out of range)
(II) RADEONHD(0): Not using default mode "1600x1200" (vrefresh out of range)
(II) RADEONHD(0): Not using default mode "1792x1344" (hsync out of range)
(II) RADEONHD(0): Not using default mode "1792x1344" (vrefresh out of range)
(II) RADEONHD(0): Not using default mode "1856x1392" (hsync out of range)
(II) RADEONHD(0): Not using default mode "1856x1392" (vrefresh out of range)
(II) RADEONHD(0): Not using default mode "1920x1440" (hsync out of range)
(II) RADEONHD(0): Not using default mode "1920x1440" (vrefresh out of range)
(II) RADEONHD(0): Not using default mode "832x624" (vrefresh out of range)
(II) RADEONHD(0): Not using default mode "1280x768" (hsync out of range)
(II) RADEONHD(0): Not using default mode "1280x800" (hsync out of range)
(II) RADEONHD(0): Not using default mode "1152x768" (vrefresh out of range)
(II) RADEONHD(0): Not using default mode "1152x864" (vrefresh out of range)
(II) RADEONHD(0): Not using default mode "1400x1050" (hsync out of range)
(II) RADEONHD(0): Not using default mode "1400x1050" (vrefresh out of range)
(II) RADEONHD(0): Not using default mode "1400x1050" (vrefresh out of range)
(II) RADEONHD(0): Not using default mode "1400x1050" (vrefresh out of range)
(II) RADEONHD(0): Not using default mode "1440x900" (hsync out of range)
(II) RADEONHD(0): Not using default mode "1600x1024" (hsync out of range)
(II) RADEONHD(0): Not using default mode "1680x1050" (hsync out of range)
(II) RADEONHD(0): Not using default mode "1920x1200" (hsync out of range)
(II) RADEONHD(0): Not using default mode "1920x1200" (vrefresh out of range)
(II) RADEONHD(0): Not using default mode "1920x1440" (vrefresh out of range)
(II) RADEONHD(0): Not using default mode "2048x1536" (hsync out of range)
(II) RADEONHD(0): Not using default mode "2048x1536" (vrefresh out of range)
(II) RADEONHD(0): Not using default mode "2048x1536" (vrefresh out of range)
(II) RADEONHD(0): Printing probed modes for output PANEL/LVDS
(II) RADEONHD(0): Modeline "1280x800"x60.0 68.94 1280 1292 1356 1408 800
803 806 816 (49.0 kHz)
(II) RADEONHD(0): Output VGA_1/DAC_A disconnected
(II) RADEONHD(0): Output PANEL/LVDS connected
(II) RADEONHD(0): Output PANEL/LVDS using initial mode 1280x800
(II) RADEONHD(0): RandR 1.2 support enabled
(==) RADEONHD(0): RGB weight 888
(==) RADEONHD(0): Default visual is TrueColor
(==) RADEONHD(0): Using gamma correction (1.0, 1.0, 1.0)
(II) RADEONHD(0): Using 1280x1280 Framebuffer with 1280 pitch
(==) RADEONHD(0): DPI set to (75, 75)
< Previous Next >
Follow Ups