[pulseaudio-tickets] [PulseAudio] #625: module-hal-detect causes sigabrt if hal is not yet online

PulseAudio trac-noreply at tango.0pointer.de
Mon Aug 10 11:16:20 PDT 2009


#625: module-hal-detect causes sigabrt if hal is not yet online
---------------------+------------------------------------------------------
  Reporter:  rustyl  |       Owner:  lennart          
      Type:  defect  |      Status:  new              
 Milestone:          |   Component:  module-hal-detect
Resolution:          |    Keywords:                   
---------------------+------------------------------------------------------

Comment(by lennart):

 Yes, Colin is right, the HAL stuff is a bit obselete these days. It's
 better to focus on the udev logic.

 Nonetheless this is worth to be merged. However, there are a couple of
 issues in the patch:

 Please add all matches via pa_dbus_add_matches() in pa__init() and remove
 them again in pa__done().

 Also, all D-Bus signal handlers in PA MUST return
 DBUS_HANDLER_RESULT_NOT_YET_HANDLED. This is necessary so that other parts
 in PA that might be interested in those signals get those signals
 delivered properly, too.

 What's this thing about dbus_connection_register_object_path? This makes
 no sense at all to me. You are implementing an object on the client side
 under the object path /org/freedesktop/DBus? Uh? Also the vtable you hand
 in there is not declared static, so this will break big time.

 Also, please try to follow the coding style guidelines
 (http://pulseaudio.org/wiki/CodingStyle)

 Hmm, I am wondering what you are trying to achieve? Allowing parallel
 startup of PA and HAL? I am not sure this is really a good idea. I thought
 about doing this in the past, but the problem is that playing a
 login/welcome sound then is already incredibly complex since you need to
 wait for the audio device to be available.

-- 
Ticket URL: <http://pulseaudio.org/ticket/625#comment:3>
PulseAudio <http://pulseaudio.org/>
The PulseAudio Sound Server


More information about the pulseaudio-bugs mailing list