Dev.ansi -S

I have a PC104 processor card that does not have an integrated graphics
controller. I also have a PC104 graphics controller card. in normal
operation I would run the processor card without the graphics controller. In
this instance I run up Dev.ansi with the -S option, so that i can still use
ditto. However, this has the effect of disabling the output from the
graphics controller card on those occasions when it is plugged in. If I run
Dev.ansi without the -S option i can’t use ditto when the graphics
controller is not fitted.

Is there any way of getting ditto to work without the graphics controller
fitted, but also getting output from the graphics controller when it is
fitted? (apart from manually changing the -S option to Dev.ansi).

thanks

Julian Thornhill

A fairly cheesy way would be via script:

show_pci | grep “Display”

If the errorlevel of the return from that line is 0, you have a display
adapter installed, else no match occured.

\

Cheers,
Adam

QNX Software Systems Ltd.
[ amallory@qnx.com ]

With a PC, I always felt limited by the software available.
On Unix, I am limited only by my knowledge.
–Peter J. Schoenster <pschon@baste.magibox.net>

“Julian Thornhill” <jth@ion.le.ac.uk> wrote in message
news:al514i$rnq$1@inn.qnx.com

I have a PC104 processor card that does not have an integrated graphics
controller. I also have a PC104 graphics controller card. in normal
operation I would run the processor card without the graphics controller.
In
this instance I run up Dev.ansi with the -S option, so that i can still
use
ditto. However, this has the effect of disabling the output from the
graphics controller card on those occasions when it is plugged in. If I
run
Dev.ansi without the -S option i can’t use ditto when the graphics
controller is not fitted.

Is there any way of getting ditto to work without the graphics controller
fitted, but also getting output from the graphics controller when it is
fitted? (apart from manually changing the -S option to Dev.ansi).

thanks

Julian Thornhill

“Julian Thornhill” <jth@ion.le.ac.uk> wrote in message
news:al514i$rnq$1@inn.qnx.com

I have a PC104 processor card that does not have an integrated graphics
controller. I also have a PC104 graphics controller card. in normal
operation I would run the processor card without the graphics controller.
In
this instance I run up Dev.ansi with the -S option, so that i can still
use
ditto. However, this has the effect of disabling the output from the
graphics controller card on those occasions when it is plugged in. If I
run
Dev.ansi without the -S option i can’t use ditto when the graphics
controller is not fitted.

Is there any way of getting ditto to work without the graphics controller
fitted, but also getting output from the graphics controller when it is
fitted? (apart from manually changing the -S option to Dev.ansi).

What I do is start Dev.ditto and run all application on /dev/ditto*.
Hence whether or not there is a graphic card doesn’t matter.

Hope that helps

thanks

Julian Thornhill

Too cheesy I’m afraid. A PC104 video card does not show up in show_pci. I
guess I could look for the card in some way, but I kind of hoped that
Dev.ansi could work in some sort of more intelligent way.

Julian

“Adam Mallory” <amalloryNOSPAM@NOSPAMqnx.com> wrote in message
news:al56hr$nnl$1@nntp.qnx.com

A fairly cheesy way would be via script:

show_pci | grep “Display”

If the errorlevel of the return from that line is 0, you have a display
adapter installed, else no match occured.

\

Cheers,
Adam

QNX Software Systems Ltd.
[ > amallory@qnx.com > ]

With a PC, I always felt limited by the software available.
On Unix, I am limited only by my knowledge.
–Peter J. Schoenster <> pschon@baste.magibox.net

“Julian Thornhill” <> jth@ion.le.ac.uk> > wrote in message
news:al514i$rnq$> 1@inn.qnx.com> …
I have a PC104 processor card that does not have an integrated graphics
controller. I also have a PC104 graphics controller card. in normal
operation I would run the processor card without the graphics
controller.
In
this instance I run up Dev.ansi with the -S option, so that i can still
use
ditto. However, this has the effect of disabling the output from the
graphics controller card on those occasions when it is plugged in. If I
run
Dev.ansi without the -S option i can’t use ditto when the graphics
controller is not fitted.

Is there any way of getting ditto to work without the graphics
controller
fitted, but also getting output from the graphics controller when it is
fitted? (apart from manually changing the -S option to Dev.ansi).

thanks

Julian Thornhill

\

Technically, PC104 is ISA, isn’t it. PCI is something like PC104+ or PC106
or something like that. The connector will definitely have more pins.
That’s what you can look at.

“Julian Thornhill” <jth@ion.le.ac.uk> wrote in message
news:al5bdt$6et$1@inn.qnx.com

Too cheesy I’m afraid. A PC104 video card does not show up in show_pci. I
guess I could look for the card in some way, but I kind of hoped that
Dev.ansi could work in some sort of more intelligent way.

Julian

“Adam Mallory” <> amalloryNOSPAM@NOSPAMqnx.com> > wrote in message
news:al56hr$nnl$> 1@nntp.qnx.com> …

A fairly cheesy way would be via script:

show_pci | grep “Display”

If the errorlevel of the return from that line is 0, you have a display
adapter installed, else no match occured.

\

Cheers,
Adam

QNX Software Systems Ltd.
[ > amallory@qnx.com > ]

With a PC, I always felt limited by the software available.
On Unix, I am limited only by my knowledge.
–Peter J. Schoenster <> pschon@baste.magibox.net

“Julian Thornhill” <> jth@ion.le.ac.uk> > wrote in message
news:al514i$rnq$> 1@inn.qnx.com> …
I have a PC104 processor card that does not have an integrated
graphics
controller. I also have a PC104 graphics controller card. in normal
operation I would run the processor card without the graphics
controller.
In
this instance I run up Dev.ansi with the -S option, so that i can
still
use
ditto. However, this has the effect of disabling the output from the
graphics controller card on those occasions when it is plugged in. If
I
run
Dev.ansi without the -S option i can’t use ditto when the graphics
controller is not fitted.

Is there any way of getting ditto to work without the graphics
controller
fitted, but also getting output from the graphics controller when it
is
fitted? (apart from manually changing the -S option to Dev.ansi).

thanks

Julian Thornhill



\

“Bill Caroselli (Q-TPS)” <QTPS@EarthLink.net> wrote in message
news:al5de4$7t4$1@inn.qnx.com

Technically, PC104 is ISA, isn’t it. PCI is something like PC104+ or
PC106
or something like that. The connector will definitely have more pins.
That’s what you can look at.

I wasn’t really thinking about the PC104 part, my bad.

On the other hand, you could map in the video card memory region, and check
for it’s manufacters ID or some other info specific to the video card.
Stick it in a small util, and run that in a script.

\

Cheers,
Adam

QNX Software Systems Ltd.
[ amallory@qnx.com ]

With a PC, I always felt limited by the software available.
On Unix, I am limited only by my knowledge.
–Peter J. Schoenster <pschon@baste.magibox.net>

“Adam Mallory” <amalloryNOSPAM@NOSPAMqnx.com> wrote in message
news:alb6gs$asc$1@nntp.qnx.com

“Bill Caroselli (Q-TPS)” <> QTPS@EarthLink.net> > wrote in message
news:al5de4$7t4$> 1@inn.qnx.com> …
Technically, PC104 is ISA, isn’t it. PCI is something like PC104+ or
PC106
or something like that. The connector will definitely have more pins.
That’s what you can look at.

I wasn’t really thinking about the PC104 part, my bad.

On the other hand, you could map in the video card memory region, and
check
for it’s manufacters ID or some other info specific to the video card.
Stick it in a small util, and run that in a script.

\

Cheers,
Adam
This is the conclusion I had come to as well. Anyway, thanks for the advice

folks. I particularly like the idea of using dev.ditto - something I had not
thought of.

Julian