Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.4
awesfx
awesfx-udev-soundfont-fix.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File awesfx-udev-soundfont-fix.diff of Package awesfx
# HG changeset patch # User tiwai # Date 1188398355 -7200 # Node ID 78ed20368c3ff9f2a0933a66251c6a7e8b890e76 # Parent cdcfdfaaa364a0a94d235653b9c73f2ef17e56ae Fix udev script file for recent udev version The recent udev doesn't pass PHYSDEVDRIVER variable. Since we handle only emu10k1 and sbawe, check the DEVPATH whether it's a PCI one. If yes, it must be emu10k1. diff -r cdcfdfaaa364 -r 78ed20368c3f etc/udev-soundfont --- a/etc/udev-soundfont Wed Aug 29 16:37:47 2007 +0200 +++ b/etc/udev-soundfont Wed Aug 29 16:39:15 2007 +0200 @@ -3,12 +3,14 @@ CARD=${DEVNAME##/dev/snd/hwC} CARD=${DEVNAME##/dev/snd/hwC} CARD=${CARD%%D2} -case $PHYSDEVDRIVER in -EMU10K1_Audigy) +case $DEVPATH in +*/pci*) + # Emu10k1 / Audigy, send a MIDI sequence to activate breakout-box echo -en "\xf0\x00\x20\x21\x61\x00\x00\x00\x7f\x00\xf7" > /dev/snd/midiC${CARD}D1 /etc/alsa.d/load-soundfont $CARD default.bnk default.sf2 ;; -sbawe) +*) + # SB AWE can use ROM as fallback /etc/alsa.d/load-soundfont $CARD default.bnk default.sf2 default.sbk gu11-rom.sf2 GU11-ROM.SF2 ;; esac
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor