ts-7000
[Top] [All Lists]

[ts-7000] TS-MODEM2/ts7800_isa16550 load error

To:
Subject: [ts-7000] TS-MODEM2/ts7800_isa16550 load error
From: Frank <>
Date: Thu, 20 Mar 2008 01:05:40 -0400
Hi everyone,

I'm trying to get the TS-MODEM2 working with my TS-7800 with no luck.  

Short version...

My problem may be as simple as not having the baud rate set properly.  
I've tried minicom set to 8N1 at 115200 and 9600 with no luck.  I can't 
even get the modem's attention (+++).  Does anyone know the correct baud 
rate settings?

Long version.  Here's what I've done so far:

- Set the I/O to ISA mode with the peekpoke 0x555.... commands.  This I 
know works.
- modprobe ts7800_isa16550 gave:

    FATAL: Error inserting ts7800_isa16550 
(/lib/modules/2.6.21-ts/kernel/drivers/serial/ts7800_isa16550.ko): 
Operation not permitted

So looking through the source for the module, I saw ts7800_isa16550_init 
was returning a -1, which I assume was giving the above error.  After 
changing the return value to 0, the error went away.  In total, I 
changed these three lines:

    Old: static unsigned int io = 0x3e8;
    New: static unsigned int io = 0x2e8;

    Old:     req.irq = 64 + irq;
    New:   req.irq = irq;

    Old: return -1;
    New: return 0;

The TS-MODEM2 has jumpers set as follows:

    JP1 = off (COMA=COM3, COMB=COM4)
    JP4 = on (IRQ6)

Now modprobing again, I look at 'dmesg' and get:
    serial8250: ttyS2 at MMIO 0xee0002e8 (irq = 6) is a 16550A

and /proc/tty/driver/serial shows:
    0: uart:16550A mmio:0xF1012000 irq:3 tx:1064 rx:0 RTS|CTS|DTR|DSR|CD
    1: uart:16550A mmio:0xF1012100 irq:4 tx:0 rx:0 DSR|CD
    2: uart:16550A mmio:0xEE0002E8 irq:6 tx:0 rx:0 CTS|DSR

Yeah!  So it's /dev/ttyS2.

Unfortunately, I still cannot get the modem's attention.  Does anyone 
have the piece I'm missing?

Thanks,

-Frank
Holland, PA


========================================================================
Groups related to ts-7000                                       
========================================================================

lpc2000 (98 common members)           
http://groups.yahoo.com/group/lpc2000?v=1&t=ipt&ch=email&pub=groups&slk=aftr0&sec=recg
  
Microprocessors/Microcontrollers: The NXP (formerly Philips) LPC2000 family of 
ARM M...

nslu2-general (82 common members)           
http://groups.yahoo.com/group/nslu2-general?v=1&t=ipt&ch=email&pub=groups&slk=aftr1&sec=recg
  
Computers & Internet/Hardware: This is the general support group for the NSLU2 
ma...

msp430 (64 common members)           
http://groups.yahoo.com/group/msp430?v=1&t=ipt&ch=email&pub=groups&slk=aftr2&sec=recg
  
Computers & Internet/Hardware: Welcome to the MSP430 User's Group! The purpose 
of...

motherboardmemorycpu (54 common members)           
http://groups.yahoo.com/group/motherboardmemorycpu?v=1&t=ipt&ch=email&pub=groups&slk=aftr3&sec=recg
  
Computers & Internet/Hardware: The purpose of the group will be to share 
informat...

handyboard (52 common members)           
http://groups.yahoo.com/group/handyboard?v=1&t=ipt&ch=email&pub=groups&slk=aftr4&sec=recg
  
Computers & Internet/Hardware: The Handy Board is a 68HC11-based controller 
board...


------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU