Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    volumecontroldaemon: headphone volume to 100%

    Reply
    Page 5 of 6 | Prev |   3     4   5   6   | Next
    sakya | # 41 | 2011-03-15, 08:45 | Report

    Originally Posted by jcw1 View Post
    Just wanted to inform you that I have now repeatedly noticed the programme to use almost all of the CPU power, running constantly at or near 100%.
    Strange, I've never had this problem...but I never used Someplayer (I don't know if this is the problem).
    I cannot even see the program with "top" while playing music.
    The program should use almost no cpu power, it just listen to some dbus events, doing nothing.

    You can try to kill the background process, then launch in a terminal the daemon manually with
    Code:
    /usr/sbin/volumecontroldaemon -d
    And post the output.

    Edit: There's no need to reboot the device to stop the daemon, just kill its process...
    Code:
    ps | grep volumecontroldaemon
    get the pid and then
    Code:
    kill xxxx
    where xxxx is the process pid.

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by sakya; 2011-03-15 at 08:57.

     
    vi_ | # 42 | 2011-03-15, 08:59 | Report

    I just tested it with powertop, it is clean. No spurious wakeups that is.

    Any chance you could post the code?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    sakya | # 43 | 2011-03-15, 09:01 | Report

    The source code is here (and in the source package of the repo):
    http://www.assembla.com/code/volumec...bversion/nodes

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to sakya For This Useful Post:
    Estel, Switch_

     
    vi_ | # 44 | 2011-03-15, 09:30 | Report

    +1

    cheers bro!

    Edit | Forward | Quote | Quick Reply | Thanks

     
    cjp | # 45 | 2011-03-15, 09:38 | Report

    So does this basically make the volume stay at 100% when you plug in the headphones?

    The reason why Nokia made it jump down, is because volume at 100% when you have headphones in is really too loud!

    Is there any way I could get a version of this daemon where only phonecall volume was put to a hundred immediately on making/receiving it?

    If the volume for headphones (when they're really headphones) is too low for you, I suggest investing a little more in your headphones!

    Edit | Forward | Quote | Quick Reply | Thanks

     
    sakya | # 46 | 2011-03-15, 09:45 | Report

    Originally Posted by cjp View Post
    So does this basically make the volume stay at 100% when you plug in the headphones?
    No, you can change the volume, this app just replaces the "fake" 100% (that is 88) to a real 100% (100).

    Originally Posted by cjp View Post
    If the volume for headphones (when they're really headphones) is too low for you, I suggest investing a little more in your headphones!
    I use Sennheiser MX-80 (I think they can be called "headphones") but the volume is low at the normal 100% (88), mostly when listening to my favourite music ('60-'70).
    I have no problem with recent recordings and I never listen at 100% (the volume of "modern" cds is far higher than old remasters), but a lot of my cds have a lower volume (and music volume cannot be raised a lot with normalizer due to clicks and distortion), so the only solution (at least for me) was to raise the volume.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to sakya For This Useful Post:
    cjp, Estel

     
    cjp | # 47 | 2011-03-15, 10:06 | Report

    Will give this a go then!

    Edit | Forward | Quote | Quick Reply | Thanks

     
    jcw1 | # 48 | 2011-03-15, 22:16 | Report

    Originally Posted by sakya View Post
    Strange, I've never had this problem...but I never used Someplayer (I don't know if this is the problem).
    I cannot even see the program with "top" while playing music.
    The program should use almost no cpu power, it just listen to some dbus events, doing nothing.

    You can try to kill the background process, then launch in a terminal the daemon manually with
    Code:
    /usr/sbin/volumecontroldaemon -d
    And post the output.

    Edit: There's no need to reboot the device to stop the daemon, just kill its process...
    Code:
    ps | grep volumecontroldaemon
    get the pid and then
    Code:
    kill xxxx
    where xxxx is the process pid.
    Well, like you described, the daemon does not noticeably use CPU power almost all of the time.

    However, there were a few occasions where CPU usage suddenly peaked and stayed constantly at or around 100%. I checked with Conky and it showed the daemon as the source for the heavy CPU usage.

    Again, this is not something that occurs frequently, just a couple of times. Still, I thought it was worth mentioning. I will try to monitor if this only happens in connection with using someplayer.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    sakya | # 49 | 2011-03-15, 22:44 | Report

    Originally Posted by jcw1 View Post
    Again, this is not something that occurs frequently, just a couple of times. Still, I thought it was worth mentioning. I will try to monitor if this only happens in connection with using someplayer.
    Many thanks for your help.
    I still cannot imagine how can this be possible (there's not a single loop in all the code, how could it take 100% of the CPU?), the only thing I can think is a sequence of a lot of dbus messages (but this doesn't seem a normal situation)...

    Please let me now if you notice this again or you discover something.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    merictr | # 50 | 2011-03-15, 23:17 | Report

    the app is very usefull im using sennheiser mx470 headphones and it nearly acts like a speaker now very good job. .)
    and...does this consumes more battery or not ? hope not coz i love listening music via headphones .)

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Page 5 of 6 | Prev |   3     4   5   6   | Next
vBulletin® Version 3.8.8
Normal Logout