linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Serial ports
@ 1999-12-10 12:18 Grant Carter
  0 siblings, 0 replies; 2+ messages in thread
From: Grant Carter @ 1999-12-10 12:18 UTC (permalink / raw)
  To: linuxppc-embedded


Hi all

I posted a question a while ago to the list about not being able to get
the second serial port ttyS1 (on SMC2) working on my BSE-IP board
running the 2.2.5. The kernel finds the port but when I echo something
to it, nothing comes out of the port. I received some replies but
nothing that was suggested has worked. Could someone please suggest how
I can test the second serial port and then hopefully get it working.
Below are the things that I have tried so far:

I added SMC2 to the rs_table in arch/ppc/8xx_io/uart.c and the kernel
detected the port.
CPM UART driver version 0.02
ttyS00 at 0x0280 is a SMC
ttyS01 at 0x0380 is a SMC

I have made sure that there is the correct device nodes in /dev 
# ls -la ttyS*
crw-r--r--   1 root     0          4,  64 Sep  7  1998 ttyS0
crw-rw----   1 root     66         4,  65 Dec 10  1999 ttyS1

Does anyone have any ideas where I can go from here. I am not 100% that
the hardware is working so perhaps that could be the problem.

Many thanks in advance
Grant


-- 
Grant Carter                              gcarter@eng.uct.ac.za
Department of Electrical Engineering      University of Cape Town
Tel: +27 (0)21 650-3467                   Fax: +27 (0)21 650-3465
                     "Coffee not found - operator halted!"

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* RE: Serial ports
@ 1999-12-10 19:09 Naushit Sakarvadia
  0 siblings, 0 replies; 2+ messages in thread
From: Naushit Sakarvadia @ 1999-12-10 19:09 UTC (permalink / raw)
  To: 'Grant Carter', linuxppc-embedded


> Does anyone have any ideas where I can go from here. I am not 
> 100% that the hardware is working so perhaps that could be the problem.

if you doubt your hardware then.. do this to test it.

first of all write a routine that countineously write "ox55" or "oxAA"
on the serial port. then check the pin no 2( i.e always transmit) and check
you should be gettinhg "squere wave" on that pin with respect to ground( i.e
pin 7)


-- Naushit 


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1999-12-10 19:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-12-10 12:18 Serial ports Grant Carter
  -- strict thread matches above, loose matches on Subject: below --
1999-12-10 19:09 Naushit Sakarvadia

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).