All of lore.kernel.org
 help / color / mirror / Atom feed
* AT91SAM9263 USB Serial hang?
@ 2010-02-11  7:40 Timo TH
  2010-02-17 17:16 ` Timo TH
  0 siblings, 1 reply; 2+ messages in thread
From: Timo TH @ 2010-02-11  7:40 UTC (permalink / raw)
  To: linux-arm-kernel

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

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

* AT91SAM9263 USB Serial hang?
  2010-02-11  7:40 AT91SAM9263 USB Serial hang? Timo TH
@ 2010-02-17 17:16 ` Timo TH
  0 siblings, 0 replies; 2+ messages in thread
From: Timo TH @ 2010-02-17 17:16 UTC (permalink / raw)
  To: linux-arm-kernel

FYI: This was caused by microcom's and pppd's inability to TIOCMSET
the RTS flags the way ftdi_sio wants it.

On 11 February 2010 09:40, Timo TH <tim_th@posti.tyyppi.org> wrote:
> 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.
>
>

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

end of thread, other threads:[~2010-02-17 17:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-11  7:40 AT91SAM9263 USB Serial hang? Timo TH
2010-02-17 17:16 ` Timo TH

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.