Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 239840 - >=x11-base/xorg-server-1.5 looks for fb info in non-existent sysfs path
Summary: >=x11-base/xorg-server-1.5 looks for fb info in non-existent sysfs path
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-05 06:06 UTC by Ron MacNeil
Modified: 2008-11-07 06:15 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Teach xserver to look in both possible sysfs locations for framebuffer information (1.5.1-sysfs-fb-path.patch,750 bytes, patch)
2008-10-05 06:08 UTC, Ron MacNeil
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ron MacNeil 2008-10-05 06:06:47 UTC
After upgrading from xorg-server-1.4.2 my r128 card stopped working because the xserver was looking for framebuffer information in the wrong place in sysfs.


The problem was the following change:
http://cgit.freedesktop.org/xorg/xserver/commit/?id=86678e7cc2b021851ff508433fa160170f500c51

"Fix fbdevhw initialization for PCI drivers.
graphics/fb%d, not graphics:fb%d.  Thanks sysfs.  Thysfs."


However gentoo kernels (as of sys-kernel/gentoo-sources-2.6.26-r1) still exports "graphics:" rather than "graphics/".

I don't know what will be considered the "correct" fix, but FWIW the attached patch teaches the X server to try both locations, making my r128 work again.
Comment 1 Ron MacNeil 2008-10-05 06:08:53 UTC
Created attachment 167248 [details, diff]
Teach xserver to look in both possible sysfs locations for framebuffer information
Comment 2 Donnie Berkholz (RETIRED) gentoo-dev 2008-11-07 06:15:55 UTC
Please try 2.6.27 (or .28-rc if you like), and if they aren't fixed, report this at bugs.freedesktop.org in the xorg product. Thanks!