Re: Need some sound advice - SB Live!

2002-04-02 Thread Rob Weir
On Fri, Mar 29, 2002 at 12:16:30PM -0700, Rick Macdonald wrote:
> Derek Williams said:
> >> ALSA is still officially beta, so the packages are still in a state of
> >> flux; it always seems at least a bit broken when I try them with my
> >> SBLive.
> >
> > I have gotten alsa working with my sblive... don't think I did anything
> > special. Running alsaconf always seemed to get it working properly. If
> > I remember anything special that I had to do to get it working I'll
> > post it
> 
> Do you know if alsa (or the kernel drivers) support MIDI on the SBLive?

I think ALSA does support SBLive MIDI, but I haven't tested it yet.
The last few 2.4.x kernels I've tried have had an experimental option
to enable emu10k1 (the SBLive chipset) MIDI, but it doesn't seem to
work for me (with Wine).

-rob

-- 
I did not vote for the Australian government.


pgpE7rmpTfjL3.pgp
Description: PGP signature


Re: Need some sound advice - SB Live!

2002-03-29 Thread Rick Macdonald
Derek Williams said:
>> ALSA is still officially beta, so the packages are still in a state of
>> flux; it always seems at least a bit broken when I try them with my
>> SBLive.
>
> I have gotten alsa working with my sblive... don't think I did anything
> special. Running alsaconf always seemed to get it working properly. If
> I remember anything special that I had to do to get it working I'll
> post it

Do you know if alsa (or the kernel drivers) support MIDI on the SBLive?

...RickM...



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



Re: Need some sound advice - SB Live!

2002-03-29 Thread Derek Williams
> ALSA is still officially beta, so the packages are still in a state of flux;
> it always seems at least a bit broken when I try them with my SBLive.

I have gotten alsa working with my sblive... don't think I did anything
special. Running alsaconf always seemed to get it working properly. If I
remember anything special that I had to do to get it working I'll post
it

-- 
Derek Williams
[EMAIL PROTECTED]
http://nebvin.dhs.org


signature.asc
Description: This is a digitally signed message part


Re: Need some sound advice - SB Live!

2002-03-29 Thread Rob Weir
Howdy,

On Wed, Mar 20, 2002 at 06:06:44PM +, Alan James wrote:
> On Wed, Mar 20, 2002 at 07:56:16AM -0800, Bill Moseley wrote:
> 
> > Oh, ok, so that's "soundcore".  But is that a problem -- will startup
> > scripts expect soundcore to be a module?
> 
> I dont think it'll be a problem. I have a module so i wouldnt really know
> though. I dont think I have any audio related startup scripts, just emu10k1
> and ac97_codec in /etc/modules

Next time, you might want to give modconf a try, it'll save you even having to
edit the file;)

> 
> > I got xmms to work, finally.  I had added moseley to the "audio" group, but
> > I didn't run "groups" to see that the system knew that fact!  After
> > rebooting this morning it started to work.  I'd like to know why rebooting
> > was needed.  I had done 
> > 
> ># adduser moseley audio
> 
> After adding yourself to a new group you need to log off and back on again so 
> that your session inherits the new group settings. If you didnt log off before
> you would have seen no change.

There was a program called (IIRC) newgrp mentioned in another thread a few
days ago that would have obviated the need to logout and in again.  It only
affects the current shell tho, so you'll probably have to logout/in anyway.

> 
> > 
> > Ok, so xmms runs but complains that libmikmod.so.2 is missing.  Need to
> > look into that.
> 
> Thats in the libmikmod2 package.
> 
> > It's using it's own OSS output driver it would seem.
> > 
> >/usr/lib/xmms/Output/libOSS.so
> > 
> > So, can someone explain if and why I might need something like OSS or ALSA
> > installed?
> 
> You have OSS, thats one style of kernel audo driver. ALSA is the other but
> you need to patch your kernel to get those drivers.
> 

ALSA is still officially beta, so the packages are still in a state of flux;
it always seems at least a bit broken when I try them with my SBLive.

-rob

-- 
I did not vote for the Australian government.


pgpiE9O5khCPI.pgp
Description: PGP signature


Re: Need some sound advice - SB Live!

2002-03-20 Thread Alan James
On Wed, Mar 20, 2002 at 07:56:16AM -0800, Bill Moseley wrote:

> Oh, ok, so that's "soundcore".  But is that a problem -- will startup
> scripts expect soundcore to be a module?

I dont think it'll be a problem. I have a module so i wouldnt really know
though. I dont think I have any audio related startup scripts, just emu10k1
and ac97_codec in /etc/modules

> I got xmms to work, finally.  I had added moseley to the "audio" group, but
> I didn't run "groups" to see that the system knew that fact!  After
> rebooting this morning it started to work.  I'd like to know why rebooting
> was needed.  I had done 
> 
># adduser moseley audio

After adding yourself to a new group you need to log off and back on again so 
that your session inherits the new group settings. If you didnt log off before
you would have seen no change.

> 
> Ok, so xmms runs but complains that libmikmod.so.2 is missing.  Need to
> look into that.

Thats in the libmikmod2 package.

> It's using it's own OSS output driver it would seem.
> 
>/usr/lib/xmms/Output/libOSS.so
> 
> So, can someone explain if and why I might need something like OSS or ALSA
> installed?

You have OSS, thats one style of kernel audo driver. ALSA is the other but
you need to patch your kernel to get those drivers.


> 1) Do I need ALSA?

No 

> 2) If so why?

Well ALSA is quite a bit fancier then OSS, there might be something you can do
withALSA drivers that you cant with OSS but until you find something like that
I wouldnt worry about it.

> 3) What do I need to get it working?

the kernel patch from http://www.alsa-project.org/
 
> Thanks very much to everyone that responded!

No probs. 



Re: Need some sound advice - SB Live!

2002-03-20 Thread Bill Moseley
At 11:04 AM 3/20/2002 +, Alan James wrote:
>On Tue, Mar 19, 2002 at 08:44:23PM -0800, Bill Moseley wrote:
>> 
>> I think I need soundcore, but I'm not clear what kernel config I should 
>> use to build it.  I'm not clear if I need ALSA or OSS in addition.
>>  
>>  fgrep SOUND /boot/config-2.4.17 | grep -v ^#
>> CONFIG_SOUND=y
>
>Thats why you dont have a soundcore module. You've built soundcore into the 
>kernel. If you changed that y to m you'd get the module version.

Oh, ok, so that's "soundcore".  But is that a problem -- will startup
scripts expect soundcore to be a module?

I got xmms to work, finally.  I had added moseley to the "audio" group, but
I didn't run "groups" to see that the system knew that fact!  After
rebooting this morning it started to work.  I'd like to know why rebooting
was needed.  I had done 

   # adduser moseley audio



Ok, so xmms runs but complains that libmikmod.so.2 is missing.  Need to
look into that.

It's using it's own OSS output driver it would seem.

   /usr/lib/xmms/Output/libOSS.so

So, can someone explain if and why I might need something like OSS or ALSA
installed?

I while back I did install alsa-base and alsa-utils, but trying to run
/etc/init.d/alsa start I get

bumby:~# /etc/init.d/alsa start
No ALSA driver installed
Starting ALSA sound driver (version none):modprobe: Can't locate module snd
 failed.

So parts are still missing.  

1) Do I need ALSA?
2) If so why?
3) What do I need to get it working?

Thanks very much to everyone that responded!



Bill Moseley
mailto:[EMAIL PROTECTED]



Re: Need some sound advice - SB Live!

2002-03-20 Thread Alan James
On Tue, Mar 19, 2002 at 08:44:23PM -0800, Bill Moseley wrote:
> 
> I think I need soundcore, but I'm not clear what kernel config I should 
> use to build it.  I'm not clear if I need ALSA or OSS in addition.
>  
>  fgrep SOUND /boot/config-2.4.17 | grep -v ^#
> CONFIG_SOUND=y

Thats why you dont have a soundcore module. You've built soundcore into the 
kernel. If you changed that y to m you'd get the module version.



Re: Need some sound advice - SB Live!

2002-03-20 Thread Sebastiaan
High,

ok, please wrap your lines at 72 chars.

On Tue, 19 Mar 2002, Bill Moseley wrote:

> Argh! - HOWTO overload.
>
> I've got a Sound Blaster Live Value.  I'm running Debian Testing.  I've
> build my own kernel 2.4.17 from kernel-source package.  I did build the
> emu10k1 module.  I ran modconf and selected emu10k1.  emu10k1 loads fine
> without errors.  I can cp some .wav files to /dev/audio and hear the
> sound.  Some .wav files sound ok, some others sound bad.
>
copy? Use cat for this stuff: cat bla.wav > /dev/dsp

> For what it's worth:
>
> # lsmod Module Size Used by Tainted: P emu10k1 51008 0 ac97_codec 9696 0
> [emu10k1] NVdriver 818912 14 (autoclean) 8139too 13152 1
>
> I'm a bit frustrated by the HOWTOs.  I've found many that show various
> steps (but not always the same steps), but none that really explain the
> reasons for all the steps -- so that means I don't really understand if
> a step applies to me.
>
> I've also seen HOWTOs that show a bunch of lines to add to modules.conf.
> Again, I'm not sure if that applies to me or not.
>
> I think I need soundcore, but I'm not clear what kernel config I should
> use to build it.  I'm not clear if I need ALSA or OSS in addition.
>
> I'm really the kind of person that likes to understand the reasons
> behind the configurations -- which is why I picked Debain.
>
> Anyone know of a good document that's up to date, and also explains the
> various components and how they fit together?  It would be a nice bonus
> if it helped me get my sound working, too. ;)  I would like to get sound
> working, but I'd like to come away learning something, too.
>
> Then, once I get hardware sound working, it would be very helpful to
> know what I need for a mixer and CD/MP3 player to make use of it, too.
>
> Oh, here's part of my kernel config
>
>  fgrep SOUND /boot/config-2.4.17 | grep -v ^#
> CONFIG_SOUND=y
> CONFIG_SOUND_EMU10K1=m
> CONFIG_SOUND_OSS=m
>
Hmm, you don't say what your problem is. I guess it is that you cannot
play sound as a user.

However, sound is heard when you cat something to /dev/dsp, so I guess the
hardware is working fine, but you will have to add yourself to the group
audio:
# ls -l /dev/dsp
crw-rw1 root audio 14,   3 Nov 22  2000 /dev/dsp
# adduser memyselfandI audio

and relogin. Check with 'groups' to see if you are actually added to the
group.

Now you can play anything you like:
bplay blabla.wav
mpg123 "Dropkick Murphys - The Spicy McHaggis Jig.mp3"
xmms(mp3 player like winamp)


Greetz,
Sebastiaan




Re: Need some sound advice - SB Live!

2002-03-20 Thread Rick Macdonald
On Tue, 19 Mar 2002, Bill Moseley wrote:

> Argh! - HOWTO overload.
>
> I've got a Sound Blaster Live Value.  I'm running Debian Testing.  I've
> build my own kernel 2.4.17 from kernel-source package.  I did build the
> emu10k1 module.  I ran modconf and selected emu10k1.  emu10k1 loads fine
> without errors.  I can cp some .wav files to /dev/audio and hear the
> sound.  Some .wav files sound ok, some others sound bad.

I and others have found that cat'ing to /dev/audio will sound bad but
playing the same file with one program or another (try xanim) will sound
good. IE, don't use writing directly to /dev as a test.

...RickM...



Need some sound advice - SB Live!

2002-03-19 Thread Bill Moseley
Argh! - HOWTO overload.

I've got a Sound Blaster Live Value.  I'm running Debian Testing.  I've build 
my own kernel 2.4.17 from kernel-source package.  I did build the emu10k1 
module.  I ran modconf and selected emu10k1.  emu10k1 loads fine without 
errors.  I can cp some .wav files to /dev/audio and hear the sound.  Some .wav 
files sound ok, some others sound bad.

For what it's worth:

# lsmod
Module  Size  Used byTainted: P  
emu10k151008   0 
ac97_codec  9696   0  [emu10k1]
NVdriver  818912  14  (autoclean)
8139too13152   1 

I'm a bit frustrated by the HOWTOs.  I've found many that show various steps 
(but not always the same steps), but none that really explain the reasons for 
all the steps -- so that means I don't really understand if a step applies to 
me.

I've also seen HOWTOs that show a bunch of lines to add to modules.conf.  
Again, I'm not sure if that applies to me or not.

I think I need soundcore, but I'm not clear what kernel config I should use to 
build it.  I'm not clear if I need ALSA or OSS in addition.

I'm really the kind of person that likes to understand the reasons behind the 
configurations -- which is why I picked Debain.

Anyone know of a good document that's up to date, and also explains the various 
components and how they fit together?  It would be a nice bonus if it helped me 
get my sound working, too. ;)  I would like to get sound working, but I'd like 
to come away learning something, too.

Then, once I get hardware sound working, it would be very helpful to know what 
I need for a mixer and CD/MP3 player to make use of it, too.

Oh, here's part of my kernel config
 
 fgrep SOUND /boot/config-2.4.17 | grep -v ^#
CONFIG_SOUND=y
CONFIG_SOUND_EMU10K1=m
CONFIG_SOUND_OSS=m

Thanks very much,