All of lore.kernel.org
 help / color / mirror / Atom feed
From: tim_th@posti.tyyppi.org (Timo TH)
To: linux-arm-kernel@lists.infradead.org
Subject: AT91SAM9263 USB Serial hang?
Date: Thu, 11 Feb 2010 09:40:59 +0200	[thread overview]
Message-ID: <fc09324d1002102340o4444c8abve6d1d6bb5289d461@mail.gmail.com> (raw)

Anyone seen this kind of a problem?

Environment : ARM9 SAM9263ek, gprs modem on usb, (pppd 2.4.4)

With Linux 2.6.27.34 everything worked OK. (with at91-patches)
Upgraded to Linux 2.6.31.6 and now everything works upto point where
data connection should be made.
Something wrong with handling of DTR or DCD or what?



# modprobe ftdi_sio
usbcore: registered new interface driver usbserial
USB Serial support registered for generic
usbcore: registered new interface driver usbserial_generic
USB Serial support registered for FTDI USB Serial Device
ftdi_sio 1-2.2:1.0: usb_probe_interface
ftdi_sio 1-2.2:1.0: usb_probe_interface - got id
ftdi_sio 1-2.2:1.0: FTDI USB Serial Device converter detected
usb 1-2.2: Detected FT2232C
usb 1-2.2: Number of endpoints 2
usb 1-2.2: Endpoint 1 MaxPacketSize 64
usb 1-2.2: Endpoint 2 MaxPacketSize 64
usb 1-2.2: Setting MaxPacketSize 64
usb 1-2.2: FTDI USB Serial Device converter now attached to ttyUSB0
ftdi_sio: v1.5.0:USB FTDI Serial Converters Driver

# microcom /dev/ttyUSB0
AT
OK
AT+CPIN=0000
OK
AT+CREG?
+CREG: 0,1
ATD*98#
//// No reply of any kind

With 2.6.27.34, everything above is same (except ftdi_sio is 1.4.3)
and there ATD gets reply
CONNECT

Strange detail, If instead of microcom doing
# cat < /dev/ttyUSB0 in one terminal, and just echo in the AT commands
in another terminal, then the cat displays CONNECT

But this is no help for my goal, since I'm trying to use pppd and it
only gets timeout to its ATD command.


Found some notes on the interwebs about reconnection problems in
2.6.31 but I couldnt connect those to this case.


Greatly appreciating any help and hints already..
- Timmy

             reply	other threads:[~2010-02-11  7:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-11  7:40 Timo TH [this message]
2010-02-17 17:16 ` AT91SAM9263 USB Serial hang? Timo TH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=fc09324d1002102340o4444c8abve6d1d6bb5289d461@mail.gmail.com \
    --to=tim_th@posti.tyyppi.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.