Ticket #33 (closed enhancement: fixed)

Opened 2 years ago

Last modified 10 months ago

Ability to indicate that when loading a module fails it should fallback on another.

Reported by: sjoerd Assigned to: lennart
Priority: normal Milestone: 0.9.7
Component: daemon Severity: normal
Keywords: Cc: avuton@gmail.com

Description

As discussed on IRC.

We want the default.pa we ship with debian to automagically load module-hal-detect iff it's available. If it's not available it should load the normal module-detect.

Currently that's not really doable, something like load-module-with-fallback <module>, <fallback-module> would be nice

Change History

12/10/06 19:12:08 changed by avuton

  • cc set to avuton@gmail.com.

09/22/07 16:58:43 changed by lennart

  • status changed from new to assigned.
  • milestone set to 0.9.7.

default.pa from the "lennart" branch in SVN now loads HAL module only if it is installed, and otherwise uses the HAL-less module.

10/30/07 14:59:12 changed by lennart

  • status changed from assigned to closed.
  • resolution set to fixed.

.ifexists is now available in SVn trunk, which allows this to work.