Re: Sound on Linux?

2007-03-22 Thread Bob McGowan

Raffaele Morelli wrote:


 > lsof man page illustrates a -t option which lets you pipe "terse"
output
 > to kill, which makes me suppose 'kill -9 pid' does not kill hanging
 > files belonging to processes.
 >
 > raffaele
 >
 >

There's no such thing, that I know of, as 'kill hanging files'.  'lsof'
will give you process id's (PID values) with lots of other info, unless
-t is used, which is just the list of PID values.

You then use the PID values to kill the processes.


Indeed I wrote about "pipe" to a kill command.


So far as I can determine, neither 'kill' nor 'killall' accept input 
from stdin, just the command line.  A point I failed to notice in the 
earlier posts.




When a process dies, all its open files are closed, either by itself or
by the system on its behalf.  This is true even if 'kill -9' is used,
the system takes cleanup on exit very seriously.


Clear, but what happens when an application crashes? Did the 
system/process acts as said before?


No difference.  Any abnormal command exit that doesn't let the command 
clean up, the system will at least close the files.  It is impossible 
(on *NIX type systems) to have an open file without an associated 
process.  If the process goes away, the file closes.  Period.




The net result is that open files go away, and the filesystem is no
longer 'busy' and can be umount'ed.


Shall we start a new thread? :)


'nough said, I think, so no.



raffaele

 





smime.p7s
Description: S/MIME Cryptographic Signature


Re: Sound on Linux?

2007-03-22 Thread Raffaele Morelli



> lsof man page illustrates a -t option which lets you pipe "terse" output
> to kill, which makes me suppose 'kill -9 pid' does not kill hanging
> files belonging to processes.
>
> raffaele
>
>

There's no such thing, that I know of, as 'kill hanging files'.  'lsof'
will give you process id's (PID values) with lots of other info, unless
-t is used, which is just the list of PID values.

You then use the PID values to kill the processes.



Indeed I wrote about "pipe" to a kill command.

When a process dies, all its open files are closed, either by itself or

by the system on its behalf.  This is true even if 'kill -9' is used,
the system takes cleanup on exit very seriously.



Clear, but what happens when an application crashes? Did the system/process
acts as said before?

The net result is that open files go away, and the filesystem is no

longer 'busy' and can be umount'ed.



Shall we start a new thread? :)

raffaele


Re: Sound on Linux?

2007-03-21 Thread Bob McGowan

Raffaele Morelli wrote:


 > pkill is a better killall? it reminds me to the differences
between top and
 > htop (recently someone posted about it).

But how is it better?


Really don't know, my rule is "the one which fits to your needs". I 
always use killall and feel comfortable with. Sometimes I use kill, e.g. 
when killing a process is not enough and some files are showed to be 
open by lsof after a killall or a kill -9.


lsof man page illustrates a -t option which lets you pipe "terse" output 
to kill, which makes me suppose 'kill -9 pid' does not kill hanging 
files belonging to processes.


Celejar


raffaele




There's no such thing, that I know of, as 'kill hanging files'.  'lsof' 
will give you process id's (PID values) with lots of other info, unless 
-t is used, which is just the list of PID values.


You then use the PID values to kill the processes.

When a process dies, all its open files are closed, either by itself or 
by the system on its behalf.  This is true even if 'kill -9' is used, 
the system takes cleanup on exit very seriously.


The net result is that open files go away, and the filesystem is no 
longer 'busy' and can be umount'ed.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: Sound on Linux?

2007-03-21 Thread Raffaele Morelli

> pkill is a better killall? it reminds me to the differences between top
and
> htop (recently someone posted about it).

But how is it better?



Really don't know, my rule is "the one which fits to your needs". I always
use killall and feel comfortable with. Sometimes I use kill, e.g. when
killing a process is not enough and some files are showed to be open by lsof
after a killall or a kill -9.

lsof man page illustrates a -t option which lets you pipe "terse" output to
kill, which makes me suppose 'kill -9 pid' does not kill hanging files
belonging to processes.

Celejar


raffaele


Re: Sound on Linux?

2007-03-20 Thread Celejar
On Sun, 18 Mar 2007 09:52:22 +0100
"Raffaele Morelli" <[EMAIL PROTECTED]> wrote:

> >
> > > > LAP:/# kill artsd
> > > > -su: kill: artsd: arguments must be process or job IDs
> > >
> > >
> > > Ken, you need further manual reading about processes "management".
> > > man ps
> > > man kill
> > > man killall
> >
> > Which makes me wonder: what's the difference between killall and pkill?
> 
> 
> pkill is a better killall? it reminds me to the differences between top and
> htop (recently someone posted about it).

But how is it better?

Celejar


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



Re: Sound on Linux?

2007-03-18 Thread Chris Lale

Ken Heard wrote:

[...]
"I consequently installed four packages which had sdl in the name: 
libsdl1.2debian, libsdl1.2debian-alsa, libsdl-net1.2 and 
libsdl-sound1.2.  I tried to purge these packages, but aptitude wanted 
to remove a whole series of other packages including grub and icedove. 
[...]


Run

   # aptitude keep-all

first to avoid this problem 
(http://newbiedoc.berlios.de/wiki/Aptitude_-_using_together_with_Synaptic_and_Apt-get)



--
Chris.


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




Re: Sound on Linux?

2007-03-18 Thread Raffaele Morelli

In view the fact that the first thing everybody advised me to do was to
disable artsd.  On examination I found out that artsd is a KDE creation
which wants to monopolize all sound operations to the exclusion of all
others, even others part of the KDE empire, such as KsCD and Kaffeine.



noatun and kaffeine use artsd if kde is asked to run it as sound deamon.

It was then a simple matter to disable artsd as suggested by Nigel Henry

  (NH) by unchecking the "Enable the sound system" box in KDE's control
centre/Sound and Multimedia/Sound system.  For good measure I ran as
suggested by ASW "killall artsd", which produced a null return.

Also, as suggested by NH, I ran "cat /proc/asound/cards", which returned
the following:

  0 [OPL3SA23   ]: OPL3SA2 - Yamaha OPL3-SA23
   Yamaha OPL3-SA23 at 0x538, irq 5, dma 1&0

(Yes, Raffaele Morelli, I do need to educate myself about killing
processes as you suggested.  Hitherto I have never felt the need to kill
anything but pesky insects.  That exercise is however for another time.)



As being far away to be a geek but still far away to be lazy , I always feel
the need to educate myself too.

Then, as previously suggested by ASW, I ran "aplay

/usr/share/sounds/alsa/*.wav".  Lo and behold, I was greeted with a
series of words: "front and centre", "keep right", and several others in
the same vein.



Try cat /dev/urandom | aplay

I was then given five options: open in a new window, extract and encode

audio tracks, play, play CD with Kaffeine and do nothing.  I first chose
the simplest, play, which I discovered opened the KsCD window.  However,
I was unable to play.  (Before I made all the changes described above, I
had tried to use noatun, with the same result.)  So, I closed the KsCD
window, went back to the Audio CD KDE daemon window, chose "do nothing"
and closed that window.  I was then able to eject the disk.

I then reinserted the Audio CD.  When in due course I got the Audio CD
KDE daemon I chose the Kaffeine option.  To my shock and amazement the
CD started to play.  The sound was also accompanied by fireworks, sun
spots and similar kaleidoscopic visuals on the screen.  I am sure the
additional memory required for these inhibited the smooth functioning of
the audio, as there were frequent short gaps in the audio continuity.



In my experience Kaffeine and noatun are far to be a good players, install
xmms, is a full featured and best player I saw around.
If you look for essential, alsaplayer is the one for you.

I then tried a telecast using Kaffeine.  I got the audio but not the video.


The major lesson I have drawn from this experience it that there is a
plethora of audio (and video?) applications vying for the custom of my
laptop.  One in particular (arts) seems to have the power to exclude all
the others, but then misuses this power by denying any audio (and
video?) at all.

I consequently wonder whether any other sound application is
sufficiently powerful to exclude all others, such as KsCD and noatun,
but not Kaffeine.  It was with this possibility in view I included the
following two paragraphs two posts ago:



You don't need such application, you need to prevent artsd from running,
exluding it from kde or removing it and you did it.
Now I think you're facing only a configuration problem and that dosemu is
innocent.



Regards,

Ken Heard



regards
raffaele


Re: Sound on Linux?

2007-03-18 Thread Raffaele Morelli



If you are getting sound from that card using the cat, then I'm not
sure you need the isa stuff as the card is working and the kernel is
sending sound to it.



Ken pointed to alsa site, where it is said that without an isa-pnp module
the cards won't get properly configured.
http://www.alsa-project.org/alsa-doc/alsa-howto/x1298.htm

I suspect the problem is, as mentioned previously, artsd is getting in

the way. Your sound apps may be efaulting to alsa output with artsd
running and that causes a conflict.



artsd running prevents other applications to use alsa, but kaffeine and
noatun are kde stuffs, so they should play without alsa and artsd running.
(eg. xine can play audio tracks using artsd)

So, please try the above and report back.


A



raffaele


Re: Sound on Linux?

2007-03-18 Thread Raffaele Morelli


> > LAP:/# kill artsd
> > -su: kill: artsd: arguments must be process or job IDs
>
>
> Ken, you need further manual reading about processes "management".
> man ps
> man kill
> man killall

Which makes me wonder: what's the difference between killall and pkill?



pkill is a better killall? it reminds me to the differences between top and
htop (recently someone posted about it).

Celejar


raffaele


Re: Sound on Linux?

2007-03-17 Thread Nigel Henry
On Saturday 17 March 2007 11:12, Ken Heard wrote:

> "Another factor may or may not be relevant.  Two days ago I compiled
> from source and installed dosemu-1.3.4.  The installation was successful
> in that it is allowing me to use my beloved dos based applications.
> However, the last message returned by ./configure was a warning that SDL
> version 1.2.0 was not found.
>
> "I consequently installed four packages which had sdl in the name:
> libsdl1.2debian, libsdl1.2debian-alsa, libsdl-net1.2 and
> libsdl-sound1.2.  I tried to purge these packages, but aptitude wanted
> to remove a whole series of other packages including grub and icedove.
> So I did not remove them.  I also tried to remove them using Kpackage,
> but Kpackage wanted to remove all of KDE.  So these four sdl packages
> remain installed.  (By the way, why do aptitude and Kpackage want to
> remove different apparent dependencies?  But I digress.)"
>
> Could these packages are also competing to provide sound on the laptop
> and are powerful enough to prevent use of either noatun or KsCD?  I ask
> because I finally remembered that before I had installed dosemu-1.3.4
> and these four sdl packages I had been able to listen to audio CDs with
> noatun.  Now I cannot.
>
> Any opinions on this matter?   In any event, as I do not seem to need
> these packages for dosemu, I should remove them -- once I figure out how
> to do so *without* removing key packages.  I also really wonder whether
> I need to keep the arts set of packages.
>
> Regards,
>
> Ken Heard

I've spent some time looking into this today, but my Debian installs are on 
the other machine, and the sound card is an Audigy2 soundblaster, which is 
capable of multiple audio streams, so I've been looking at the problem on my 
FC2 install, with an earlier version of KDE.

First regarding SDL. I installed the relevant SDL packages on FC2 so I could 
play an SDL based game, and I've just looked on Debian Etch, and have 
installed it also on there for some reason or other.  The packages installed 
are.
libsdl-image1.2
libsdl-mixer1.2
libsdl-ttf2.0-0
libsdl1.2debian
libsdl1.2debian-oss
I have the alsa-oss package installed, so the above package doesn't create any 
problems, as the alsa-oss package provides an Alsa emulation layer to apps 
that need to use OSS.

I do not have libsdl-sound1.2, or libsdl-net1.2 installed.

I can't remember why I installed the SDL stuff. That was when my Etch was 
still Sarge, and is probably for some audio app that I installed.

I don't believe there is any problem in leaving those SDL libraries installed, 
as they should only be called on when you run an app that requires them.

btw. Is dosemu working for you?

It's worth installing the alsa-oss package, as if you have any OSS audio apps 
that you want to use, they will then work.

Getting back to KDE, aRts, and Noatun.

Noatun will play a .ogg music file irrespective of whether the check box in 
Controlcentre/sound and multimedia/sound system is checked or not.
Now I do have a one liner in a file named .asoundrc in /home user, and it 
doesn't matter now if that check box is checked or not. I can play a tune 
using Noatun, and play another tune using MhWaveedit at the same time.

The one liner is below with instructions.

Noatun, and playing cd's. I didn't know it could do that. Anyway, when I put a 
CD in the drive on Etch, I get a bit of activity showing on the drive, but 
nothing on the desktop. I then open cdplayer, and the CD is showing there 
with the title of the CD. Then pressing play, just plays the CD. I have seen 
this sort of multiple choice thing when inserting a CD on Fedora Core 5 
though. Btw. I don't though have kaffeine installed, so perhaps it behaves 
differently then.

Another thing to look at is /etc/group , and see if you as user are on the 
cdrom group. IIRC I put myself on that, as before doing so I could only play 
CD's when logged into the desktop as root.

Here's the one liner.

First create a file in your /home/user directory named .asoundrc . Then add 
the following line to the file, highlight, and paste, whatever.

pcm.dsp0 {  type plug  slave.pcm "dmix" }

Save it, and close the file. Seriously I don't know if this will fix any of 
your problems, but now I can have the checkbox in KDE's control centre/sound 
and multimedia/soundsystem checked without causing problems with other music 
apps.

Can't think of much more to say at the moment.

Nigel.



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



Re: Sound on Linux?

2007-03-17 Thread Jorge Peixoto de Morais Neto

I haven't even read this entire (huge) thread, but it seems strange to me
that KDE applications don't work with arts.

Can it be that the apps are misconfigured to use ALSA directly but you are
running arts? You should either:

1)Leave arts on with application set up to use it
or
2)Set applications to use ALSA directly and turn off arts.

I have heard somewhere that it is possible to use at the same time arts and
applications that use ALSA directly if you use something called dmix or
something like that.

Anyway, what I mean is, if you are having this problem than I think that
your apps are set up to use ALSA directly, and it should be possible to set
them up to use arts.

--

Software is like sex: it is better when it is free.


Re: Sound on Linux?

2007-03-17 Thread Ken Heard
First, further to Andrew Sackville-West's (ASW) admonition "Ken -- keep 
on plugging away... you're getting closer", yes I am closer -- much 
closer in fact -- but not out of the woods yet.


In view the fact that the first thing everybody advised me to do was to 
disable artsd.  On examination I found out that artsd is a KDE creation 
which wants to monopolize all sound operations to the exclusion of all 
others, even others part of the KDE empire, such as KsCD and Kaffeine.


It was then a simple matter to disable artsd as suggested by Nigel Henry 
 (NH) by unchecking the "Enable the sound system" box in KDE's control 
centre/Sound and Multimedia/Sound system.  For good measure I ran as 
suggested by ASW "killall artsd", which produced a null return.


Also, as suggested by NH, I ran "cat /proc/asound/cards", which returned 
the following:


 0 [OPL3SA23   ]: OPL3SA2 - Yamaha OPL3-SA23
  Yamaha OPL3-SA23 at 0x538, irq 5, dma 1&0

(Yes, Raffaele Morelli, I do need to educate myself about killing 
processes as you suggested.  Hitherto I have never felt the need to kill 
anything but pesky insects.  That exercise is however for another time.)


Then, as previously suggested by ASW, I ran "aplay 
/usr/share/sounds/alsa/*.wav".  Lo and behold, I was greeted with a 
series of words: "front and centre", "keep right", and several others in 
the same vein.


So, I now felt I should try play an audio CD.  I inserted one in the 
drive.  After at least 30 seconds, a window entitled "Audio CD KDE 
daemon" appeared, telling me that a new medium had been detected, and 
what did I want to do?  The medium was identified as an audio CD, 
information I already knew.


I was then given five options: open in a new window, extract and encode 
audio tracks, play, play CD with Kaffeine and do nothing.  I first chose 
the simplest, play, which I discovered opened the KsCD window.  However, 
I was unable to play.  (Before I made all the changes described above, I 
had tried to use noatun, with the same result.)  So, I closed the KsCD 
window, went back to the Audio CD KDE daemon window, chose "do nothing" 
and closed that window.  I was then able to eject the disk.


I then reinserted the Audio CD.  When in due course I got the Audio CD 
KDE daemon I chose the Kaffeine option.  To my shock and amazement the 
CD started to play.  The sound was also accompanied by fireworks, sun 
spots and similar kaleidoscopic visuals on the screen.  I am sure the 
additional memory required for these inhibited the smooth functioning of 
the audio, as there were frequent short gaps in the audio continuity.


I then tried a telecast using Kaffeine.  I got the audio but not the video.

The major lesson I have drawn from this experience it that there is a 
plethora of audio (and video?) applications vying for the custom of my 
laptop.  One in particular (arts) seems to have the power to exclude all 
the others, but then misuses this power by denying any audio (and 
video?) at all.


I consequently wonder whether any other sound application is 
sufficiently powerful to exclude all others, such as KsCD and noatun, 
but not Kaffeine.  It was with this possibility in view I included the 
following two paragraphs two posts ago:


"Another factor may or may not be relevant.  Two days ago I compiled 
from source and installed dosemu-1.3.4.  The installation was successful 
in that it is allowing me to use my beloved dos based applications. 
However, the last message returned by ./configure was a warning that SDL 
version 1.2.0 was not found.


"I consequently installed four packages which had sdl in the name: 
libsdl1.2debian, libsdl1.2debian-alsa, libsdl-net1.2 and 
libsdl-sound1.2.  I tried to purge these packages, but aptitude wanted 
to remove a whole series of other packages including grub and icedove. 
So I did not remove them.  I also tried to remove them using Kpackage, 
but Kpackage wanted to remove all of KDE.  So these four sdl packages 
remain installed.  (By the way, why do aptitude and Kpackage want to 
remove different apparent dependencies?  But I digress.)"


Could these packages are also competing to provide sound on the laptop 
and are powerful enough to prevent use of either noatun or KsCD?  I ask 
because I finally remembered that before I had installed dosemu-1.3.4 
and these four sdl packages I had been able to listen to audio CDs with 
noatun.  Now I cannot.


Any opinions on this matter?   In any event, as I do not seem to need 
these packages for dosemu, I should remove them -- once I figure out how 
to do so *without* removing key packages.  I also really wonder whether 
I need to keep the arts set of packages.


Regards,

Ken Heard


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




Re: Sound on Linux?

2007-03-16 Thread Celejar
On Fri, 16 Mar 2007 15:52:46 +0100
"Raffaele Morelli" <[EMAIL PROTECTED]> wrote:

> > LAP:/# kill artsd
> > -su: kill: artsd: arguments must be process or job IDs
> 
> 
> Ken, you need further manual reading about processes "management".
> man ps
> man kill
> man killall

Which makes me wonder: what's the difference between killall and pkill?

Celejar


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



Re: Sound on Linux?

2007-03-16 Thread Andrew Sackville-West
On Fri, Mar 16, 2007 at 03:52:46PM +0100, Raffaele Morelli wrote:
> 
> no isa-pnp module to load...
> ... I think you need some isa related tool to deal with this card or an 
> isa
> capable kernel, i.e. recompile with isa support flag turned on.
> I don't want to mislead you but I would go this way.
> 

Ken -- keep on plugging away... you're getting closer. 

so we know the sound card works because your cat /dev/random >
/dev/audio worked. 

If you could, 'killall artsd' and try that aplay command again. See what 
happens.

If you are getting sound from that card using the cat, then I'm not
sure you need the isa stuff as the card is working and the kernel is
sending sound to it. 

I suspect the problem is, as mentioned previously, artsd is getting in
the way. Your sound apps may be efaulting to alsa output with artsd
running and that causes a conflict.  

So, please try the above and report back.

A


signature.asc
Description: Digital signature


Re: Sound on Linux?

2007-03-16 Thread Nigel Henry
On Friday 16 March 2007 15:26, Ken Heard wrote:
> Raffaele Morelli wrote:
> > LAP:~# artsd stop
> > Link points to "/tmp/ksocket-root"
> > can't create mcop directory
> >
> > I usually kill artsd
>
> I tried:
>
> LAP:/# kill artsd
> -su: kill: artsd: arguments must be process or job IDs

You can disable it in KDE's control centre/Sound and Multimedia/Sound system. 
Just uncheck the "Enable the sound system" box, then apply.

Most soundcards are not capable of multiple audio streams, and the aRts sound 
server is a prime candidate for causing problems, as it grabs the soundcard, 
then other sound apps won't work.

The last thing you want is having multiple problems preventing the sound from 
working.

You might also check.
cat /proc/asound/cards   to see if the card is actually showing up as card0.

Nigel.


>
> > LAP:~# /etc/alsa reload
> > -su: /etc/alsa: is a directory
> >
> > sorry, it was /etc/init.d/alsa reload
>
> LAP:/# /etc/init.d/alsa reload
> Unloading ALSA sound driver modules: snd-opl3sa2 snd-opl3-lib snd-hwdep
> snd-cs4231-lib snd-pcm-oss snd-mixer-oss snd-pcm snd-page-alloc
> snd-mpu401-uart snd-seq-dummy snd-seq-oss snd-seq-midi
> snd-seq-midi-event snd-seq snd-timer snd-rawmidi snd-seq-device.
> Loading ALSA sound driver modules: snd-opl3sa2 snd-opl3-lib snd-hwdep
> snd-cs4231-lib snd-pcm-oss snd-mixer-oss snd-pcm snd-page-alloc
> snd-mpu401-uart snd-seq-dummy snd-seq-oss snd-seq-midi
> snd-seq-midi-event snd-seq snd-timer snd-rawmidi snd-seq-device.
>
> 
> Snip.
> 
>
> > .
> >
> >
> > ah...
> > I read from this page:
> > This module does not support auto probe (if ISA PnP is not used) thus
> > all ports must be specified!!!
> >
> > Not 100% sure, but probably isa-pnp kernel module is needed for this
> > card to be properly configured.
> > grep isa-pnp /etc/modules
> >
> > if #isa-pnp line appears I suggest you to uncomment it and reboot.
>
> No isa-pnp line in /etc/modules.
>
> However, I did find:
>
> LAP:/# find -iname isa
> ./sys/bus/isa
> ./sys/devices/isa
> ./usr/src/linux-headers-2.6.18-4/sound/isa
> ./usr/src/linux-headers-2.6.18-4-686/include/config/isa
> ./usr/src/linux-headers-2.6.18-4-686/include/config/generic/isa
> ./lib/modules/2.6.18-3-686/kernel/sound/isa
> ./lib/modules/2.6.18-4-686/kernel/sound/isa
> LAP:/# find -iname isa-pnp
> LAP:/#
>
> I am using kernel 2.6.18-4-686.
>
>   Ken Heard


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



Re: Sound on Linux?

2007-03-16 Thread Raffaele Morelli

LAP:/# kill artsd
-su: kill: artsd: arguments must be process or job IDs



Ken, you need further manual reading about processes "management".
man ps
man kill
man killall


LAP:~# /etc/alsa reload
> -su: /etc/alsa: is a directory
>
> sorry, it was /etc/init.d/alsa reload

LAP:/# /etc/init.d/alsa reload
Unloading ALSA sound driver modules: snd-opl3sa2 snd-opl3-lib snd-hwdep
snd-cs4231-lib snd-pcm-oss snd-mixer-oss snd-pcm snd-page-alloc
snd-mpu401-uart snd-seq-dummy snd-seq-oss snd-seq-midi
snd-seq-midi-event snd-seq snd-timer snd-rawmidi snd-seq-device.
Loading ALSA sound driver modules: snd-opl3sa2 snd-opl3-lib snd-hwdep
snd-cs4231-lib snd-pcm-oss snd-mixer-oss snd-pcm snd-page-alloc
snd-mpu401-uart snd-seq-dummy snd-seq-oss snd-seq-midi
snd-seq-midi-event snd-seq snd-timer snd-rawmidi snd-seq-device.



that's ok



> ah...
> I read from this page:
> This module does not support auto probe (if ISA PnP is not used) thus
> all ports must be specified!!!
>
> Not 100% sure, but probably isa-pnp kernel module is needed for this
> card to be properly configured.
> grep isa-pnp /etc/modules
>
> if #isa-pnp line appears I suggest you to uncomment it and reboot.

No isa-pnp line in /etc/modules.

However, I did find:

LAP:/# find -iname isa
./sys/bus/isa
./sys/devices/isa
./usr/src/linux-headers-2.6.18-4/sound/isa
./usr/src/linux-headers-2.6.18-4-686 /include/config/isa
./usr/src/linux-headers-2.6.18-4-686/include/config/generic/isa
./lib/modules/2.6.18-3-686/kernel/sound/isa
./lib/modules/2.6.18-4-686/kernel/sound/isa
LAP:/# find -iname isa-pnp
LAP:/#

I am using kernel 2.6.18-4-686.



no isa-pnp module to load...
... I think you need some isa related tool to deal with this card or an isa
capable kernel, i.e. recompile with isa support flag turned on.
I don't want to mislead you but I would go this way.

   Ken Heard




raffaele


Re: Sound on Linux?

2007-03-16 Thread Ken Heard

Also found the following:

LAP:/# find -iname isapnp
./sys/module/snd_opl3sa2/parameters/isapnp
./usr/src/linux-headers-2.6.18-4/drivers/pnp/isapnp
LAP:/#

Ken Heard


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




Re: Sound on Linux?

2007-03-16 Thread Ken Heard

Raffaele Morelli wrote:

LAP:~# artsd stop
Link points to "/tmp/ksocket-root"
can't create mcop directory  

>

I usually kill artsd


I tried:

LAP:/# kill artsd
-su: kill: artsd: arguments must be process or job IDs



LAP:~# /etc/alsa reload
-su: /etc/alsa: is a directory 


sorry, it was /etc/init.d/alsa reload


LAP:/# /etc/init.d/alsa reload
Unloading ALSA sound driver modules: snd-opl3sa2 snd-opl3-lib snd-hwdep 
snd-cs4231-lib snd-pcm-oss snd-mixer-oss snd-pcm snd-page-alloc 
snd-mpu401-uart snd-seq-dummy snd-seq-oss snd-seq-midi 
snd-seq-midi-event snd-seq snd-timer snd-rawmidi snd-seq-device.
Loading ALSA sound driver modules: snd-opl3sa2 snd-opl3-lib snd-hwdep 
snd-cs4231-lib snd-pcm-oss snd-mixer-oss snd-pcm snd-page-alloc 
snd-mpu401-uart snd-seq-dummy snd-seq-oss snd-seq-midi 
snd-seq-midi-event snd-seq snd-timer snd-rawmidi snd-seq-device.



Snip.


.


ah...
I read from this page:
This module does not support auto probe (if ISA PnP is not used) thus 
all ports must be specified!!!


Not 100% sure, but probably isa-pnp kernel module is needed for this 
card to be properly configured.

grep isa-pnp /etc/modules

if #isa-pnp line appears I suggest you to uncomment it and reboot.


No isa-pnp line in /etc/modules.

However, I did find:

LAP:/# find -iname isa
./sys/bus/isa
./sys/devices/isa
./usr/src/linux-headers-2.6.18-4/sound/isa
./usr/src/linux-headers-2.6.18-4-686/include/config/isa
./usr/src/linux-headers-2.6.18-4-686/include/config/generic/isa
./lib/modules/2.6.18-3-686/kernel/sound/isa
./lib/modules/2.6.18-4-686/kernel/sound/isa
LAP:/# find -iname isa-pnp
LAP:/#

I am using kernel 2.6.18-4-686.

Ken Heard


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




Re: Sound on Linux?

2007-03-16 Thread Raffaele Morelli


LAP:~# artsd stop
Link points to "/tmp/ksocket-root"
can't create mcop directory



I usually kill artsd

LAP:~# /etc/alsa reload

-su: /etc/alsa: is a directory



sorry, it was /etc/init.d/alsa reload


LAP:~# lsmod|grep snd

snd_opl3_synth 13924  0
snd_seq_instr   7392  1 snd_opl3_synth
snd_seq_midi_emul   5952  1 snd_opl3_synth
snd_ainstr_fm   2496  1 snd_opl3_synth
snd_opl3sa219148  0
snd_opl3_lib9920  2 snd_opl3_synth,snd_opl3sa2
snd_hwdep   8836  1 snd_opl3_lib
snd_cs4231_lib 23232  1 snd_opl3sa2
snd_pcm_oss38368  0
snd_mixer_oss  15200  1 snd_pcm_oss
snd_pcm68676  2 snd_cs4231_lib,snd_pcm_oss
snd_page_alloc  9640  2 snd_cs4231_lib,snd_pcm
snd_mpu401_uart 8064  1 snd_opl3sa2
snd_seq_dummy   3844  0
snd_seq_oss28768  0
snd_seq_midi8192  0
snd_seq_midi_event  7008  2 snd_seq_oss,snd_seq_midi
snd_seq45680  9

snd_opl3_synth,snd_seq_instr,snd_seq_midi_emul,snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer  20996  4
snd_opl3_lib,snd_cs4231_lib,snd_pcm,snd_seq
snd_rawmidi22560  2 snd_mpu401_uart,snd_seq_midi
snd_seq_device  7820  7

snd_opl3_synth,snd_opl3_lib,snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq,snd_rawmidi
snd47012  14

snd_opl3_synth,snd_opl3sa2,snd_opl3_lib,snd_hwdep,snd_cs4231_lib,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_mpu401_uart,snd_seq_oss,snd_seq,snd_timer,snd_rawmidi,snd_seq_device
soundcore   9248  1 snd


No. 4: "LAP:~# cat /dev/urandom > /dev/audio" definitely gave me white
noise.



so your card is alive ;)

As for no. 5, I *think* what I have in the laptop is a CD-ROM drive

only.  Regardless, I would not know how to differentiate a CD-ROM drive
from a DVD-ROM drive.  The only external marking on the drive is the
word "disc" in large tip, with the word "compact" in small type over the
"isc" of the word "disc".

> I find that strange, as the the CDROM drive was empty, nor could I
see
> any application open, except icedove and a terminal emulator.
>
>
> Maybe audio device it's busy 'cause artsd it's locking it
>
> raffaele
>
> ps: did you googled around for your 'sound card + kernel support'

Alsamixer identified the integrated sound card and chip as a Yamaha
OPL3-SA23.  Earlier, when I ran alsaconf, first all the snd modules were
removed.  Second, alsaconf found a card labeled "oplsa2 snd-oplsa2",
followed by "legacy  Probe legacy ISA (non PnP) chips".

After selecting "OK" I was next presented with the following:

Configuring snd-opl3sa2
Do you want to modify /etc/modprobe.d/sound
(and /etc/modprobe.conf if present)?

I answered "Yes".

Next it said:

OK, sound driver is configured.


ALSA  CONFIGURATOR will prepare the card for playing now.

Now I will load the ALSA sound driver and use amixer to raise the
default volumes.

You can change the volume later via a mixer.

After clicking "OK" once again, alsa told me the following:

Running update-modules...

Loading driver...
Setting default volumes...



===

  Now ALSA is ready to use.
  For adjustment of volumes, use your favorite mixer.

  Have a lot of fun!

As the return from "lsmod|grep snd" above seems to indicate, alsaconf
was as good as its word, having apparently installing all sorts of
modules unique to this card.

I did get the white noise as described above, and I do get through the
attached speakers some at least of the usual sounds which accompany
various actions, such as completion of a user log on, and a beep when in
a terminal I hit the down arrow key but there are no more commands in
that direction to show.



beeps depend on pcspkr kernel module, and they are not related to sound
card.

I googled this card and found information which was for the most part

way over my head but did tell me that this card is an ISA card and needs
to be tweaked to work.  One of the web pages returned from the Google
search was part of the alsa howto:
http://www.alsa-project.org/alsa-doc/alsa-howto/x1298.htm.



ah...
I read from this page:
This module does not support auto probe (if ISA PnP is not used) thus all
ports must be specified!!!

Not 100% sure, but probably isa-pnp kernel module is needed for this card to
be properly configured.
grep isa-pnp /etc/modules

if #isa-pnp line appears I suggest you to uncomment it and reboot.

raffaele


Re: Sound on Linux?

2007-03-16 Thread Ken Heard

Raffaele Morelli wrote:


1. Try kill artsd deamon if running...
2. from a root shell /etc/alsa reload
2. lsmod | grep snd, so you are sure that snd modules are loaded
4. cat /dev/urandom > /dev/audio   do you hear something? (white noise)
5. if you got xine installed (dvd video player) try a DVD, if sound 
doesn't work properly DVD's audio track is "piped" to a wav file ( 
xine-out.wav or similar). A simple test but I think it's worth to try


Here is the return from lines 1, 1st 2 and 2nd 2 above:

LAP:~# artsd stop
Link points to "/tmp/ksocket-root"
can't create mcop directory
LAP:~# /etc/alsa reload
-su: /etc/alsa: is a directory
LAP:~# lsmod|grep snd
snd_opl3_synth 13924  0
snd_seq_instr   7392  1 snd_opl3_synth
snd_seq_midi_emul   5952  1 snd_opl3_synth
snd_ainstr_fm   2496  1 snd_opl3_synth
snd_opl3sa219148  0
snd_opl3_lib9920  2 snd_opl3_synth,snd_opl3sa2
snd_hwdep   8836  1 snd_opl3_lib
snd_cs4231_lib 23232  1 snd_opl3sa2
snd_pcm_oss38368  0
snd_mixer_oss  15200  1 snd_pcm_oss
snd_pcm68676  2 snd_cs4231_lib,snd_pcm_oss
snd_page_alloc  9640  2 snd_cs4231_lib,snd_pcm
snd_mpu401_uart 8064  1 snd_opl3sa2
snd_seq_dummy   3844  0
snd_seq_oss28768  0
snd_seq_midi8192  0
snd_seq_midi_event  7008  2 snd_seq_oss,snd_seq_midi
snd_seq45680  9 
snd_opl3_synth,snd_seq_instr,snd_seq_midi_emul,snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event

snd_timer  20996  4 snd_opl3_lib,snd_cs4231_lib,snd_pcm,snd_seq
snd_rawmidi22560  2 snd_mpu401_uart,snd_seq_midi
snd_seq_device  7820  7 
snd_opl3_synth,snd_opl3_lib,snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq,snd_rawmidi
snd47012  14 
snd_opl3_synth,snd_opl3sa2,snd_opl3_lib,snd_hwdep,snd_cs4231_lib,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_mpu401_uart,snd_seq_oss,snd_seq,snd_timer,snd_rawmidi,snd_seq_device

soundcore   9248  1 snd


No. 4: "LAP:~# cat /dev/urandom > /dev/audio" definitely gave me white 
noise.


As for no. 5, I *think* what I have in the laptop is a CD-ROM drive 
only.  Regardless, I would not know how to differentiate a CD-ROM drive 
from a DVD-ROM drive.  The only external marking on the drive is the 
word "disc" in large tip, with the word "compact" in small type over the 
"isc" of the word "disc".



I find that strange, as the the CDROM drive was empty, nor could I see
any application open, except icedove and a terminal emulator.


Maybe audio device it's busy 'cause artsd it's locking it

raffaele

ps: did you googled around for your 'sound card + kernel support'


Alsamixer identified the integrated sound card and chip as a Yamaha 
OPL3-SA23.  Earlier, when I ran alsaconf, first all the snd modules were 
removed.  Second, alsaconf found a card labeled "oplsa2 snd-oplsa2", 
followed by "legacy  Probe legacy ISA (non PnP) chips".


After selecting "OK" I was next presented with the following:

Configuring snd-opl3sa2
Do you want to modify /etc/modprobe.d/sound 
(and /etc/modprobe.conf if present)?


I answered "Yes".

Next it said:

OK, sound driver is configured. 



ALSA  CONFIGURATOR will prepare the card for playing now.

Now I will load the ALSA sound driver and use amixer to raise the 
default volumes.


You can change the volume later via a mixer.

After clicking "OK" once again, alsa told me the following:

Running update-modules...

Loading driver...
Setting default volumes...


===

 Now ALSA is ready to use.
 For adjustment of volumes, use your favorite mixer.

 Have a lot of fun!

As the return from "lsmod|grep snd" above seems to indicate, alsaconf 
was as good as its word, having apparently installing all sorts of 
modules unique to this card.


I did get the white noise as described above, and I do get through the 
attached speakers some at least of the usual sounds which accompany 
various actions, such as completion of a user log on, and a beep when in 
a terminal I hit the down arrow key but there are no more commands in 
that direction to show.


I googled this card and found information which was for the most part 
way over my head but did tell me that this card is an ISA card and needs 
to be tweaked to work.  One of the web pages returned from the Google 
search was part of the alsa howto: 
http://www.alsa-project.org/alsa-doc/alsa-howto/x1298.htm.


It nevertheless appears to me that alsaconf did all the tweaking 
necessary, as I have got some sound, but cannot play audio CDs or get 
newscasts.


Another factor may or may not be relevant.  Two days ago I compiled from 
source and installed dosemu-1.3.4.  The installation was successful in 
that it is allowing me to use my beloved dos based applications. 
However, the last message returned by ./configure was a warning that SDL 
version 1.2.0 was not fou

Re: Sound on Linux?

2007-03-16 Thread Raffaele Morelli

2007/3/16, Ken Heard <[EMAIL PROTECTED]>:


I assume that in alsamixer, at the bottom of each slide there should a
"00" indication, not "MM", to indicate "open".  The "master" and "PCM"
(What is PCM?) were "00" and full on, but not the others.  For good
measure I changed them all to "00" and full on.  I still could not open
an audio CD or a newscast.

I then exited my user and entered it again.  As instructed I ran "aplay
/usr/share/sound/alsa/*.wav" which returned the following:

aplay: main:550: audio open error: Device or resource busy



1. Try kill artsd deamon if running...
2. from a root shell /etc/alsa reload
2. lsmod | grep snd, so you are sure that snd modules are loaded
4. cat /dev/urandom > /dev/audio   do you hear something? (white noise)
5. if you got xine installed (dvd video player) try a DVD, if sound doesn't
work properly DVD's audio track is "piped" to a wav file (xine-out.wav or
similar). A simple test but I think it's worth to try

I find that strange, as the the CDROM drive was empty, nor could I see

any application open, except icedove and a terminal emulator.



Maybe audio device it's busy 'cause artsd it's locking it

raffaele

ps: did you googled around for your 'sound card + kernel support'


Re: Sound on Linux?

2007-03-15 Thread Kent West
Ken Heard wrote:
> I then exited my user and entered it again.  As instructed I ran
> "aplay /usr/share/sound/alsa/*.wav" which returned the following:
>
> aplay: main:550: audio open error: Device or resource busy
If you did this from within X (or with X running), shut down X
completely and try again.

-- 
Kent



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



Re: Sound on Linux?

2007-03-15 Thread Ken Heard
I assume that in alsamixer, at the bottom of each slide there should a 
"00" indication, not "MM", to indicate "open".  The "master" and "PCM" 
(What is PCM?) were "00" and full on, but not the others.  For good 
measure I changed them all to "00" and full on.  I still could not open 
an audio CD or a newscast.


I then exited my user and entered it again.  As instructed I ran "aplay 
/usr/share/sound/alsa/*.wav" which returned the following:


aplay: main:550: audio open error: Device or resource busy

I find that strange, as the the CDROM drive was empty, nor could I see 
any application open, except icedove and a terminal emulator.


Regards,

Ken Heard


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




Re: Sound on Linux?

2007-03-15 Thread Andrew Sackville-West
On Fri, Mar 16, 2007 at 08:29:07AM +0700, Ken Heard wrote:
> Kevin Mark wrote:
> 
> >the alsa packages are needed.
> >IIRC alsa-base,alsa-tools,alsa-utils.
> >the run as root:
> >alsaconf
> >and it should do the rest.
> 
> I already had installed alsa-base and alsa-utils, but not alsa-tools; so
>  I installed alsa-tools and alsa-tool-gui; aptitude also installed one
> lib file.  I then ran as root alsaconf which did its thing, including
> detecting the builtin sound card, and told me to enjoy.

as mentioned elsewhere, double check alsamixer and make sure the
channels are not muted. of course, check the obvious -- speakers
turned up etc.
> 
> Unfortunately the results were the same as reported previously.  I tried
> to listen to an audio CD -- a commercial one, not a CD burned with MP3
> on it -- using in succession noatun, juk and kaffeine -- no response.
> 
> I checked to see whether the CD was mounted; it was.  Directory
> /media/hdc listed the tracks on the CD.

no need to mount the cd to play it. 

I suggest a couple things. 
1) send us the output of 

 lspci -vv | grep -A 10 Audio

and 

 lsmod | grep snd

2) try using a command line player on a wav file and see what
   happens. try this:

 aplay /usr/share/sounds/alsa/*.wav

this should play 9 files for different surround sound speakers, but
you should get something. if it works, then we can move on to the cd
and other issues. If it doesn't work, then send us the output. 

A




signature.asc
Description: Digital signature


Re: Sound on Linux?

2007-03-15 Thread H.S.

Ken Heard wrote:



I already had installed alsa-base and alsa-utils, but not alsa-tools; so
 I installed alsa-tools and alsa-tool-gui; aptitude also installed one
lib file.  I then ran as root alsaconf which did its thing, including
detecting the builtin sound card, and told me to enjoy.

Unfortunately the results were the same as reported previously.  I tried
to listen to an audio CD -- a commercial one, not a CD burned with MP3
on it -- using in succession noatun, juk and kaffeine -- no response.

I checked to see whether the CD was mounted; it was.  Directory
/media/hdc listed the tracks on the CD.

As for the newscast, the same result as before as well -- the KDE crash
handler.

The laptop, by the way, is a Toshiba Tecra 8000 with a P2 CPU.  When it
still had Windows 2000 on it I was able to do both -- listen to audio
CDs and watch and listen to downloaded newscasts.  So it would seem that
the problem(s) is(are) not hardware related.

Any further suggestions?


Not sure if you have check this before, but have you verified you have 
proper volume settings on all your audio channels? Run alsamixer in a 
terminal, you will get a text based graphic display of the levels. Make 
sure none of the outputs are zero or muted. Up/Down arrows change the 
levels, "M" mutes/unmutes, and Left/Right change the channel.


->HS


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




Re: Sound on Linux?

2007-03-15 Thread Ken Heard

Kevin Mark wrote:


the alsa packages are needed.
IIRC alsa-base,alsa-tools,alsa-utils.
the run as root:
alsaconf
and it should do the rest.


I already had installed alsa-base and alsa-utils, but not alsa-tools; so
 I installed alsa-tools and alsa-tool-gui; aptitude also installed one
lib file.  I then ran as root alsaconf which did its thing, including
detecting the builtin sound card, and told me to enjoy.

Unfortunately the results were the same as reported previously.  I tried
to listen to an audio CD -- a commercial one, not a CD burned with MP3
on it -- using in succession noatun, juk and kaffeine -- no response.

I checked to see whether the CD was mounted; it was.  Directory
/media/hdc listed the tracks on the CD.

As for the newscast, the same result as before as well -- the KDE crash
handler.

The laptop, by the way, is a Toshiba Tecra 8000 with a P2 CPU.  When it
still had Windows 2000 on it I was able to do both -- listen to audio
CDs and watch and listen to downloaded newscasts.  So it would seem that
the problem(s) is(are) not hardware related.

Any further suggestions?

Regards,

Ken Heard



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




Re: Sound on Linux?

2007-03-15 Thread Ken Heard

Johannes Wiedersich wrote:


you should also add the user to the group audio (and video ?).

as root:
# adduser your-user-name audio
# adduser your-user-name video


Both the users had already been added to those two groups, but not by me.

Regards,

Ken Heard


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




Re: Sound on Linux?

2007-03-15 Thread Celejar
On Thu, 15 Mar 2007 16:31:15 +0100
Johannes Wiedersich <[EMAIL PROTECTED]> wrote:

> Celejar wrote:
> > The default groups to which new users are added (when created with
> > 'adduser --add-extra-groups') is specified in '/etc/adduser.conf' by
> > the line beginning 'EXTRA_GROUPS'; the default does include 'audio'. On
> > my Sid system, the (non-root) user that I created during install
> > belongs to all those groups, but a user that I created subsequently
> > isn't, presumably because the installer used the '--add-extra-groups'
> > option and I didn't.
> 
> on sarge, however:
> $ grep EXTRA /etc/adduser.conf
> returns nothing;
> 
> on etch, however:
> #EXTRA_GROUPS="dialout cdrom floppy audio src video lp src users"
> # If ADD_EXTRA_GROUPS is set to something non-zero, the EXTRA_GROUPS
> #ADD_EXTRA_GROUPS=1
> #EXTRA_GROUPS="dialout cdrom floppy audio src video lp users"
> 
> ie. all commented out, ie. you have to modify adduser.conf

If adduser is called with the 'add_extra_groups' (I mistakenly used
hyphens in my original message) option, then the new user is added even
if 'ADD_EXTRA_GROUPS' is left at the default and 'adduser.conf' is not
modified.

Celejar


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



Re: Sound on Linux?

2007-03-15 Thread Celejar
On Thu, 15 Mar 2007 10:22:32 -0500
Kent West <[EMAIL PROTECTED]> wrote:

> Celejar wrote:
> > The default groups to which new users are added (when created with
> > 'adduser --add-extra-groups') is specified in '/etc/adduser.conf' by
> > the line beginning 'EXTRA_GROUPS' 
> >   
> 
> Cool! I didn't know that. Just learned something. Thanks!

To be perfectly honest, I didn't know it either. I just knew that my
main user was in a bunch of groups and then I saw that my second user
wasn't, so I checked the man page for 'adduser' and searched for
'groups' ...

Celejar


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



Re: Sound on Linux?

2007-03-15 Thread Johannes Wiedersich
Celejar wrote:
> The default groups to which new users are added (when created with
> 'adduser --add-extra-groups') is specified in '/etc/adduser.conf' by
> the line beginning 'EXTRA_GROUPS'; the default does include 'audio'. On
> my Sid system, the (non-root) user that I created during install
> belongs to all those groups, but a user that I created subsequently
> isn't, presumably because the installer used the '--add-extra-groups'
> option and I didn't.

on sarge, however:
$ grep EXTRA /etc/adduser.conf
returns nothing;

on etch, however:
#EXTRA_GROUPS="dialout cdrom floppy audio src video lp src users"
# If ADD_EXTRA_GROUPS is set to something non-zero, the EXTRA_GROUPS
#ADD_EXTRA_GROUPS=1
#EXTRA_GROUPS="dialout cdrom floppy audio src video lp users"

ie. all commented out, ie. you have to modify adduser.conf

Johannes



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



Re: Sound on Linux?

2007-03-15 Thread Kent West

Celejar wrote:

The default groups to which new users are added (when created with
'adduser --add-extra-groups') is specified in '/etc/adduser.conf' by
the line beginning 'EXTRA_GROUPS' 
  


Cool! I didn't know that. Just learned something. Thanks!

--
Kent West
http://kentwest.blogspot.com 


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




Re: Sound on Linux?

2007-03-15 Thread Celejar
On Thu, 15 Mar 2007 13:55:17 +0100
"Raffaele Morelli" <[EMAIL PROTECTED]> wrote:

> > you should also add the user to the group audio (and video ?).
> 
> 
> Yes, user must be in group 'audio' but I never did it manually...
> Are you sure about the need of manual adds?
> Or some post/pre installation scripts takes care about that?

The default groups to which new users are added (when created with
'adduser --add-extra-groups') is specified in '/etc/adduser.conf' by
the line beginning 'EXTRA_GROUPS'; the default does include 'audio'. On
my Sid system, the (non-root) user that I created during install
belongs to all those groups, but a user that I created subsequently
isn't, presumably because the installer used the '--add-extra-groups'
option and I didn't.

Celejar


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



Re: Sound on Linux?

2007-03-15 Thread Raffaele Morelli

you should also add the user to the group audio (and video ?).



Yes, user must be in group 'audio' but I never did it manually...
Are you sure about the need of manual adds?
Or some post/pre installation scripts takes care about that?

regards
raffaele


Re: Sound on Linux?

2007-03-15 Thread Johannes Wiedersich
Raffaele Morelli wrote:
> 2007/3/15, Ken Heard <[EMAIL PROTECTED]>:
> 
> You miss alsa* packages, they are the only thing you need.
> Just have a look to discover output to investigate if your laptop ships a
> somewhat "strange" soundcard model.

you should also add the user to the group audio (and video ?).

as root:
# adduser your-user-name audio
# adduser your-user-name video


HTH,
Johannes


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



Re: Sound on Linux?

2007-03-15 Thread Raffaele Morelli

2007/3/15, Ken Heard <[EMAIL PROTECTED]>:


I have always known that sound was available on Linux.  When I first
used Linux RH8 with KDE in a P4 box, I did not have sound on
installation in July 2003.  At the time it was all I could do to get
working what I really needed; sound was not a priority.  I did not
really miss it because I still had a laptop with Win98 which I could and
did use on the rare occasions when I would want sound.

Early in 2006 when Sarge was released I installed it with KDE on that P4
box, but sound was still not operational.  I still had that laptop to
use for those rare sound occasions.

In January 2007 I installed Etch with KDE on that laptop, but still have
no sound.  Now however I have no Win98 to fall back on.  As I will be
away from home for the entire month of March I would like sound but
still do not have it.

I have in the past three days tried to do two things which require
sound: play an audio CD and listen to a telecast.  It the former case I
tried to use KDE's noatun and in the latter Icedove with Kaffeine
installed.  In both cases, the only result I got when I hit the play or
start button was the KDE crash handler showing information I did not
understand.

Other than the foregoing I don't know what else to say.  I am truly in a
position where that is the best I can do to describe my results when I
try to use sound.  Put another way, I do not know what questions to ask.

The only thing I can think of is that I am missing one or more packages,
but which?  I do not even know what packages are necessary for sound.  I
would appreciate if one or more of the experts out there could give me
some clues as to what I should be looking for.



You miss alsa* packages, they are the only thing you need.
Just have a look to discover output to investigate if your laptop ships a
somewhat "strange" soundcard model.

For complex tasks you may want to install jack audio server too.

raffaele


Re: Sound on Linux?

2007-03-15 Thread Kevin Mark
On Thu, Mar 15, 2007 at 04:02:46PM +0700, Ken Heard wrote:
> I have always known that sound was available on Linux.  When I first 
> used Linux RH8 with KDE in a P4 box, I did not have sound on 
> installation in July 2003.  At the time it was all I could do to get 
> working what I really needed; sound was not a priority.  I did not 
> really miss it because I still had a laptop with Win98 which I could and 
> did use on the rare occasions when I would want sound.
> 
> Early in 2006 when Sarge was released I installed it with KDE on that P4 
> box, but sound was still not operational.  I still had that laptop to 
> use for those rare sound occasions.
> 
> In January 2007 I installed Etch with KDE on that laptop, but still have 
> no sound.  Now however I have no Win98 to fall back on.  As I will be 
> away from home for the entire month of March I would like sound but 
> still do not have it.
> 
> I have in the past three days tried to do two things which require 
> sound: play an audio CD and listen to a telecast.  It the former case I 
> tried to use KDE's noatun and in the latter Icedove with Kaffeine 
> installed.  In both cases, the only result I got when I hit the play or 
> start button was the KDE crash handler showing information I did not 
> understand.
> 
> Other than the foregoing I don't know what else to say.  I am truly in a 
> position where that is the best I can do to describe my results when I 
> try to use sound.  Put another way, I do not know what questions to ask.
> 
> The only thing I can think of is that I am missing one or more packages, 
> but which?  I do not even know what packages are necessary for sound.  I 
> would appreciate if one or more of the experts out there could give me 
> some clues as to what I should be looking for.
the alsa packages are needed.
IIRC alsa-base,alsa-tools,alsa-utils.
the run as root:
alsaconf
and it should do the rest.

-- 
|  .''`.  == Debian GNU/Linux == |   my web site:   |
| : :' :  The  Universal |mysite.verizon.net/kevin.mark/|
| `. `'  Operating System| go to counter.li.org and |
|   `-http://www.debian.org/ |be counted! #238656   |
|  my keyserver: subkeys.pgp.net | my NPO: cfsg.org |
|join the new debian-community.org to help Debian!  |


signature.asc
Description: Digital signature