On Tue, 2014-09-30 at 21:35 +0200, Ralf Mardorf wrote: > DEVPATH=="/devices/pci0000:00/0000:00:14.4/0000:04:06.0/sound/card?", ATTR{id}="TerraTec EWX24/96_2" After changing the ATTR{id} it does work for the audio name, but the MIDI name doesn't change, so the udev rule is useless for my purpose. [rocketmouse@archlinux ~]$ grep DEVPATH /lib/udev/rules.d/85-TerraTec_EWX24_96_2.rules DEVPATH=="/devices/pci0000:00/0000:00:14.4/0000:04:06.0/sound/card?", ATTR{id}="TerraTec_EWX24_96_2" [rocketmouse@archlinux ~]$ cat /proc/asound/cards 0 [HDSPMx579bcc ]: HDSPM - RME AIO_579bcc RME AIO S/N 0x579bcc at 0xfddf0000, irq 18 1 [EWX2496 ]: ICE1712 - TerraTec EWX24/96 TerraTec EWX24/96 at 0xbf00, irq 20 2 [TerraTec_EWX24_]: ICE1712 - TerraTec EWX24/96 TerraTec EWX24/96 at 0xbb00, irq 21 [rocketmouse@archlinux ~]$ amidi -l Dir Device Name IO hw:0,0 HDSPMx579bcc MIDI 1 IO hw:1,0 TerraTec EWX24/96 MIDI IO hw:2,0 TerraTec EWX24/96 MIDI _______________________________________________ Linux-audio-user mailing list Linux-audio-user@xxxxxxxxxxxxxxxxxxxx http://lists.linuxaudio.org/listinfo/linux-audio-user