[alsa-devel] [Alsa-user] Disable MIDI port creation with ICE1724

Rene Herman rene.herman at gmail.com
Sun Sep 9 02:23:33 CEST 2007


On 09/08/2007 03:32 AM, James Roberts wrote:

> I need to disable the creation of the ICEnsemble ICE1724 midi device on 
> my system.  I am using a off-brand card (see below) and accessing the 
> midi device crashes the system hard.
> 
> I have explored udev rules, kernel opts, etc ad nauseum to do this.
> 
> To be clear I do not want to use the midi capabilities of the sound card 
> at all, but want to keep the sound capabilities.
> 
> lspci:
> 00:09.0 Multimedia audio controller: VIA Technologies Inc. VT1720/24 
> [Envy24PT/HT] PCI Multi-Channel Audio Controller (rev 01)
> 
> amidi -l:
> Dir Device    Name
> IO  hw:0,0    ICEnsemble ICE1724 MIDI   <- this must be gone forever!
> IO  hw:1,0,0  BCF2000 MIDI 1
> IO  hw:1,0,1  BCF2000 MIDI 2
>  O  hw:1,0,2  BCF2000 MIDI 3
> 
> 
> It appears to get assigned to midiC0D0
> 
> Am I better off going the udev route and trying to somehow assign a null 
> value somewhere or is there a way to prevent alsa from creating it?
> 
> Maybe an alias?

Sounds like this may warrent a module parameter. Trivial, untested version 
below, but this needs a module maintainer to decide if there may be better 
ways to discriminate. Crossposted to alsa-devel...

(against 2.6.22.x).

Rene.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ice1724-no_mpu401.diff
Url: http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20070909/3782ff06/attachment-0001.bat 


More information about the Alsa-devel mailing list