Bug 10213 - /usr/src/linux/drivers/video/aty/ati_ids.h doesn't have my pci-id (needed for radeonfb)
Summary: /usr/src/linux/drivers/video/aty/ati_ids.h doesn't have my pci-id (needed for...
Status: RESOLVED CODE_FIX
Alias: None
Product: Drivers
Classification: Unclassified
Component: Console/Framebuffers (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: James Simmons
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-09 19:27 UTC by GNUtoo
Modified: 2009-03-25 15:48 UTC (History)
2 users (show)

See Also:
Kernel Version: 2.6.24.3
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description GNUtoo 2008-03-09 19:27:02 UTC
Latest working kernel version:none
Earliest failing kernel version:none
Distribution:Gentoo
Hardware Environment:
Software Environment:
Problem Description:
hello, i wanted to try radeonfb for several reasons(trying to have a 1920x1200 resolution in tty ,bios-independant driver(cause i can't suspend for an unknow reason...pm_trace did not give me the reason))
but it didn't want to start...using the video=radeonfb: or video=radeon:
so i looked at the pci-id...and mine was absent
#lspci
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility X700 (PCIE)
# lspci -s 00:00.0 -n
00:00.0 0600: 8086:2590 (rev 04)
Comment 1 Anonymous Emailer 2008-03-09 22:51:41 UTC
Reply-To: akpm@linux-foundation.org


(switched to email - please respond via emailed reply-to-all, not via the
bugzilla UI)

On Sun,  9 Mar 2008 19:27:02 -0700 (PDT) bugme-daemon@bugzilla.kernel.org wrote:

> http://bugzilla.kernel.org/show_bug.cgi?id=10213
> 
>            Summary: /usr/src/linux/drivers/video/aty/ati_ids.h doesn't have
>                     my pci-id (needed for radeonfb)
>            Product: Drivers
>            Version: 2.5
>      KernelVersion: 2.6.24.3
>           Platform: All
>         OS/Version: Linux
>               Tree: Mainline
>             Status: NEW
>           Severity: normal
>           Priority: P1
>          Component: Console/Framebuffers
>         AssignedTo: jsimmons@infradead.org
>         ReportedBy: GNUtoo@no-log.org
> 
> 
> Latest working kernel version:none
> Earliest failing kernel version:none
> Distribution:Gentoo
> Hardware Environment:
> Software Environment:
> Problem Description:
> hello, i wanted to try radeonfb for several reasons(trying to have a
> 1920x1200
> resolution in tty ,bios-independant driver(cause i can't suspend for an
> unknow
> reason...pm_trace did not give me the reason))
> but it didn't want to start...using the video=radeonfb: or video=radeon:
> so i looked at the pci-id...and mine was absent
> #lspci
> 01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility X700
> (PCIE)
> # lspci -s 00:00.0 -n
> 00:00.0 0600: 8086:2590 (rev 04)

OK.  Can you please try adding those IDs to the driver and if it works,
send us the patch?
Comment 2 GNUtoo 2008-03-10 05:21:36 UTC
according to wikipedia my chip is a r420:
http://en.wikipedia.org/wiki/Radeon_X700
so i looked for r420 but there are severals thing such as JH,JI,JJ,JK,JL,JM,JN,JP
#define PCI_CHIP_R420_JH                0x4A48
#define PCI_CHIP_R420_JI                0x4A49
#define PCI_CHIP_R420_JJ                0x4A4A
#define PCI_CHIP_R420_JK                0x4A4B
#define PCI_CHIP_R420_JL                0x4A4C
#define PCI_CHIP_R420_JM                0x4A4D
#define PCI_CHIP_R420_JN                0x4A4E
#define PCI_CHIP_R420_JP                0x4A50

which one should i try?

by the way i don't know C(only perl java and python)
Comment 3 Roland Kletzing 2008-06-03 14:52:16 UTC
what about this one ?

http://lwn.net/Articles/215965/
Comment 4 GNUtoo 2008-06-04 04:55:14 UTC
great...but it doesn't apply on kernel later than 2.6.20:
linux-2.6.21.5 # cat ../radeon_fb.patch | patch -p1 --dry-run
patching file drivers/video/aty/ati_ids.h
patching file drivers/video/aty/radeon_accel.c
patching file drivers/video/aty/radeon_backlight.c
Hunk #1 succeeded at 52 (offset -6 lines).
Hunk #2 succeeded at 138 (offset -8 lines).
patching file drivers/video/aty/radeon_base.c
Hunk #11 succeeded at 309 with fuzz 2 (offset 5 lines).
Hunk #12 succeeded at 370 (offset 5 lines).
Hunk #13 succeeded at 456 (offset 5 lines).
Hunk #14 succeeded at 479 (offset 5 lines).
Hunk #15 succeeded at 622 (offset 5 lines).
Hunk #16 succeeded at 754 (offset 5 lines).
Hunk #17 succeeded at 788 (offset 5 lines).
Hunk #18 succeeded at 822 (offset 5 lines).
Hunk #19 succeeded at 963 (offset 5 lines).
Hunk #20 succeeded at 1044 (offset 5 lines).
Hunk #21 succeeded at 1055 (offset 5 lines).
Hunk #22 succeeded at 1074 with fuzz 1 (offset 5 lines).
Hunk #23 succeeded at 1381 (offset 4 lines).
Hunk #24 succeeded at 1401 (offset 4 lines).
Hunk #25 succeeded at 1410 (offset 4 lines).
Hunk #26 succeeded at 1498 (offset 4 lines).
Hunk #27 succeeded at 2009 (offset 4 lines).
Hunk #28 succeeded at 2113 (offset 4 lines).
Hunk #29 succeeded at 2141 (offset 4 lines).
Hunk #30 succeeded at 2226 (offset 4 lines).
Hunk #31 succeeded at 2237 (offset 4 lines).
Hunk #32 succeeded at 2283 (offset 4 lines).
Hunk #33 succeeded at 2309 (offset 4 lines).
Hunk #34 succeeded at 2329 (offset 4 lines).
Hunk #35 succeeded at 2366 (offset 4 lines).
Hunk #36 succeeded at 2417 (offset 4 lines).
Hunk #37 succeeded at 2452 (offset 4 lines).
Hunk #38 succeeded at 2464 (offset 4 lines).
Hunk #39 succeeded at 2491 (offset 4 lines).
Hunk #40 succeeded at 2545 (offset 5 lines).
Hunk #41 succeeded at 2563 (offset 5 lines).
Hunk #42 FAILED at 2575.
Hunk #43 succeeded at 2618 (offset 6 lines).
Hunk #44 succeeded at 2674 (offset 8 lines).
Hunk #45 succeeded at 2729 (offset 8 lines).
Hunk #46 succeeded at 2749 (offset 8 lines).
1 out of 46 hunks FAILED -- saving rejects to file drivers/video/aty/radeon_base.c.rej
patching file drivers/video/aty/radeon_i2c.c
Hunk #1 succeeded at 135 (offset -1 lines).
patching file drivers/video/aty/radeon_monitor.c
patching file drivers/video/aty/radeonfb.h
Comment 5 Roland Kletzing 2008-06-04 09:56:35 UTC
what about bringing that up on linux-fbdev-devel ?

see https://lists.sourceforge.net/lists/listinfo/linux-fbdev-devel/

i don`t know why this patch hasn`t been merged. 
i don`t also know why nobody from fbdev-folks jumps in here. 

Note You need to log in before you can comment on or make changes to this bug.