• [^] # Re: Oui, mais que faire ?

    Posté par . En réponse à la dépêche Pilotes binaires dans Linux: quel est le problème ?. Évalué à 1.

    j'aimerai poser une question
    sans doute certains sont deja aller fouiller dans les sources pour savoir si un materiel est compatible
    est ce que cela est a faire manuelement?
    ou semi-manuelement/semi-automatise?
    ou totalement automatise en script?

    exemple: les drivers pour les clee usb wifi

    xconfig
    USB ZD1201 based Wireless device support (USB_ZD1201)

    type: tristate
    prompt: USB ZD1201 based Wireless device support
    dep: USB && NET && NET_RADIO
    select: FW_LOADER
    dep: USB && NET && NET_RADIO

    defined at drivers/usb/net/Kconfig:304

    Say Y if you want to use wireless LAN adapters based on the ZyDAS
    ZD1201 chip.

    This driver makes the adapter appear as a normal Ethernet interface,
    typically on wlan0.

    The zd1201 device requires external firmware to be loaded.
    This can be found at http://linux-lc100020.sourceforge.net/

    To compile this driver as a module, choose M here: the
    module will be called zd1201.

    isi on voit:
    defined at drivers/usb/net/Kconfig:304
    et:
    USB_ZD1201 #nom du module
    avec le simlink:
    /usr/src/linux/drivers/usb/net/
    ls
    ->zd1201,h
    ->zd1201.c

    dans le zd1201.c:
    static struct usb_device_id zd1201_table[] = {
    {USB_DEVICE(0x0586, 0x3400)}, /* Peabird Wireless USB Adapter */
    {USB_DEVICE(0x0ace, 0x1201)}, /* ZyDAS ZD1201 Wireless USB Adapter */
    {USB_DEVICE(0x050d, 0x6051)}, /* Belkin F5D6051 usb adapter */
    {USB_DEVICE(0x0db0, 0x6823)}, /* MSI UB11B usb adapter */
    {USB_DEVICE(0x1044, 0x8005)}, /* GIGABYTE GN-WLBZ201 usb adapter */
    {}
    };