linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* CS_BAD_VCC Error during Card Configaration.
@ 2002-08-05  4:30 Narendra  
  2002-08-05  5:27 ` David Gibson
  2002-08-05  6:42 ` Michael Habermann
  0 siblings, 2 replies; 6+ messages in thread
From: Narendra   @ 2002-08-05  4:30 UTC (permalink / raw)
  To: linuxppc-embedded


Hi.

I am involved in porting WLAN driver to Embedded Planet RPX-LITE
board.

I am using HHL - 2,4,2 and Pcmcia-cs (3.1.24). When i insert
D-Link DWL 350 prism2 card (intersil) my driver is invoked by
cardmgr.

But as i found through debug message, socket is configured for
5volts and the CIS read from my card wants 3.3V. So my Config()
routine is failing since there is a mismatch in configured Vcc and
Requested Vcc. and Kernel is crashing.

Where i need to do modification to configure EP socket for 3.3v?

Should i need to make any modification in m8xx_pcmcia.c?

I didn`t come across this problem when i tested my driver in
Compaq Armada notebook.

I am struck at this point. All inputs are welcome.

Thanks in advance,

Regards,
Naren


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

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

* Re: CS_BAD_VCC Error during Card Configaration.
  2002-08-05  4:30 Narendra  
@ 2002-08-05  5:27 ` David Gibson
  2002-08-05  6:42 ` Michael Habermann
  1 sibling, 0 replies; 6+ messages in thread
From: David Gibson @ 2002-08-05  5:27 UTC (permalink / raw)
  To: linuxppc-embedded


On Mon, Aug 05, 2002 at 04:30:39AM -0000, Narendra   wrote:
>
> Hi.
>
> I am involved in porting WLAN driver to Embedded Planet RPX-LITE
> board.
>
> I am using HHL - 2,4,2 and Pcmcia-cs (3.1.24). When i insert
> D-Link DWL 350 prism2 card (intersil) my driver is invoked by
> cardmgr.
>
> But as i found through debug message, socket is configured for
> 5volts and the CIS read from my card wants 3.3V. So my Config()
> routine is failing since there is a mismatch in configured Vcc and
> Requested Vcc. and Kernel is crashing.
>
> Where i need to do modification to configure EP socket for 3.3v?
>
> Should i need to make any modification in m8xx_pcmcia.c?
>
> I didn`t come across this problem when i tested my driver in
> Compaq Armada notebook.
>
> I am struck at this point. All inputs are welcome.

Which wireless driver are you using?

--
David Gibson			| For every complex problem there is a
david@gibson.dropbear.id.au	| solution which is simple, neat and
				| wrong.
http://www.ozlabs.org/people/dgibson

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

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

* Re: CS_BAD_VCC Error during Card Configaration.
  2002-08-05  4:30 Narendra  
  2002-08-05  5:27 ` David Gibson
@ 2002-08-05  6:42 ` Michael Habermann
  1 sibling, 0 replies; 6+ messages in thread
From: Michael Habermann @ 2002-08-05  6:42 UTC (permalink / raw)
  To: Narendra; +Cc: linuxppc-embedded


Narendra wrote:
>
> But as i found through debug message, socket is configured for
> 5volts and the CIS read from my card wants 3.3V. So my Config()
> routine is failing since there is a mismatch in configured Vcc and
> Requested Vcc. and Kernel is crashing.
>

You are using a 3.3V card in an 5V socket. If the card can do this - and
I think Prism 2 can - you  can bypass the code which checks if the Vcc
is correct. You will maybe find it if you look in the WLAN drivers
source code and search for conf.Vcc.


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

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

* Re: Re: CS_BAD_VCC Error during Card Configaration.
@ 2002-08-06 11:31 Narendra  
  2002-08-06 14:53 ` Michael Habermann
  0 siblings, 1 reply; 6+ messages in thread
From: Narendra   @ 2002-08-06 11:31 UTC (permalink / raw)
  To: Michael Habermann; +Cc: linuxppc-embedded


Hi,

After i made the change to ignore mismatch in Vcc....my call to
cardservices(RequestIO) is
failing and the error returned is Resource in use.

But i neglected this failure and procedded..so now card is
configured and next failure
occured when i try to write to WLAN card register. In this case
Baseaddress returned
is 0 and i have done the modifications to add _IO_BASE to the base
address. (As mentioned
in mail archives).

what might be wrong for RequestIO failure??

Thanks,
Naren

On Mon, 05 Aug 2002 Michael Habermann wrote :
>Narendra wrote:
>>
>>But as i found through debug message, socket is configured for
>>5volts and the CIS read from my card wants 3.3V. So my
>>Config()
>>routine is failing since there is a mismatch in configured Vcc
>>and
>>Requested Vcc. and Kernel is crashing.
>>
>
>You are using a 3.3V card in an 5V socket. If the card can do
>this - and I think Prism 2 can - you  can bypass the code which
>checks if the Vcc is correct. You will maybe find it if you look
>in the WLAN drivers source code and search for conf.Vcc.
>
>


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

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

* Re: CS_BAD_VCC Error during Card Configaration.
  2002-08-06 11:31 Re: CS_BAD_VCC Error during Card Configaration Narendra  
@ 2002-08-06 14:53 ` Michael Habermann
  0 siblings, 0 replies; 6+ messages in thread
From: Michael Habermann @ 2002-08-06 14:53 UTC (permalink / raw)
  To: Narendra; +Cc: linuxppc-embedded


Narendra wrote:
> occured when i try to write to WLAN card register. In this case
> Baseaddress returned
> is 0 and i have done the modifications to add _IO_BASE to the base
> address. (As mentioned
> in mail archives).

Have you checked which is really the value used for _IO_BASE? It is
configured several times in the kernel. The value in
include/asm/<board>.h has to be correct.

It maybe helps if you post the error and tell us which kernel and board
you use.


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

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

* Re: CS_BAD_VCC Error during Card Configaration.
  2002-08-07 10:44 Narendra  
@ 2002-08-07 18:34 ` Michael Habermann
  0 siblings, 0 replies; 6+ messages in thread
From: Michael Habermann @ 2002-08-07 18:34 UTC (permalink / raw)
  To: Narendra; +Cc: linuxppc-embedded


Narendra wrote:
> I have one more problem,
> Do i need to compile my kernel with Enabling PCMCIA support and
> then download to target? or Is it sufficient if all pcmcia driver
> modules are loaded to kernel??

PCMCIA needs and should not be enabled in the kernel. The loading the
modules is enough.


** 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:[~2002-08-07 18:34 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-06 11:31 Re: CS_BAD_VCC Error during Card Configaration Narendra  
2002-08-06 14:53 ` Michael Habermann
  -- strict thread matches above, loose matches on Subject: below --
2002-08-07 10:44 Narendra  
2002-08-07 18:34 ` Michael Habermann
2002-08-05  4:30 Narendra  
2002-08-05  5:27 ` David Gibson
2002-08-05  6:42 ` Michael Habermann

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).