LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 03-21-2004, 05:50 AM   #1
f.haverkamp
LQ Newbie
 
Registered: Mar 2004
Distribution: Debian
Posts: 4

Rep: Reputation: 0
PCMCIA works only after restarting it and reinserting my card


Hi,

on my Compaq EVO N800w notebook PCMCIA only detects a card after PCMCIA is restarted and the card is reinserted. When I bootup the notebook my PCMCIA wireless network card (I tried different ones) is not appearing. After doing a /etc/init.d/pcimcia restart and reinsering the card it is initialized and everything works as it should. I am using Debian unstable, maybe something got confused?

I wonder if someone else has observed the same or similar problem, or if someone can give me some hints what I can do to find out what my problem is. Under Windows everything works fine.

This is after the correct initializtion. Before "cardctl info 0" does not show the cards data, but "cardctl status 0" displays it correctly.

Here some debug data:

1. Before restart of pcmcia and reinsert of the card:

haver@goethe:~$ cardctl status 0
5V 16-bit PC Card
function 0: [ready]
haver@goethe:~$ cardctl info 0
PRODID_1=""
PRODID_2=""
PRODID_3=""
PRODID_4=""
MANFID=0000,0000
FUNCID=255

2. No change even if card is reinserted.

3. Restart of pcmcia.

goethe:/home/haver# cardctl status 0
5V 16-bit PC Card
function 0: [ready]
goethe:/home/haver# cardctl info 0
PRODID_1="D-Link"
PRODID_2="DWL-650 Wireless PC Card RevP"
PRODID_3="ISL37101P-10"
PRODID_4="A3"
MANFID=000b,7110
FUNCID=6

The kernel is 2.6.4. Distribution is Debian unstable as mentioned above.

Any help is appreciated,

Frank


Looks like I am not the only one observing strange pcmcia behaviour:
* http://www.linuxquestions.org/questi...=PCMCIA+Debian
* http://www.linuxquestions.org/questi...hreadid=144786

Hi,

I found that I can make the card working without unplugging it. A script like the following makes it work:

#!/bin/bash
#
# wlan.sh
#
echo "Card detection circumvention starting ..."

/etc/init.d/pcmcia stop
sleep 1
/etc/init.d/pcmcia start
sleep 1
echo "Simulate card ejection ..."
/sbin/cardctl eject
sleep 1
echo "Simulate card insertion ..."
/sbin/cardctl insert
sleep 5

echo "Your card should be visible now!"


But this is still strange. Is there something wrong in the order I load the pcmcia support like driver, daemon, ...? Or is there something like a race condition which causes that the plugin event of my card is lost and the daemon therefore does not look for a driver? Very strange. Please help.

Frank

Last edited by f.haverkamp; 03-21-2004 at 04:11 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
My sound module (snd-mia) works, but without manually restarting the initscript... jacksonscottsly Linux - Hardware 0 07-31-2005 08:19 AM
how PCMCIA works? licht Linux - Newbie 3 03-24-2005 10:11 AM
what pcmcia 802.11 card works w/ mdk 10 2.6.3? webazoid Linux - Wireless Networking 1 08-14-2004 10:46 AM
PCMCIA issues resolved (Kind of... but it works) lupin_the_3rd Fedora 0 05-18-2004 10:21 AM
why is pcmcia restarting windowsrefund Red Hat 1 09-05-2003 06:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 12:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration