RE: Sound server issue

2004-05-06 Thread David Wassman
Thanks again and for all the help. I will mess around with it. I am sure
I can figure it out now that I no where to look. I appreciate all the
help/


David Wassman
Halcyon DIR Dive Systems
Director of Technical Services and Quality Control
Office: 1-800-425-2966 ext 315
Fax: 386-454-0815
Email: [EMAIL PROTECTED]




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Christian
Hiris
Sent: Thursday, May 06, 2004 6:41 AM
To: David Wassman
Cc: [EMAIL PROTECTED]
Subject: Re: Sound server issue

On Wednesday 05 May 2004 18:06, David Wassman wrote:
> I finally got it working using the manual settings in the LINT file.
My
> last question is how to configure the secondary DMA channel. The man
> pages for sbc:
>
>   The value of flags specifies the secondary DMA channel.  If the
> secondary DMA channel is C, set the flags to (C | 0x10). For a sound
> card without the secondary DMA channel, the flags should be set to
> zero.
>
> This is the sbc0 I am using
>
>   device sbc0 at isa? port 0x220 irq 5 drq 1 flags 0x15
>
> I know the settings for the card (they are set in the BIOS). It has a
8
> bit channel at DMA 1 and a 16-bit at DMA 5. Am I right in guessing
that
> [drq 1] is the DMA designation? And then how do you get the second DMA
> channel active?

man device.hints explains that drq is the DMA channel number. You enable
the 
secondary DMA channel 5 by passing "flags 0x15" to the sound driver.
If i read the ess.c source correctly, for pcm-playback, the secondary
DMA 
channel only will be used in duplex mode. The interesting point is that 
duplex mode is disabled by default in the ess driver. The author of the 
program writes: /* audio2 never generates irqs and sounds very noisy */ 

> I think I only have 8-bit sound as wav files are 
> sounding pretty crappy. Am I right in thinking that the man page
should
> read like this:

Did you try to overide the default sound device in your apps to
/dev/dspW0.0 
or /dev/dspW0.1? man pcm describes how to play around with the DMA 
bufferspace size.
Details of the ESS1869 are available in the chipset specs:
http://www.diamondsystems.com/files/binaries/ES1869techmanual.pdf

>   If the secondary DMA channel is C (where C is the number of the
> DMA channel) then set the flags to (C | 0x10)

Yes, the bitwise or ensures that bit 4 in flags is set.

> Or is C a DMA channel of some weird type?

no :-) maybe C means Channel.

regards
ch 

>
> Again thanks for the help.
>
> David Wassman
> Halcyon DIR Dive Systems
> Director of Technical Services and Quality Control
> Office: 1-800-425-2966 ext 315
> Fax: 386-454-0815
> Email: [EMAIL PROTECTED]
>
>
> > [EMAIL PROTECTED] mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> > "[EMAIL PROTECTED]"
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Sound server issue

2004-05-06 Thread Christian Hiris
On Wednesday 05 May 2004 18:06, David Wassman wrote:
> I finally got it working using the manual settings in the LINT file. My
> last question is how to configure the secondary DMA channel. The man
> pages for sbc:
>
>   The value of flags specifies the secondary DMA channel.  If the
> secondary DMA channel is C, set the flags to (C | 0x10). For a sound
> card without the secondary DMA channel, the flags should be set to
> zero.
>
> This is the sbc0 I am using
>
>   device sbc0 at isa? port 0x220 irq 5 drq 1 flags 0x15
>
> I know the settings for the card (they are set in the BIOS). It has a 8
> bit channel at DMA 1 and a 16-bit at DMA 5. Am I right in guessing that
> [drq 1] is the DMA designation? And then how do you get the second DMA
> channel active?

man device.hints explains that drq is the DMA channel number. You enable the 
secondary DMA channel 5 by passing "flags 0x15" to the sound driver.
If i read the ess.c source correctly, for pcm-playback, the secondary DMA 
channel only will be used in duplex mode. The interesting point is that 
duplex mode is disabled by default in the ess driver. The author of the 
program writes: /* audio2 never generates irqs and sounds very noisy */ 

> I think I only have 8-bit sound as wav files are 
> sounding pretty crappy. Am I right in thinking that the man page should
> read like this:

Did you try to overide the default sound device in your apps to /dev/dspW0.0 
or /dev/dspW0.1? man pcm describes how to play around with the DMA 
bufferspace size.
Details of the ESS1869 are available in the chipset specs:
http://www.diamondsystems.com/files/binaries/ES1869techmanual.pdf

>   If the secondary DMA channel is C (where C is the number of the
> DMA channel) then set the flags to (C | 0x10)

Yes, the bitwise or ensures that bit 4 in flags is set.

> Or is C a DMA channel of some weird type?

no :-) maybe C means Channel.

regards
ch 

>
> Again thanks for the help.
>
> David Wassman
> Halcyon DIR Dive Systems
> Director of Technical Services and Quality Control
> Office: 1-800-425-2966 ext 315
> Fax: 386-454-0815
> Email: [EMAIL PROTECTED]
>
>
> > [EMAIL PROTECTED] mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> > "[EMAIL PROTECTED]"


pgpg0auWogHmb.pgp
Description: signature


RE: Sound server issue

2004-05-05 Thread David Wassman
I finally got it working using the manual settings in the LINT file. My
last question is how to configure the secondary DMA channel. The man
pages for sbc:

The value of flags specifies the secondary DMA channel.  If the
secondary DMA channel is C, set the flags to (C | 0x10). For a sound
card without the secondary DMA channel, the flags should be set to
zero.

This is the sbc0 I am using

device sbc0 at isa? port 0x220 irq 5 drq 1 flags 0x15

I know the settings for the card (they are set in the BIOS). It has a 8
bit channel at DMA 1 and a 16-bit at DMA 5. Am I right in guessing that
[drq 1] is the DMA designation? And then how do you get the second DMA
channel active? I think I only have 8-bit sound as wav files are
sounding pretty crappy. Am I right in thinking that the man page should
read like this:

If the secondary DMA channel is C (where C is the number of the
DMA channel) then set the flags to (C | 0x10)

Or is C a DMA channel of some weird type?

Again thanks for the help.
 
David Wassman
Halcyon DIR Dive Systems
Director of Technical Services and Quality Control
Office: 1-800-425-2966 ext 315
Fax: 386-454-0815
Email: [EMAIL PROTECTED]




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Christian
Hiris
Sent: Tuesday, May 04, 2004 6:10 PM
To: [EMAIL PROTECTED]
Cc: David Wassman
Subject: Re: Sound server issue

On Tuesday 04 May 2004 07:14, David Wassman wrote:
> I have tried all that (recompile the kernel with the devices pcm and
sbc
> added) but when I type
>
> dmesg | grep ESS
>
> Nothing happens. I am going to try loading sbc manually and not PNP
and see
> if that works. Any other suggestions?
>

Yes David, some more suggestions:

1.
If possible, boot your system from win to figure out irq and port
settings of 
your soundcard. Then enter the win settings into /boot/device.hints
config.
 
from /usr/src/sys/conf/NOTES:

# For non-PnP cards:
device  sbc
hint.sbc.0.at="isa"
hint.sbc.0.port="0x220"
hint.sbc.0.irq="5"
hint.sbc.0.drq="1"
hint.sbc.0.flags="0x15"

2.
Some DSDTs expext to find a microsoft os on your machine. in case of
this the 
tunable "hw.acpi.osname" can be set to the expexted os-name (man 4
acpi).

3.
You can use acpidump(8) to disassemble the ACPI DSDT table to ASL and
dump it 
to a file. Edit any suspect code in there and use iasl(8) to recompile
ASL to 
AML bytecode. The resulting bytecode can be loaded from userland instead
of 
the original AML code by adding the lines  

acpi_dsdt_load="YES"
acpi_dsdt_name="/boot/your_dsdt.aml" 

to your /boot/loader.conf. 

Peter Schultz has written an ACPI howto, which describes step by step
how to 
fix your DSDT. http://bis.midco.net/pmes/acpi.html

regards 
ch

> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Sound server issue

2004-05-04 Thread Christian Hiris
On Tuesday 04 May 2004 07:14, David Wassman wrote:
> I have tried all that (recompile the kernel with the devices pcm and sbc
> added) but when I type
>
> dmesg | grep ESS
>
> Nothing happens. I am going to try loading sbc manually and not PNP and see
> if that works. Any other suggestions?
>

Yes David, some more suggestions:

1.
If possible, boot your system from win to figure out irq and port settings of 
your soundcard. Then enter the win settings into /boot/device.hints config.
 
from /usr/src/sys/conf/NOTES:

# For non-PnP cards:
device  sbc
hint.sbc.0.at="isa"
hint.sbc.0.port="0x220"
hint.sbc.0.irq="5"
hint.sbc.0.drq="1"
hint.sbc.0.flags="0x15"

2.
Some DSDTs expext to find a microsoft os on your machine. in case of this the 
tunable "hw.acpi.osname" can be set to the expexted os-name (man 4 acpi).

3.
You can use acpidump(8) to disassemble the ACPI DSDT table to ASL and dump it 
to a file. Edit any suspect code in there and use iasl(8) to recompile ASL to 
AML bytecode. The resulting bytecode can be loaded from userland instead of 
the original AML code by adding the lines  

acpi_dsdt_load="YES"
acpi_dsdt_name="/boot/your_dsdt.aml" 

to your /boot/loader.conf. 

Peter Schultz has written an ACPI howto, which describes step by step how to 
fix your DSDT. http://bis.midco.net/pmes/acpi.html

regards 
ch

> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"


pgp0.pgp
Description: signature


Re: Sound server issue

2004-05-03 Thread David Wassman
I have tried all that (recompile the kernel with the devices pcm and sbc 
added) but when I type

dmesg | grep ESS

Nothing happens. I am going to try loading sbc manually and not PNP and see 
if that works. Any other suggestions?



From: Christian Hiris <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
CC: "David Wassman" <[EMAIL PROTECTED]>, "Robert Covell" 
<[EMAIL PROTECTED]>
Subject: Re: Sound server issue
Date: Tue, 4 May 2004 02:20:23 +0200

On Monday 03 May 2004 19:52, David Wassman wrote:
> >From HP/Compaq website the soundcard driver for Windows is ESS
>
> 1869/1887/1888 Audio Driver. I am guessing then the soundcard is ESS
> (whatever that means). I see on the handbook that ESS Solo-1/1E is
> supported. Does this driver work and how do you get FreeBSD to load it?
>
I have an ESS1869 card running in an old Compaq Presario Desktop on freebsd
5.1. i added devices pcm and sbc to my kernel config and built a new 
kernel:

device  pcm
device  sbc
the soundcard has been identified as:

# dmesg | grep ESS
sbc0:  at port 0x330-0x331,0x388-0x38b,0x220-0x22f irq 5 drq 
0,1
on isa0
pcm0:  on sbc0

# cat /dev/sndstat
FreeBSD Audio Driver (newpcm)
Installed devices:
pcm0:  at io 0x220 irq 5 drq 1:0 bufsz 4096 (1p/1r/0v 
channels
duplex default)

some more information is available via 'man 4 sbc'.

regards
ch
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
<< attach3 >>
_
Watch LIVE baseball games on your computer with MLB.TV, included with MSN 
Premium! 
http://join.msn.com/?page=features/mlb&pgmarket=en-us/go/onm00200439ave/direct/01/

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Sound server issue

2004-05-03 Thread Christian Hiris
On Monday 03 May 2004 19:52, David Wassman wrote:
> >From HP/Compaq website the soundcard driver for Windows is ESS
>
> 1869/1887/1888 Audio Driver. I am guessing then the soundcard is ESS
> (whatever that means). I see on the handbook that ESS Solo-1/1E is
> supported. Does this driver work and how do you get FreeBSD to load it?
>

I have an ESS1869 card running in an old Compaq Presario Desktop on freebsd 
5.1. i added devices pcm and sbc to my kernel config and built a new kernel: 

device  pcm
device  sbc

the soundcard has been identified as:

# dmesg | grep ESS 
sbc0:  at port 0x330-0x331,0x388-0x38b,0x220-0x22f irq 5 drq 0,1 
on isa0
pcm0:  on sbc0

# cat /dev/sndstat
FreeBSD Audio Driver (newpcm)
Installed devices:
pcm0:  at io 0x220 irq 5 drq 1:0 bufsz 4096 (1p/1r/0v channels 
duplex default)

some more information is available via 'man 4 sbc'.  

regards
ch 

> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"


pgp0.pgp
Description: signature


Re: Sound server issue

2004-05-03 Thread Jason Taylor
I have a 1200 at home.  Unfortunately, I don't have access to it at the 
moment.  The way I found out which driver to use was to do a kldload 
snd_driver to load all drivers and then start unloading individual 
drivers until it complained about the module being in use.

David Wassman wrote:

Not desktop. Laptop. I am not sure exactly what brand of soundcard. Was 
hoping someone knew out there and knew how to correct this.


From: Peters Micheal A Contr GSI/SCBN 
<[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: RE: Sound server issue
Date: Mon, 3 May 2004 12:51:40 -0400

What kind of sound card is in the Desktop

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David Wassman
Sent: Sunday, May 02, 2004 9:02 PM
To: [EMAIL PROTECTED]
Subject: Sound server issue
I am running on a Compaq Presario 1610 with 80M Ram at 133mghz:

FreeBSD 4.8
XFree86 4.4.0
KDE 3.1
When I get my desktop up I get this message.

Sound server informational message:

Error while initializing the sound driver:

device/dev/dsp can't be opened (Device not configured)

the sound server will continue, using the null output device.

Does this mean the soundcard is not support? And if not, how do you
configure the sound server?
Any help will be appreciated.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Sound server issue

2004-05-03 Thread David Wassman
From HP/Compaq website the soundcard driver for Windows is ESS 
1869/1887/1888 Audio Driver. I am guessing then the soundcard is ESS 
(whatever that means). I see on the handbook that ESS Solo-1/1E is 
supported. Does this driver work and how do you get FreeBSD to load it?



From: "David Wassman" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: RE: Sound server issue
Date: Mon, 03 May 2004 13:34:58 -0400
Not desktop. Laptop. I am not sure exactly what brand of soundcard. Was 
hoping someone knew out there and knew how to correct this.


From: Peters Micheal A Contr GSI/SCBN <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: RE: Sound server issue
Date: Mon, 3 May 2004 12:51:40 -0400
What kind of sound card is in the Desktop

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David Wassman
Sent: Sunday, May 02, 2004 9:02 PM
To: [EMAIL PROTECTED]
Subject: Sound server issue
I am running on a Compaq Presario 1610 with 80M Ram at 133mghz:

FreeBSD 4.8
XFree86 4.4.0
KDE 3.1
When I get my desktop up I get this message.

Sound server informational message:

Error while initializing the sound driver:

device/dev/dsp can't be opened (Device not configured)

the sound server will continue, using the null output device.

Does this mean the soundcard is not support? And if not, how do you
configure the sound server?
Any help will be appreciated.

_
Is your PC infected? Get a FREE online computer virus scan from McAfee(r)
Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"
_
FREE pop-up blocking with the new MSN Toolbar – get it now! 
http://toolbar.msn.com/go/onm00200415ave/direct/01/

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"
_
Express yourself with the new version of MSN Messenger! Download today - 
it's FREE! http://messenger.msn.com/go/onm00200471ave/direct/01/

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Sound server issue

2004-05-03 Thread David Wassman
Not desktop. Laptop. I am not sure exactly what brand of soundcard. Was 
hoping someone knew out there and knew how to correct this.


From: Peters Micheal A Contr GSI/SCBN <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: RE: Sound server issue
Date: Mon, 3 May 2004 12:51:40 -0400
What kind of sound card is in the Desktop

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David Wassman
Sent: Sunday, May 02, 2004 9:02 PM
To: [EMAIL PROTECTED]
Subject: Sound server issue
I am running on a Compaq Presario 1610 with 80M Ram at 133mghz:

FreeBSD 4.8
XFree86 4.4.0
KDE 3.1
When I get my desktop up I get this message.

Sound server informational message:

Error while initializing the sound driver:

device/dev/dsp can't be opened (Device not configured)

the sound server will continue, using the null output device.

Does this mean the soundcard is not support? And if not, how do you
configure the sound server?
Any help will be appreciated.

_
Is your PC infected? Get a FREE online computer virus scan from McAfee(r)
Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"
_
FREE pop-up blocking with the new MSN Toolbar – get it now! 
http://toolbar.msn.com/go/onm00200415ave/direct/01/

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Sound server issue

2004-05-03 Thread Peters Micheal A Contr GSI/SCBN
What kind of sound card is in the Desktop 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David Wassman
Sent: Sunday, May 02, 2004 9:02 PM
To: [EMAIL PROTECTED]
Subject: Sound server issue

I am running on a Compaq Presario 1610 with 80M Ram at 133mghz:

FreeBSD 4.8
XFree86 4.4.0
KDE 3.1

When I get my desktop up I get this message.

Sound server informational message:

Error while initializing the sound driver:

device/dev/dsp can't be opened (Device not configured)

the sound server will continue, using the null output device.


Does this mean the soundcard is not support? And if not, how do you
configure the sound server?

Any help will be appreciated.

_
Is your PC infected? Get a FREE online computer virus scan from McAfee(r)
Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Sound server issue

2004-05-03 Thread Robert Covell
Have the same issue on my Compaq Presario 1200.

FreeBSD 5.2.1

Has anyone else addressed this issue?

Sincerely,

Robert T. Covell
President / Owner
Rolet Internet Services, LLC
Web: www.rolet.com
Email: [EMAIL PROTECTED]
Phone: 816.471.1095
Fax: 816.471.3447
24x7: 816.210.7145

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of David Wassman
> Sent: Sunday, May 02, 2004 8:02 PM
> To: [EMAIL PROTECTED]
> Subject: Sound server issue
>
>
> I am running on a Compaq Presario 1610 with 80M Ram at 133mghz:
>
> FreeBSD 4.8
> XFree86 4.4.0
> KDE 3.1
>
> When I get my desktop up I get this message.
>
> Sound server informational message:
>
> Error while initializing the sound driver:
>
> device/dev/dsp can't be opened (Device not configured)
>
> the sound server will continue, using the null output device.
>
>
> Does this mean the soundcard is not support? And if not, how do you
> configure the sound server?
>
> Any help will be appreciated.
>
> _
> Is your PC infected? Get a FREE online computer virus scan from McAfee®
> Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
>
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
>

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Sound server issue

2004-05-02 Thread David Wassman
I am running on a Compaq Presario 1610 with 80M Ram at 133mghz:

FreeBSD 4.8
XFree86 4.4.0
KDE 3.1
When I get my desktop up I get this message.

Sound server informational message:

Error while initializing the sound driver:

device/dev/dsp can't be opened (Device not configured)

the sound server will continue, using the null output device.

Does this mean the soundcard is not support? And if not, how do you 
configure the sound server?

Any help will be appreciated.

_
Is your PC infected? Get a FREE online computer virus scan from McAfee® 
Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"