Re: [Alsa-user] sndconfig

2003-11-26 Thread Frank Barknecht
Hallo Alberto,
Alberto Monteiro hat gesagt: // Alberto Monteiro wrote:

> Frank Barknecht wrote:
> >
> > Bad. I'm at loss now. Did you try some other files?
> >
> You mean, other wav files? Yes.
> 
> > Aplay shouldn't wait so long. Can you use alsamixer to unmute your
> > card?
> >
> Yes :-(

Well, I'm sorry to say but I've run out of ideas on what else to try.
Seems, I have found my master... ;(

ciao
-- 
 Frank Barknecht   _ __footils.org__


---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] sndconfig

2003-11-25 Thread Alberto Monteiro
Frank Barknecht wrote:
>
> Bad. I'm at loss now. Did you try some other files?
>
You mean, other wav files? Yes.

> Aplay shouldn't wait so long. Can you use alsamixer to unmute your
> card?
>
Yes :-(

Alberto Monteiro



---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] sndconfig

2003-11-25 Thread Frank Barknecht
Hallo,
Alberto Monteiro hat gesagt: // Alberto Monteiro wrote:

> But alsa, in its untils directory, has alsasound

That's the one.

> > Try restarting ALSA with that like "/etc/init.d/alsa restart"
> > or "/etc/init.d/alsa force-restart"
> >
> Ok:
> 
> me> kill 1378 # artsd
> me> cd something
> me> utils/alsasound restart
> computer> Shutting down sound driver: done
> computer> Starting sound driver: snd-via82xx done
> me> # switching to non-God user
> me> aplay something.wav
> computer> Playing WAVE 'sb/voxkit/mamae.wav' : Unsigned 8 bit, 
>   Rate 44100 Hz, Stereo
> me> C-z # after waiting an infinite time
> me> kill 1766 # aplay
> 
> It's still not working <:-(

Bad. I'm at loss now. Did you try some other files? 

Aplay shouldn't wait so long. Can you use alsamixer to unmute your
card? 

ciao
-- 
 Frank Barknecht   _ __footils.org__


---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] sndconfig

2003-11-25 Thread Alberto Monteiro
Frank Barknecht wrote:
>
>> No, nothing changed. It still runs for an infinite time, and then I
>> have to abort it with control-Z
>
> Actually this is suspending, not aborting. aplay continues to run,
> it's only sleeping after C-z.
>
Ok, I will try to use the correct terminology.

>> OTOH, after aborting, there's something in fuser /dev/snd/pcmC0D0p,
>> namely:
>>
>>   /dev/snd/pcmC0D0p:1696  1696m
>>
>> This 1696 is the aplay that I aborted but didn't kill.
>
> Yes, this is the suspended aplay. artsd is probably not using
> /dev/snd/pcmC0D0p but /dev/dsp0 directly. I don't know, if it would
> show up in the user list for pcmC0D0p then. You might check for users
> of /dev/dsp0 and /dev/dsp, too.
>
fuser /dev/dsp0 and fuser /dev/dsp don't show anything.

> You might also try to restart ALSA. If you have a full install, there
> should be an init-script somewhere under /etc/init.d named something
> with alsa (it's "/etc/init.d/alsa" on Debian, and
> "/etc/init.d/alsasound" on some other dists.)
>
No: ls /etc/init.d | grep alsa is empty

But alsa, in its untils directory, has alsasound

> Try restarting ALSA with that like "/etc/init.d/alsa restart"
> or "/etc/init.d/alsa force-restart"
>
Ok:

me> kill 1378 # artsd
me> cd something
me> utils/alsasound restart
computer> Shutting down sound driver: done
computer> Starting sound driver: snd-via82xx done
me> # switching to non-God user
me> aplay something.wav
computer> Playing WAVE 'sb/voxkit/mamae.wav' : Unsigned 8 bit, 
  Rate 44100 Hz, Stereo
me> C-z # after waiting an infinite time
me> kill 1766 # aplay

It's still not working <:-(

Alberto Monteiro



---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] sndconfig

2003-11-25 Thread Frank Barknecht
Hallo,
Alberto Monteiro hat gesagt: // Alberto Monteiro wrote:

> Ok, let me try aplay now that I killed artsd
> 
> No, nothing changed. It still runs for an infinite time, and then I
> have to abort it with control-Z

Actually this is suspending, not aborting. aplay continues to run,
it's only sleeping after C-z.

> OTOH, after aborting, there's something in fuser /dev/snd/pcmC0D0p,
> namely:
> 
>   /dev/snd/pcmC0D0p:1696  1696m
> 
> This 1696 is the aplay that I aborted but didn't kill.

Yes, this is the suspended aplay. artsd is probably not using 
/dev/snd/pcmC0D0p but /dev/dsp0 directly. I don't know, if it would
show up in the user list for pcmC0D0p then. You might check for users
of /dev/dsp0 and /dev/dsp, too.

Well, aplay not starting (which is what "running for an infinite time"
means) is typically a problem with an occupied sound device. I would
be a certain amount that there's still something under the hood. 

You might also try to restart ALSA. If you have a full install, there
should be an init-script somewhere under /etc/init.d named something
with alsa (it's "/etc/init.d/alsa" on Debian, and
"/etc/init.d/alsasound" on some other dists.)

Try restarting ALSA with that like "/etc/init.d/alsa restart"
or "/etc/init.d/alsa force-restart"

ciao
-- 
 Frank Barknecht   _ __footils.org__


---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] sndconfig

2003-11-24 Thread Alberto Monteiro
Frank Barknecht wrote:
> 
>> Now I have a new error: a 5-second wav file takes an infinite
>> time to aplay, with no sound output. I have to abort and kill it.
>
> It may not seem so, but this it's much better. My (string) guess is,
> that some other program is occupying the sound devices now. Do you run
> some sound daemon like Artsd under KDE or esound with Gnome? 
>
Yes, artsd is running. Let me kill it. It seems that there's nothing
else (ps aux | grep snd is empty)

> And you can find out if something and who is using
> your soundcard with fuser:
>
> $ fuser /dev/snd/pcmC0D0p
> /dev/snd/pcmC0D0p:   10084 10084m 10086 10086m 10087 10087m 10088 10088m
> 10090 10090m 10091 10091m 10095 10095m
>
Nope. fuser /dev/snd/pcmC0D0p returns an empty string.

> I'm not sure about this, can someone else confirm this? But anyway,
> you can at first try without that measure.
>
Too late: I have used the snddevices command.

>> Oops. lsmod | grep oss returns _no_ lines at all. What does it mean?
>
> This means, that none of ALSA's OSS modules is loaded and that xmms
> will probably not work yet. It might also be, that after you tried
> running xmms, the modules with get loaded afterwards. You should then
> see them.
>
Ok, let me try aplay now that I killed artsd

No, nothing changed. It still runs for an infinite time, and then I
have to abort it with control-Z

OTOH, after aborting, there's something in fuser /dev/snd/pcmC0D0p,
namely:

  /dev/snd/pcmC0D0p:1696  1696m

This 1696 is the aplay that I aborted but didn't kill.

Alberto Monteiro



---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] sndconfig

2003-11-24 Thread Frank Barknecht
Hallo,
Alberto Monteiro hat gesagt: // Alberto Monteiro wrote:

> Now I have a new error: a 5-second wav file takes an infinite
> time to aplay, with no sound output. I have to abort and kill it.

It may not seem so, but this it's much better. My (string) guess is,
that some other program is occupying the sound devices now. Do you run
some sound daemon like Artsd under KDE or esound with Gnome? If yes,
you should be able to deactivate them in the Control Center, or
whatever those modern Desktops use for that. 

You could also look in the output of "ps aux" for something like
"artsd" or "esd". And you can find out if something and who is using
your soundcard with fuser: 

$ fuser /dev/snd/pcmC0D0p
/dev/snd/pcmC0D0p:   10084 10084m 10086 10086m 10087 10087m 10088 10088m 10090 10090m 
10091 10091m 10095 10095m

$ ps 10086
  PID TTY  STAT   TIME COMMAND
10084 ?S  0:00 alsaplayer


> > This reeks of permission errors on the audio devices. Could you
> > recreate the devices with the snddevices script from the ALSA
> > distribution? 
> >
> Is that a good idea? The manual says that snddevices shouldn't
> be used after 0.9.something.

I'm not sure about this, can someone else confirm this? But anyway,
you can at first try without that measure.

> > Better have them owned by root.audio "chown
> > root.audio /dev/snd/*" and mode 660: "chmod 660 /dev/snd/* /dev/dsp*
> > ..." so that only members of group audio are allowed to use them.
> >
> Did that. Same error: aplay takes an infinite time to run, etc.

See above.

> Ok, I will recreate the snddevices and see what happens.
> 
> No. Same error: aplay takes an infinite time to run, etc.
> > (You probably don't have the same cards as I do)
> >
> Oops. lsmod | grep oss returns _no_ lines at all. What does it mean?

This means, that none of ALSA's OSS modules is loaded and that xmms
will probably not work yet. It might also be, that after you tried
running xmms, the modules with get loaded afterwards. You should then
see them.

ciao
-- 
 Frank Barknecht   _ __footils.org__


---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] sndconfig

2003-11-24 Thread Alberto Monteiro
Frank Barknecht wrote:
>
>> This is not my case. albmont is not in the audio group. Should this
>> be a problem?

[BTW: I fixed this, adding albmont to the audio group, and it still
doesn't work - but I see some progress: there's a different error
now]

> Many distributions allow only members of group audio access to the
> audio devices. But you could just make yourself a member with some of
> your distribtions management tools like "adduser" or "useradd" (or
> even just editing "/etc/group" by hand and adding your username
> manually, but better use your dist's tools)
>
I did it with linuxconf :-)

Now I have a new error: a 5-second wav file takes an infinite
time to aplay, with no sound output. I have to abort and kill it.

>> aplay doesn't work either. Usually it gives an error message,
>> like "aplay: main:503: audio open error: Permission denied"
>
> This reeks of permission errors on the audio devices. Could you
> recreate the devices with the snddevices script from the ALSA
> distribution? 
>
Is that a good idea? The manual says that snddevices shouldn't
be used after 0.9.something.

> You could also try a "chmod -v o+rw /dev/snd/*" to make
> them world  read- and writeable, which in general is not so
> recommended, though. 
>
I will save this hint for the next batch of trial-and-error attempts :-/

> Better have them owned by root.audio "chown
> root.audio /dev/snd/*" and mode 660: "chmod 660 /dev/snd/* /dev/dsp*
> ..." so that only members of group audio are allowed to use them.
>
Did that. Same error: aplay takes an infinite time to run, etc.

Ok, I will recreate the snddevices and see what happens.

No. Same error: aplay takes an infinite time to run, etc.

> If aplay doesn'T work also, it's not an error with OSS-emulation, but
> "lsmod | grep oss" should show them like:
>
> $ /sbin/lsmod | grep oss
> snd-seq-oss29600   0 (unused)
> snd-pcm-oss38436   0
> snd-mixer-oss  13304   0 [snd-pcm-oss]
> snd-seq-midi-event  3552   0 [snd-seq-midi snd-seq-oss snd-seq-virmidi]
> snd-seq38352   2 [snd-emux-synth snd-seq-midi-emul
> snd-seq-midi snd-seq-oss snd-seq-virmidi snd-seq-midi-event] snd-pcm   
> 61156   0 [snd-pcm-oss snd-emu10k1 snd-ice1712] snd-seq-device 
> 4208   0 [snd-emu10k1-synth snd-emux-synth snd-seq-midi snd-seq-oss
> snd-seq snd-emu10k1 snd-rawmidi] snd31012   0
> [snd-emux-synth snd-seq-midi snd-seq-oss snd-pcm-oss snd-mixer-oss
> snd-virmidi snd-seq-virmidi snd-seq-midi-event snd-seq snd-emu10k1
> snd-hwdep snd-util-mem snd-ice1712 snd-pcm snd-timer snd-ac97-codec
> snd-cs8427 snd-i2c snd-mpu401-uart snd-rawmidi snd-seq-device
> snd-ak4xxx-adda]
>
> (You probably don't have the same cards as I do)
>
Oops. lsmod | grep oss returns _no_ lines at all. What does it mean?

Alberto Monteiro



---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] sndconfig

2003-11-24 Thread Frank Barknecht
Hallo,
Alberto Monteiro hat gesagt: // Alberto Monteiro wrote:

> Frank Barknecht wrote:
> >
> >>> Also make sure your user account is member of the group "audio" (check
> >>> with "groups").
> >>
> >> Uh?
> >
> > "groups" is a command you can use in a terminal to check which groups
> > you belong to. There are some more funny commands in Linux, like "id"
> > or "whoami" ("Who am I"), which are invaluable tools if you're logged
> > in to many machines all over the net at the same time like I often am. ;)
> >
> This is not my case. albmont is not in the audio group. Should this
> be a problem?

Many distributions allow only members of group audio access to the
audio devices. But you could just make yourself a member with some of
your distribtions management tools like "adduser" or "useradd" (or
even just editing "/etc/group" by hand and adding your username
manually, but better use your dist's tools)

> >
> > Could you also try to play something with "aplay" or any other native
> > ALSA software? 
> >
> aplay doesn't work either. Usually it gives an error message,
> like "aplay: main:503: audio open error: Permission denied"

This reeks of permission errors on the audio devices. Could you
recreate the devices with the snddevices script from the ALSA
distribution? You could also try a "chmod -v o+rw /dev/snd/*" to make
them world  read- and writeable, which in general is not so
recommended, though. Better have them owned by root.audio "chown
root.audio /dev/snd/*" and mode 660: "chmod 660 /dev/snd/* /dev/dsp*
..." so that only members of group audio are allowed to use them.

> > It might be, that only OSS programs fail. The ALSA-OSS
> > modules are loaded, right? 
> >
> I think they are. How can I check?

If aplay doesn'T work also, it's not an error with OSS-emulation, but
"lsmod | grep oss" should show them like: 

$ /sbin/lsmod | grep oss
snd-seq-oss29600   0 (unused)
snd-pcm-oss38436   0
snd-mixer-oss  13304   0 [snd-pcm-oss]
snd-seq-midi-event  3552   0 [snd-seq-midi snd-seq-oss snd-seq-virmidi]
snd-seq38352   2 [snd-emux-synth snd-seq-midi-emul snd-seq-midi 
snd-seq-oss snd-seq-virmidi snd-seq-midi-event]
snd-pcm61156   0 [snd-pcm-oss snd-emu10k1 snd-ice1712]
snd-seq-device  4208   0 [snd-emu10k1-synth snd-emux-synth snd-seq-midi 
snd-seq-oss snd-seq snd-emu10k1 snd-rawmidi]
snd31012   0 [snd-emux-synth snd-seq-midi snd-seq-oss snd-pcm-oss 
snd-mixer-oss snd-virmidi snd-seq-virmidi snd-seq-midi-event snd-seq snd-emu10k1 
snd-hwdep snd-util-mem snd-ice1712 snd-pcm snd-timer snd-ac97-codec snd-cs8427 snd-i2c 
snd-mpu401-uart snd-rawmidi snd-seq-device snd-ak4xxx-adda]

(You probably don't have the same cards as I do)

ciao
-- 
 Frank Barknecht   _ __footils.org__


---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] sndconfig

2003-11-23 Thread Alberto Monteiro
Frank Barknecht wrote:
>
>>> Also make sure your user account is member of the group "audio" (check
>>> with "groups").
>>
>> Uh?
>
> "groups" is a command you can use in a terminal to check which groups
> you belong to. There are some more funny commands in Linux, like "id"
> or "whoami" ("Who am I"), which are invaluable tools if you're logged
> in to many machines all over the net at the same time like I often am. ;)
>
This is not my case. albmont is not in the audio group. Should this
be a problem?

>
> Could you also try to play something with "aplay" or any other native
> ALSA software? 
>
aplay doesn't work either. Usually it gives an error message,
like "aplay: main:503: audio open error: Permission denied"

> It might be, that only OSS programs fail. The ALSA-OSS
> modules are loaded, right? 
>
I think they are. How can I check?

Alberto Monteiro



---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] sndconfig

2003-11-22 Thread Frank Barknecht
Hallo,
Alberto Monteiro hat gesagt: // Alberto Monteiro wrote:

> Frank Barknecht wrote:
> >> BTW, the permissions for /usr/dsp are:
> >>
> >> crw-rw-rw-1 albmont  audio 14,   3 Nov  7 03:05 /dev/dsp
> >
> > /dev/dsp and all other sound devices in /dev/snd/ should not belong to
> > a user but belong to root. So it should look somthing like this:
> >
> > ...
> > crw-rw1 root audio116,  56 Jul 30 23:47 /dev/snd/pcmC1D0c
> > crw-rw1 root audio116,  48 Jul 30 23:47 /dev/snd/pcmC1D0p
> > ...
> >
> > "crw-rw-rw-1 root audio ..." also is okay.
> >
> Ok, I chowned it to root:audio
> 
> > Also make sure your user account is member of the group "audio" (check
> > with "groups").
> >
> Uh?

"groups" is a command you can use in a terminal to check which groups
you belong to. There are some more funny commands in Linux, like "id"
or "whoami" ("Who am I"), which are invaluable tools if you're logged
in to many machines all over the net at the same time like I often am. ;)

> > > Now you can see that I have a _big_ problem :-)
> >
> > This might just be a permission problem.
> >
> When I run xmms, I get a pop-up window with an error message
> like [it's in Portuguese, I am trying to translate it]:
> 
>   Error opening audio
> 
>   Please verify if:
> 
>   1. You have the correct output plugin
>   2. No other program is blocking the sound card
>   3. Your sound card is correctly configured
> 
> Also, there's a text error message in the terminal, saying
> 
>   ** WARNING **: oss_open(): Failed to open audio device (/dev/dsp): 
>   Permissão negada
> 
> [Permissão negada == Permission denied]

Could you also try to play something with "aplay" or any other native
ALSA software? It might be, that only OSS programs fail. The ALSA-OSS
modules are loaded, right? If yes, then I'm beginning to meet my
Waterloo...

> >> Also, when trying to install ALSA, I did something that
> >> crashed the gcc compilation: now it's including wrong files :-(
> >
> > This shouldn't be possible to happen. 
> >
> It didn't happen - it was just my paranoia :-)

That's what "they" have told me, too. ;-)

ciao
-- 
 Frank Barknecht   _ __footils.org__


---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] sndconfig

2003-11-17 Thread Alberto Monteiro
Frank Barknecht wrote:

>
>> BTW, the permissions for /usr/dsp are:
>>
>> crw-rw-rw-1 albmont  audio 14,   3 Nov  7 03:05 /dev/dsp
>
> /dev/dsp and all other sound devices in /dev/snd/ should not belong to
> a user but belong to root. So it should look somthing like this:
>
> ...
> crw-rw1 root audio116,  56 Jul 30 23:47 /dev/snd/pcmC1D0c
> crw-rw1 root audio116,  48 Jul 30 23:47 /dev/snd/pcmC1D0p
> ...
>
> "crw-rw-rw-1 root audio ..." also is okay.
>
Ok, I chowned it to root:audio

> Also make sure your user account is member of the group "audio" (check
> with "groups").
>
Uh?

> > Now you can see that I have a _big_ problem :-)
>
> This might just be a permission problem.
>
When I run xmms, I get a pop-up window with an error message
like [it's in Portuguese, I am trying to translate it]:

  Error opening audio

  Please verify if:

  1. You have the correct output plugin
  2. No other program is blocking the sound card
  3. Your sound card is correctly configured

Also, there's a text error message in the terminal, saying

  ** WARNING **: oss_open(): Failed to open audio device (/dev/dsp): 
  Permissão negada

[Permissão negada == Permission denied]

and then I have to kill -9 xmms

>> Also, when trying to install ALSA, I did something that
>> crashed the gcc compilation: now it's including wrong files :-(
>
> This shouldn't be possible to happen. 
>
It didn't happen - it was just my paranoia :-)

Alberto Monteiro



---
This SF. Net email is sponsored by: GoToMyPC
GoToMyPC is the fast, easy and secure way to access your computer from
any Web browser or wireless device. Click here to Try it Free!
https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] sndconfig

2003-11-17 Thread Frank Barknecht
Hallo,
Alberto Monteiro hat gesagt: // Alberto Monteiro wrote:

> Frank Barknecht wrote:
> >
> >>> What errors do you get?
> >>
> >> No errors
> >>
> > I meant those "crazy error messages" from above. How are you
> > trying to play something? 
> >
> play, aplay, xmms - nothing works.
> 
> > You should at first try it with "aplay".
> >
> aplay: main:503: audio open error: Permission denied
> 
> BTW, the permissions for /usr/dsp are:
> 
> crw-rw-rw-1 albmont  audio 14,   3 Nov  7 03:05 /dev/dsp

/dev/dsp and all other sound devices in /dev/snd/ should not belong to
a user but belong to root. So it should look somthing like this: 

...
crw-rw1 root audio116,  56 Jul 30 23:47 /dev/snd/pcmC1D0c
crw-rw1 root audio116,  48 Jul 30 23:47 /dev/snd/pcmC1D0p
...

"crw-rw-rw-1 root audio ..." also is okay.

Also make sure your user account is member of the group "audio" (check
with "groups").

> 0 [V8235  ]: VIA8233 - VIA 8235
>  VIA 8235 at 0xe800, irq 22
> 
> [whatever that means :-)]

This means that it works. It just somehow does not :(
 
> Now you can see that I have a _big_ problem :-)

This might just be a permission problem.

> Also, when trying to install ALSA, I did something that
> crashed the gcc compilation: now it's including wrong files :-(

This shouldn't be possible to happen. Maybe this can be fixed by
reinstalling your distribution's gcc- and libc-packages?

ciao
-- 
 Frank Barknecht   _ __footils.org__


---
This SF. Net email is sponsored by: GoToMyPC
GoToMyPC is the fast, easy and secure way to access your computer from
any Web browser or wireless device. Click here to Try it Free!
https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] sndconfig

2003-11-15 Thread Alberto Monteiro
Frank Barknecht wrote:
>
>>> What errors do you get?
>>
>> No errors
>>
> I meant those "crazy error messages" from above. How are you
> trying to play something? 
>
play, aplay, xmms - nothing works.

> You should at first try it with "aplay".
>
aplay: main:503: audio open error: Permission denied

BTW, the permissions for /usr/dsp are:

crw-rw-rw-1 albmont  audio 14,   3 Nov  7 03:05 /dev/dsp

>>
>> No, all modules are loaded, without error
>
> This is good. So at least it "looks" as if that part is fine. You can
> also check if your card is recognized by "cat /proc/asound/cards".
>
0 [V8235  ]: VIA8233 - VIA 8235
 VIA 8235 at 0xe800, irq 22

[whatever that means :-)]


>> > Could you post the relevant part of your module
>> > configuration?
>>
>> Ok:
>>
>> # --- BEGIN: Generated by ALSACONF, do not edit. ---
>> # --- ALSACONF verion 0.9.0 ---
>> alias char-major-116 snd
>> alias snd-card-0 snd-via82xx
>> alias char-major-14 soundcore
>> alias sound-slot-0 snd-card-0
>> alias sound-service-0-0 snd-mixer-oss
>> alias sound-service-0-1 snd-seq-oss
>> alias sound-service-0-3 snd-pcm-oss
>> alias sound-service-0-8 snd-seq-oss
>> alias sound-service-0-12 snd-pcm-oss
>> options snd major=116 cards_limit=1
>> options snd-via82xx index=0 dxs_support=1
>> # --- END: Generated by ALSACONF, do not edit. ---
>>
>> [BTW, the second-to-last line, options snd-via82xx, was
>> tested without dxs_support, and with dxs_support set to
>> other numbers - all without success]
>
> Looks fine to my eyes. Hmmm...
>
Now you can see that I have a _big_ problem :-)

Also, when trying to install ALSA, I did something that
crashed the gcc compilation: now it's including wrong files :-(

Alberto Monteiro



---
This SF. Net email is sponsored by: GoToMyPC
GoToMyPC is the fast, easy and secure way to access your computer from
any Web browser or wireless device. Click here to Try it Free!
https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] sndconfig

2003-11-15 Thread Frank Barknecht
Hallo,
Alberto Monteiro hat gesagt: // Alberto Monteiro wrote:

> Frank Barknecht wrote:
> > 
> >> Everything seems fine during the ./configure, make, make install,
> >> and alsaconf phases, but then when I want to play something,
> >> either nothing happens, or I get back some crazy error messages.
> >
> > Well, but this isn't fixed by using sndconfig instead. Some common
> > possible causes: Did you turn up the mixer settings with alsamixer?
> >
> Yes
> 
> > What errors do you get? 
> >
> No errors

I meant those "crazy error messages" from above. How are you trying to
play something? You should at first try it with "aplay". 

> > Are the alsa-modules loaded and the OSS
> > modules not loaded? 
> >
> No, all modules are loaded, without error

This is good. So at least it "looks" as if that part is fine. You can
also check if your card is recognized by "cat /proc/asound/cards".

> > Could you post the relevant part of your module
> > configuration? 
> >
> Ok:
> 
> # --- BEGIN: Generated by ALSACONF, do not edit. ---
> # --- ALSACONF verion 0.9.0 ---
> alias char-major-116 snd
> alias snd-card-0 snd-via82xx
> alias char-major-14 soundcore
> alias sound-slot-0 snd-card-0
> alias sound-service-0-0 snd-mixer-oss
> alias sound-service-0-1 snd-seq-oss
> alias sound-service-0-3 snd-pcm-oss
> alias sound-service-0-8 snd-seq-oss
> alias sound-service-0-12 snd-pcm-oss
> options snd major=116 cards_limit=1
> options snd-via82xx index=0 dxs_support=1
> # --- END: Generated by ALSACONF, do not edit. ---
> 
> [BTW, the second-to-last line, options snd-via82xx, was
> tested without dxs_support, and with dxs_support set to
> other numbers - all without success]

Looks fine to my eyes. Hmmm...

ciao
-- 
 Frank Barknecht   _ __footils.org__


---
This SF. Net email is sponsored by: GoToMyPC
GoToMyPC is the fast, easy and secure way to access your computer from
any Web browser or wireless device. Click here to Try it Free!
https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] sndconfig

2003-11-15 Thread Alberto Monteiro
Frank Barknecht wrote:
> 
>> Everything seems fine during the ./configure, make, make install,
>> and alsaconf phases, but then when I want to play something,
>> either nothing happens, or I get back some crazy error messages.
>
> Well, but this isn't fixed by using sndconfig instead. Some common
> possible causes: Did you turn up the mixer settings with alsamixer?
>
Yes

> What errors do you get? 
>
No errors

> Are the alsa-modules loaded and the OSS
> modules not loaded? 
>
No, all modules are loaded, without error

> Could you post the relevant part of your module
> configuration? 
>
Ok:

# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF verion 0.9.0 ---
alias char-major-116 snd
alias snd-card-0 snd-via82xx
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
options snd major=116 cards_limit=1
options snd-via82xx index=0 dxs_support=1
# --- END: Generated by ALSACONF, do not edit. ---

[BTW, the second-to-last line, options snd-via82xx, was
tested without dxs_support, and with dxs_support set to
other numbers - all without success]

Alberto Monteiro



---
This SF. Net email is sponsored by: GoToMyPC
GoToMyPC is the fast, easy and secure way to access your computer from
any Web browser or wireless device. Click here to Try it Free!
https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] sndconfig

2003-11-15 Thread Frank Barknecht
Hallo,
Alberto Monteiro hat gesagt: // Alberto Monteiro wrote:

> Frank Barknecht wrote:
> >
> >> sndconfig returns some stupid error related to via82cxxx_audio -
> >> this is not a module from alsa, or is it?
> >
> > No, it's not. As far as I know sndconfig only configures OSS modules.
> > Use alsaconf for ALSA.
> >
> But alsaconf is not configuring ALSA after I install ALSA. I have
> no idea why. I have no idea how I can see what's going on.
> 
> Everything seems fine during the ./configure, make, make install,
> and alsaconf phases, but then when I want to play something,
> either nothing happens, or I get back some crazy error messages.

Well, but this isn't fixed by using sndconfig instead. Some common
possible causes: Did you turn up the mixer settings with alsamixer?
What errors do you get? Are the alsa-modules loaded and the OSS
modules not loaded? Could you post the relevant part of your module
configuration? You can get it with: grep 'snd\|sound' /etc/modules.conf

ciao
-- 
 Frank Barknecht   _ __footils.org__


---
This SF. Net email is sponsored by: GoToMyPC
GoToMyPC is the fast, easy and secure way to access your computer from
any Web browser or wireless device. Click here to Try it Free!
https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] sndconfig

2003-11-14 Thread Alberto Monteiro
Frank Barknecht wrote:
>
>> sndconfig returns some stupid error related to via82cxxx_audio -
>> this is not a module from alsa, or is it?
>
> No, it's not. As far as I know sndconfig only configures OSS modules.
> Use alsaconf for ALSA.
>
But alsaconf is not configuring ALSA after I install ALSA. I have
no idea why. I have no idea how I can see what's going on.

Everything seems fine during the ./configure, make, make install,
and alsaconf phases, but then when I want to play something,
either nothing happens, or I get back some crazy error messages.

Alberto Monteiro



---
This SF. Net email is sponsored by: GoToMyPC
GoToMyPC is the fast, easy and secure way to access your computer from
any Web browser or wireless device. Click here to Try it Free!
https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] sndconfig

2003-11-14 Thread Frank Barknecht
Hallo,
Alberto Monteiro hat gesagt: // Alberto Monteiro wrote:

> Does sndconfig crash something when it's used with alsa?
> 
> sndconfig returns some stupid error related to via82cxxx_audio -
> this is not a module from alsa, or is it?

No, it's not. As far as I know sndconfig only configures OSS modules.
Use alsaconf for ALSA.

ciao
-- 
 Frank Barknecht   _ __footils.org__


---
This SF. Net email is sponsored by: GoToMyPC
GoToMyPC is the fast, easy and secure way to access your computer from
any Web browser or wireless device. Click here to Try it Free!
https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] sndconfig

2003-11-14 Thread Alberto Monteiro
Does sndconfig crash something when it's used with alsa?

sndconfig returns some stupid error related to via82cxxx_audio -
this is not a module from alsa, or is it?

Alberto Monteiro



---
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user