Hi Dan,
Try disconnecting and reconnecting the circuit when the problem
comes up. Does it work afterwards? The idea is that
maybe the circuit is just barely working and maybe the power is drooping
to the circuit or the circuit is latching up. Try reconnecting the circuit
when it is working, does it still work(it should)?
Keep in mind that the homebrew circuit draws its power from 1 serial
port pin, basically the circuit is a cheap and dirty hack and is not
guarenteed
to work based on RS232 specs. You might try adding that small .1uf cap
that the circuit suggests if you did not do so.
Try the other serial port.
I'll bet it is hardware related.
Only a small chance it is a driver bug,
the driver is very simple.
Karl.
Dan Eriksen wrote:
> Thank-you for all the helpful information Karl Bongers.
>
>
>>You didn't say if you are using the homebrew serial-port hardware.
>>
>
> Yes. Used schematic found on lirc.org.
>
>>Notice when everthing is working OK, that this count increases.
>>Does it increase when things are not working?
>>
>
> No, it stops increasing.
>
>>You may want to look over your interrupt settings. Is any other
>>device sharing this interrupt? Any odd settings relating to the serial port
>>or IRQ's in the BIOS setup? You might want to try a different serial
>>port if you have one.
>>
>
> ttyS00 at 0x03f8 (irq = 4) is a 16550A
> ttyS01 at 0x02f8 (irq = 3) is a 16550A
>I use ttyS0 after using "setserial /dev/ttyS0 uart none". But I will have to try ttyS1 eventually. I can't see anything else using irq 4, but maybe something uses it at the times when it hangs (I wouldn't think so).
>
> What would you advise I do next?
>
>Dan
>
>
|