linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* PCMCIA modem card is not responding
@ 2004-02-09  5:16 Prabhakar Kalasani
  2004-02-09 16:55 ` Leonardo Pereira Santos
  2004-02-09 17:45 ` Wolfgang Denk
  0 siblings, 2 replies; 6+ messages in thread
From: Prabhakar Kalasani @ 2004-02-09  5:16 UTC (permalink / raw)
  To: linuxppc-embedded


Hi all,
I'm working with MPC855T Processor based target board, I'm trying to support
3CXM556 Megahertz Cellular Modem PC Card , I could able to detetect the card
like...

root@192.168.6.6:/# cardctl ident

Socket 0:
  product info: "3Com", "3CXM/3CCM556", "Megahertz 56K Cell/Telephony Modem"
  manfid: 0x0101, 0x0034
  function: 2 (serial)

root@192.168.6.6:/# cardctl config

Socket 0:
  Vcc 5.0V  Vpp1 0.0V  Vpp2 0.0V
  interface type is "memory and I/O"
  irq 9 [exclusive] [level]
  speaker output is enabled
  function 0:
    config base 0x0300
      option 0x60 status 0x08
    io 0x03f8-0x03ff [8bit]

But I couldn't communicate with the card, If i send Modem string from
Minicom I'm not getting any responce from the target , Do i need to change
anything related to MPC855T .

Please help me out.

Thanks and Regards,
Prabhakar Kalasnai

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

* Re: PCMCIA modem card is not responding
  2004-02-09  5:16 PCMCIA modem card is not responding Prabhakar Kalasani
@ 2004-02-09 16:55 ` Leonardo Pereira Santos
  2004-02-10  4:53   ` Prabhakar Kalasani
  2004-02-09 17:45 ` Wolfgang Denk
  1 sibling, 1 reply; 6+ messages in thread
From: Leonardo Pereira Santos @ 2004-02-09 16:55 UTC (permalink / raw)
  To: Prabhakar Kalasani, linuxppc-embedded



Are the drivers being loaded? This done by cardmgr, and it uses the
/etc/pcmcia/ scripts (network.options, memory.options). If you got a
consistent response from cardctl for

#cardctl ident

Or something like that, your pcmcia interface should be working.

Remember that pcmcia drivers should be loaded by cardmgr, not by a simple
insmod. This is because the driver waits for a CARD_INSERT event, which's
generated by cardmgr.

On Monday 09 February 2004 03:16, Prabhakar Kalasani wrote:
> Hi all,
> I'm working with MPC855T Processor based target board, I'm trying to
> support 3CXM556 Megahertz Cellular Modem PC Card , I could able to detetect
> the card like...
>
> root@192.168.6.6:/# cardctl ident
>
> Socket 0:
>   product info: "3Com", "3CXM/3CCM556", "Megahertz 56K Cell/Telephony
> Modem" manfid: 0x0101, 0x0034
>   function: 2 (serial)
>
> root@192.168.6.6:/# cardctl config
>
> Socket 0:
>   Vcc 5.0V  Vpp1 0.0V  Vpp2 0.0V
>   interface type is "memory and I/O"
>   irq 9 [exclusive] [level]
>   speaker output is enabled
>   function 0:
>     config base 0x0300
>       option 0x60 status 0x08
>     io 0x03f8-0x03ff [8bit]
>
> But I couldn't communicate with the card, If i send Modem string from
> Minicom I'm not getting any responce from the target , Do i need to change
> anything related to MPC855T .
>
> Please help me out.
>
> Thanks and Regards,
> Prabhakar Kalasnai
>

- --
This is Linux country.
On a quiet night, you can hear Windows reboot.

Leonardo Pereira Santos
Engenheiro de Projetos
PD3 Tecnologia
av. Pará 330/202
(51) 3337 1237

Today Fortune tells us:
If a jury in a criminal trial stays out for more than twenty-four hours, it
is certain to vote acquittal, save in those instances where it votes guilty.
		-- Joseph C. Goulden


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

* Re: PCMCIA modem card is not responding
  2004-02-09  5:16 PCMCIA modem card is not responding Prabhakar Kalasani
  2004-02-09 16:55 ` Leonardo Pereira Santos
@ 2004-02-09 17:45 ` Wolfgang Denk
  2004-02-10  4:47   ` Prabhakar Kalasani
  1 sibling, 1 reply; 6+ messages in thread
From: Wolfgang Denk @ 2004-02-09 17:45 UTC (permalink / raw)
  To: Prabhakar Kalasani; +Cc: linuxppc-embedded


In message <NCEHKHHDAHEBBGFMCFHCEEHPCAAA.kalasani@sena.com> you wrote:
>
> I'm working with MPC855T Processor based target board, I'm trying to support
> 3CXM556 Megahertz Cellular Modem PC Card , I could able to detetect the card
> like...
...
> But I couldn't communicate with the card, If i send Modem string from
> Minicom I'm not getting any responce from the target , Do i need to change
> anything related to MPC855T .

This will not work with unmodified kernel sources; for the modem  you
need  the standard serial driver which cannot coexist with the MPC8xx
serial driver (they use the same major numbers).

We implemented this some time ago; see the linux-2.4  module  on  our
CVS server and search "drivers/char/serial.c" for "MPC8xx_UART".

Best regards,

Wolfgang Denk

--
See us @ Embedded World, Nuremberg, Feb 17 - 19,  Hall 12.0 Booth 440
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
Inside every old person is a young person wondering what happened.
                              - Terry Pratchett, _Moving Pictures_

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

* RE: PCMCIA modem card is not responding
  2004-02-09 17:45 ` Wolfgang Denk
@ 2004-02-10  4:47   ` Prabhakar Kalasani
  2004-02-10 20:18     ` Wolfgang Denk
  0 siblings, 1 reply; 6+ messages in thread
From: Prabhakar Kalasani @ 2004-02-10  4:47 UTC (permalink / raw)
  To: Wolfgang Denk; +Cc: linuxppc-embedded


Wolfgang,

We have got the kernel from MontaVista (linux-2.4.2_hhl20) , I think it
might be a modified kernel source.
I could run some other card called "Billiontin 56 KBPS FAX/MODEM card" for
same kernel and same Target board.
I'm getting problem with this specific card(3CXM556 Megahertz Cellular Modem
PC Card) only.
My card is detected by the kernel and kernel could assign irq 9. The problem
is when I send modem string through Minicom it's not responging.

what could be the problem ?

Best regards,
Prabhakar

-----Original Message-----
From: owner-linuxppc-embedded@lists.linuxppc.org
[mailto:owner-linuxppc-embedded@lists.linuxppc.org]On Behalf Of Wolfgang
Denk
Sent: Tuesday, February 10, 2004 2:45 AM
To: Prabhakar Kalasani
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: PCMCIA modem card is not responding



In message <NCEHKHHDAHEBBGFMCFHCEEHPCAAA.kalasani@sena.com> you wrote:
>
> I'm working with MPC855T Processor based target board, I'm trying to
support
> 3CXM556 Megahertz Cellular Modem PC Card , I could able to detetect the
card
> like...
...
> But I couldn't communicate with the card, If i send Modem string from
> Minicom I'm not getting any responce from the target , Do i need to change
> anything related to MPC855T .

This will not work with unmodified kernel sources; for the modem  you
need  the standard serial driver which cannot coexist with the MPC8xx
serial driver (they use the same major numbers).

We implemented this some time ago; see the linux-2.4  module  on  our
CVS server and search "drivers/char/serial.c" for "MPC8xx_UART".

Best regards,

Wolfgang Denk

--
See us @ Embedded World, Nuremberg, Feb 17 - 19,  Hall 12.0 Booth 440
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
Inside every old person is a young person wondering what happened.
                              - Terry Pratchett, _Moving Pictures_


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

* RE: PCMCIA modem card is not responding
  2004-02-09 16:55 ` Leonardo Pereira Santos
@ 2004-02-10  4:53   ` Prabhakar Kalasani
  0 siblings, 0 replies; 6+ messages in thread
From: Prabhakar Kalasani @ 2004-02-10  4:53 UTC (permalink / raw)
  To: Leonardo Pereira Santos; +Cc: linuxppc-embedded


Leonardo,
The drivers being loaded with cardmgr only and it uses /etc/pcmcia/scripts
only.
I could detect correctly there is no problem in it, the problem is when i
send modem string through Minicom , I'm not getting "OK" responce from the
card.

It might be the problem read/write into the card. But i don't know how ?

Best Regards,
Prabhakar


-----Original Message-----
From: owner-linuxppc-embedded@lists.linuxppc.org
[mailto:owner-linuxppc-embedded@lists.linuxppc.org]On Behalf Of Leonardo
Pereira Santos
Sent: Tuesday, February 10, 2004 1:55 AM
To: Prabhakar Kalasani; linuxppc-embedded@lists.linuxppc.org
Subject: Re: PCMCIA modem card is not responding




Are the drivers being loaded? This done by cardmgr, and it uses the
/etc/pcmcia/ scripts (network.options, memory.options). If you got a
consistent response from cardctl for

#cardctl ident

Or something like that, your pcmcia interface should be working.

Remember that pcmcia drivers should be loaded by cardmgr, not by a simple
insmod. This is because the driver waits for a CARD_INSERT event, which's
generated by cardmgr.

On Monday 09 February 2004 03:16, Prabhakar Kalasani wrote:
> Hi all,
> I'm working with MPC855T Processor based target board, I'm trying to
> support 3CXM556 Megahertz Cellular Modem PC Card , I could able to
detetect
> the card like...
>
> root@192.168.6.6:/# cardctl ident
>
> Socket 0:
>   product info: "3Com", "3CXM/3CCM556", "Megahertz 56K Cell/Telephony
> Modem" manfid: 0x0101, 0x0034
>   function: 2 (serial)
>
> root@192.168.6.6:/# cardctl config
>
> Socket 0:
>   Vcc 5.0V  Vpp1 0.0V  Vpp2 0.0V
>   interface type is "memory and I/O"
>   irq 9 [exclusive] [level]
>   speaker output is enabled
>   function 0:
>     config base 0x0300
>       option 0x60 status 0x08
>     io 0x03f8-0x03ff [8bit]
>
> But I couldn't communicate with the card, If i send Modem string from
> Minicom I'm not getting any responce from the target , Do i need to change
> anything related to MPC855T .
>
> Please help me out.
>
> Thanks and Regards,
> Prabhakar Kalasnai
>

- --
This is Linux country.
On a quiet night, you can hear Windows reboot.

Leonardo Pereira Santos
Engenheiro de Projetos
PD3 Tecnologia
av. Pará 330/202
(51) 3337 1237

Today Fortune tells us:
If a jury in a criminal trial stays out for more than twenty-four hours, it
is certain to vote acquittal, save in those instances where it votes guilty.
		-- Joseph C. Goulden


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

* Re: PCMCIA modem card is not responding
  2004-02-10  4:47   ` Prabhakar Kalasani
@ 2004-02-10 20:18     ` Wolfgang Denk
  0 siblings, 0 replies; 6+ messages in thread
From: Wolfgang Denk @ 2004-02-10 20:18 UTC (permalink / raw)
  To: Prabhakar Kalasani; +Cc: linuxppc-embedded


In message <NCEHKHHDAHEBBGFMCFHCMEJBCAAA.kalasani@sena.com> you wrote:
>
> We have got the kernel from MontaVista (linux-2.4.2_hhl20) , I think it
> might be a modified kernel source.

Maybe you should contact MV support, then.

Best regards,

Wolfgang Denk

--
See us @ Embedded World, Nuremberg, Feb 17 - 19,  Hall 12.0 Booth 440
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
"There are things that are so serious that you can  only  joke  about
them"                                                    - Heisenberg

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

end of thread, other threads:[~2004-02-10 20:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-09  5:16 PCMCIA modem card is not responding Prabhakar Kalasani
2004-02-09 16:55 ` Leonardo Pereira Santos
2004-02-10  4:53   ` Prabhakar Kalasani
2004-02-09 17:45 ` Wolfgang Denk
2004-02-10  4:47   ` Prabhakar Kalasani
2004-02-10 20:18     ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).