Re: Sound on sun4c

2002-07-03 Thread david howe
If it is any consolation peter, I have never been able to make audio
work with any of my sparc4's, 5's or even on this ultra 5 (which has
woody installed).

It seems like a complete mystery to me.

david

it is not like a huge priority but sometimes i might just like to hear a
mp3 as i try to do some real work.



On Wed, 2002-07-03 at 14:20, [EMAIL PROTECTED] wrote:
 Ben, Ian and others,
 
 At Wed, 12 Jun 2002 02:18:33 +1000 (EST) Ian commented,
 it ... just load the sparcaudio modules ...
 
 amd7930 and audio were loaded and madplay still failed.
 
 it Now ALSA would be interesting to get working on Sparc.
 
 Installed it with dselect and selected Dummy_soundcard 
 with alsaconf.  madplay still fails with this familiar message.
 
 output: ioctl(SNDCTL_DSP_SETFMT): Invalid argument
 
 The problem with alsa in Debian 2.2.19 appears to be 
 that the DSP is not supported properly.
 
 it audio isn't too important on the old Sparc's, so don't 
 hold your breath.
 
 Pity that the hardware is there but the software can 
 not operate it.
 
 At Sat, 8 Jun 2002 20:08:44 -0400 Ben remarked,
 bc My system works just fine with OSS applications 
 (granted it's an ultra, but still).
 
 The DSP chip in this Sparc is an AMD 79c30 whereas 
 the ultra has something else.  Also, you might be running
 an OS more recent than Debian 2.2.19 which is on 
 this machine. 
 
 If anyone has any further suggestions I'm still interested.
 
 Thanks,  Peter E.
 
 
 
 Peter Easthope
 http://carnot.pathology.ubc.ca/
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 



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



Re (2): Sound on sun4c

2002-07-03 Thread peter_easthope
David said,
d If it is any consolation peter, I have never been able to make audio
work with any of my sparc4's, 5's or even on this ultra 5 (which has
woody installed).

Thanks David.

d it is not like a huge priority but sometimes i might just like to hear a
mp3 as i try to do some real work.

Likewise here,  ... P.


Peter Easthope
http://carnot.pathology.ubc.ca/


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



Sound on sun4c

2002-07-02 Thread peter_easthope
Ben, Ian and others,

At Wed, 12 Jun 2002 02:18:33 +1000 (EST) Ian commented,
it ... just load the sparcaudio modules ...

amd7930 and audio were loaded and madplay still failed.

it Now ALSA would be interesting to get working on Sparc.

Installed it with dselect and selected Dummy_soundcard 
with alsaconf.  madplay still fails with this familiar message.

output: ioctl(SNDCTL_DSP_SETFMT): Invalid argument

The problem with alsa in Debian 2.2.19 appears to be 
that the DSP is not supported properly.

it audio isn't too important on the old Sparc's, so don't 
hold your breath.

Pity that the hardware is there but the software can 
not operate it.

At Sat, 8 Jun 2002 20:08:44 -0400 Ben remarked,
bc My system works just fine with OSS applications 
(granted it's an ultra, but still).

The DSP chip in this Sparc is an AMD 79c30 whereas 
the ultra has something else.  Also, you might be running
an OS more recent than Debian 2.2.19 which is on 
this machine. 

If anyone has any further suggestions I'm still interested.

Thanks,  Peter E.



Peter Easthope
http://carnot.pathology.ubc.ca/


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



Re (2): Sound on sun4c

2002-06-11 Thread peter_easthope
Ben, Ian  others,

I still do not understand how Ben got
the OSS API on his Sparc.

it /dev/sndstat has always been there in OSS/Free.

Is OSS/Free installed with Debian Sparc 
2.2.19 and just waiting to be configured?
If so, where do I begin.

The only sound API I see in the dselect
list is ALSA. If there is no API already 
in this system, ALSA would appear to be 
appropriate.

Thanks, Peter E.


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



Re: Re (2): Sound on sun4c

2002-06-11 Thread Ian Tester
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, 11 Jun 2002 [EMAIL PROTECTED] wrote:

 Ben, Ian  others,

 I still do not understand how Ben got
 the OSS API on his Sparc.

 it /dev/sndstat has always been there in OSS/Free.

 Is OSS/Free installed with Debian Sparc
 2.2.19 and just waiting to be configured?
 If so, where do I begin.

No, it would appear that OSS/Free (and most likely the commercial OSS too)
really only supports PC sound cards. For Sparc machines we have a
seperate SparcAudio subsystem, and it lives in drivers/sbus/audio/ in the kernel
source. It supports AMD-7930, CS-4231, and DBRI sound hardware, which seems
to cover most or all SparcStation boxes. Like I said in my other post,
SparcAudio does not cover the complete OSS interface. You don't get
/dev/sndstat, but /dev/dsp /dev/audio and /dev/mixer all work. So pretty much
any OSS-compatible software should work, baring perhaps endian issues.

I don't think /dev/sndstat was ever used by any program anyway. Shell
scripts, maybe. Basically it was just a simple mechanism for users to check
their sound driver setup. Since the sound hardware is built into SparcStations,
there's very little to screw up.

 The only sound API I see in the dselect
 list is ALSA. If there is no API already
 in this system, ALSA would appear to be
 appropriate.

No, just load the sparcaudio modules or compile a kernel with them. I've always
relied on my own compiled kernels so I don't really know what's included with
the supplied kernels and modules.

Now ALSA would be interesting to get working on Sparc. I gather that almost all
developement (apart from absolutely necessary maintainance work) on OSS/Free has
ceased; pretty much everyone's moved over to ALSA for quite a while. Especially
work on the newer whiz-bang PCI sound cards, which is the whole reason why ALSA
came about in the first place. ALSA recently went into Linus' 2.5 kernel I
believe.

The existing SparcAudio drivers don't appear to be that big and it might not
take too much work to port them over to the ALSA framework. But audio isn't too
important on the old Sparc's, so don't hold your breath. Sorry.

bye

- -- 
8888888
Ian Tester   *8)#  \7\LINUX: because geeks will find a way
[EMAIL PROTECTED]   \7\  http://www.zipworld.com.au/~imroy



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/

iD8DBQE9BiLgotavukHNBh4RAm6RAKCngnto9fNyQ+IMZtJfe5xeWdU96wCgvLVT
wbPTB3SldiPpZMlfFjKpMZ0=
=IyyI
-END PGP SIGNATURE-


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



Re (3): Sound on sun4c

2002-06-11 Thread peter_easthope
Ian  others,

it just load the sparcaudio modules 

audio and amd7930 are loaded.  There
is no module called sparcaudio with
kernel release 2.2.19.

it ... or compile a kernel with them.

OK.  That is no obstacle.  Yet Ben 
Collins did not mention compiling  
a kernel to get an OSS API.

Still seems I am missing something.

Regards,   Peter E.


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



Re: Sound on sun4c

2002-06-10 Thread Ian Tester
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sat, 8 Jun 2002, Ben Collins wrote:

 I've never heard of the sndstat device before.

You're kidding? /dev/sndstat has always been there in OSS/Free.

Here's the contents on my Athlon machine with ALSA/OSS emulation:

- 
Sound Driver:3.8.1a-980706 (ALSA v0.9.0beta12 emulation code)
Kernel: Linux saavik 2.4.19-pre7-int #5 Fri May 24 21:24:31 EST 2002 i686
Config options: 0

Installed drivers:
Type 10: ALSA emulation

Card config:
Sound Blaster Live! at 0xdc00, irq 10

Audio devices:
0: EMU10K1 (DUPLEX)

Synth devices: NOT ENABLED IN CONFIG

Midi devices:
0: EMU10K1 MPU-401 (UART)

Timers:
7: system timer

Mixers:
0: mixer00
- 

Nothing too exciting, it just lists the various services registered with the
sound system. It is useful to see what's going on though.

 My system works just fine with OSS applications (granted it's an ultra, but
 still).

SparcAudio is seperate to OSS/Free in the kernel and it only implements the bare
minimum OSS functionality on its own. So, /dev/{dsp,audio,audioctl,mixer} work,
but /dev/sndstat is left out.

bye

- -- 
8888888
Ian Tester   *8)#  \7\LINUX: because geeks will find a way
[EMAIL PROTECTED]   \7\  http://www.zipworld.com.au/~imroy


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/

iD8DBQE9BEjbotavukHNBh4RAgb+AJ9UGhXIO1Hvv4B2UQwRoJUivnnYXwCfeuoB
CHh9S7AejmLst9psKZg7TEI=
=o63M
-END PGP SIGNATURE-


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



Re: Sound on sun4c

2002-06-10 Thread Mute
 Ben Collins ([EMAIL PROTECTED]) BC wrote on Jun 9, 2002:

BC On Sun, Jun 09, 2002 at 12:24:11AM -0500, Mute wrote:
BC 
BC 
BC  this is like the 30th sound related email in the past week or 2.. someone
BC  should take the liberty to make a mini audio faq
BC
BC Does that mean you are volunteering?
BC

If / when I come across these problems... sure.

On a related note, to satisfy my own urges...

There isn't enough posted information on the net for people looking
into the issues w/ ip routing / tunneling. There's a little bit but its
all scattered with no real conclusion. If your someone that's already in
the know these problems have become trivial and commonly asked (re:
annoying). So hopefully, any newcommers finding this problem wont have to
ask about it umpteen times, waste time searching, or bother people on the
list(s).

http://linux.lithiumnode.com/tunnel/



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



Re: Sound on sun4c

2002-06-09 Thread Mute


this is like the 30th sound related email in the past week or 2.. someone
should take the liberty to make a mini audio faq

 Ben Collins ([EMAIL PROTECTED]) BC wrote on Jun 8, 2002:

BC On Sat, Jun 08, 2002 at 05:30:32PM -0700, [EMAIL PROTECTED] wrote:
BC  Debian users,
BC 
BC  Context: Sparc 2  4/75 (sun4c) running Debian 2.2.19
BC  with amd7938 and audio modules installed.
BC 
BC  cat sample.au  /dev/audio and
BC  cat sample.au  /dev/dsp produce sound.
BC 
BC  cat /dev/sndstat gives this.
BC 
BC  cat: /dev/sndstat: Device not configured
BC
BC I've never heard of the sndstat device before. My system works just fine
BC with OSS applications (granted it's an ultra, but still).
BC
BC --
BC Debian - http://www.debian.org/
BC Linux 1394 - http://linux1394.sourceforge.net/
BC Subversion - http://subversion.tigris.org/
BC Deqo   - http://www.deqo.com/
BC
BC
BC --
BC To UNSUBSCRIBE, email to [EMAIL PROTECTED]
BC with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
BC




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



Re: Sound on sun4c

2002-06-09 Thread Ben Collins
On Sun, Jun 09, 2002 at 12:24:11AM -0500, Mute wrote:
 
 
 this is like the 30th sound related email in the past week or 2.. someone
 should take the liberty to make a mini audio faq

Does that mean you are volunteering?

-- 
Debian - http://www.debian.org/
Linux 1394 - http://linux1394.sourceforge.net/
Subversion - http://subversion.tigris.org/
Deqo   - http://www.deqo.com/


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



Re (2): Sound on sun4c

2002-06-09 Thread peter_easthope
Ben Collins  others,

bc I've never heard of the sndstat device before. 

Robert Leslie, author of MAD, suggested 
I try it.  Also it is mentioned in this page.

http://www.tldp.org/HOWTO/Sound-HOWTO/x320.html

This is copied from the page.
Previous versions of this HOWTO suggested checking the 
output of /dev/sndstat. This is no longer supported in the 
2.4 and later kernels.

There is no mention of something better replacing it.

bc My system works just fine with OSS 
applications (granted it's an ultra, but still).

I've read that the OSS API is commercial
software.  Did you install it?

[EMAIL PROTECTED] commented,
m ... someone should take the liberty to make a mini audio faq

They exist, although none that I've seen
is comprehensive or current.  The software 
is evolving and good documentation is unlikely 
to appear until it stabilizes.

Regards Peter E.



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



Sound on sun4c

2002-06-08 Thread peter_easthope
Debian users,

Context: Sparc 2  4/75 (sun4c) running Debian 2.2.19
with amd7938 and audio modules installed.

cat sample.au  /dev/audio and 
cat sample.au  /dev/dsp produce sound.

cat /dev/sndstat gives this.

cat: /dev/sndstat: Device not configured


Does OSS work in Debian?

Can someone please tell me what to configure,
install or repair to get a sound API working.

Thanks, Peter E.


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



Re: Sound on sun4c

2002-06-08 Thread Ben Collins
On Sat, Jun 08, 2002 at 05:30:32PM -0700, [EMAIL PROTECTED] wrote:
 Debian users,
 
 Context: Sparc 2  4/75 (sun4c) running Debian 2.2.19
 with amd7938 and audio modules installed.
 
 cat sample.au  /dev/audio and 
 cat sample.au  /dev/dsp produce sound.
 
 cat /dev/sndstat gives this.
 
 cat: /dev/sndstat: Device not configured

I've never heard of the sndstat device before. My system works just fine
with OSS applications (granted it's an ultra, but still).

-- 
Debian - http://www.debian.org/
Linux 1394 - http://linux1394.sourceforge.net/
Subversion - http://subversion.tigris.org/
Deqo   - http://www.deqo.com/


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