You are not logged in.

#1 2010-01-08 19:18:30

Softer
Member
Registered: 2009-12-02
Posts: 12

Strange sound issue

Hello, i need some help again. I have strange bug with my sound on netbook (msi wind u100). I've installed alsa, configured it, everything was fine until reboot, after that there was no sound. Alsamixer shows that channels are turned on, not muted, but... The strange part (at least for me) started than i've mute and unmute headphones in mixer. After turning headphones on again sound works again. Until reboot. And this happens every time, i should turn off headphones and turn on again to have sound. That's not big deal, but... It's interesting to know for me why it happens. I've tried to save mixer to /etc/asound.state, but it wont help. btw, this is it:

state.Intel {
    control.1 {
        comment.access 'read write'
        comment.type INTEGER
        comment.count 2
        comment.range '0 - 31'
        comment.dbmin -4650
        comment.dbmax 0
        iface MIXER
        name 'Speaker Playback Volume'
        value.0 0
        value.1 0
    }
    control.2 {
        comment.access 'read write'
        comment.type BOOLEAN
        comment.count 2
        iface MIXER
        name 'Speaker Playback Switch'
        value.0 false
        value.1 false
    }
    control.3 {
        comment.access 'read write'
        comment.type INTEGER
        comment.count 2
        comment.range '0 - 31'
        comment.dbmin -4650
        comment.dbmax 0
        iface MIXER
        name 'Headphone Playback Volume'
        value.0 31
        value.1 31
    }
    control.4 {
        comment.access 'read write'
        comment.type BOOLEAN
        comment.count 2
        iface MIXER
        name 'Headphone Playback Switch'
        value.0 true
        value.1 true
    }
    control.5 {
        comment.access 'read write'
        comment.type INTEGER
        comment.count 2
        comment.range '0 - 31'
        comment.dbmin -3450
        comment.dbmax 1200
        iface MIXER
        name 'Mic Playback Volume'
        value.0 0
        value.1 0
    }
    control.6 {
        comment.access 'read write'
        comment.type BOOLEAN
        comment.count 2
        iface MIXER
        name 'Mic Playback Switch'
        value.0 false
        value.1 false
    }
    control.7 {
        comment.access 'read write'
        comment.type INTEGER
        comment.count 2
        comment.range '0 - 31'
        comment.dbmin -3450
        comment.dbmax 1200
        iface MIXER
        name 'Front Mic Playback Volume'
        value.0 0
        value.1 0
    }
    control.8 {
        comment.access 'read write'
        comment.type BOOLEAN
        comment.count 2
        iface MIXER
        name 'Front Mic Playback Switch'
        value.0 false
        value.1 false
    }
    control.9 {
        comment.access 'read write'
        comment.type INTEGER
        comment.count 2
        comment.range '0 - 3'
        comment.dbmin 0
        comment.dbmax 3000
        iface MIXER
        name 'Mic Boost'
        value.0 0
        value.1 0
    }
    control.10 {
        comment.access 'read write'
        comment.type INTEGER
        comment.count 2
        comment.range '0 - 3'
        comment.dbmin 0
        comment.dbmax 3000
        iface MIXER
        name 'Front Mic Boost'
        value.0 0
        value.1 0
    }
    control.11 {
        comment.access 'read write'
        comment.type BOOLEAN
        comment.count 2
        iface MIXER
        name 'Capture Switch'
        value.0 true
        value.1 true
    }
    control.12 {
        comment.access 'read write'
        comment.type INTEGER
        comment.count 2
        comment.range '0 - 31'
        comment.dbmin -1650
        comment.dbmax 3000
        iface MIXER
        name 'Capture Volume'
        value.0 0
        value.1 0
    }
    control.13 {
        comment.access 'read write'
        comment.type INTEGER
        comment.count 2
        comment.range '0 - 31'
        comment.dbmin -3450
        comment.dbmax 1200
        iface MIXER
        name 'Beep Playback Volume'
        value.0 0
        value.1 0
    }
    control.14 {
        comment.access 'read write'
        comment.type BOOLEAN
        comment.count 2
        iface MIXER
        name 'Beep Playback Switch'
        value.0 false
        value.1 false
    }
    control.15 {
        comment.access 'read write'
        comment.type INTEGER
        comment.count 1
        comment.range '0 - 31'
        comment.dbmin -4650
        comment.dbmax 0
        iface MIXER
        name 'Master Playback Volume'
        value 31
    }
    control.16 {
        comment.access 'read write'
        comment.type BOOLEAN
        comment.count 1
        iface MIXER
        name 'Master Playback Switch'
        value true
    }
    control.17 {
        comment.access 'read write user'
        comment.type INTEGER
        comment.count 2
        comment.range '0 - 255'
        comment.tlv '0000000100000008ffffec1400000014'
        comment.dbmin -5100
        comment.dbmax 0
        iface MIXER
        name 'PCM Playback Volume'
        value.0 255
        value.1 255
    }
}

I'll be happy to see any idea about this, and if i should put any files here, just tell me (i'm not sure, what can be usefull actually). Thanks

Offline

#2 2010-01-08 19:27:04

JuseBox
Member
Registered: 2009-11-27
Posts: 260

Re: Strange sound issue

I'll be happy to see any idea about this, and if i should put any files here, just tell me (i'm not sure, what can be usefull actually). Thanks

After you set your alsa control do this as root:

alsactl store

That saves your settings.


Linux ArchLinux 3.2.8-1-ARCH
#1 SMP PREEMPT Mon Feb 27 21:51:46 CET 2012 x86_64 AMD FX(tm)-8120 Eight-Core Processor AuthenticAMD GNU/Linux
8192MB DDR3 1300MHz | Asus m5a97 | GeForce GTX 550 Ti | 120 GB SSD

Offline

#3 2010-01-08 19:29:29

Softer
Member
Registered: 2009-12-02
Posts: 12

Re: Strange sound issue

i mean that by "I've tried to save mixer to /etc/asound.state, but it wont help"

I've tried. Same thing after reboot

Offline

#4 2010-01-08 19:32:39

JuseBox
Member
Registered: 2009-11-27
Posts: 260

Re: Strange sound issue

Softer wrote:

i mean that by "I've tried to save mixer to /etc/asound.state, but it wont help"

I've tried. Same thing after reboot

Is alsa in your rc.conf daemons list?


Linux ArchLinux 3.2.8-1-ARCH
#1 SMP PREEMPT Mon Feb 27 21:51:46 CET 2012 x86_64 AMD FX(tm)-8120 Eight-Core Processor AuthenticAMD GNU/Linux
8192MB DDR3 1300MHz | Asus m5a97 | GeForce GTX 550 Ti | 120 GB SSD

Offline

#5 2010-01-08 19:41:45

Softer
Member
Registered: 2009-12-02
Posts: 12

Re: Strange sound issue

Yep. Hm... will it work after mute\umute without daemon?
my daemons: DAEMONS=(syslog-ng network netfs crond alsa hal gdm)

Offline

#6 2010-01-08 19:46:44

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: Strange sound issue

Softer wrote:

Yep. Hm... will it work after mute\umute without daemon?
my daemons: DAEMONS=(syslog-ng network netfs crond alsa hal gdm)

OT ::   WHAT??? No backgrounding of daemons?


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#7 2010-01-08 19:54:37

Softer
Member
Registered: 2009-12-02
Posts: 12

Re: Strange sound issue

um... i guess that means i should put @ before something? i'm new to linux, so i didint know what actually i should am.... background? I'll search wiki about this later today (i'm at work now), thanks for the correction. Do you think this can be source of trouble?

Offline

#8 2010-01-08 20:05:50

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: Strange sound issue

Softer wrote:

um... i guess that means i should put @ before something? i'm new to linux, so i didint know what actually i should am.... background? I'll search wiki about this later today (i'm at work now), thanks for the correction. Do you think this can be source of trouble?

No no. That is not a solution for your problem. That's the reason I put OT there (Off Topic) smile


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#9 2010-01-08 20:10:07

vacant
Member
From: downstairs
Registered: 2004-11-05
Posts: 816

Re: Strange sound issue

Try Fn-F9 as that might control a hardware mute on the speakers

Offline

#10 2010-01-08 22:06:12

Softer
Member
Registered: 2009-12-02
Posts: 12

Re: Strange sound issue

vacant wrote:

Try Fn-F9 as that might control a hardware mute on the speakers

Just tried. No sound until  i'll mute/unmute headphones...


BTW, if i'll mute something else (master or pcm for ex.) or just change (not mute) level of headphones, no sound too... I don't think it's because of any other program i have, because it started after first reboot (aplay /usr/share/sounds/alsa/Front_Center.wav was fine).


+edit:

just tried to delete /etc/asound.state but after reboot mixer didn't reset to default position... maybe there is more places where alsamixer keeps settings? Resaving settings with

alsactl store

didn't make any change

Last edited by Softer (2010-01-08 22:30:02)

Offline

#11 2010-01-11 17:24:51

Softer
Member
Registered: 2009-12-02
Posts: 12

Re: Strange sound issue

I've find one more thing to think about... Seem's like i've find out why there is no sound, but i still don't know how to fix it. Maybe you'll help me to find out. I've found that if i'll change master volume (even a bit), sound turns off, and it can be fixed only by mute\unmute headphone. Seems like same happens on boot, alsa changes master to stored settings and sounds turns off. Maybe someone have any idea why changing master volume makes sound disabled?

Offline

Board footer

Powered by FluxBB