site  contact  subhomenews

Backup X drivers fixed

September 11, 2011 — BarryK
There is something that I have been meaning to fix for sometime, but don't have the problem with Xorg 7.3 so it got put on the back-burner.

Puppy has a mechanism whereby Xorg drivers can be "hidden" by putting them in /usr/lib/xorg/modules/drivers-alternate. The place where all the "available" drivers is is in /usr/lib/xorg/modules/drivers. The '3builddistro' script in Woof offers to put any X drivers into 'drivers-alternate' -- for example, if you have the 'intel' driver and also are building with the old 'i810' driver then you would probably want to put the latter into 'drivers-alternate'. Another example is the 'nouvea' and 'nv' drivers.

The problem is though, that the Xorg 7.5 server scans everything in /usr/lib/xorg/modules, and tries to use the modules that are supposedly hidden.

The same problem occurs in the Xorg Wizard when a specific driver is chosen, say 'vesa' -- to prevent the server from trying to use any other driver, all other drivers are moved to /usr/lib/xorg/modules/drivers-backup. But with Xorg 7.5 this mechanism is rendered useless.

Therefore, I have moved the 'drivers-alternate' and 'drivers-backup' directories to /usr/lib/x. The scripts modified are '3builddistro' and rootfs-skeleton/usr/sbin/xorgwizard.

Tags: woof