Ubuntu QA:
BlogBrainstormPackage status
Log in
Ubuntu QA
The Ubuntu community has contributed 12357 ideas, 58479 comments, 1187050 votes

Idea #1801: monitor detection using monitor inf driver files



up
25
down
Written by BungaMan the 29 Feb 08 at 20:41. Category: System.
Related to: Nothing/Others. Status: New
Description
What I would like to see is a tool that can update the X configuration by using the same inf files that are used for windows to configure your monitor mode lines.

In case the detection doesn't work too great (like mine) whatever the reason, you have to specify the modelines in xorg.conf. Try to get that done by a newb or even novice! You either have to dig through the xorg log file which may have them somewhere or you have to get them from the windows monitor driver files. It is all unfriendly manual labor. Bulletproof-X may get you into graphics mode but 640x400 ain't that much fun.

This can be partially resolved by downloading the monitor driver file, have it read in by the screen setup tool et voila, the next step is selecting one of the supported resolutions which will work guaranteed (given the right inf file). It is a text file after all. Read it in, update xorg.conf and xrandr and you are set.
Tags: (none)

Attachments
No attachments.


Duplicates


Comments
Remmy wrote on the 29 Feb 08 at 20:45
INF files are specifically designed to work with Windows driver's system which is built upon windows Driver Development Kit. X would have to be drastically modified to use such a feature and why would they want to do it? To support a format that Microsoft uses?

BungaMan wrote on the 29 Feb 08 at 21:27
It is just to extract the necessary modelines. There's nothing special about it. Stepping through a text file, why would X need to be changed for that? The format of the inf file is already in use by many linux programs. Open up your samba config file for example.

To give you a clue, here's an example of a section to look for in the file:

[FSC-FSC21P4.AddReg]

HKR,"MODES\1600,1200",Mode1,,"30-118,50-160,+,+"

HKR,,ICMProfile,0,"FSC21P4.ICM"


As you can see all the info is right there for the xorg.conf modeline

Greyor wrote on the 29 Feb 08 at 22:24
I still don't like the idea of supporting Microsoft formats, either. X should have its own format for such files, if they were created. We shouldn't be trying to shoehorn Windows features into Ubuntu -- in some cases, reinventing the wheel is a better alternative.

mikemaccana wrote on the 1 Mar 08 at 00:06
Greyor: Ubuntu already has a format for such files - xorg.conf. This proposal is about converting the Windows format (monitor,inf) into part of the xorg,conf file (or, relating the modular x config brainstorm idea, 'screen.conf').

Great idea - thumbs up.

rawsausage wrote on the 1 Mar 08 at 22:35
Actually the system queries the monitor itself at this moment. If the monitor is not complete trash it always reports the native resolution and refresh rates and DPI just fine. It's better than the INF system as far as you don't manage to buy a broken monitor.

rs3york wrote on the 10 Apr 08 at 01:11
This is a good idea but how practical is it really?

The idea assumes the user has Windows in the first place. Even if they do, what "newb" is going to know what a monitor inf file is and where to find it?

Do users have their monitor driver disks? If not they will have to get these files online.

If the user has to go online...we assume they have a working internet connection. Even if they do have an internet connection, if X is messed up are they going to browse with lynx?

Unless this is some sort of (semi)automatic system that Ubuntu launches into automatically then it's really limited in its usefulness. Plus it basically creates a case for "don't install Ubuntu unless you still have a Windows partition just in case your monitor doesn't work".

BungaMan wrote on the 10 Apr 08 at 12:02
rs3york, no it is not necessary to have a windows partition. X now has a bullet proof X. Why would internet not be available? If you can get Ubuntu then you can get a monitor driver file.

See the big picture guys, there are enough monitors for which auto-detection doesn't work flawless. Not because of X but because of the monitor itself. Help out these people before they think linux is buggy and switch back to whatever they came from.


Post your comment