Hi Steven,
The kernel does detect the serial port.
dmesg gives:
ttyS0 at 0x03f8 (irq = 4) is a 16550A
ttyS1 at 0x02f8 (irq = 3) is a 16550A
When I plug a modem in ttyS0, and do `cat > /dev/ttyS0`
I can see that the modem is receiving something.
Concerning /dev/cuaX, the new kernels (>= 2.2) do not use it anymore.
Everything is done through /dev/ttySX
Best regards,
Arnaud
> Hi Arnaud,
> I see to possibilities. These are:
> 1) During boot up (or later using 'dmesg') what does the kernel learn
> about your serial ports. The serial port section in dmesg is almost the
> first
> section to be reported on. Does the kernel detect a serial port or two.
> I'm guessing not.
> If not, check you bios settings to see if your serial ports are on. Most
> motherboards allow you to disable at the hardware level the serial ports,
> to free up IRQs and IOports. You might have turned the serial ports off.
> 2) Your comment about modem test is not clear (for me at least). But
> assuming you have plugged a modem into com1, and used minicom to dial out,
> then should you be using ttyS0, or cua0? I vagely remember something
> about
> one being for modems, the other for mice. Their major numbers are
> different.
> Perhaps this confuses the mice programs.
> ls -l /dev/cua0 /dev/ttyS0
> crw------- 1 root root 5, 64 May 5 1998 /dev/cua0
> crw------- 1 root tty 4, 64 May 5 1998 /dev/ttyS0
> Steven Howe
> > Hi,
> > I have a problem to make my Linux working with a serial mouse.
> > I tried with different kernels (2.2.5, 2.2.10, 2.3.9), and still the
> > same problem.
> > The device (/dev/ttyS0) is the good one: I have plugged a modem to test
> > it.
> > But, when I plug the serial mouse, I can't get any result with gpm or
> > X11.
> > With `setup` on RedHat, I select /dev/ttyS0 and "generic serial mouse".
> > There is a symlink for /dev/mouse to /dev/ttyS0
> > `mouse-test` can't detect it.
> > I tried with 3 different mice, same result.
> > Is there any configuration setting to make it working, maybe with
> > setserial?
> > Thanks and best regards,
> > Arnaud