[pulseaudio-tickets] [PulseAudio] #714: lennart could you also submit this patch, simmilar to patch you made in #661

PulseAudio trac-noreply at tango.0pointer.de
Mon Nov 9 10:08:06 PST 2009


#714: lennart could you also submit this patch,simmilar to patch you made in #661
-----------------------+----------------------------------------------------
 Reporter:  jamey0824  |       Owner:  lennart
     Type:  defect     |      Status:  new    
Milestone:             |   Component:  daemon 
 Keywords:             |  
-----------------------+----------------------------------------------------
 I really tried to get this submitted directly to udev but my emails keep
 getting bounced.  And am going on vacation for a month.

 Note this very simmilar to a patch entered by lennart poettering to 78
 -sound-card.rules

 If two USB sound cards that have the same serial number are plugged in
 make sure ID_ID is unique at least during runtime, by including the ALSA
 card id in the ID_ID string.

 In 60-persistent-alsa.rules i suggest a change from

 ENV{ID_SERIAL}=="?*", ENV{ID_IFACE}=="?*", SYMLINK+="snd/by-
 id/$env{ID_BUS}-$env{ID_SERIAL}-$env{ID_IFACE}"
 ENV{ID_SERIAL}=="?*", ENV{ID_IFACE}=="", SYMLINK+="snd/by-
 id/$env{ID_BUS}-$env{ID_SERIAL}"

 To:

 ENV{ID_SERIAL}=="?*", ENV{ID_IFACE}=="?*", SYMLINK+="snd/by-
 id/$env{ID_BUS}-$env{ID_SERIAL}-$env{ID_IFACE}-$attr{id}"
 ENV{ID_SERIAL}=="?*", ENV{ID_IFACE}=="", SYMLINK+="snd/by-
 id/$env{ID_BUS}-$env{ID_SERIAL}-$attr{id}"

 This fixes the overwriting of the symlink for multiple identical non
 serialized cards.

-- 
Ticket URL: <http://pulseaudio.org/ticket/714>
PulseAudio <http://pulseaudio.org/>
The PulseAudio Sound Server


More information about the pulseaudio-bugs mailing list