public inbox for gentoo-ppc-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-ppc-user] Sound
@ 2004-04-07 10:28 Konstantinos Dolkas
  0 siblings, 0 replies; 7+ messages in thread
From: Konstantinos Dolkas @ 2004-04-07 10:28 UTC (permalink / raw
  To: Gentoo PPC user mailing list

[-- Attachment #1: Type: text/plain, Size: 739 bytes --]

Hi,


I have been using gentoo on a PowerBook G4 1GHz 12' for about three
months now. A couple of days I updatedb from kernel-2.4.24-r2 to
kernel-2.6.4.(2.6.4-pegasos0)Everything seems to work well but my
soundcard.
I get the following error when I start KDE :

Sound server informational message:
Error while initializing the sound driver:
SNDCTL_DSP_SETFMT failed - Invalid argument
The sound server will continue, using the null output device.


My kernel config is (2.6)

<*> Sound card support      
<*>   PowerMac DMA sound support

It still works with 2.4 config
<*> Sound card support     
<*>   PowerMac DMA sound support


Is there something I am missing here or it just does not work?

Thanks in advance,

Konstantinos Dolkas



[-- Attachment #2: Type: text/html, Size: 1172 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [gentoo-ppc-user] Sound
@ 2004-04-07 10:38 Konstantinos Dolkas
  0 siblings, 0 replies; 7+ messages in thread
From: Konstantinos Dolkas @ 2004-04-07 10:38 UTC (permalink / raw
  To: Gentoo PPC user mailing list

[-- Attachment #1: Type: text/plain, Size: 187 bytes --]

Hi all again,

Regarding my last e-mail. After compiling usb audio I now have a
usablesound card (It works) but I still get the same error!!!!


Thanks for you time,

Konstantinos Dolkas

[-- Attachment #2: Type: text/html, Size: 443 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [gentoo-ppc-user] Sound
@ 2005-08-10 23:48 Mike S
  2005-08-11  1:38 ` Carl Hudkins
  2005-08-11  8:38 ` Neil Bothwick
  0 siblings, 2 replies; 7+ messages in thread
From: Mike S @ 2005-08-10 23:48 UTC (permalink / raw
  To: gentoo-ppc-user

ok I have many questions this time.  I set this variable before but for 
get where it was.  There is something that emerge can to to 
automatically write over existing configuration files.  And when I first 
installed gentoo I set it to do that, not knowing how annoying it could 
be.  Now I hope someone can help me in changing that back, as when I ran 
emerge world a lot of settings were deleted, some of which have been 
easy to change, and some not.

Examples include I had to change my xdm from "xdm" to "gdm" and set the 
defalut session to gnome.  Another which I am having trouble with is 
sound.  Apparently the modules I had auto-loading before do not now do 
the same thing.  the two most important are snd and snd-powermac.  Which 
arises the question does anyone have ALSA or OSS working with gentoo 
with a gentoo kernel?  I used to have sound working through OSS but I am 
not sure whether I changed the vanilla kernel I was using to the gentoo 
kernel before I stopped listening to music or not.  Currently all I have 
been able to get working for gnome output is ESD ( I am not Surprised), 
though I don't ever remember installing esound.  So maybe it was 
installed by emerging gnome or something like that.

Any help would be very much appreciated.

--Mike S
-- 
gentoo-ppc-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-ppc-user] Sound
  2005-08-10 23:48 Mike S
@ 2005-08-11  1:38 ` Carl Hudkins
  2005-08-11  8:38 ` Neil Bothwick
  1 sibling, 0 replies; 7+ messages in thread
From: Carl Hudkins @ 2005-08-11  1:38 UTC (permalink / raw
  To: gentoo-ppc-user

On Wed August 10 2005 19:48, Mike S wrote:

> ok I have many questions this time.  I set this variable before but for
> get where it was.  There is something that emerge can to to
> automatically write over existing configuration files.  And when I first
> installed gentoo I set it to do that, not knowing how annoying it could
> be.  Now I hope someone can help me in changing that back, as when I ran

 You want to read the output of "emerge --help config".  Right now.

 After that, you should probably spend some relaxing time with "man make.conf" 
and a cup of your favorite non-alcoholic beverage.

 Regarding sound, I know better than to try to help.  :(  My sound is touchy 
at best; just when I seem to have everything working I'll find that xine 
can't play sound but mplayer can, or they both can but KDE desktop sounds 
don't work any more while XMMS does.  (I've also resolved not to ask for help 
with this until I migrate from devfs to udev, which failed the first time I 
tried it.)

-- 
// Carl Hudkins :: Jabber  yther@amessage.info :: PGP 50238D9E
//
//               ==]  Measure twice.  Cut once.  [==
// 
//                            (X-Spam-To: collapsar@yther.net)
-- 
gentoo-ppc-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-ppc-user] Sound
  2005-08-10 23:48 Mike S
  2005-08-11  1:38 ` Carl Hudkins
@ 2005-08-11  8:38 ` Neil Bothwick
  2005-08-11  8:57   ` Mike S
  1 sibling, 1 reply; 7+ messages in thread
From: Neil Bothwick @ 2005-08-11  8:38 UTC (permalink / raw
  To: gentoo-ppc-user

[-- Attachment #1: Type: text/plain, Size: 1027 bytes --]

On Wed, 10 Aug 2005 16:48:34 -0700, Mike S wrote:

> ok I have many questions this time.  I set this variable before but for 
> get where it was.  There is something that emerge can to to 
> automatically write over existing configuration files.  And when I
> first installed gentoo I set it to do that, not knowing how annoying it
> could be.  Now I hope someone can help me in changing that back, as
> when I ran emerge world a lot of settings were deleted, some of which
> have been easy to change, and some not.

The variable is CONFIG_PROTECT_MASK, set in /etc/make.conf. It sound
slike you set it to "/etc", which is a dangerous thing to do, especially
when you emerge a baselayout update and your fstab and passwd files get
overwritten. Comment out the setting in make.conf, or set it to contain
only directories where you know it is safe for emerge to overwrite files.
I have it set to "/etc/init.d".


-- 
Neil Bothwick

The trouble with the world is that everybody in it is three drinks behind.

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-ppc-user] Sound
  2005-08-11  8:38 ` Neil Bothwick
@ 2005-08-11  8:57   ` Mike S
  2005-08-11  9:09     ` Neil Bothwick
  0 siblings, 1 reply; 7+ messages in thread
From: Mike S @ 2005-08-11  8:57 UTC (permalink / raw
  To: gentoo-ppc-user

Neil Bothwick wrote:

>On Wed, 10 Aug 2005 16:48:34 -0700, Mike S wrote:
>
>  
>
>>ok I have many questions this time.  I set this variable before but for 
>>get where it was.  There is something that emerge can to to 
>>automatically write over existing configuration files.  And when I
>>first installed gentoo I set it to do that, not knowing how annoying it
>>could be.  Now I hope someone can help me in changing that back, as
>>when I ran emerge world a lot of settings were deleted, some of which
>>have been easy to change, and some not.
>>    
>>
>
>The variable is CONFIG_PROTECT_MASK, set in /etc/make.conf. It sound
>slike you set it to "/etc", which is a dangerous thing to do, especially
>when you emerge a baselayout update and your fstab and passwd files get
>overwritten. Comment out the setting in make.conf, or set it to contain
>only directories where you know it is safe for emerge to overwrite files.
>I have it set to "/etc/init.d".
>
>
>  
>
well I checked the /etc/make.conf file, and yes you were right (almost)  
I am not sure what the difference is, but I am sure that I will find out 
sooner or later, instead of CONFIG_PROTECT_MASK variable set to 
something I had CONFIG_PROTECT="-*".  So for the time being I just 
commented that line out, and will maybe change it once I learn more 
about it.

I will investigate the difference between CONFIG_PROTECT_MASK and 
CONFIG_PROTECT and see what the difference is (if any), or if they are 
merely the same variable with different names, which I have noticed on 
some distributions happens because of multiple developers not all 
keeping up to speed with each other.  Though from what I have see so far 
gentoo is one of the more professional distributions and that will 
probably not be the case.

Thanks Neil,
--Mike S
-- 
gentoo-ppc-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-ppc-user] Sound
  2005-08-11  8:57   ` Mike S
@ 2005-08-11  9:09     ` Neil Bothwick
  0 siblings, 0 replies; 7+ messages in thread
From: Neil Bothwick @ 2005-08-11  9:09 UTC (permalink / raw
  To: gentoo-ppc-user

[-- Attachment #1: Type: text/plain, Size: 1326 bytes --]

On Thu, 11 Aug 2005 01:57:36 -0700, Mike S wrote:

> well I checked the /etc/make.conf file, and yes you were right
> (almost) I am not sure what the difference is, but I am sure that I
> will find out sooner or later, instead of CONFIG_PROTECT_MASK variable
> set to something I had CONFIG_PROTECT="-*".  So for the time being I
> just commented that line out, and will maybe change it once I learn
> more about it.

A wise move. It is not a good idea to add settings you don't fully
understand to a system-critical config file :(


> I will investigate the difference between CONFIG_PROTECT_MASK and 
> CONFIG_PROTECT and see what the difference is (if any), or if they are 
> merely the same variable with different names,

In fact, they are complete opposites of each other. See man make.conf for
more details.

CONFIG_PROTECT = [space delimited list of dirs]
	All directories that are defined here will have "config file
	protection" enabled for them. For more information, please see
	`emerge --help config`.

CONFIG_PROTECT_MASK = [space delimited list of dirs] All directories that
	are defined here will have "config file protection" disabled for
	them. For more information, please see `emerge --help config`.


-- 
Neil Bothwick

Me? FAT? No, just horizontally disproportionate...

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2005-08-11  9:10 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-07 10:28 [gentoo-ppc-user] Sound Konstantinos Dolkas
  -- strict thread matches above, loose matches on Subject: below --
2004-04-07 10:38 Konstantinos Dolkas
2005-08-10 23:48 Mike S
2005-08-11  1:38 ` Carl Hudkins
2005-08-11  8:38 ` Neil Bothwick
2005-08-11  8:57   ` Mike S
2005-08-11  9:09     ` Neil Bothwick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox