Bug 13192 - please add support of radeon x2300 to drivers
Summary: please add support of radeon x2300 to drivers
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/radeonhd (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: high major
Assignee: Luc Verhaegen
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-11 23:56 UTC by Pavel
Modified: 2007-11-14 03:56 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
patch for support ATI Mobility Radeon x2300 on laptop SAMSUNG-NP25F000/SEK (1.47 KB, text/plain)
2007-11-13 05:43 UTC, Pavel
no flags Details
xorg log (29.77 KB, application/octet-stream)
2007-11-14 00:03 UTC, Pavel
no flags Details

Description Pavel 2007-11-11 23:56:25 UTC
please add support of my x2300 mobility radeon (M64S) to radeonhd drivers. i succesfully modified utility rhd_conntest, and now it recognizes my card:

localhost conntest # ./rhd_conntest 1:0.0
rhd_conntest: version 0.0.2, built from git branch master, commit e9c24f66.. + changes
Checking connectors on 0x7188, 0x144D, 0xC515  (@01:00:00):
  Load Detection: RHD_OUTPUT_NONE
  HotPlug: RHD_HPD_NONE
  DDC: RHD_DDC_1 RHD_DDC_2
  LVDS Info:
        18bits, single link, LDI Panel found.
        Power Timing: 0xF9F, 0x012, 0x03, 0x19, 0x1F4
        Macro: 0x0B520407, Clock Pattern: 0x0063
  DDC Line[1]: Slaves: 10 12 14 16 18 1a 1c 1e 20 22 24 26 28 2a 2c 2e 30 32 34 36 38 3a 3c 3e 40 42 44 46 48 4a 4c 4e 50 52 54 56 58 5a 5c 5e 60 62 64 66 68 6a 6c 6e 70 72 74 76 78 7a 7c 7e 80 82 84 86 88 8a 8c 8e 90 92 94 96 98 9a 9c 9e a0 a2 a4 a6 a8 aa ac ae b0 b2 b4 b6 b8 ba bc be c0 c2 c4 c6 c8 ca cc ce d0 d2 d4 d6 d8 da dc de e0 e2 e4 e6 e8 ea ec ee

but my tries to modify drivers was not succesfull, and in xorg logs i still see only one error message "(EE) Device not found" (proprietary drivers 8.40.4 doesn't works too). below is some additional information about card:

localhost conntest # hwinfo --gfxcard
26: PCI 100.0: 0300 VGA compatible controller (VGA)
  [Created at pci.288]
  Unique ID: VCu0.i1U55UNewxA
  Parent ID: _Znp.IOaVMBVNBp3
  SysFS ID: /devices/pci0000:00/0000:00:02.0/0000:01:00.0
  SysFS BusID: 0000:01:00.0
  Hardware Class: graphics card
  Model: "Samsung Electronics VGA compatible controller"
  Vendor: pci 0x0001
  Device: pci 0x7188
  SubVendor: pci 0x144d "Samsung Electronics Co Ltd"
  SubDevice: pci 0xc515
  Memory Range: 0xd0000000-0xd7ffffff (rw,prefetchable)
  I/O Ports: 0x9000-0x9fff (rw)
  Memory Range: 0xd8000000-0xd800ffff (rw,non-prefetchable)
  Memory Range: 0xd8020000-0xd803ffff (ro,prefetchable,disabled)
  IRQ: 5 (no events)
  I/O Ports: 0x3c0-0x3df (rw)
  Module Alias: "pci:v00000001d00007188sv0000144Dsd0000C515bc03sc00i00"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #10 (PCI bridge)

Primary display adapter: #26

localhost conntest # lspci -vvv
01:00.0 VGA compatible controller: Unknown device 0001:7188 (prog-if 00 [VGA controller])
        Subsystem: Samsung Electronics Co Ltd Unknown device c515
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 32 bytes
        Interrupt: pin A routed to IRQ 5
        Region 0: Memory at d0000000 (32-bit, prefetchable) [size=128M]
        Region 1: I/O ports at 9000 [size=256]
        Region 2: Memory at d8000000 (32-bit, non-prefetchable) [size=64K]
        [virtual] Expansion ROM at d8020000 [disabled] [size=128K]
        Capabilities: [50] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [58] Express (v1) Legacy Endpoint, MSI 00
                DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <4us, L1 unlimited
                        ExtTag+ AttnBtn- AttnInd- PwrInd- RBE- FLReset-
                DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
                        RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
                        MaxPayload 128 bytes, MaxReadReq 128 bytes
                DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend-
                LnkCap: Port #0, Speed 2.5GT/s, Width x16, ASPM L0s L1, Latency L0 <64ns, L1 <1us
                        ClockPM- Suprise- LLActRep- BwNot-
                LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk-
                        ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
                LnkSta: Speed 2.5GT/s, Width x16, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
        Capabilities: [80] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
                Address: 0000000000000000  Data: 0000

PS: this videocard is installed in SAMSUNG NP-R25F000/SEK notebook.
Comment 1 Pavel 2007-11-13 05:43:08 UTC
Created attachment 12510 [details]
patch for support ATI Mobility Radeon x2300 on laptop SAMSUNG-NP25F000/SEK
Comment 2 Luc Verhaegen 2007-11-13 08:27:04 UTC
Please just attach a log of a recent, unaltered, radeonhd driver.
Comment 3 Pavel 2007-11-14 00:03:54 UTC
Created attachment 12539 [details]
xorg log
Comment 4 Pavel 2007-11-14 00:05:52 UTC
hm... recent unaltered driver works. It seems, many problems with notebook (including videocard) solved by recompiling kernel with option "PCI Access mode" set to "BIOS".

PS: sorry for disturbance
Comment 5 Luc Verhaegen 2007-11-14 03:56:03 UTC
X tends to poke the pci io registers directly and tends to not use the values the kernel has stored from bootup. So this on its own would have fixed the bad pci vendor id there, and explains why you only hacked conntest.

Closing as fixed, since this was old driver + kernel pci borkedness.


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.