enumerator

Hi,
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.

Thanking u

(Jitendra Sasmal)

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 crttrap?
If you are running ‘crttrap trap’ to detect your graphics modes, crttrap will
put the vga driver as the default.


Jitendra Sasmal <sasmal_jk@rediffmail.com> wrote:

Hi,
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.

Thanking u

(Jitendra Sasmal)

Hi,
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 ?

Thanks
(Jitendra Sasmal)

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
crttrap?
If you are running ‘crttrap trap’ to detect your graphics modes, crttrap
will
put the vga driver as the default.



Jitendra Sasmal <> sasmal_jk@rediffmail.com> > wrote:

Hi,
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.

Thanking u

(Jitendra Sasmal)

Jitendra Sasmal <sasmal_jk@rediffmail.com> wrote:

Hi,
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.



Thanks
(Jitendra Sasmal)

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
crttrap?
If you are running ‘crttrap trap’ to detect your graphics modes, crttrap
will
put the vga driver as the default.



Jitendra Sasmal <> sasmal_jk@rediffmail.com> > wrote:

Hi,
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.

Thanking u

(Jitendra Sasmal)