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

2009-08-10 Thread PulseAudio
#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: 
PulseAudio 
The PulseAudio Sound Server
___
pulseaudio-tickets mailing list
[email protected]
https://tango.0pointer.de/mailman/listinfo/pulseaudio-tickets


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

2009-08-10 Thread PulseAudio
#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 coling):

 Hi Rusty, this is just a FYI comment :)

 Just so you know, hal support is now deprecated.

 I'd imagine Lennart will still apply your patch, but I'm afraid it will be
 short lived... while module-hal-detect will still be included in this
 upcoming release, it's not used by default. I'd imagine it will be removed
 completely in the next release (0.9.17) or the one after that.

 You may know all this already, bit figured it's worth mentioning :)

-- 
Ticket URL: 
PulseAudio 
The PulseAudio Sound Server
___
pulseaudio-tickets mailing list
[email protected]
https://tango.0pointer.de/mailman/listinfo/pulseaudio-tickets


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

2009-08-09 Thread PulseAudio
#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:   
-+--
Changes (by rustyl):

 * cc: [email protected] (added)
  * component:  daemon => module-hal-detect


-- 
Ticket URL: 
PulseAudio 
The PulseAudio Sound Server
___
pulseaudio-tickets mailing list
[email protected]
https://tango.0pointer.de/mailman/listinfo/pulseaudio-tickets


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

2009-08-09 Thread PulseAudio
#625: module-hal-detect causes sigabrt if hal is not yet online
+---
 Reporter:  rustyl  |   Owner:  lennart
 Type:  defect  |  Status:  new
Milestone:  |   Component:  daemon 
 Keywords:  |  
+---
 on systems that boot fast it is possible for pulseaudio to startup before
 hal has started.  This results in module-hal-detect (via libdbus)
 triggering a sigabrt which triggers an exit on the pulseaudio process.

-- 
Ticket URL: 
PulseAudio 
The PulseAudio Sound Server
___
pulseaudio-tickets mailing list
[email protected]
https://tango.0pointer.de/mailman/listinfo/pulseaudio-tickets