mixer settings on 8.0-RC2

View: New views
14 Messages — Rating Filter:   Alert me  

mixer settings on 8.0-RC2

by Dominic Fandrey-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

It appears that my 8.0-RC2 system (notebook) forgets its mixer
settings with every reboot.

FreeBSD mobileKamikaze.norad 8.0-RC2 FreeBSD 8.0-RC2 #0: Sat Oct 31 02:49:30 CET 2009     root@...:/usr/obj/HP6510b-8/amd64/usr/src/sys/HP6510b-8  amd64

Regards

--
A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
_______________________________________________
freebsd-current@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@..."

Re: mixer settings on 8.0-RC2

by Dag-Erling Smørgrav :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dominic Fandrey <kamikaze@...> writes:
> It appears that my 8.0-RC2 system (notebook) forgets its mixer
> settings with every reboot.

Check the contents of /var/db/*-state.

(if it were up to me, we'd store the mixer state in /var/db/mixer/$foo
instead of /var/db/$foo-state)

DES
--
Dag-Erling Smørgrav - des@...
_______________________________________________
freebsd-current@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@..."

Re: mixer settings on 8.0-RC2

by Olivier Smedts :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

2009/11/2 Dag-Erling Smørgrav <des@...>:
> Dominic Fandrey <kamikaze@...> writes:
>> It appears that my 8.0-RC2 system (notebook) forgets its mixer
>> settings with every reboot.
>
> Check the contents of /var/db/*-state.

Also, do you use a desktop environment with a mixer app which could
interfere with the system mixer ? (like KMix for KDE)
I had the same problem until I realized my mixer resets came from KMix)

Cheers,
Olivier

>
> (if it were up to me, we'd store the mixer state in /var/db/mixer/$foo
> instead of /var/db/$foo-state)
>
> DES
> --
> Dag-Erling Smørgrav - des@...
> _______________________________________________
> freebsd-current@... mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@..."
>



--
Olivier Smedts                                                 _
                                        ASCII ribbon campaign ( )
e-mail: olivier@...        - against HTML email & vCards  X
www: http://www.gid0.org    - against proprietary attachments / \

  "Il y a seulement 10 sortes de gens dans le monde :
  ceux qui comprennent le binaire,
  et ceux qui ne le comprennent pas."
_______________________________________________
freebsd-current@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@..."

Re: mixer settings on 8.0-RC2

by Dominic Fandrey-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Olivier Smedts wrote:
> 2009/11/2 Dag-Erling Smørgrav <des@...>:
>> Dominic Fandrey <kamikaze@...> writes:
>>> It appears that my 8.0-RC2 system (notebook) forgets its mixer
>>> settings with every reboot.
>> Check the contents of /var/db/*-state.
>
> Also, do you use a desktop environment with a mixer app which could
> interfere with the system mixer ? (like KMix for KDE)
> I had the same problem until I realized my mixer resets came from KMix)

Most definitely not. The only mixer application is /usr/sbin/mixer.

# pkg_info -Ex mix
sdl_mixer-1.2.8_2

_______________________________________________
freebsd-current@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@..."

Re: mixer settings on 8.0-RC2

by Dominic Fandrey-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dag-Erling Smørgrav wrote:
> Dominic Fandrey <kamikaze@...> writes:
>> It appears that my 8.0-RC2 system (notebook) forgets its mixer
>> settings with every reboot.
>
> Check the contents of /var/db/*-state.

Thanks for the pointer. Is that updated during shutdown or
every time the mixer settings are changed? The file is
not in sync with my current mixer settings.

> (if it were up to me, we'd store the mixer state in /var/db/mixer/$foo
> instead of /var/db/$foo-state)

Sounds sensible to me. Ever wrote a PR?

Is there a manual page with in depth information?
mixer(8) doesn't mention the mixerX-state files.

Regards

--
A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
_______________________________________________
freebsd-current@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@..."

Re: mixer settings on 8.0-RC2

by Gonzalo Nemmi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Monday 02 November 2009 11:22:03 am Dominic Fandrey wrote:
> It appears that my 8.0-RC2 system (notebook) forgets its mixer
> settings with every reboot.
>
> FreeBSD mobileKamikaze.norad 8.0-RC2 FreeBSD 8.0-RC2 #0: Sat Oct 31
> 02:49:30 CET 2009    
> root@...:/usr/obj/HP6510b-8/amd64/usr/src/sys/HP6510
>b-8  amd64
>
> Regards

May I ask how are you setting them?

Regards
Gonzalo
_______________________________________________
freebsd-current@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@..."

Re: mixer settings on 8.0-RC2

by Dominic Fandrey-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Gonzalo Nemmi wrote:

> On Monday 02 November 2009 11:22:03 am Dominic Fandrey wrote:
>> It appears that my 8.0-RC2 system (notebook) forgets its mixer
>> settings with every reboot.
>>
>> FreeBSD mobileKamikaze.norad 8.0-RC2 FreeBSD 8.0-RC2 #0: Sat Oct 31
>> 02:49:30 CET 2009    
>> root@...:/usr/obj/HP6510b-8/amd64/usr/src/sys/HP6510
>> b-8  amd64
>>
>> Regards
>
> May I ask how are you setting them?
>
> Regards
> Gonzalo

With mixer(8). But now the settings are remembered.

I suppose some evil app is to blame. But nothing apart from Skype
comes to mind and I configured it not to touch the mixer settings.

Regards

--
A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
_______________________________________________
freebsd-current@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@..."

Re: mixer settings on 8.0-RC2

by Gonzalo Nemmi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tuesday 03 November 2009 5:07:26 am Dominic Fandrey wrote:

> Gonzalo Nemmi wrote:
> > On Monday 02 November 2009 11:22:03 am Dominic Fandrey wrote:
> >> It appears that my 8.0-RC2 system (notebook) forgets its mixer
> >> settings with every reboot.
> >>
> >> FreeBSD mobileKamikaze.norad 8.0-RC2 FreeBSD 8.0-RC2 #0: Sat Oct
> >> 31 02:49:30 CET 2009
> >> root@...:/usr/obj/HP6510b-8/amd64/usr/src/sys/HP6
> >>510 b-8  amd64
> >>
> >> Regards
> >
> > May I ask how are you setting them?
> >
> > Regards
> > Gonzalo
>
> With mixer(8). But now the settings are remembered.
>
> I suppose some evil app is to blame. But nothing apart from Skype
> comes to mind and I configured it not to touch the mixer settings.
>
> Regards

Sorry but I have to ask ... have you tried configuring mixer settings as
described in section 7.2.4 of the FreBSD handbook?

That is to say:

"The default values for the different mixer channels are hardcoded in
the sourcecode of the pcm(4) driver. There are many different
applications and daemons that allow you to set values for the mixer
that are remembered between invocations, but this is not a clean
solution. It is possible to set default mixer values at the driver
level -- this is accomplished by defining the appropriate values
in /boot/device.hints, e.g.:

hint.pcm.0.vol="50"

This will set the volume channel to a default value of 50 when the
pcm(4) module is loaded."

because that works for me :s

Best Regards
Gonzalo
_______________________________________________
freebsd-current@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@..."

Re: mixer settings on 8.0-RC2

by Dag-Erling Smørgrav :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dominic Fandrey <kamikaze@...> writes:
> Dag-Erling Smørgrav <des@...> writes:
> > Check the contents of /var/db/*-state.
> Thanks for the pointer. Is that updated during shutdown or
> every time the mixer settings are changed?

During shutdown.

> Sounds sensible to me. Ever wrote a PR?

Not in about ten years...

> Is there a manual page with in depth information?  mixer(8) doesn't
> mention the mixerX-state files.

/etc/rc.d/mixer

DES
--
Dag-Erling Smørgrav - des@...
_______________________________________________
freebsd-current@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@..."

Re: mixer settings on 8.0-RC2

by Dominic Fandrey-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Gonzalo Nemmi wrote:

> On Tuesday 03 November 2009 5:07:26 am Dominic Fandrey wrote:
>> Gonzalo Nemmi wrote:
>>> On Monday 02 November 2009 11:22:03 am Dominic Fandrey wrote:
>>>> It appears that my 8.0-RC2 system (notebook) forgets its mixer
>>>> settings with every reboot.
>>>>
>>>> FreeBSD mobileKamikaze.norad 8.0-RC2 FreeBSD 8.0-RC2 #0: Sat Oct
>>>> 31 02:49:30 CET 2009
>>>> root@...:/usr/obj/HP6510b-8/amd64/usr/src/sys/HP6
>>>> 510 b-8  amd64
>>>>
>>>> Regards
>>> May I ask how are you setting them?
>>>
>>> Regards
>>> Gonzalo
>> With mixer(8). But now the settings are remembered.
>>
>> I suppose some evil app is to blame. But nothing apart from Skype
>> comes to mind and I configured it not to touch the mixer settings.
>>
>> Regards
>
> Sorry but I have to ask ... have you tried configuring mixer settings as
> described in section 7.2.4 of the FreBSD handbook?
>
> That is to say:
>
> "The default values for the different mixer channels are hardcoded in
> the sourcecode of the pcm(4) driver. There are many different
> applications and daemons that allow you to set values for the mixer
> that are remembered between invocations, but this is not a clean
> solution. ...

Rather outdated in my opinion. Automatic mixer remembering without
configuring anything has ever worked since I started using FreeBSD
(i.e. 2005).
_______________________________________________
freebsd-current@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@..."

Re: mixer settings on 8.0-RC2

by Pieter de Goeje :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tuesday 03 November 2009 16:57:08 Dominic Fandrey wrote:

> Gonzalo Nemmi wrote:
> > On Tuesday 03 November 2009 5:07:26 am Dominic Fandrey wrote:
> >> Gonzalo Nemmi wrote:
> >>> On Monday 02 November 2009 11:22:03 am Dominic Fandrey wrote:
> >>>> It appears that my 8.0-RC2 system (notebook) forgets its mixer
> >>>> settings with every reboot.
> >>>>
> >>>> FreeBSD mobileKamikaze.norad 8.0-RC2 FreeBSD 8.0-RC2 #0: Sat Oct
> >>>> 31 02:49:30 CET 2009
> >>>> root@...:/usr/obj/HP6510b-8/amd64/usr/src/sys/HP6
> >>>> 510 b-8  amd64
> >>>>
> >>>> Regards
> >>> May I ask how are you setting them?
> >>>
> >>> Regards
> >>> Gonzalo
> >> With mixer(8). But now the settings are remembered.
> >>
> >> I suppose some evil app is to blame. But nothing apart from Skype
> >> comes to mind and I configured it not to touch the mixer settings.
> >>
> >> Regards
> >
> > Sorry but I have to ask ... have you tried configuring mixer settings as
> > described in section 7.2.4 of the FreBSD handbook?
> >
> > That is to say:
> >
> > "The default values for the different mixer channels are hardcoded in
> > the sourcecode of the pcm(4) driver. There are many different
> > applications and daemons that allow you to set values for the mixer
> > that are remembered between invocations, but this is not a clean
> > solution. ...
>
> Rather outdated in my opinion. Automatic mixer remembering without
> configuring anything has ever worked since I started using FreeBSD
> (i.e. 2005).

Perhaps you are using reboot/halt instead of shutdown?
Reboot and halt will not start the shutdown scripts.

--
Pieter de Goeje
_______________________________________________
freebsd-current@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@..."

Re: mixer settings on 8.0-RC2

by Gonzalo Nemmi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, Nov 3, 2009 at 5:46 PM, Pieter de Goeje <pieter@...> wrote:

> On Tuesday 03 November 2009 16:57:08 Dominic Fandrey wrote:
> > Gonzalo Nemmi wrote:
> > > On Tuesday 03 November 2009 5:07:26 am Dominic Fandrey wrote:
> > >> Gonzalo Nemmi wrote:
> > >>> On Monday 02 November 2009 11:22:03 am Dominic Fandrey wrote:
> > >>>> It appears that my 8.0-RC2 system (notebook) forgets its mixer
> > >>>> settings with every reboot.
> > >>>>
> > >>>> FreeBSD mobileKamikaze.norad 8.0-RC2 FreeBSD 8.0-RC2 #0: Sat Oct
> > >>>> 31 02:49:30 CET 2009
> > >>>> root@...:/usr/obj/HP6510b-8/amd64/usr/src/sys/HP6
> > >>>> 510 b-8  amd64
> > >>>>
> > >>>> Regards
> > >>> May I ask how are you setting them?
> > >>>
> > >>> Regards
> > >>> Gonzalo
> > >> With mixer(8). But now the settings are remembered.
> > >>
> > >> I suppose some evil app is to blame. But nothing apart from Skype
> > >> comes to mind and I configured it not to touch the mixer settings.
> > >>
> > >> Regards
> > >
> > > Sorry but I have to ask ... have you tried configuring mixer settings
> as
> > > described in section 7.2.4 of the FreBSD handbook?
> > >
> > > That is to say:
> > >
> > > "The default values for the different mixer channels are hardcoded in
> > > the sourcecode of the pcm(4) driver. There are many different
> > > applications and daemons that allow you to set values for the mixer
> > > that are remembered between invocations, but this is not a clean
> > > solution. ...
> >
> > Rather outdated in my opinion. Automatic mixer remembering without
> > configuring anything has ever worked since I started using FreeBSD
> > (i.e. 2005).
>
> Perhaps you are using reboot/halt instead of shutdown?
> Reboot and halt will not start the shutdown scripts.
>
> --
> Pieter de Goeje
>

yup ... I use reboot or halt -p
_______________________________________________
freebsd-current@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@..."

Re: mixer settings on 8.0-RC2

by Pieter de Goeje :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tuesday 03 November 2009 18:34:14 Gonzalo Nemmi wrote:

> On Tue, Nov 3, 2009 at 5:46 PM, Pieter de Goeje <pieter@...> wrote:
> > On Tuesday 03 November 2009 16:57:08 Dominic Fandrey wrote:
> > > Gonzalo Nemmi wrote:
> > > > On Tuesday 03 November 2009 5:07:26 am Dominic Fandrey wrote:
> > > >> Gonzalo Nemmi wrote:
> > > >>> On Monday 02 November 2009 11:22:03 am Dominic Fandrey wrote:
> > > >>>> It appears that my 8.0-RC2 system (notebook) forgets its mixer
> > > >>>> settings with every reboot.
> > > >>>>
> > > >>>> FreeBSD mobileKamikaze.norad 8.0-RC2 FreeBSD 8.0-RC2 #0: Sat Oct
> > > >>>> 31 02:49:30 CET 2009
> > > >>>> root@...:/usr/obj/HP6510b-8/amd64/usr/src/sys/HP6
> > > >>>> 510 b-8  amd64
> > > >>>>
> > > >>>> Regards
> > > >>>
> > > >>> May I ask how are you setting them?
> > > >>>
> > > >>> Regards
> > > >>> Gonzalo
> > > >>
> > > >> With mixer(8). But now the settings are remembered.
> > > >>
> > > >> I suppose some evil app is to blame. But nothing apart from Skype
> > > >> comes to mind and I configured it not to touch the mixer settings.
> > > >>
> > > >> Regards
> > > >
> > > > Sorry but I have to ask ... have you tried configuring mixer settings
> >
> > as
> >
> > > > described in section 7.2.4 of the FreBSD handbook?
> > > >
> > > > That is to say:
> > > >
> > > > "The default values for the different mixer channels are hardcoded in
> > > > the sourcecode of the pcm(4) driver. There are many different
> > > > applications and daemons that allow you to set values for the mixer
> > > > that are remembered between invocations, but this is not a clean
> > > > solution. ...
> > >
> > > Rather outdated in my opinion. Automatic mixer remembering without
> > > configuring anything has ever worked since I started using FreeBSD
> > > (i.e. 2005).
> >
> > Perhaps you are using reboot/halt instead of shutdown?
> > Reboot and halt will not start the shutdown scripts.
> >
> > --
> > Pieter de Goeje
>
> yup ... I use reboot or halt -p

Well the obvious thing to try then is to use shutdown -r or -p instead... Does
it work?

- Pieter
_______________________________________________
freebsd-current@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@..."

Re: mixer settings on 8.0-RC2

by Gonzalo Nemmi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, Nov 3, 2009 at 7:50 PM, Pieter de Goeje <pieter@...> wrote:

> On Tuesday 03 November 2009 18:34:14 Gonzalo Nemmi wrote:
> > On Tue, Nov 3, 2009 at 5:46 PM, Pieter de Goeje <pieter@...>
> wrote:
> > > On Tuesday 03 November 2009 16:57:08 Dominic Fandrey wrote:
> > > > Gonzalo Nemmi wrote:
> > > > > On Tuesday 03 November 2009 5:07:26 am Dominic Fandrey wrote:
> > > > >> Gonzalo Nemmi wrote:
> > > > >>> On Monday 02 November 2009 11:22:03 am Dominic Fandrey wrote:
> > > > >>>> It appears that my 8.0-RC2 system (notebook) forgets its mixer
> > > > >>>> settings with every reboot.
> > > > >>>>
> > > > >>>> FreeBSD mobileKamikaze.norad 8.0-RC2 FreeBSD 8.0-RC2 #0: Sat Oct
> > > > >>>> 31 02:49:30 CET 2009
> > > > >>>> root@...
> :/usr/obj/HP6510b-8/amd64/usr/src/sys/HP6
> > > > >>>> 510 b-8  amd64
> > > > >>>>
> > > > >>>> Regards
> > > > >>>
> > > > >>> May I ask how are you setting them?
> > > > >>>
> > > > >>> Regards
> > > > >>> Gonzalo
> > > > >>
> > > > >> With mixer(8). But now the settings are remembered.
> > > > >>
> > > > >> I suppose some evil app is to blame. But nothing apart from Skype
> > > > >> comes to mind and I configured it not to touch the mixer settings.
> > > > >>
> > > > >> Regards
> > > > >
> > > > > Sorry but I have to ask ... have you tried configuring mixer
> settings
> > >
> > > as
> > >
> > > > > described in section 7.2.4 of the FreBSD handbook?
> > > > >
> > > > > That is to say:
> > > > >
> > > > > "The default values for the different mixer channels are hardcoded
> in
> > > > > the sourcecode of the pcm(4) driver. There are many different
> > > > > applications and daemons that allow you to set values for the mixer
> > > > > that are remembered between invocations, but this is not a clean
> > > > > solution. ...
> > > >
> > > > Rather outdated in my opinion. Automatic mixer remembering without
> > > > configuring anything has ever worked since I started using FreeBSD
> > > > (i.e. 2005).
> > >
> > > Perhaps you are using reboot/halt instead of shutdown?
> > > Reboot and halt will not start the shutdown scripts.
> > >
> > > --
> > > Pieter de Goeje
> >
> > yup ... I use reboot or halt -p
>
> Well the obvious thing to try then is to use shutdown -r or -p instead...
> Does
> it work?
>
> - Pieter
>

That would be up to the OP .. I don´t have mixer problems as my mixer values
are set as hints :D

Best Regards
Gonzalo
_______________________________________________
freebsd-current@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@..."