Re: kernel compile Q - How to get the speaker to work?

2004-03-04 Thread HOLLOW, CHRISTOPHER




thanks for the answer, but when I had Windows
installed, the speaker did work, I mean I was able to
hear music, in addition to the beeps.


I've never heard of the case speaker making anything but beeps.  Either 
yours is quite unique or you guys are talking about different speakers. 
 I think you'll need to add support for the sound card that the 
speaker is connected to.  Have a look at the case speaker.  I can't see 
it being connected to a sound card but verify that.  If it (or another 
case speaker) is in fact connected to sound card, add that device to the 
kernel.

Don't know what card you have (and am haven't really followed the 
thread) but have you tried soundblaster support?

device pcm

It's pretty common.  Worked on almost every FreeBSD desktop machine I've 
ever had.  Hope this helps.

Christopher Hollow


thx
 --- Johnson David [EMAIL PROTECTED] wrote: 
On Tuesday 02 March 2004 04:28 pm, Tadimeti Keshav
wrote:


I added to my kernel config file:
device pca
(this was mentioned in the NOTES file)
Typically a PC speaker is not an audio device in the
normal sense of the 
term. It's there just to make beeps, and not music.
It's not going to 
do what you probably want it to do.


secondly, what is the use of adding:
device udbp
This is a USB double pipe. But what does it do.
I'm sort of partial to the traditional Linux kernel
configuration 
comment of if you don't know what this is then you
don't need it. 
Since there are no devices listed in the Hardware
notes using this 
driver, and it's commented out be default in the
GENERIC kernel, I'm 
fairly confident that you don't need it.

David 




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


Re: kernel compile Q - How to get the speaker to work?

2004-03-04 Thread Erik Trulsson
On Thu, Mar 04, 2004 at 01:30:27AM -0500, HOLLOW, CHRISTOPHER wrote:
 
 
 
 
 thanks for the answer, but when I had Windows
 installed, the speaker did work, I mean I was able to
 hear music, in addition to the beeps.
 
 
 I've never heard of the case speaker making anything but beeps.  Either 
 yours is quite unique or you guys are talking about different speakers. 

It is your experience that is quite limited.

  I think you'll need to add support for the sound card that the 
 speaker is connected to.  Have a look at the case speaker.  I can't see 
 it being connected to a sound card but verify that.  If it (or another 
 case speaker) is in fact connected to sound card, add that device to the 
 kernel.

It is perfectly possible to play music on the case speaker, and this
does not require any sound card. The sound tends to sound like crap
though.
Music (and other sounds) on the built-in speaker was in fact the
standard way of getting music in PC-games back in the Bad Old Days
(early and mid-eighties) when sound cards were a rarity.


Add the line
'pseudo-device speaker'
to your kernel config file to get some limited support for playing
music (see the man-pages for spkr(4) and spkrtest(8) for more info on
this method.)


It is also possible to use the case-speaker as a more generic
audio-output device.

To try this add the line 'device pca0 at isa? port IO_TIMER1' to your
kernel config file, and then use /dev/pcaudio as the output device.
Be aware that this is poorly documented and supported, and I think it
might even have been removed entirely from 5.x


-- 
Insert your favourite quote here.
Erik Trulsson
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: kernel compile Q - How to get the speaker to work?

2004-03-04 Thread Sergey 'DoubleF' Zaharchenko
On Thu, 04 Mar 2004 01:30:27 -0500
HOLLOW, CHRISTOPHER [EMAIL PROTECTED] probably wrote:

 I've never heard of the case speaker making anything but beeps.  Either 
 yours is quite unique or you guys are talking about different speakers. 

From a 4.x LINT file:

#
# pca: PCM audio through your PC speaker
#
.
.
.
# Not controlled by `snd'
device  pca0 at isa? port IO_TIMER1

I've once heard that much `PCM audio' :. At the very least, as
experience shows, you can surprise your friends.

-- 
DoubleF
There's no point in being grown up if you can't be childish sometimes.
-- Dr. Who





pgp0.pgp
Description: PGP signature


Re: kernel compile Q - How to get the speaker to work?

2004-03-04 Thread Johnson David
On Wednesday 03 March 2004 10:12 pm, Tadimeti Keshav wrote:
 Hi
 thanks for the answer, but when I had Windows
 installed, the speaker did work, I mean I was able to
 hear music, in addition to the beeps.

I may be confused as to what speaker you are talking about. My 
assumption was that you were referring to the standard PC speaker 
(sometimes called the console speaker), and not a speaker attached to 
an audio card. For most laptops, these two speakers are the same. For 
most desktop systems, the internal speaker is mounted to the case via 
a lead from the motherboard.

If you are indeed referring to the same internal speaker that I am 
referring to, then you can indeed play music through it. But the audio 
quality will be extremely poor. But I don't know how to do it with 
FreeBSD. I suspect you'll have to write your own driver.

On the other hand, if you're talking about getting you audio card with 
attached speaker to work, that is a different story. I can't help you 
there, but many people can, provided that you first let them know what 
sound card you have, or if it's integrated onto the motherboard, what 
motherboard or computer model you have.

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


Re: kernel compile Q - How to get the speaker to work?

2004-03-03 Thread Tadimeti Keshav
Hi
thanks for the answer, but when I had Windows
installed, the speaker did work, I mean I was able to
hear music, in addition to the beeps.

thx
 --- Johnson David [EMAIL PROTECTED] wrote: 
On Tuesday 02 March 2004 04:28 pm, Tadimeti Keshav
 wrote:
 
  I added to my kernel config file:
  device pca
  (this was mentioned in the NOTES file)
 
 Typically a PC speaker is not an audio device in the
 normal sense of the 
 term. It's there just to make beeps, and not music.
 It's not going to 
 do what you probably want it to do.
 
  secondly, what is the use of adding:
  device udbp
  This is a USB double pipe. But what does it do.
 
 I'm sort of partial to the traditional Linux kernel
 configuration 
 comment of if you don't know what this is then you
 don't need it. 
 Since there are no devices listed in the Hardware
 notes using this 
 driver, and it's commented out be default in the
 GENERIC kernel, I'm 
 fairly confident that you don't need it.
 
 David 

=
-- K E S H A V  T A D I M E T I --
BeOS Air
You have to pay for the tickets, but they're half the price of Windows Air, and if you 
are an aircraft mechanic you can probably ride for free. It only takes 15 minutes to 
get to the airport and you are cheuferred there in a limozine. BeOS Air only has 
limited types of planes that only hold new luggage. All planes are single seaters and 
the model names all start with an F (F-14, F-15, F-16, F-18, etc.). The plane will 
fly you to your destination on autopilot in half the time of other Airways or you can 
fly the plane yourself. There are limited destinations, but they are only places you'd 
want to go to anyway. You tell all your friends how great BeOS Air is and all they say 
is What do you mean I can't bring all my old baggage with me?





___
Yahoo! Messenger - Communicate instantly...Ping 
your friends today! Download Messenger Now 
http://uk.messenger.yahoo.com/download/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: kernel compile Q - How to get the speaker to work?

2004-03-02 Thread Johnson David
On Tuesday 02 March 2004 04:28 pm, Tadimeti Keshav wrote:

 I added to my kernel config file:
 device pca
 (this was mentioned in the NOTES file)

Typically a PC speaker is not an audio device in the normal sense of the 
term. It's there just to make beeps, and not music. It's not going to 
do what you probably want it to do.

 secondly, what is the use of adding:
 device udbp
 This is a USB double pipe. But what does it do.

I'm sort of partial to the traditional Linux kernel configuration 
comment of if you don't know what this is then you don't need it. 
Since there are no devices listed in the Hardware notes using this 
driver, and it's commented out be default in the GENERIC kernel, I'm 
fairly confident that you don't need it.

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