Linux MIPS Architecture development
 help / color / mirror / Atom feed
* Re: PCMCIA genric sreail or modem support for db1100 bord
@ 2004-08-20  8:51 safiudeen Ts
  2004-08-20 12:59 ` Michael Kelly
  0 siblings, 1 reply; 3+ messages in thread
From: safiudeen Ts @ 2004-08-20  8:51 UTC (permalink / raw)
  To: michael.stickel, linux-mips

built in serial ports are working fine in DB1100 with linux-2.4.20 kernel
When we use a pcmcia serial card or modem, for most of the card, cardmaneger 
load serial_cs.o (actualy it uses the serial.o  fetures for registering the 
module).
This method work fine in my laptop.
same think hepens in db1100 bord also. I gues serial.o in bord db110 does'nt 
support well for serial_cs
.
If there is a stand alon serial_cs.o module for this board It may work 
without any problem.
if it is os where  can I get the seria_cs or any generic serial pcmcia 
driver for db1100 bord, or  otherwise is any serial.c available for db1100 
that can support pcmcia and inbuild serial as it works in labtop.

There is important think, when we connected in the laptop this pcmcia serial 
card detect is detected as 65550A but in the board it detected as 65550. I 
checked the serial.c code of db1100 there is no entry for this 65550A.

if any one worked with this DB1100 please help me to solve this problem


thanx
safiudeen

>From: Michael Stickel <michael.stickel@4g-systems.biz>
>To: "safiudeen Ts" <safiudeen@hotmail.com>
>Subject: Re: PCMCIA genric sreail or modem support for db1100 bord
>Date: Fri, 20 Aug 2004 10:07:40 +0200
>
>
>Do you use the buildin serial ports?
>
>My last information is that the au1x00-serial module does not work
>in parallel with the serial module because au1x00-serial.c is just a
>modified copy of serial.c.
>
>Michael
>

_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail

^ permalink raw reply	[flat|nested] 3+ messages in thread
* PCMCIA genric sreail or modem support for db1100 bord
@ 2004-08-20  5:19 safiudeen Ts
  0 siblings, 0 replies; 3+ messages in thread
From: safiudeen Ts @ 2004-08-20  5:19 UTC (permalink / raw)
  To: linux-mips, ecartis; +Cc: safiudeen

I am trying to make a pcmcia serial card to work with DB 1100 development 
bord mips prcessor mips au1100 runnning on linux 2.4.20
same pcmcia serial card works fine with my laptop running on linux 2.4.20-8

when try with db1100 it look like hanging in close
the test results are as follows

1) when I plug the card, cardmanegr start  it gives thettyS4 at  port 
0xc00703f8 and the irq 34
2) then card manager calls /etc/pcmcia/serial start /dev/ttvS4
   here it try to set the irq with o through the setserial,this give 
"resource busy or unavailable error"
3)I changed /etc/pcmcia/serial so that   setserial in /etc/pcmcia/serial can 
set irq 3
   after this when I remove the card and plug again, same port number and 
irq is set, then
        /etc/pcmcia/serial start /dev/ttvS4 runs , here it wait until press 
enter to return to prompt
4) now I used set seril to see the status out put is this

# setserial -a /dev/ttyS4
/dev/ttyS4, Line 4, UART: 16550, Port: 0xc00703f8, IRQ: 34
        Baud_base: 6188044, close_delay: 50, divisor: 0
        closing_wait: 3000, closing_wait2: infinte
        Flags: spd_normal skip_tes

and I checked /var/run/stab  this is the out put
# cat /var/run/stab
Socket 0: Serial or Modem
0       serial  serial_cs       0       ttyS4   4       68
Socket 1: empty

at this place evry thing look like ok
5) I run a smale serial prot test program it set the boud rate 9600, data 
bit 8 stop bit 1 , no parity
        , open the ttyS4 with the following options O_RDWR | O_NOCTTY | 
O_NONBLOCK
        write teststring of correctors to the ttyS4, and close.
        open and write functions return no error, the write function retunr 
the no. of bit writen correctly
        close function hangs here I connected other side of the serial port 
to a pc and started the minicom here I did'nt get any charecter writen to 
the port

6) I checked there irq usage in /proc/interrupts this is the result
cat /proc/interrupts

# cat /proc/interrupts
           CPU0
  0:      11914    Au1000 Level  serial
  2:          0    Au1000 Level  MMC
  6:          0    Au1000 Level  audio DAC
  7:          0    Au1000 Level  audio ADC
  8:          0    Au1000 Level  EP0 IN WR
  9:          0    Au1000 Level  EP1 IN WR
10:          0    Au1000 Level  EP2 IN WR
22:      22518    Au1000 Level  irda0
23:          0    Au1000 Level  irda0
24:          0  Au1000 Rise Edge  AU1100UDC Req
25:          0  Au1000 Rise Edge  AU1100UDC Sus
26:          0    Au1000 Level  usb-ohci
28:       8155    Au1000 Level  eth0
34:          0    Au1000 Level  serial

ERR:          0

it shows no any interupts happen to 34,
what should be the real problem ? if any one succeded in PCMCIA up with 
db1100 development please can you tell me the way to
configure the kernela and the the importan settings

if anyone succeded in bringing up PCMCIA serial or modem driver serial_cs 
working with this plartform
please help me in this regards

thanx
safiudeen

_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8. 
http://join.msn.com/?page=features/junkmail

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

end of thread, other threads:[~2004-08-20 12:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-20  8:51 PCMCIA genric sreail or modem support for db1100 bord safiudeen Ts
2004-08-20 12:59 ` Michael Kelly
  -- strict thread matches above, loose matches on Subject: below --
2004-08-20  5:19 safiudeen Ts

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox