Jitendra Sasmal <email@example.com> wrote:
Thanks for ur reply.
Yes, u r right. I m running “crttrap trap”. Actually, I want to build an
image which should auto detect the graphics driver and run . So, can u
please tell me the steps that I should follow to do this ?
There is no ‘magic’ way of doing this. The command used in the ‘ph’
script to start the graphics driver is ‘crttrap start’. This will execute
the top line in /etc/system/config/graphics-modes. As previously mentioned
‘crttrap trap’ puts the VGA driver at the top of the file. So you will need to
write some code to copy the desired driver and resolution to the top of the
file. I don’t have any code to do this, but perhaps someone else reading
this thread might.
Michael Van Reenen wrote:
The graphics enumerator is run each time you boot up your PC.
Is there a reason you are trying to run it again?
After you run the ‘enum-devices’ command below, how are you running
If you are running ‘crttrap trap’ to detect your graphics modes, crttrap
put the vga driver as the default.
Jitendra Sasmal <> firstname.lastname@example.org> > wrote:
I want to enumerate the graphics driver that is running in my pc.
For that I m using enum-devices and crttrap utility.
But instead of starting the correct driver, it is trying to start the
default driver,for example:
the graphics driver running in my pc is visabios, but it is starting vga
in safe mode.
I m using the command enum-devices as:
“enum-devices -c /etc/system/enum/devices/graphics -epci”
So please tell me where i m wrong or what i m missing.