[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Device drivers




On Mon, 2 Aug 1999, xavier valls wrote:

> I'm trying to install two external device drivers. I can install each
> one separately, but when I install them together they don't work very
> well. Could exist any interaccion between them? Shall I reserve any
> resource for my AD card?
> 
> DATA:
> 
> host i386 target pc386
> Drivers: ttys (using termios), pc-labcard812

I personally have been on systems with many more devices than that so
without actually seeing code, I can only give general hints.  You could be
disabling interrupts or locking a shared mutex/semaphore for too long in
one of the drivers.  There is likely something in one of the drivers (poll
loop with interrupts off?) which is causing them to interfere with each
other.

If you are printing form a device driver, then the delays of printing
could easily be perturbing things very badly.

Not much to go on but it has to be specific to your drivers -- the way
they lock resources, interrupts, etc.

--joel
Joel Sherrill, Ph.D.             Director of Research & Development
joel at OARcorp.com                 On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
   Support Available             (256) 722-9985