SourceForge has been redesigned. Learn more.

#167 O2 Micro OZ6912 Cardbus Controller (PCMCIA)



I have a Compaq Presario 2175US Laptop, AMD Athlon
2400 with 500mb RAM.

I have tried multiple installations of different Linux
brands (SUSE, RH9, Mandrake9.2, Knoppix 3.2, and
Knoppix-STD) -- all of which will totally lock-up when I
have a device inserted into the PCMCIA card-slot. I
have even tried to insert the card after bootup with
cardctl insert. When I do that, it also locks up my
laptop. What can I do to get around this problem? Any
help would be greatly appreciated. Thanks for all of your
hard work, it is appreciated.

Sincere Regards,

Jody Davis


  • David Hinds

    David Hinds - 2004-01-13

    Logged In: YES

    Can you show the output of 'lspci -vv'?

    What PCMCIA device(s) are you trying to use?

    -- Dave

  • hls

    hls - 2004-02-03

    Logged In: YES

    Red Hat Linux does not seem to like your laptop's BIOS and
    controller, I know because I also have the same one. Your
    going to have to
    compile your own kernel in order to get ACPI and PCMCIA
    working. I suggest
    that you use the latest stable kernel from (2.4.22).

    First step is to remove(as root) the broken kernel-pcmcia-cs
    rpm file;

    $ rpm -e kernel-pcmcia-cs

    Next step is to download the stable kernel-2.4.22 from; to your /usr/src directory.

    >From the console or xterm session in /usr/src;

    Type; tar -zxpvf kernel-2.4.22.tar.gz

    Type: cd linux

    It is important that kernel build starts with the source tree in
    a known

    Type; make mrproper
    Type; make xconfig

    This open an xterm kernel configuration screen that you can
    use to
    customize your kernel.

    Click on the Load configuration from File button

    This will open a new window, in this window type in something
    like the
    following; /boot/config-2.4.20-9

    (I have the same laptop and will email you the laptop config I
    use if you
    want, see the end of this reply to ask for it)

    Click on the OK button

    The window will close and you will be back at the kernel

    Make the changes to disable APM and PCMCIA and enable
    ACPI by clicking on
    the 'General setup' button (window opens)

    Click on the PCMCIA/Cardbus support button (window opens)

    PCMCIA/Cardbus support is set to n (No)

    Click on the OK button
    (window closes)

    Advanced Power Management BIOS support is set to n (No)

    Click on the ACPI support button
    (window opens)

    ACPI Support is set to y (Yes)
    AC Adapter is set to y (Yes)
    Battery is set to y (Yes)
    Button is set to y (Yes)
    Fan is set to y (Yes)
    Processor is set to y (Yes)
    Relaxed AML Checking is set to y (Yes)

    The rest are set to n (No)

    Click on the OK button
    (window closes)

    Click on the Main Menu button
    (window closes)

    Click on the Save and Exit button
    (window closes)

    You now should be ready to build a new kernel with ACPI
    support and PCMCIA
    support disabled, now you can build it.

    Type; make dep
    Type; make clean
    Type; make bzImage
    Type; make modules

    This will take a fair amount of time, don't worry, be patient,
    have a
    drink and maybe something to eat!

    Type; make modules_install
    Type; make install

    This will write a new kernel boot option in grub, the one you
    finished building and just installed.

    Next download the pcmcia-cs source from;

    >From the console or xterm session from the location you
    stored the
    downloaded pcmcia-cs-3.2.7 package;

    Type; tar -zxvf pcmcia-cs-3.2.7.tar.gz

    Type; cd pcmcia-cs-3.2.7

    Type; make config

    Answer the following questions like the examples below;

    kernel source directory is: /usr/src/linux

    build trusting versions: n

    include 32-bit cardbus support: y

    PnP BIOS resource checking: n

    Module install dir: /lib/modules/2.4.22

    Type; make all
    Type; make install

    Now if you want you can start pcmcia services;

    $ /etc/rc.d/rc.pcmcia start

    PCMCIA will work.

    I stated that if you want I will email you the laptop config file
    I use
    (far to long to add to this reply), my email address (coded)

    My email name is; lcharters_at_myisp

    And myisp is; SbCgLoBaL.

    This is a net and not a company and everything is lower case.

    Further help and reading can be found here;


Log in to post a comment.