Re: Sound in g4

2005-06-09 Thread Vincent Lefevre
On 2005-06-07 22:10:01 +0100, David Pye wrote:
 There's a point to these group-ids.
 
 The correct way to allow yourself to write to /dev/dsp is to add
 yourself to the audio group, as a secondary group, *not* chmod the
 device.
 
 This applies to any other devices which are owned by 'special' groups.

No, this may be dangerous, as I've been told! This really depends on
the device. See

From: Sjoerd Simons [EMAIL PROTECTED]
Date: Tue, 27 Apr 2004 17:20:01 +0200
To: debian-powerpc@lists.debian.org
Subject: Re: chmod
Message-ID: [EMAIL PROTECTED]

-- 
Vincent Lefèvre [EMAIL PROTECTED] - Web: http://www.vinc17.org/
100% accessible validated (X)HTML - Blog: http://www.vinc17.org/blog/
Work: CR INRIA - computer arithmetic / SPACES project at LORIA


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Sound in g4

2005-06-07 Thread Martin Habets
With ALSA/Debian I have the issue that I have to add snd to
/etc/modules manually. /etc/init.d/alsa won't do anything
otherwise, as /proc/asound does not exist.

Not sure if the init script is from debian or alsa. This happens
on all hardware platforms. In your case, a
 modprobe snd-powermac
should load the sound driver for you. Run alsamixer to unmute it.

Martin

On Tue, Jun 07, 2005 at 02:30:51AM +, Mike S wrote:
 this is probably a totally newbie question, but I have just switched to 
 debian from ubuntu, and am working on a self compiled 2.6.11 upstream 
 kernel.  I compiled all the sound stuff as modules, but I do not know 
 what file to edit to load them, or even how to start.  KDE reports no 
 /dev/dsp on startup, and when I run lsmod it shows no snd or anything 
 like that, so could someone point me in the right direction to start 
 setting up sound on this thing?
 
 --Mike S
 if specs are needed this is a G4 Dual 450 (Gigabit Ethernet model) and I 
 am not sure what the sound card is.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Sound in g4

2005-06-07 Thread Mike S

Martin Habets wrote:


With ALSA/Debian I have the issue that I have to add snd to
/etc/modules manually. /etc/init.d/alsa won't do anything
otherwise, as /proc/asound does not exist.

Not sure if the init script is from debian or alsa. This happens
on all hardware platforms. In your case, a
modprobe snd-powermac
should load the sound driver for you. Run alsamixer to unmute it.

Martin

On Tue, Jun 07, 2005 at 02:30:51AM +, Mike S wrote:
 

this is probably a totally newbie question, but I have just switched to 
debian from ubuntu, and am working on a self compiled 2.6.11 upstream 
kernel.  I compiled all the sound stuff as modules, but I do not know 
what file to edit to load them, or even how to start.  KDE reports no 
/dev/dsp on startup, and when I run lsmod it shows no snd or anything 
like that, so could someone point me in the right direction to start 
setting up sound on this thing?


--Mike S
if specs are needed this is a G4 Dual 450 (Gigabit Ethernet model) and I 
am not sure what the sound card is.
   




 

I thank you martin, that cracked it, atleast for now, haven't restarted 
the computer yet, but I did modprobe snd-powermac, and that loaded all 
the snd modules, and then I changes the group id of /dev/dsp so that my 
user's group had permission to it, and long story short three logout's 
later kde finally uttered sound on startup and did not give me the 
/dev/dsp not found or /dev/dsp (permission Denied) errors.  looks like 
there's a lot of subtle little differences in debian and ubuntu, as it 
looks like I am going to have to change o lot of group id's just so I 
can access them without being root.


Thanks again,
--Mike S


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Sound in g4

2005-06-07 Thread David Pye
On Tuesday 07 June 2005 15:01, Mike S wrote:
snip

 I thank you martin, that cracked it, atleast for now, haven't restarted
 the computer yet, but I did modprobe snd-powermac, and that loaded all
 the snd modules, and then I changes the group id of /dev/dsp so that my
 user's group had permission to it, and long story short three logout's
 later kde finally uttered sound on startup and did not give me the
 /dev/dsp not found or /dev/dsp (permission Denied) errors.  looks like
 there's a lot of subtle little differences in debian and ubuntu, as it
 looks like I am going to have to change o lot of group id's just so I
 can access them without being root.

No!

There's a point to these group-ids.

The correct way to allow yourself to write to /dev/dsp is to add yourself to 
the audio group, as a secondary group, *not* chmod the device.

This applies to any other devices which are owned by 'special' groups.

David

 Thanks again,
 --Mike S

-- 
-BEGIN GEEK CODE BLOCK-
Version: 3.12
GCS d- s-: a-- C++ UL P L+++ E--- W++ N+ o+ K- w---
O M V- PS+ PE+ Y+ PGP t 5- X+ R- tv+ b+ DI++ D+
G+ e++ h r% y++ s-: e++
--END GEEK CODE BLOCK--


pgpGo2rz20mJ9.pgp
Description: PGP signature


Re: Sound in g4

2005-06-07 Thread Mike S

David Pye wrote:


On Tuesday 07 June 2005 15:01, Mike S wrote:
snip
 


I thank you martin, that cracked it, atleast for now, haven't restarted
the computer yet, but I did modprobe snd-powermac, and that loaded all
the snd modules, and then I changes the group id of /dev/dsp so that my
user's group had permission to it, and long story short three logout's
later kde finally uttered sound on startup and did not give me the
/dev/dsp not found or /dev/dsp (permission Denied) errors.  looks like
there's a lot of subtle little differences in debian and ubuntu, as it
looks like I am going to have to change o lot of group id's just so I
can access them without being root.
   



No!

There's a point to these group-ids.

The correct way to allow yourself to write to /dev/dsp is to add yourself to 
the audio group, as a secondary group, *not* chmod the device.


This applies to any other devices which are owned by 'special' groups.

David

 


Thanks again,
--Mike S
   



 

ok, I need to learn to quit whinning to the lsit, I apologize for that, 
I used chown :audio on the device, which is what I think you said it was 
right, and then I did a usermod -G on myself for the audio group, which 
should have added me to the audio group, correct? Kuser reports that 
indeed I am a part of the admin and audio group, so I am guessing I did 
that right, please let me know if I did not.


--Mike S


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Sound in g4

2005-06-07 Thread Paul Brossier
On Tue, Jun 07, 2005 at 04:02:26PM +, Mike S wrote:
 ok, I need to learn to quit whinning to the lsit, I apologize for that, 
 I used chown :audio on the device, which is what I think you said it was 
 right, and then I did a usermod -G on myself for the audio group, which 
 should have added me to the audio group, correct? Kuser reports that 
 indeed I am a part of the admin and audio group, so I am guessing I did 
 that right, please let me know if I did not.

all you need to do is to 'adduser username group', and log in again.
you can use 'groups' to list the groups you are part of, and a similar
'deluser username group' to remove a user from a group.

on a desktop sarge install, it gives the following
$ groups
piem dialout cdrom floppy audio video plugdev

except if you installed gnome or other packages (alsa?) after creating
your user. then you will want to add yourself to the above groups. the
'plugdev' group is to have group-volume-manager automount your devices.

the group 'src' is also useful to compile kernels in /usr/src as a user.
and the 'adm' one sometimes, to read the syslogs.

bye, piem


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Sound in g4

2005-06-07 Thread Paul Brossier
On Tue, Jun 07, 2005 at 06:08:10PM +, Mike S wrote:
 Again I thank this list and the people in it for their help.  After some 
 tinkering around I finally got it to work, everytime after a reboot.  I 
 am not sure it is the best way, and no little to nothing about the rc 
 scripts, but what I had to do was echo both snd and snd-powermac into 
 the /etc/modules file to get it to work right, and play around with the 
 usermod command to give myself access to various things.

adduser is a lot simpler to use i found.

$ adduser mike audio

 I still haven't managed to get kscd to work right, but that is probably 
 another group I will have to add my user to in order to be able to 
 access the cdrom.  And it also has (probably) something to do with the 
 same reason that things don't automount, but again, Thanks

you need to be part of the plugdev group to have automount working:

$ sudo apt-get install gnome-volume-manager
$ sudo adduser $USER plugdev

bye, piem


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Configuring sound on G4 PowerBook

2002-11-08 Thread Gilger.John
This has probably been explained several times on this list, but searching the 
archives didn't turn up anything with the search words I used :(

I installed Woody a couple days ago and it is working fine so far -- except I 
have no sound. Can someone point me to a howto or something similar?

TIA

John



Re: Configuring sound on G4 PowerBook

2002-11-08 Thread christophe barbe

http://cattlegrid.net/~christophe/titanium/

Christophe

NB: I never tried the softmodem.

On Fri, Nov 08, 2002 at 12:02:51PM -0800, Gilger.John wrote:
 This has probably been explained several times on this list, but searching 
 the archives didn't turn up anything with the search words I used :(
 
 I installed Woody a couple days ago and it is working fine so far -- except I 
 have no sound. Can someone point me to a howto or something similar?
 
 TIA
 
 John
 
 
 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

-- 
Christophe Barbé [EMAIL PROTECTED]
GnuPG FingerPrint: E0F6 FADF 2A5C F072 6AF8  F67A 8F45 2F1E D72C B41E

Dogs come when they're called;
cats take a message and get back to you later. --Mary Bly



Re: Configuring sound on G4 PowerBook

2002-11-08 Thread Claas Langbehn
 NB: I never tried the softmodem.

The current iBooks also have a softmodem.
It exists a driver for it. You will 
find it with google.

If you find it, you should also use
an init string like this: ATZM0L0
If not, it might behave strange when
dialling.


Bye, Claas



Re: Configuring sound on G4 PowerBook

2002-11-08 Thread Vincent Lefevre
On Fri, Nov 08, 2002 at 12:02:51 -0800, Gilger.John wrote:
 I installed Woody a couple days ago and it is working fine so far --
 except I have no sound. Can someone point me to a howto or something
 similar?

With some kernel, I had no sound. But no problem with 2.4.18-newpmac,
and I didn't need to install anything else.

-- 
Vincent Lefèvre [EMAIL PROTECTED] - Web: http://www.vinc17.org/ - 100%
validated (X)HTML - Acorn Risc PC, Yellow Pig 17, Championnat International
des Jeux Mathématiques et Logiques, TETRHEX, etc.
Work: CR INRIA - computer arithmetic / SPACES project at LORIA



Re: Sound on G4 Cube

2001-06-18 Thread thomas graichen
Karl-Heinz Haag [EMAIL PROTECTED] wrote:
 *sound on/with G4 Cube* 

 How to configure? 

 Apples tech-information only tells:  
 Sound card 16-Bit -PCI- 44.1 KHz stereo
 and
 Audio Output -- Sound card -PCI- integrated

 Which hardware is this?
 Is kernel 2.2.19 sufficient?
 Which modules do I need to compile? 
 Is there something special about the order to load these modules? 

it is usb audio - so you usually just have to make shure that
the audio.o module for usb audio is build and installed

good luck

t

-- 
thomas graichen [EMAIL PROTECTED] ... perfection is reached, not
when there is no longer anything to add, but when there is no
longer anything to take away. --- antoine de saint-exupery



Re: Sound on G4 Cube

2001-06-18 Thread Tuomas Kuosmanen
On Mon, Jun 18, 2001 at 11:59:34AM +0200, thus said thomas graichen:
 Karl-Heinz Haag [EMAIL PROTECTED] wrote:
  *sound on/with G4 Cube* 
 
  How to configure? 
 
  Apples tech-information only tells:  
  Sound card 16-Bit -PCI- 44.1 KHz stereo
  and
  Audio Output -- Sound card -PCI- integrated
 
  Which hardware is this?
  Is kernel 2.2.19 sufficient?
  Which modules do I need to compile? 
  Is there something special about the order to load these modules? 
 
 it is usb audio - so you usually just have to make shure that
 the audio.o module for usb audio is build and installed

I tried the cube speakers on my Pismo with usb audio. I got a mixer device,
apps could open the sound device and everything seemed fine, apart that
there was no sound. Are the cube speakers known to work with Linux? They get
recognized fine though but no matter what I do with a mixer program they
dont seem to do anything. This is 2.4.5-pre3 from Ben's rsync, about 3 weeks
old or so.

Tuomas

-- 

.---  [EMAIL PROTECTED].|\,/|  [EMAIL PROTECTED]  -.
+  www.ximian.com -  ()-@@  ,   tigert.gimp.org  +
`-  art director   ,  `--')/   a gimp artist  ---'




Re: Sound on G4 Cube

2001-06-18 Thread Brian Hicks
On Mon, Jun 18, 2001 at 07:36:39PM +0300, Tuomas Kuosmanen wrote:
 On Mon, Jun 18, 2001 at 11:59:34AM +0200, thus said thomas graichen:
  Karl-Heinz Haag [EMAIL PROTECTED] wrote:
   *sound on/with G4 Cube* 
  
   How to configure? 
  
   Apples tech-information only tells:  
   Sound card 16-Bit -PCI- 44.1 KHz stereo
   and
   Audio Output -- Sound card -PCI- integrated
  
   Which hardware is this?
   Is kernel 2.2.19 sufficient?
   Which modules do I need to compile? 
   Is there something special about the order to load these modules? 
  
  it is usb audio - so you usually just have to make shure that
  the audio.o module for usb audio is build and installed
 
 I tried the cube speakers on my Pismo with usb audio. I got a mixer device,
 apps could open the sound device and everything seemed fine, apart that
 there was no sound. Are the cube speakers known to work with Linux? They get
 recognized fine though but no matter what I do with a mixer program they
 dont seem to do anything. This is 2.4.5-pre3 from Ben's rsync, about 3 weeks
 old or so.

This is probably a stupid question to ask, but you are directing the sound
to the correct /dev/dsp device, right?  The USB audio is probably on the
second one.

-- 
Brian Hicks [EMAIL PROTECTED] Crush the lesser races!  Conquer the
PGP:  BCC1 8D1B 2332 4915 2A7A  galaxy! Incredible power, unlimited rice
  4675 8CB1 DC22 ADDD 1F16  pudding, et cetera, et cetera.
  http://eight.dhs.org   -- The Doctor




pgp2Ii1V4L7nF.pgp
Description: PGP signature


Sound on G4 Cube

2001-06-17 Thread Karl-Heinz Haag
*sound on/with G4 Cube* 

How to configure? 


Apples tech-information only tells:  
Sound card 16-Bit -PCI- 44.1 KHz stereo
and
Audio Output -- Sound card -PCI- integrated

Which hardware is this?
Is kernel 2.2.19 sufficient?
Which modules do I need to compile? 
Is there something special about the order to load these modules? 

Thanks, 
Karl-Heinz