Re: Odd RS232 problem

2006-05-25 Thread othermark
Mike Tancsa wrote: > At 05:53 AM 23/05/2006, Daniel O'Connor wrote: >>On Saturday 13 May 2006 22:00, Holger Kipp wrote: >> >> > If you encounter silo overflows, you might need to increase >> > cp4ticks in sio.c, eg >> > - cp4ticks = speed / 10 / hz * 4; >> > + cp4ticks = speed / 10 / hz * 40; >> >

Re: Odd RS232 problem

2006-05-23 Thread Mike Tancsa
At 05:53 AM 23/05/2006, Daniel O'Connor wrote: On Saturday 13 May 2006 22:00, Holger Kipp wrote: > If you encounter silo overflows, you might need to increase > cp4ticks in sio.c, eg > - cp4ticks = speed / 10 / hz * 4; > + cp4ticks = speed / 10 / hz * 40; > and/or you might want to change hz fro

Re: Odd RS232 problem

2006-05-23 Thread Daniel O'Connor
On Tuesday 23 May 2006 21:18, Daniel O'Connor wrote: > On Tuesday 23 May 2006 19:45, Peter Jeremy wrote: > > On Tue, 2006-May-23 19:23:20 +0930, Daniel O'Connor wrote: > > >I would hope that 9600 baud wouldn't be *too* fast for a 2GHz CPU :( > > > > That depends on what else is sharing the IRQ. PL

Re: Odd RS232 problem

2006-05-23 Thread Daniel O'Connor
On Tuesday 23 May 2006 19:45, Peter Jeremy wrote: > On Tue, 2006-May-23 19:23:20 +0930, Daniel O'Connor wrote: > >I would hope that 9600 baud wouldn't be *too* fast for a 2GHz CPU :( > > That depends on what else is sharing the IRQ. PLIP can give you > 10's of msec of latency. PIO disks can also

Re: Odd RS232 problem

2006-05-23 Thread Peter Jeremy
On Tue, 2006-May-23 19:23:20 +0930, Daniel O'Connor wrote: >I would hope that 9600 baud wouldn't be *too* fast for a 2GHz CPU :( That depends on what else is sharing the IRQ. PLIP can give you 10's of msec of latency. PIO disks can also destroy latency as can NE2000-style NICs. -- Peter Jeremy

Re: Odd RS232 problem

2006-05-23 Thread Daniel O'Connor
On Saturday 13 May 2006 22:00, Holger Kipp wrote: > First, make sure you have a dedicated IRQ for the card. > Then, add options PUC_FASTINTR to your kernel config. This is impossible :( I can't change what the BIOS does, and rearranging the cards is not possible remotely :) I would hope that 960

Re: Odd RS232 problem

2006-05-13 Thread Holger Kipp
On Sat, May 13, 2006 at 02:13:08PM +0930, Daniel O'Connor wrote: > Hi, > I am trying to talk to a high voltage power supply unit we're using at work, > it uses RS232 and you can read back current, voltage, faults, etc.. > > What I have seems to work fine except that occassionally I get junk read b

Re: Odd RS232 problem

2006-05-13 Thread Daniel O'Connor
On Saturday 13 May 2006 19:15, Joseph Koshy wrote: > > I have a test PC here which > > is quite old (FreeBSD 4.mumble, Tcl 8.2) and it never > > sees any problems. I am soon going to try an identical system > > to the one failing (6.0-STABLE) > > Have you checked if the PC's serial port adheres to

Re: Odd RS232 problem

2006-05-13 Thread Joseph Koshy
I have a test PC here which is quite old (FreeBSD 4.mumble, Tcl 8.2) and it never sees any problems. I am soon going to try an identical system to the one failing (6.0-STABLE) Have you checked if the PC's serial port adheres to RS232 specs? -- FreeBSD Developer, http://people.freebsd.org/~j

Odd RS232 problem

2006-05-12 Thread Daniel O'Connor
Hi, I am trying to talk to a high voltage power supply unit we're using at work, it uses RS232 and you can read back current, voltage, faults, etc.. What I have seems to work fine except that occassionally I get junk read back, strangely it appears the longer my program runs the more often I see