18 Dec 2008, 00:00

Passing parameters to modules in Ubuntu when they first load
  1. Add your module to /etc/modules

    # /etc/modules: kernel modules to load at boot time.
    #
    # This file contains the names of kernel modules
    # that should be loaded at boot time, one per line.
    # Lines beginning with "#" are ignored.
    saa7134
    
  2. Add options saa7134 card=42 at the end of /etc/modprobe.d/options

    # Enable double-buffering so gstreamer et. al. work
    options quickcam compatible=2
    # Default hostap to managed mode
    options hostap_pci iw_mode=2
    options hostap_cs iw_mode=2
    # Stop auto-association.
    # LP: #264104
    options ipw2200 associate=0
    # XXX: Ignore HPA by default. Needs to be revisted in jaunty
    options libata ignore_hpa=1
    options saa7134 card=42