Re: Serial issue in 2.4 kernel

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

 



On 7/6/06, lee nookx <lnookx@xxxxxxxxxxxxxx> wrote:
Hi,

I am trying to debug a serial port problem I am having with kernel
2.4.19, and was hoping someone might point me at some useful
documentation.

I am running a ipaq under familiar linux and am trying to get a navman
gps sleeve to work. However, it seems as though the serial port in the
sleeve is not being detected properly.

My dmesg output looks like this:

navman_gps_cf_probe_sleeve: Navman GPS/CF Sleeve serial_port=0
serial_ioaddr=cabe0000
register_serial: port=cabe0000 irq=45 flags=1000040
Testing ttyS0 (0xcabe0000, 0x0000)...
serial in:  MCR (4)=52   ? LOOP RTS
serial in:  LCR (3)=1c   EPS PEN STB
serial: Check to see if UART is there
serial out: LCR (3)=bf   DLAB STCP EPS PEN STB WLS1 WLS0
serial out: FCR (2)=00
serial out: LCR (3)=00
serial out: FCR (2)=01   EFIFO
serial in:  IIR (2)=01   INTF
serial: Read scratch = 0x00
serial out: LCR (3)=1c   EPS PEN STB
serial in:  SCR (7)=08
serial out: SCR (7)=a5
serial in:  SCR (7)=07
serial out: SCR (7)=5a
serial in:  SCR (7)=07
serial out: SCR (7)=08
serial: status1: 0x07     status2: 0x07
serial out: MCR (4)=52   ? LOOP RTS
serial out: FCR (2)=07   CLXMIT CLRCVR EFIFO
serial out: FCR (2)=00
serial in:  RCVR (0)=f0
serial out: IER (1)=00
*** port: cabe00000000, iomem_base=0xcabe0000
ttyS00 at port 0xcabe0000 (irq = 45) is a 8250
Aren't we supposed to use /dev/ttyS0 instead of /dev/tts/0

navman_gps_cf_probe_sleeve: Serial line: 0
navman_gps_cf_probe_sleeve: NavMan GPS Sleeve initialisation complete.


Which seems to imply that the device is up and running. However, when
I try and cat /dev/tts/0 I just get nothing (no garbage, just does
nothing...).

The sleeve works under earlier versions of the familiar kernel
(2.4.18), but I can't see an obvious difference in the initialisation
codes between the two kernel versions.

Is there anyone here who would either be able to help me debug the
problem, or at least point me at some good low-level serial documents
that might assist?



--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux