Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Mar 2000 12:45:48 -0800
From:      Mike Smith <msmith@freebsd.org>
To:        Mark Kent <mark@noc.mainstreet.net>
Cc:        freebsd-mobile@FreeBSD.ORG
Subject:   Re: (long) multiple queries about 4.0 on Sony 505HS 
Message-ID:  <200003292045.MAA00662@mass.cdrom.com>
In-Reply-To: Your message of "Wed, 29 Mar 2000 11:58:45 PST." <200003291958.LAA04012@noc.mainstreet.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
> So, I've got a bunch of questions.  Ouptut of boot -v is at the 
> end of this message.
> 
> a) PNPBIOS or not?  Some have pointed at "device pcm"
>    as the way to do sound in 4.0 and somewhere I saw that
>    you should have "options PNPBIOS" if you use "device pcm"

Not necessarily; in your case you have PCI sound, and may be SOL (not 
sure which chipset your unit uses).

>    But, when I use "options PNPBIOS" the USB part of the boot
>    process says to turn it off.

Er, it does?  PNPBIOS is totally unrelated to USB.

> b) I'm assuming that the use of PNPBIOS should correspond
>    exactly with the setting of "PnP OS?" in the BIOS set-up.
>    True?

No.

> c) Which of these should I expect to be able to get to work
>    by using just 4.0-release:
> 
>    1) sound

Possibly.  If

device	pcm

in your kernel config doesn't result in a sound device being detected 
during system bootup, you are probably SOL.

>    2) MemoryStick (appears as removeable disk in windows)

Probably; it should show up as a disk on ad2 (check your boot messages).

>    3) modem (http://808hi.com/56k/hcf9.htm)

If this is a PCCARD modem, yes.

>    4) IR port

Probably not, at least not in the fashion that you're expecting.

> d) I've seen people type "use device pcm and make the
>    appropriate devices in /dev".  But how up-to-date is
>    MAKEDEV?  Some devices as identified by dmesg don't
>    appear in MAKEDEV.

That's because they don't have device nodes.

> e) What is the relation between major and minor device numbers
>    and the IRQ and memory address? 

None whatsoever.


> f) (I am not a peecee person) How do I find a comprehensive
>    list of "things" known to my system and once I have the list
>    (which I would guess would include IRQ numbers and memory addresses)
>    what do I do with such a list in freeBSD?

You can't, and you don't need to do much.  FreeBSD will generally sort 
things out for itself, with a few irritating exceptions (pccards in 
particular).

>    This question is triggered by certain things in GENERIC and
>    LINT.  Lines there include stuff like 
>    "port 0x534 irq 5 drq 1 flags 0x08"
>    but how do They (They == the people who put this all together)
>    know that on any given system that device is at irq 5, etc?

Either you're born with the talent, or you pay someone who is.  They're 
trying to isolate the genes because it would be cheaper to clone sheep 
that can locate free IRQs.

> g) Do I really care about the APM stuff?  I've got a light that flashes
>    when battery level is <= 10%, so I'm not likely to miss this.  

Actually, yes.  With APM enabled, the system will use a lot less power 
when running (eg. the CPU will suspend in the idle loop, etc).

> h) I see I haven't asked this exact question yet, so here goes:
> 
>    How, exactly, do I get sound to work on the Sony Z505HS?

Not easily.

> pci0: <unknown card> (vendor=0x1073, dev=0x0010) at 9.0 irq 9

Bad news.  This is your sound device; it's one of the Yamaha PCI parts
(YMF744).  Yamaha don't release documentation on this device, so making it
work is going to be close to impossible.

> sbc0: <Soundblaster Pro> at port 0x220-0x22f irq 5 drq 1 flags 0x15 on isa0
> pcm1: <SB DSP 3.01 (ViBRA16X)> on sbc0

Your BIOS has, however, very kindly set it up in the extra-lame 
soundblaster emulation mode.  You could try going to /dev and saying

 ./MAKEDEV snd1

and see if this helps.  'mixer' should at least let you tweak the mixer.  
Note that this is an 8-bit monaural emulation, so sound quality from 
non-CD sources will be bad.

-- 
\\ Give a man a fish, and you feed him for a day. \\  Mike Smith
\\ Tell him he should learn how to fish himself,  \\  msmith@freebsd.org
\\ and he'll hate you for a lifetime.             \\  msmith@cdrom.com




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200003292045.MAA00662>