Mailinglist Archive: opensuse-factory (661 mails)

< Previous Next >
Re: [opensuse-factory] Kernel Mode Setting (KMS) for openSUSE.
  • From: Jeff Mahoney <jeffm@xxxxxxxx>
  • Date: Fri, 04 Dec 2009 14:45:17 -0500
  • Message-id: <4B1966CD.4040104@xxxxxxxx>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 12/04/2009 02:27 PM, Egbert Eich wrote:
On Fri, Dec 04, 2009 at 12:51:30PM -0500, Jeff Mahoney wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 12/04/2009 04:59 AM, Egbert Eich wrote:

- The user can disable KMS (per driver) by adding the a line
options <drivername> modeset=0 to /etc/modprobe.d/options
- ATI (as an example) can simply ship a file containing the line
blacklist radeon
and dump it into /etc/modprobe.d/ to prevent loading the radeon driver.
rerunning mkinitrd will generate a new initrd without the radeon module.

YaST or the ATI installer could just dump the options or blacklist in
its own file in /etc/modprobe.d. The "options" file isn't special.
modprobe reads them all.

Definitely. I was going to write ATI could use the file fglrx.conf.

Yep, that'd be perfect.

The reason why I (and probably you) think that this might be useful is
that SaX2 used to maintain per device ID lists of driver options.
kernel developer might have a different take on that.

Yeah, it's probably possible to do it per-device, but right now the code
doesn't support it. It's a driver-global option.

A per device blacklist would require modprobe to look at the alias list
in the driver, match it against the hardware on the system and then apply
the result to the blacklist.
To make it general it would have to be usable for all sorts of device IDs.
If we need it and the kernel people would accept such a feature (Jeff,
your reply is very encouraging) I would actually implement this.

Well here's where it gets tricky. modprobe can still only pass global
driver options. I suppose it would be possible to pass a
blacklist=<alias> or something to work around that, but that's not what
I had in mind. It could also be handled via writing to a sysfs file. All
drivers support an unbind option, too. This isn't really a discussion to
be had with me on this list, though. I'm not at all involved with the
DRM drivers.

- -Jeff

- --
Jeff Mahoney
SUSE Labs
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/

iEYEARECAAYFAksZZs0ACgkQLPWxlyuTD7IptwCgqFaxm94cDqQoic/hv8o78WZB
1C8An3j6DmTnKdQ50hMGh6xuTFDOWvdt
=mag+
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups