Re: soundcard auto-probe

From: Michele Andreoli (m.andreoli@tin.it)
Date: Tue Mar 04 2003 - 17:33:52 CET

  • Next message: Renaud PASCAL: "Re: soundcard auto-probe"

    On Tue, Mar 04, 2003 at 02:38:56PM +0100, Werner Flügel nicely wrote:

    >
    > Sure, but he had asked for a _script_ to configure his soundcard, so
    > maybe he could learn from knoppix, how to do that.

    Hardware-probing rarely is a question of smart scripting. Knoppix can
    trust on the 2.4 PCI subsystem and on a more complete /proc. With
    this kind of kernel, to find an IRQ is easy as to grep into /proc/pci!

    >
    > > Anyway, the capacity of boot from a CD is not so impressive, as
    > > the Knoppix site would transmit to the reader. Even the little mu boots
    > > from a CD, since the last century, with Netscape 3, KDE1.x and
    > > an ancestral OpenOffice :-)
    >
    > Not the booting from CD is impressive, but the hardwaredetection. I'm
    > in doubt if mulinux can compete with knoppix in this question ;-)

    I do not know if something new is born on the hardware-detection
    area, but (for example) an installer like the Mandrake's Installer
    is able to detect all hardware without failure.

    It is not Mandrake, neither Knoppix, that actually does detection,
    but Linux kernel does.

    For example: if I run now the command "cat /proc/pci| grep rev"
    if found that:

        Host bridge: Intel Corp. 82845 845 (Brookdale) Chipset Host Bridge (rev 3).
        PCI bridge: Intel Corp. 82845 845 (Brookdale) Chipset AGP Bridge (rev 3).
        PCI bridge: Intel Corp. 82801BA/CA/DB PCI Bridge (rev 18).
        ISA bridge: Intel Corp. 82801BA ISA Bridge (LPC) (rev 18).
        IDE interface: Intel Corp. 82801BA IDE U100 (rev 18).
        USB Controller: Intel Corp. 82801BA/BAM USB (Hub #1) (rev 18).
        SMBus: Intel Corp. 82801BA/BAM SMBus (rev 18).
        USB Controller: Intel Corp. 82801BA/BAM USB (Hub #2) (rev 18).
        VGA compatible controller: nVidia Corporation NV1x (rev 163).
        SCSI storage controller: Adaptec AHA-2940U/UW/D / AIC-7881U (rev 1).
        Multimedia audio controller: Ensoniq 5880 AudioPCI (rev 2).
        Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C (rev 16).
        Ethernet controller: 3Com Corporation 3c905B 100BaseTX [Cyclone] (rev 48).

    This is the complete set of hardware installed in my machine. But if I
    run the same command in muLinux, I will found less (in fact, only
    ethernet card and video cards).

    With a kernel like 2.4.x is very easy and impressive to write a
    script that emits messages like:

            "Realtek RTL-8139 found! loading driver ..."
            "3Com 3c905 found! loading driver ..."

    The distance between the 2.0.x and the 2.4.x serie is galattic.

    Michele

    -- 
    "Physics is like sex: it may give some practical
    results, but that's not why we do it"  (Richard Feynman)
    ---------------------------------------------------------------------
    To unsubscribe, e-mail: mulinux-unsubscribe@sunsite.dk
    For additional commands, e-mail: mulinux-help@sunsite.dk
    

  • Next message: Renaud PASCAL: "Re: soundcard auto-probe"

    This archive was generated by hypermail 2.1.6 : Tue Mar 04 2003 - 17:41:42 CET