Ticket #33 (closed enhancement: fixed)

Opened 5 years ago

Last modified 4 years ago

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

Reported by: sjoerd Owned by: lennart
Milestone: 0.9.7 Component: daemon
Keywords: Cc: avuton@…

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

Changed 5 years ago by avuton

  • cc avuton@… added

Changed 4 years ago 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.

Changed 4 years ago by lennart

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

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

Note: See TracTickets for help on using tickets.