Quantcast
Channel: FedoraForum.org
Viewing all articles
Browse latest Browse all 36127

M-Audio 2496 hibernate

$
0
0
Hi! First of all, i want to apologize for my english but... i'm French. I usually find all i need on Google or in french fedora users forums but not this time...
I use a M-Audio 2496 Audiophile on fedora 18 wich works well after i've added a few lines in
/usr/share/alsa/cards/ICE1712.conf:

Code:

ICE1712.pcm.front.0 {
        @args [ CARD ]
        @args.CARD {
                type string
        }
        type route
        ttable.0.0 1
        ttable.1.1 1
        slave.pcm {
                type hw
                card $CARD
        }
        slave.format S32_LE
        slave.channels 10

}

On f17 i used a pm script in /etc/pm/sleep.d wich worked fine but on F18,
the card doesn't work after hibernate and

Code:

#!/bin/bash
# by mitrendir63
# Logged as root, copy this to the file /etc/pm/sleep.d/88-unload2496
# chmod +x the file
case $1 in
    hibernate|suspend)
        echo "Remove pulseaudio and module snd_ice1712 for suspend to disk!"
        killall pulseaudio
        fuser -k /dev/snd/*
        rmmod -f snd_ice1712
        ;;
    thaw|resume)
        echo "Resume from disk...restart maudio module"
        killall pulseaudio
        modprobe snd_ice1712
        ;;
    *)  echo "somebody is calling me totally wrong."
        ;;
esac

It doesn't work anymore on F18 and i can't understand why? if i run the commands in a terminal after resume it works... so it seems like a problem with pm utils but i can't find any log... Can someone help me? Thanks!

Viewing all articles
Browse latest Browse all 36127

Trending Articles