Re: PNP Crystal soundcard detection problem in 5.1Release

2003-09-17 Thread Greg Lane
On Wed, Sep 17, 2003 at 02:52:31PM +0300, Roman Malytskyy <[EMAIL PROTECTED]> wrote:
>
> That's it! I've added above lines and removed pcm ones. After reboot
> things were just perfect!

Excellent! Glad it worked.

> Thanks a lot!

No worries. Enjoy your sound!

Cheers,
Greg

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


Re: PNP Crystal soundcard detection problem in 5.1Release

2003-09-17 Thread Greg Lane
G'day Roman,

I'm back home now and after patching some sshd daemons I have
checked my laptop configuration.

On Tue, Sep 16, 2003 at 06:20:53PM +0300, Roman Malytskyy <[EMAIL PROTECTED]> wrote:
> 
> I've updated my FlashBIOS from A03 to version A12 (from DELL website),
> I've added to the end of config-file

I am definitely running the A12 bios.

> unknown:  can't assign resources (port)
> unknown:  at port 0x378-0x37f on isa0
> unknown:  can't assign resources (irq)
> unknown:  at port 0x220-0x22f,0x388-0x38b,0x530-0x537 irq 5 on isa0
> unknown:  failed to probe at port 0x210-0x217 on isa0
> unknown:  can't assign resources (port)
> unknown:  at port 0x3f2-0x3f5 on isa0

I only get these messages with ACPI disabled. My messages have one 
subtle difference for the CSC:

unknown:  can't assign resources (port)
unknown:  at port 0x220-0x22f,0x388-0x38b,0x530-0x537 on isa0

I think this is due to the device.hints (see below).

> In /boot/devices.hints:
> ...
> hint.pcm.0.at="isa"
> hint.pcm.0.irq="5"
> hint.pcm.0.drq="1"
> hint.pcm.0.flags="0x0"

I didn't remember till I came home and looked, but I did define 
hints for the sbc device as follows:

~$ grep sbc /boot/device.hints 
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"

There are no hints defined for the pcm device. 
My guess is that this is the key thing you need. 

I should point out that I get sound both with and without ACPI enabled. 

> p.s. maybe you will consider possible sharing you kernel configuration
> file and maybe BIOS settings, coz we have same model and its even more
> strange that its not working.

I think its just the device.hints for the sbc device that will fix 
things for you. If it still doesn't work after you try that, I am
happy to send you all the config files you want.

Tell me how it goes!

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


Re: PNP Crystal soundcard detection problem in 5.1Release

2003-09-16 Thread Greg Lane
Hi Roman,

On Tue, Sep 16, 2003 at 06:20:53PM +0300, Roman Malytskyy <[EMAIL PROTECTED]> wrote:
> I have the very same model! 5.1-RELEASE could problem be here?

I got a deal on a refurbished model with a 3 year international 
warranty from Dell when I was living in the U.S.  It has been a
workhorse for me for years now. 

I can't be sure now, but I'm fairly certain I had sound 
working when I installed 5.1-RELEASE. I then 
upgraded to current to support my 54g (Atheros) wireless card. 

> I've updated my FlashBIOS from A03 to version A12 (from DELL website),
> I've added to the end of config-file
> 
>  device pcm
>  device sbc

I don't have my laptop with me right now, but I'm fairly 
sure I am running the A12 bios also.

> Verbose booting keeps giving:
> ...
> unknown:  can't assign resources (port)
> unknown:  at port 0x378-0x37f on isa0
> unknown:  can't assign resources (irq)
> unknown:  at port 0x220-0x22f,0x388-0x38b,0x530-0x537 irq 5 on isa0
> unknown:  failed to probe at port 0x210-0x217 on isa0
> unknown:  can't assign resources (port)
> unknown:  at port 0x3f2-0x3f5 on isa0

I will do a verbose boot when I get home again (where my
laptop is) and check what mine says.

> I have ACPI disabled,

Mine is enabled (I just ignore the initial error messages).
I don't know whether this has any effect on the PNP devices. 

> In /boot/devices.hints:
> ...
> hint.pcm.0.at="isa"
> hint.pcm.0.irq="5"
> hint.pcm.0.drq="1"
> hint.pcm.0.flags="0x0"

I will need to check. Note however, that my detection message from
dmesg (see my first email) says:

sbc0:  at port 0x220-0x22f irq 5 drq 1 flags 0x15 on isa0

so you might want to change hint.pcm.0.flags. I don't know if 
you also need hints for the sbc device?

> The only additional hardware I have installed is PS/2 mouse and
> Surecom PCMCIA Ethernet adapter (model ep428x, which is detected as
> rl0)

I have at various times a mouse, external display, pcmcia modem, 
Trendnet ethernet card (also rl0). Nothing seems to affect the sound.

> p.s. maybe you will consider possible sharing you kernel configuration
> file and maybe BIOS settings, coz we have same model and its even more
> strange that its not working.

Certainly I can do that as well as check other the other things I noted
above as soon as I get to my laptop at home.

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


Re: PNP Crystal soundcard detection problem in 5.1Release

2003-09-16 Thread Greg Lane
On Mon, Sep 15, 2003 at 03:32:35PM +0300, Roman Malytskyy <[EMAIL PROTECTED]> wrote:
> Hello,

G'day,

> I am having problem with initializing my PnP Crystal soundcard on DellLatitude 
> CPi notebook under FreeBSD 5.1-RELEASE

I have a CPi D266XT running 5-current.

> Windows detected it as CS4236/37/38 chipset card, irq 5 dma 1,0

Mine is detected as a CS 4237B under windows with the same values.

> When I add to kernel konfiguration (according to handbook advise for my cardtype) 
> ...
> device pcm
> device csa
> ...

I never got it to work with "device csa", but in 
the distant past running 4-stable my sound had worked with

options PNPBIOS 
device pcm

Then it stopped working for a while. I've never managed to 
get it working with only "device pcm" again. But now I am 
running 5-current with the following 

device pcm
device sbc

and my card is found as a soundblaster pro.  See dmesg extract:

sbc0:  at port 0x220-0x22f irq 5 drq 1 flags 0x15 on isa0
pcm0:  on sbc0

and 

5>[EMAIL PROTECTED]:~$ cat /dev/sndstat
FreeBSD Audio Driver (newpcm)
Installed devices:
pcm0:  at io 0x220 irq 5 drq 1 bufsz 4096 (1p/1r/0v channels duplex 
default)

Everything works great. So give this a go and see what happens.

Cheers,
Greg

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