[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Kernel compile error with RS485
the port /dev/ttyS3 failed to open because I had not enabled it in the
kernel config and recompiled the kernel. Now that I enabled it, it
works. So I should be able to use 4-wire 485 on that port then without
explicitly enabling 485 in the kernel? Can I also use 2-wire?
On 02 Jul 2001 13:05:39 +0200, Jonas Holmberg wrote:
> > So I figured out that I have to recompile the kernel with ser3
> > (/dev/ttys3) enabled to use the port. I also turned on RS485 support.
> > But now the kernel compile with "make kernel" fails. I
> > thought I caught
> > a bug in
> > /usr/local/axis/devboard_lx/os/linux/arch/cris/drivers/serial.h
> > where CONFIG_RS485 should probably be CONFIG_ETRAX_RS485.
> > But it still would not compile. Here is the error after I
> > made the above
> > change. Is RS485 support complete on the devboard?
> The RS485-code comes from the 2.0.38 kernel and hasn't been ported yet. But from what I've heard you should be able to use the port in four-wire mode without enabling CONFIG_ETRAX_RS485. What went wrong when you tried to open() the port?