Package: discover1-data
Version: 2.2006.10.29

Please note that this bug was originally opened for the Ubuntu 6.10 OS at
https://bugs.launchpad.net/bugs/72446 for a different version of the
package, but since the ubuntu package is based on Debian, I believe I
should report this bug and its suggested fix at Debian as well.

The S3 ProSavageDDR K4M266 (PCI device id 5333:8d01) is one of the devices
supported by the xorg 'savage' driver. However, the /lib/discover/pci.lst
from
the discovery1-data package lists the kernel module to load as 'unknown'
instead of 'Server:XFree86(savage)', as it should be.

This causes the video driver to fall back to 'vesa' upon discovery, since as
said before, there is no kernel module specified for this device on
/lib/discover/pci.lst.

I've got the 'savage' driver to work for this graphics chip on my system by
simply changing the 'vesa' line on /etc/X11/xorg.conf to 'savage'. A side
effect of the discovery of this device not working seems to be that I also
have
to explicitly specify the hsync and vrefresh ranges of my laptop's monitor
in
order to be able to work with the native 1024x768 resolution, whereas when
detection works (i.e. edited pci.lst) the native 1024x768 resolution works
without having to specify any particular hsync and vreferesh ranges in
xorg.conf.

* Here's my suggestion to what needs to be done:

replace the following line on /lib/discover/pci.lst:

53338d01 video unknown 86C380 [ProSavageDDR K4M266]

by:

53338d01 video Server:XFree86(savage) 86C380 [ProSavageDDR K4M266]

which simply means replacing 'unknown' by 'Server:XFree86(savage)'

* Suggested fix (pasted patch)

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

$ diff -u pci.lst.orig pci.lst
--- pci.lst.orig        2006-10-26 10:06:27.000000000 +0200
+++ pci.lst     2006-12-16 17:26:28.000000000 +0100
@@ -6947,7 +6947,7 @@
       53338c2d        video   Server:XFree86(savage)  SuperSavage IX/64
DDR
       53338c2e        video   Server:XFree86(savage)  SuperSavage IX/C SDR
       53338c2f        video   Server:XFree86(savage)  SuperSavage IX/C DDR
-       53338d01        video   unknown 86C380 [ProSavageDDR K4M266]
+       53338d01        video   Server:XFree86(savage)  86C380 [ProSavageDDR
K4M266]
       53338d02        video   Server:XFree86(savage)  VT8636A [ProSavage
KN133] AGP4X VGA Controller (TwisterK)
       53338d03        unknown unknown VT8751 [ProSavageDDR P4M266]
       53338d04        video   Server:XFree86(savage)  VT8375 [ProSavage8
KM266/KL266]

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

* Additional info:

$ lspci
01:00.0 VGA compatible controller: S3 Inc. 86C380 [ProSavageDDR K4M266] (rev
02)

$ lspci -n
01:00.0 0300: 5333:8d01 (rev 02)

I am using Ubuntu GNU/Linux 2.2, kernel 2.6.17-10-generic
2.2.17-pre-patch-13
and libc6 2.4

Thanks.

Reply via email to