Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    No sound throughout the OS

    Reply
    Page 4 of 5 | Prev |   2     3   4   5   | Next
    nicolai | # 31 | 2010-11-14, 21:23 | Report

    Originally Posted by droll View Post
    i had this issue after upgrading to pr 1.3. reboots would fix it but one i connect my bt headset, pulseaudio would die. in my case i fixed it with a reflash and i recall the problem started after i installed preenv - which could be a coincidence...
    No, I have just installed preenv after reflash no problems
    so far. It must be a different thing.

    nicolai

    Edit | Forward | Quote | Quick Reply | Thanks

     
    kureyon | # 32 | 2010-11-15, 06:13 | Report

    Well one side effect of audio not starting up at boot is that the boot video is not played and that seems to substantially speed up the boot process

    Edit | Forward | Quote | Quick Reply | Thanks

     
    sickki | # 33 | 2010-11-15, 08:47 | Report

    Originally Posted by nicolai View Post
    I found the reason. At least on my device pulseaudio application
    depends on the library libFLAC.

    On device start the system starts the pulseaudio daemon.
    As it needs libFLAC the system tries to load this library.
    The library is at
    /opt/maemo/usr/lib/libFLAC.so.8.2.0

    So the application pulseaudio fails to load
    (cannot load library libFLAC.so, no such file)
    Because all this happens before the internal mmc is mounted :-)

    After failing to start the daemon the system tries this again and again.
    It may work at some point when the internal mmc is mounted.
    But sometimes the restart (respawn) happens to often and
    the system stops this process.

    I don't know why pulseaudio needs this lib, it has something to
    do with the package decoders-support. But it seems this only
    happens if you upgraded to PR1.3.

    I did a reflash now and installed decoders-support.
    The libFLAC library is on /opt/maemo ....
    But pulseaudio starts without an error.
    (And it does not depend on this library anymore,
    ldd /usr/bin/pulseaudio shows which librarys are needed
    by an executable/library).

    Nicolai


    Code:
    Nokia-N900:~# ldd /usr/bin/pulseaudio | grep FLAC
            libFLAC.so.8 => /usr/lib/libFLAC.so.8 (0x4060b000)
    Nokia-N900:~# ls -la /usr/lib/ | grep FLAC
    lrwxrwxrwx    1 root     root           16 Oct 26 23:20 libFLAC.so.8 -> libFLAC.so.8.2.0
    lrwxrwxrwx    1 root     root           35 Oct 26 23:20 libFLAC.so.8.2.0 -> /opt/maemo/usr/lib/libFLAC.so.8.2.0
    Nokia-N900:~# cp /opt/maemo/usr/lib/libFLAC.so.8.2.0 .
    Nokia-N900:~# cp libFLAC.so.8.2.0 /usr/lib/
    Nokia-N900:~# ls -la /usr/lib/ | grep FLAC
    lrwxrwxrwx    1 root     root           16 Oct 26 23:20 libFLAC.so.8 -> libFLAC.so.8.2.0
    -rw-r--r--    1 root     root       303348 Nov 15 10:40 libFLAC.so.8.2.0
    Fixed it by copying it from /opt/ to /usr/lib/. No idea if this causes problems at later but atleast this **** starts now at boot times.

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by sickki; 2010-11-15 at 09:04.
    The Following 4 Users Say Thank You to sickki For This Useful Post:
    MohammadAG, noobmonkey, silbah, ukaef

     
    silbah | # 34 | 2010-11-15, 11:47 | Report

    Hi,

    Yesterday I uninstalled power kernel and I can in fact confirm that it is not related to that kernel.
    It's like nicolai said and sickki further developed and most likely related to the PR1.3 update.
    But why isn't it affecting more people? (considering there aren't many posts)
    And also why does pulseaudio refuse to start at times, even when you start it manually? (sudo gainroot; start pulseaudio)

    I'm going to try sickki's workaround and see what happens.

    *EDIT* I already had this file in /usr/lib/ on rootfs (but also in /opt/maemo). Or are these symbolic links??? (how do I tell the difference?)

    *EDIT2* thanks, sickki. The files in /usr/lib/ were symlinks indeed. Copied the library file from /home/opt to rootfs.

    silbah

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by silbah; 2010-11-15 at 14:48.

     
    sickki | # 35 | 2010-11-15, 13:05 | Report

    Originally Posted by silbah View Post
    Hi,
    *EDIT* I already had this file in /usr/lib/ on rootfs (but also in /opt/maemo). Or are these symbolic links??? (how do I tell the difference?)

    silbah
    If you write this: ls -la /usr/lib/ | grep FLAC

    lrwxrwxrwx 1 root root 16 Oct 26 23:20 libFLAC.so.8 -> libFLAC.so.8.2.0
    lrwxrwxrwx 1 root root 35 Oct 26 23:20 libFLAC.so.8.2.0 -> /opt/maemo/usr/lib/libFLAC.so.8.2.0

    It should show this: libFLAC.so.8.2.0 -> /opt/maemo/usr/lib/libFLAC.so.8.2.0 means that it's just symlink to /opt/.

    Just write: cp /opt/maemo/usr/lib/libFLAC.so.8.2.0 /usr/lib/libFLAC.so.8.2.0

    If you wan't to try fix what helped for me.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 15 Users Say Thank You to sickki For This Useful Post:
    ayazpak, benzo8, cincibluer6, D4rKlar, Erazor, gabby131, Gusse, Henque19, manivs, mlb, MohammadAG, silbah, skricciolo1981, ukaef, wimmme

     
    manivs | # 36 | 2010-11-17, 07:58 | Report

    @sickki

    Thx Man!... Your fix saved me from reflashing the phone.

    - Mani

    Edit | Forward | Quote | Quick Reply | Thanks

     
    silbah | # 37 | 2010-11-17, 08:07 | Report

    Originally Posted by manivs View Post
    @sickki

    Thx Man!... Your fix saved me from reflashing the phone.

    - Mani
    +1
    It worked for me too

    Edit | Forward | Quote | Quick Reply | Thanks

     
    ukaef | # 38 | 2010-11-17, 13:39 | Report

    @sickki thanks a lot, I see if audio doesn't stop anymore, and I'll let you know

    EDIT:
    IT WORKS! THANK YOU VERY MUCH!

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by ukaef; 2010-11-24 at 14:35.

     
    Erazor | # 39 | 2010-11-17, 14:56 | Report

    Originally Posted by sickki View Post
    If you write this: ls -la /usr/lib/ | grep FLAC

    lrwxrwxrwx 1 root root 16 Oct 26 23:20 libFLAC.so.8 -> libFLAC.so.8.2.0
    lrwxrwxrwx 1 root root 35 Oct 26 23:20 libFLAC.so.8.2.0 -> /opt/maemo/usr/lib/libFLAC.so.8.2.0

    It should show this: libFLAC.so.8.2.0 -> /opt/maemo/usr/lib/libFLAC.so.8.2.0 means that it's just symlink to /opt/.

    Just write: cp /opt/maemo/usr/lib/libFLAC.so.8.2.0 /usr/lib/libFLAC.so.8.2.0

    If you wan't to try fix what helped for me.

    BIG FAT THANKS

    works for me, too.

    1000 kisses xD


    Best thx

    Greetz
    Erazor

    Edit | Forward | Quote | Quick Reply | Thanks

     
    mattbutsko | # 40 | 2010-11-18, 02:17 | Report

    I just ended up reflashing my phone. That had nothing to do with the audio bug, I just kinda installed Multiboot on top of Uboot just to see what would happen. My configuration is almost identical but so far I haven't had any issues.

    Edit | Forward | Quote | Quick Reply | Thanks

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