Page 1 of 11 123 ... LastLast
Results 1 to 10 of 102

Thread: Fixing sound in 14.04

  1. #1
    rsavage is offline Iced Almond Soy Ubuntu, No Foam
    Join Date
    Jan 2011
    Beans
    1,101

    Fixing sound in 14.04

    I have sound working on my iBook (late 2004 12") using snd-aoa. Previously this used snd-powermac. I want top submit a patch so this will work out-of-the-box. For this I need the help of other users of different machines. Particularly if you are a snd-powerrmac user and it all stopped working in 12.10. Before I post longer instructions, I'm after volunteers to run a script and check out a few things for me. Please sign up here.

  2. #2
    Join Date
    Apr 2010
    Beans
    39

    Re: Fixing sound in 14.04

    Count me in if applicable. I've got:
    Powermac G3 B&W
    iMac G3 700
    iBook G3 466
    Powerbook G3 500

  3. #3
    Join Date
    Mar 2014
    Beans
    2

    Re: Fixing sound in 14.04

    I also have a iBook G4 12".

  4. #4
    rsavage is offline Iced Almond Soy Ubuntu, No Foam
    Join Date
    Jan 2011
    Beans
    1,101

    Re: Fixing sound in 14.04

    Thanks Theos and oibaf2.

    I think to start with it would be good to get a list of device-ids that are affected by the problem. On a working install (e.g. 12.04) open alsamixer, hit F2, select /proc/asound/cards. Mine is listed as

    PowerMac Snapper (Dev 38) Sub-frame 0

    I think the 38 is the device id.


    This script gives a bit more information:

    Code:
    #! /bin/sh
    
    for dir in $(find "/proc/device-tree/" -type d); do
        name="$(cat "$dir/name" 2>/dev/null || true)"
        device_type="$(cat "$dir/device_type" 2>/dev/null || true)"
        compatible="$(cat "$dir/compatible" 2>/dev/null || true)"
    
        # sound/ppc, sound/oss/dmasound
        if [ "$name" = awacs ]; then
            # probably best to go for ALSA
            echo "awacs snd-powermac"
        elif [ "$name" = davbus ] || [ "$name" = i2s-a ]; then        
            for child in "$dir"/*; do
                if [ -f "$child/name" ]; then
                    childname="$(cat "$child/name" 2>/dev/null || true)"
                    if [ "$childname" = sound -a ! -f "$child/layout-id" ]; then
                        echo "no layout-id"
                        echo "child is ..." 
                        echo $child
                        echo "device-id is ..."
                        cat $child/device-id
                        echo ""
                    fi
                fi
            done
        fi
    done
    e.g for me

    Code:
    no layout-id
    child is ...
    /proc/device-tree/pci@f2000000/mac-io@17/i2s@10000/i2s-a@10000/sound
    device-id is ...
    &
    If you look up the ASCII value for "&" it is 38 so that ties in nicely.

    If you don't get any output then you are a snd-aoa user.

  5. #5
    Join Date
    Mar 2014
    Beans
    2

    Re: Fixing sound in 14.04

    Note: I have no idea if my iBook is affected by this audio problem, I am using 12.04 and never upgraded because I was affected of bug 1066435 Fixing recursive fault but reboot is needed!. So I don't really know if this info is really useful...

    I get this on alsamixer:
    Code:
    PowerMac Snapper (Dev 44) Sub-frame 0
    and this is the output of the script:
    Code:
    no layout-id
    child is ...
    /proc/device-tree/pci@f2000000/mac-io@17/i2s@10000/i2s-a@10000/sound
    device-id is ...
    ,

  6. #6
    Join Date
    Apr 2010
    Beans
    39

    Re: Fixing sound in 14.04

    Powermac G3 B&W 12.04:
    PowerMac Burgundy (Dev 4) Sub-frame 0

    Code:
    no layout-id
    child is ...
    /proc/device-tree/pci@80000000/pci-bridge@d/mac-io@5/davbus@14000/sound
    device-id is ...
    The bottom line includes a small box with three zeroes and a 4 in the lower right corner.

  7. #7
    rsavage is offline Iced Almond Soy Ubuntu, No Foam
    Join Date
    Jan 2011
    Beans
    1,101

    Re: Fixing sound in 14.04

    Quote Originally Posted by oibaf2 View Post
    I get this on alsamixer:
    Code:
    PowerMac Snapper (Dev 44) Sub-frame 0
    A patch for you is already in the latest kernel. You should be able to use snd-aoa in 14.04, so just make sure your aoa modules are not blacklisted. You may have to modprobe snd-aoa-i2sbus.

  8. #8
    rsavage is offline Iced Almond Soy Ubuntu, No Foam
    Join Date
    Jan 2011
    Beans
    1,101

    Re: Fixing sound in 14.04

    @ theos

    When you try a recent kernel does alsamixer open?

  9. #9
    Join Date
    Apr 2010
    Beans
    39

    Re: Fixing sound in 14.04

    Do you want me to try a newer kernel on 12.04 or install 14.04? (Note: I'm not even sure what exactly we are testing or fixing. I'm just contributing whatever I can since I still have Xubuntu on it.)

  10. #10
    rsavage is offline Iced Almond Soy Ubuntu, No Foam
    Join Date
    Jan 2011
    Beans
    1,101

    Re: Fixing sound in 14.04

    Have you got a live iso of anything beyond 12.04? I don't need anything installing just a recent kernel to be run (can be on debian).

    If you try a live-iso from 12.10, maybe 13.04 or 13.10 then you might get a "fixing recursive fault reboot is needed". This is the obvious sympton that something is wrong with sound. If you do boot, open alsamixer. If it doesn't open then you more than likely have a machine that used to use snd-powermac, but now probably should be using snd-aoa.

    Since the debian-installer needs to be changed it is good to see your output even if you don't have the problem. I think all the problematic machines will have i2s-a in the 'child is...' line, but you have davbus. davbus users will continue to use snd-powermac *I think*.

Page 1 of 11 123 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •