ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: TS-GSM1 not detected by TS4700 problem

To:
Subject: Re: [ts-7000] Re: TS-GSM1 not detected by TS4700 problem
From: Don Tucker <>
Date: Mon, 12 Mar 2012 09:32:18 -0500
I am using a TS7260, not the TS4700, but I had to add the following line
to /etc/modules for the TS-GSM1 to be recognized:

-o ts-gsm1 ts72xx_isa16550 irq=40

This means, of course, that the ts72xx_isa16550 module had to have been
built by the kernel. I had the TS-GSM1 board configured to use IRQ7,
which translated as irq=40 on the main board.

To access the board, I used the following:

int Wavecom_InitializeCellModem(int devmem)
{
volatile unsigned char *pc104base=NULL;
volatile unsigned char *gsmid;
int offset = 0x140;//for JP4=OFF on TS-GSM1
pc104base = (unsigned
char*)mmap(0,getpagesize(),PROT_READ|PROT_WRITE,MAP_SHARED,
devmem,PC104_8BIT_IO);
//check memory map was successful
if (pc104base == MAP_FAILED)
return 0;
//check that the cell modem is present
gsmid = pc104base + offset;
if (*gsmid != 9)
return 0;
//assign global pointer to ON/OFF bit in memory registers for cell phone
OP.gsm_stat = pc104base + offset + 3;
return 1;
}




On 3/9/2012 7:08 AM, ie.mclay wrote:



I'd also like to add the following details:

The TS-GSM1 is setup with its default settings (COM1/IRQ7).

I've attempted the following so far (to no avail):

* Access the PLD board identifier register (should be 0x9):

'peekpoke 8 0x11E0_0000' - returns 0xFF
'peekpoke 8 0x11C0_0000' - returns 0x0

* Changed IRQ and COM port settings (various combinations)

* Tried in both fast-boot and SD environment.

Should I expect to see an entry for the device in the dmesg log?

I notice that the tsuart1.ko kernel module is NOT present. Is this
essential to allow the kernel to recognise the on-board 16C550 UART?



Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

<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