RE: Sound not working on laptop

2004-01-12 Thread Mazen S. Alzogbi
Hi,

Thanks for all the help. I tried to locate a 'Non Plug-and-Play OS'
option in the BIOS setup with no success. I think there aren't anything
like this in my BIOS.

Can someone on this list shed some light how to detect (track) IRQs and
conflicts?

Thanks,

Mazen

 Yes, it is solvable.  In your system BIOS, make certain that your
system is 
 set to 'Non Plug-and-Play OS.'  This will enable the BIOS to assign 
 appropriate IRQs and such.  You have some conflict, which I'm not 100%

 certain on how to track.  Someone on this list should be able to
answer that 
 part.  Once you figure this out, you should set a line in your kernel
config 
 (not sure on syntax) to the effect of assiging an unused IRQ.  It IS 
 recognizing your sound card and trying to use it, but it's running
into an 
 Input/Output (that's where it gets IO in IO port space) conflict.


 -- 
 Eric F Crist
 AdTech Integrated Systems, Inc
 (612) 998-3588

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


Re: Sound not working on laptop

2004-01-10 Thread Mazen S. Alzogbi
Hi,

Thanks for everyone who helped (and is helping me) to find my
way in the great world of FreeBSD.

I learned how to recompile the
kernel and I did compile it with device pcm and device pcm0 at 
but it didn't work. I tried and tried and tried and spent almost 3 hours
with no luck. Finally, I found that my sound card is SiS 7012 and I
THINK it's a builtin one in the Motherboard.

Amazingly, the sound card on my desktop machine (which runs FreeBSD 4.9
of course) is running smoothly.

Could you please advise what would be the next thing I should do.

Again, thanks.

Cheers,

Mazen


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


Re: Sound not working on laptop

2004-01-10 Thread Gautam Gopalakrishnan
On Sat, Jan 10, 2004 at 09:23:26PM -0400, Mazen S. Alzogbi wrote:
 Hi,
 
 Thanks for everyone who helped (and is helping me) to find my
 way in the great world of FreeBSD.
 
 I learned how to recompile the
 kernel and I did compile it with device pcm and device pcm0 at 
 but it didn't work. I tried and tried and tried and spent almost 3 hours
 with no luck. Finally, I found that my sound card is SiS 7012 and I
 THINK it's a builtin one in the Motherboard.

I don't think you need to recompile. Just load the snd_ich.ko module.
Then check if /dev/dsp and /dev/mixer are created for you. If so,
you're done.

# kldload snd_ich

Gautam

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


Re: Sound not working on laptop

2004-01-10 Thread Eric F Crist
On Saturday 10 January 2004 07:23 pm, Mazen S. Alzogbi wrote:
 Hi,

 Thanks for everyone who helped (and is helping me) to find my
 way in the great world of FreeBSD.

 I learned how to recompile the
 kernel and I did compile it with device pcm and device pcm0 at 
 but it didn't work. I tried and tried and tried and spent almost 3 hours

Mazen,

Don't use both device pcm AND device pmc0 at  You should just use:

device pcm

do a kernel compile with the following commands from /usr/src/sys/i386/conf

#config kernel name
# cd ../../compile/kernel name
# make depend  make  make install

At this point, you MUST reboot your machine.  Once rebooted, install amp 
(/usr/ports/audio/amp) and test with a .wav file.  If you have KDE Games 
installed, you can use the following command to test:

# amp /usr/local/share/apps/kasteroids/sounds/Kasteroids.wav

If you're NOT running KDE at that time, it should work.  If not, try running 
KDE and you should start to hear sounds.

HTH
-- 
Eric F Crist
AdTech Integrated Systems, Inc
(612) 998-3588

pgp0.pgp
Description: signature


Re: Sound not working on laptop

2004-01-10 Thread Eric F Crist
On Saturday 10 January 2004 07:46 pm, Mazen S. Alzogbi wrote:
 Eric,
 Doing so didn't helped even. After rebooting and grep pcm
 /var/run/dmesg.boot, I see that:

 pcm0: SiS 7012 at device 2.7 on pci0
 pcm0: unable to map IO port space
 device_probe_and_attach: pcm0 attach returned 6

 Gautam, the same result above showed when I # kldload snd_ich on the
 prompt :(

 Guys, is this thing supported or even solvable?

Yes, it is solvable.  In your system BIOS, make certain that your system is 
set to 'Non Plug-and-Play OS.'  This will enable the BIOS to assign 
appropriate IRQs and such.  You have some conflict, which I'm not 100% 
certain on how to track.  Someone on this list should be able to answer that 
part.  Once you figure this out, you should set a line in your kernel config 
(not sure on syntax) to the effect of assiging an unused IRQ.  It IS 
recognizing your sound card and trying to use it, but it's running into an 
Input/Output (that's where it gets IO in IO port space) conflict.


-- 
Eric F Crist
AdTech Integrated Systems, Inc
(612) 998-3588

pgp0.pgp
Description: signature


Re: Sound not working on laptop

2004-01-08 Thread Andrew L. Gould
On Thursday 08 January 2004 04:21 am, Mazen S. Alzogbi wrote:
 Hi,

 Sound is not working on my laptop that has FreeBSD 4.9 installed on. I
 want to check the detected driver (if any) by the system and configure
 it to use the right one.

 How can this be done whether by using KDE or on the command line?

 Thanks in advance.

 Mazen S. Alzogbi
 www.MazenAlzogbi.com

Sound is not supported in the default kernel.  You'll need to add a device and 
recompile the kernel.  See /usr/src/sys/i386/conf/LINT for examples.

Also make sure FreeBSD supports the sound codec.

Lastly, make sure the applications you're using are proplerly configured to 
use the correct devices, etc.  For example, IIRC, kscd uses /dev/rcd0c by 
default which most people will need to change to /dev/acd0c or /dev/cd0c.

Best of luck,

Andrew Gould

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


Re: Sound not working on laptop

2004-01-08 Thread Jason Stewart
On 08/01/04 14:21 +0400, Mazen S. Alzogbi wrote:
 Hi,
 
 Sound is not working on my laptop that has FreeBSD 4.9 installed on. I
 want to check the detected driver (if any) by the system and configure
 it to use the right one.
 
 How can this be done whether by using KDE or on the command line?

Usually you would load a driver for your sound card or compile it into
your kernel. What type of card is it?

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


RE: Sound not working on laptop

2004-01-08 Thread Mazen S. Alzogbi
Great! But what does  recompile the kernel with device pcm mean? :(

Cheers,

Mazen

-Original Message-
From: Subhro [mailto:[EMAIL PROTECTED] 
Sent: Thursday, January 08, 2004 10:42 PM
To: 'Mazen S. Alzogbi'; [EMAIL PROTECTED]
Subject: RE: Sound not working on laptop


It would be great if you can tell us what sound chipset is there in the
laptop. If you can't make that out, then recompile the kernel with

device pcm

Most modern sound chipsets are supported by pcm. Refer to the handbook
for help on kernel recompiling

Regards
Subhro

Subhro Sankha Kar
Indian Institute of Information Technology
Block AQ-13/1, Sector V
Salt Lake City
PIN 700091
India

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mazen S.
Alzogbi
Sent: Thursday, January 08, 2004 3:52 PM
To: [EMAIL PROTECTED]
Subject: Sound not working on laptop

Hi,

Sound is not working on my laptop that has FreeBSD 4.9 installed on. I
want to check the detected driver (if any) by the system and configure
it to use the right one.

How can this be done whether by using KDE or on the command line?

Thanks in advance.

Mazen S. Alzogbi
www.MazenAlzogbi.com

___
[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 not working on laptop

2004-01-08 Thread Andrew L. Gould
On Thursday 08 January 2004 01:07 pm, Mazen S. Alzogbi wrote:
 Great! But what does  recompile the kernel with device pcm mean? :(

Here are some links to the handbook that should serve you well.  Note that 
each url should be on one line:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound-setup.html

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/
kernelconfig-building.html

Let us know if you have any problems.


 Cheers,

 Mazen

 -Original Message-
 From: Subhro [mailto:[EMAIL PROTECTED]
 Sent: Thursday, January 08, 2004 10:42 PM
 To: 'Mazen S. Alzogbi'; [EMAIL PROTECTED]
 Subject: RE: Sound not working on laptop


 It would be great if you can tell us what sound chipset is there in the
 laptop. If you can't make that out, then recompile the kernel with

 device pcm

 Most modern sound chipsets are supported by pcm. Refer to the handbook
 for help on kernel recompiling

 Regards
 Subhro

 Subhro Sankha Kar
 Indian Institute of Information Technology
 Block AQ-13/1, Sector V
 Salt Lake City
 PIN 700091
 India

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Mazen S.
 Alzogbi
 Sent: Thursday, January 08, 2004 3:52 PM
 To: [EMAIL PROTECTED]
 Subject: Sound not working on laptop

 Hi,

 Sound is not working on my laptop that has FreeBSD 4.9 installed on. I
 want to check the detected driver (if any) by the system and configure
 it to use the right one.

 How can this be done whether by using KDE or on the command line?

 Thanks in advance.

 Mazen S. Alzogbi
 www.MazenAlzogbi.com

 ___
 [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]

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


Re: Sound not working on laptop

2004-01-08 Thread Jerry McAllister
 
 Great! But what does  recompile the kernel with device pcm mean? :(

Sounds like it is time for you to do some studying.
Before you started an install, you should have read enough
of the handbook to at least have encountered that concept
and know where to go back to for more information.

Even if you just looked in a kernel configuration file
in /usr/src/sys/i386/conf(try the one called LINT)
you could begin to guess.

jerry

 
 Cheers,
 
 Mazen
 
 -Original Message-
 From: Subhro [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, January 08, 2004 10:42 PM
 To: 'Mazen S. Alzogbi'; [EMAIL PROTECTED]
 Subject: RE: Sound not working on laptop
 
 
 It would be great if you can tell us what sound chipset is there in the
 laptop. If you can't make that out, then recompile the kernel with
 
 device pcm
 
 Most modern sound chipsets are supported by pcm. Refer to the handbook
 for help on kernel recompiling
 
 Regards
 Subhro
 
 Subhro Sankha Kar
 Indian Institute of Information Technology
 Block AQ-13/1, Sector V
 Salt Lake City
 PIN 700091
 India
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Mazen S.
 Alzogbi
 Sent: Thursday, January 08, 2004 3:52 PM
 To: [EMAIL PROTECTED]
 Subject: Sound not working on laptop
 
 Hi,
 
 Sound is not working on my laptop that has FreeBSD 4.9 installed on. I
 want to check the detected driver (if any) by the system and configure
 it to use the right one.
 
 How can this be done whether by using KDE or on the command line?
 
 Thanks in advance.
 
 Mazen S. Alzogbi
 www.MazenAlzogbi.com
 
 ___
 [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]
 

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


Re: Sound not working on laptop

2004-01-08 Thread Eric F Crist
On Thursday 08 January 2004 01:07 pm, Mazen S. Alzogbi wrote:
 Great! But what does  recompile the kernel with device pcm mean? :(

 Cheers,

Check the handbook (http://www.freebsd.org/handbook) regarding recompiling the 
kernel.
-- 
Eric F Crist
AdTech Integrated Systems, Inc
(612) 998-3588
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]