ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: 2.6 kernel serial driver for TS7260

To:
Subject: Re: [ts-7000] Re: 2.6 kernel serial driver for TS7260
From:
Date: Wed, 26 Jan 2011 18:50:03 -0600
My apologies, Kris.  I did not understand the difference, as the TS-GSM1
is configured to connect to COM3.  However, I still seem to have problems
getting connected to the TS-GSM1 even using the ts72xx_isa16550 driver:

ts7000:~# modprobe ts72xx_isa16550 irq=7
serial8250: ttyS0 at MMIO 0x11e003e8 (irq = 7) is a 16550A
ts7000:~# wvdial
--> WvDial: Internet dialer version 1.60
--> Initializing modem.
--> Sending: ATZ
--> Sending: ATQ0
--> Re-Sending: ATZ
--> Modem not responding.

ts7000:etc# more wvdial.conf
[Dialer Defaults]
Phone = *99***1#
Username = voicestream
Password = voicestream
New PPPD = yes
Modem = /dev/ttyS0
Baud = 115200
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ISDN = 0
Modem Type = Analog Modem

ts7000:~# wvdialconf
Editing `/etc/wvdial.conf'.

Scanning your serial ports for a modem.

ttyS0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyS0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
ttyS0<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
Modem Port Scan<*1>: S1   S2   S3

Sorry, no modem was detected!  Is it in use by another program?
Did you configure it properly with setserial?

I double-checked that the TS-GSM1 is working fine by plugging it into the
stack of another board (running a 2.4 kernel).

Can think of why the TS-GSM1 would not be detected on ttyS0?

Thanks,
Don

> The TS-GSM1 peripheral does not connect to COM3 on the TS-7260, the
> tsuart7260 is specifically for the COM3 functionality.  This is what you
> were asking about earlier.  If you want to use the TS-GSM1 you will need
> to use the ts72xx_isa16550 driver...
>
> -Kris Bahnsen
> Technologic Systems
>
>
> --- In   wrote:
>>
>> Well, I tried that with the TS-GSM1 peripheral board, but had no
>> success.
>>
>> ts7000:~# modprobe tsuart7260
>> ttts0 at MMIO 0x12400000 (irq = 32) is a TSUART
>> ts7000:~# more /etc/wvdial.conf
>> [Dialer Defaults]
>> Phone = *99***1#
>> Username = voicestream
>> Password = voicestream
>> New PPPD = yes
>> Modem = /dev/ttts0
>> Baud = 115200
>> Init1 = ATZ
>> Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
>> ISDN = 0
>> Modem Type = Analog Modem
>> ts7000:~# wvdial
>> --> WvDial: Internet dialer version 1.60
>> --> Cannot set information for serial port.Division by zero in kernel.
>>
>> --> Initializing modem.
>> --> Sending: ATZ
>> --> Sending: ATQ0
>> --> Re-Sending: ATZ
>> --> Modem not responding.
>> Division by zero in kernel.
>>
>> I tried just opening the port with minicom as well, and also received
>> the
>> Divide by zero in kernel message.
>>
>> Don
>>
>> > Correct...tsuart1 will assign a /dev/tttsX address, you can use that
>> as a
>> > normal device.  It is a tsuart, and therefore will not report all of
>> the
>> > data to setserial, try opening it up and sending out data...
>> >
>> > -Kris Bahnsen
>> > Technologic Systems
>> >
>> >
>> > --- In  dtucker@ wrote:
>> >>
>> >> Thanks, Kris.  I used that source, but when I modprobed it, it
>> doesn't
>> >> seem to assign a UART to /dev/ttyS0->ttyS2.
>> >>
>> >> ts7000:/dev# modprobe tsuart7260
>> >> ttts0 at MMIO 0x12400000 (irq = 32) is a TSUART
>> >>
>> >> ts7000:/dev# setserial -g /dev/ttyS*
>> >> /dev/ttyS0, UART: unknown, Port: 0x0000, IRQ: 0
>> >> /dev/ttyS1, UART: unknown, Port: 0x0000, IRQ: 0
>> >> /dev/ttyS2, UART: unknown, Port: 0x0000, IRQ: 0
>> >> /dev/ttyS3, UART: unknown, Port: 0x0000, IRQ: 0
>> >>
>> >> ts7000:/dev# setserial -g /dev/ttts0
>> >> /dev/ttts0, UART: undefined, Port: 0x0000, IRQ: 32
>> >>
>> >> Has anyone figured out how to use this?
>> >>
>> >> Don
>> >> > This is something we have done in the past, but not yet released in
>> a
>> >> > tarball.  I have posted the updated tsuart7260.c file to pastebin:
>> >> > http://pastebin.com/6EEhEM2e  You can use the standard tsuart1.ko
>> and
>> >> just
>> >> > load this on top of it.  Note that we do not officially support
>> this
>> >> and
>> >> > it is provided as-is.
>> >> >
>> >> > -Kris Bahnsen
>> >> > Technologic Systems
>> >> >
>> >> >
>> >> > --- In  "Rekcut_Nod" <dtucker@> wrote:
>> >> >>
>> >> >> Is there a serial driver for the TS7260 for the 2.6.xx kernel?  I
>> >> tried
>> >> >> modprobing ts72xx_isa16550.ko but it only sets the UART for ttyS0.
>>  I
>> >> >> want to be able to use COM3 (ttyS2) with a peripheral board.
>> >> >>
>> >> >> Don
>> >> >>
>> >> >
>> >> >
>> >> >
>> >>
>> >
>> >
>> >
>>
>
>
>




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

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