Re: Problem with audio apps and mixer

2009-07-03 Thread Ariff Abdullah
On Fri, 03 Jul 2009 16:12:07 +0200 (CEST)
Alexander Best  wrote:
[...]
> 
> shouldn't it be:
> 
> hw.snd.vpc_autoreset (default=1, enabled)
> 0=disable, 1=enable
> Notes: By default, channel volume will be reset to 0db
>relative after the channel is closed which means
>that any changes will be lost and not preserved.
>Setting this to '0' will preserve the volume at
 ^^^
>the cost of possible confusion for other
>applications trying to re-open the same device
>(see hw.snd.vpc_reset for possible 'panic' switch
>    to fix the volumes).
> 

Good catch, thanks :)

Fixed.

--
Ariff Abdullah
FreeBSD

... Recording in stereo is obviously too advanced
and confusing for us idiot * users :P 

... Going with the standard and orthodox
is the death of intellect ..


pgpZitdZ4ULqH.pgp
Description: PGP signature


Re: notebook audio playback problem

2007-12-02 Thread Ariff Abdullah
On Sun, 2 Dec 2007 15:54:42 +0800
"Liyu,She" <[EMAIL PROTECTED]> wrote:
> Hi, guys,
> I have some trouble with the audio playback.
> I am using Acer Aspire 4710Z notebook and it has a build-in
> speaker. So
> when I play an audio the sound come from the build-in speaker.
> But when I plug my headphone into the hole the speaker still
> keeps
> playing. The speaker couldn't be turned off from outside.
> Is there a way to silent the speaker when the headphone is
> plugged in? I am running FreeBSD 7.0 Beta3. The audio driver is:
> 
> FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386)
> Installed devices:
> pcm0:  at memory
> 0xdc24 irq 21 kld snd_hda [20071020_0048] [MPSAFE] (1p:1v/1r:1v
> channels duplex default)
> 

If the codec is ALC268, you need to show me the output of
pciconf -lv | grep ^pcm.

If not, please send the verbose dmesg, privately.


--
Ariff Abdullah
FreeBSD

... Recording in stereo is obviously too advanced
and confusing for us idiot * users :P 


pgpri4IZWIjET.pgp
Description: PGP signature


Re: sound: get sbc, but no pcm

2007-11-01 Thread Ariff Abdullah
On Thu, 1 Nov 2007 13:06:08 +
Anton Shterenlikht <[EMAIL PROTECTED]> wrote:
> I'm trying to get a sound from my laptop. I can see the actual card
> in dmesg, but no audio framework driver (no pcm).
> 
> hardware: i386 armada 1700 laptop
> sound: ESS 1869 16-bit Plug and Play (PnP)
> OS: FBSD 6.3-prerelease
> 
> I checked that the sound is working using Compaq PC diagnostics
> floppy.
> 
> I added 
> 
>   device  sound
>   device  snd_sbc
>   device  snd_sb16
> 
> to the kernel configuration file and
> 
>   hint.pcm.0.at="isa"
>   hint.pcm.0.port="0x220"
>   hint.pcm.0.irq="5"
>   hint.pcm.0.drq="1"
>   hint.pcm.0.flags="0x0"
> 
> to /boot/device.hints. The port was set up using Compaq Setup for
> Portables floppy.
> 
> I can see the card in dmesg as sbc0:
> 
> unknown:  can't assign resources (port)
> unknown:  can't assign resources (port)
> unknown:  can't assign resources (port)
> sbc0:  at port
> 0x230-0x23f,0x388-0x38b,0x300-0x301 irq 5 drq 0,1 on isa0
> sbc0: [GIANT-LOCKED]
> unknown:  can't assign resources (port)
> unknown:  can't assign resources (irq)
> unknown:  can't assign resources (memory)
> 
> but I cannot see pcm, and /dev/sndstat is empty:
> 
> # cat /dev/sndstat
> FreeBSD Audio Driver (newpcm)
> Installed devices:
> #
>  
> What am I missing?

snd_ess

> Are the "unknown" messages relevant?
> 
> many thanks
> anton
> 


--
Ariff Abdullah
FreeBSD

... Recording in stereo is obviously too advanced
and confusing for us idiot * users :P 


pgpnQAl2fY1va.pgp
Description: PGP signature


Re: mixer levels on boot

2007-09-18 Thread Ariff Abdullah
On Tue, 18 Sep 2007 18:18:23 -0300
"Harry Doyle" <[EMAIL PROTECTED]> wrote:
> hi guys,
> i've tried a couple suggestions, but nothing is working for me. here
> is a few things from the console that might be helpful. no xwindows
> on this machine, it's just a base freebsd network install with  only
> the necessary packages installed to do the audio stuff it needs to
> do.
> 
> radio# mixer
> Mixer vol  is currently set to 100:100
> Mixer pcm  is currently set to   0:0
> Mixer speaker  is currently set to  75:75
> Mixer mic  is currently set to   0:0
> Mixer cd   is currently set to  75:75
> Mixer rec  is currently set to   7:7
> Recording source: mic
> 
> radio# uname -a
> FreeBSD radio 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12
> 11:05:30 UTC 2007
> [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP  i386
> 
> when i issue /etc/rc.d/mixer stop then reboot, the mixer shows set
> to 7:7, but then  it still clips like it does on 90. then i set
> mixer to 7 and it says setting mixer fro 90 to  7.
> 
> i am thinking that /etc/rc.d/mixer gets invoked before kldload loads

Why not putting snd_whatever_load=YES into /boot/loader.conf ? That is
the proper way, once you know the exact module for your soundcard.

.. and please remember to use "shutdown -r now" rather than "reboot"
or "halt". That's the way to preserve mixer settings across boot/power
cycle.

> the driver because both dmesg and mixer tell me there is no mixer
> device till the machine is up for around 2 minutes. maybe i will try
> the hda enable in rc.conf, but it doesn't seem ac97 on unix is as
> well supported as the windows drivers so i need the particular
> driver i downloaded (i might be wrong).
> 


--
Ariff Abdullah
FreeBSD

... Recording in stereo is obviously too advanced
and confusing for us idiot * users :P 


pgpreRJ1uwENV.pgp
Description: PGP signature


Re: Skype - problem with sound device

2007-07-06 Thread Ariff Abdullah
On Fri, 6 Jul 2007 22:52:43 +1000
Norberto Meijome <[EMAIL PROTECTED]> wrote:
> On Fri, 6 Jul 2007 19:46:34 +0800
> Ariff Abdullah <[EMAIL PROTECTED]> wrote:
> 
> > Most of it are actually duplicates due to spawning threads or
> > child forks, so it is safe to ignore it.
> > 
> 
> gotcha.
> 
> > > Is this normal / expected? 
> > >   
> > 
> > It is as "normal/expected" as it is since I don't have any skype
> > sources to examine with :) . Why it leaves so many dangling opened
> > devices is beyond my comprehension.
> 
> :) touche. I meant, is it normal to see so many opened devices..
> answered :)
> 

I don't recall skype being some kind of sound driver torture test
regression software suite, but well... :)


--
Ariff Abdullah
FreeBSD

... Recording in stereo is obviously too advanced
and confusing for us idiot * users :P 


pgpDH7qEUwOwD.pgp
Description: PGP signature


Re: Skype - problem with sound device

2007-07-06 Thread Ariff Abdullah
On Fri, 6 Jul 2007 21:09:06 +1000
Norberto Meijome <[EMAIL PROTECTED]> wrote:
> On Fri, 6 Jul 2007 16:29:34 +0800
> Ariff Abdullah <[EMAIL PROTECTED]> wrote:
> 
> 
> > Show me the output of
> > 
> > #fstat|grep
> > #'\(\(dsp\|audio\|dspW\|mixer\)[0-9]\|\(snd\|midi\)stat\)'
> > 
> > .. before/after opening skype.
> 
> Hi Ariff :) 
> 
> I haven't had the problem since.But i decided to check with
> fstat...and I was amazed at the number of file descriptors (to
> /dev/[sound_related]) that skype keeps open.
> 
> I use skype extensively, both for chat + voice. I've had skype
> running for over 12 hours, probably 24 hours (my uptime says 1 day
> 21 hours...so maybe as long as that). When  I run your command, I
> got 2700+ entries  - all but 2 were skype's!  You can see it for
> yourself at
> 
> http://www.meijome.net/files/freebsd/20070706/withskype_12hrs+.txt
> 
> I then shut down skype :
> http://www.meijome.net/files/freebsd/20070706/b4skype.txt
> 
> And opened it again, waited it to log in and go another snapshot:
> http://www.meijome.net/files/freebsd/20070706/withskype.txt (no
> changes really).
> 
> I then did a test call to the skype test call bot, while the call
> was running i got:
> http://www.meijome.net/files/freebsd/20070706/skype_1_call.txt
> 
> which is , i suppose, ok... but AFTER the call, I still had several
> entries left over:
> http://www.meijome.net/files/freebsd/20070706/skype_1_call_finished.txt
> 

Most of it are actually duplicates due to spawning threads or child
forks, so it is safe to ignore it.

> Is this normal / expected? 
> 

It is as "normal/expected" as it is since I don't have any skype
sources to examine with :) . Why it leaves so many dangling opened
devices is beyond my comprehension.




--
Ariff Abdullah
FreeBSD

... Recording in stereo is obviously too advanced
and confusing for us idiot * users :P 


pgpDOaGxasvN1.pgp
Description: PGP signature


Re: Skype - problem with sound device

2007-07-06 Thread Ariff Abdullah
On Fri, 6 Jul 2007 12:07:16 +0200
Zbigniew Komarnicki <[EMAIL PROTECTED]> wrote:
> On Friday 06 of July 2007 11:43:01 you wrote:
> > > Before:
> > > # fstat|grep
> > > # '\(\(dsp\|audio\|dspW\|mixer\)[0-9]\|\(snd\|midi\)stat\)'
> > > zbyszek kdeinit88649   10 /dev 37 crw-rw-rw- 
> > > mixer0 rw zbyszek artsd  878999 /dev 38
> > > crw-rw-rw- dsp0.0 rw
> >
> >  ^^
> >
> > Looks like artsd consuming your record channel, which is why skype
> > fail to grab it for its own purpose. You have to disable artsd.
> 
> When I disabled artsd, skype works.  Thank you.
> 
> Now, after start skype I have
> # fstat | grep
> # '\(\(dsp\|audio\|dspW\|mixer\)[0-9]\|\(snd\|midi\)stat\)'
> zbyszek skype_bin  68381   30 /dev 37 crw-rw-rw-  mixer0
> rw zbyszek skype_bin  68381   31 /dev 38 crw-rw-rw- 
> dsp0.0 rw zbyszek skype_bin  67507   30 /dev 37
> crw-rw-rw-  mixer0 rw zbyszek skype_bin  67507   31 /dev
> 38 crw-rw-rw-  dsp0.0 rw zbyszek skype_bin  67506   30 /dev 
>37 crw-rw-rw-  mixer0 rw
> zbyszek skype_bin  67506   31 /dev 38 crw-rw-rw-  dsp0.0
> rw zbyszek skype_bin  67505   30 /dev 37 crw-rw-rw- 
> mixer0 rw zbyszek skype_bin  67505   31 /dev 38
> crw-rw-rw-  dsp0.0 rw zbyszek skype_bin  66961   30 /dev
> 37 crw-rw-rw-  mixer0 rw zbyszek skype_bin  66961   31 /dev 
>38 crw-rw-rw-  dsp0.0 rw
> zbyszek skype_bin  65863   30 /dev 37 crw-rw-rw-  mixer0
> rw zbyszek skype_bin  65863   31 /dev 38 crw-rw-rw- 
> dsp0.0 rw zbyszek kdeinit88649   10 /dev 37
> crw-rw-rw-  mixer0 rw
> 
> 
> I have a question. Is possible to use skype without disabling artsd,
> in my  case? In Debian it works, so I suppose that it must work, but
> how to do it  under FreeBSD? 
> 

Not possible with 6.x, unless you willing to apply patch or
using binary modules from http://people.freebsd.org/~ariff/ .

This is not an issue anymore for -current or future 7.x.


> Thank you a lot Ariff ! 
> 
> Best regards :-)
> Zbyszek
> 
> 
> 
> _______
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
> 
> 


--
Ariff Abdullah
FreeBSD

... Recording in stereo is obviously too advanced
and confusing for us idiot * users :P 


pgp2L5t3e9ItM.pgp
Description: PGP signature


Re: Skype - problem with sound device

2007-07-06 Thread Ariff Abdullah
On Fri, 6 Jul 2007 10:50:04 +0200
Zbigniew Komarnicki <[EMAIL PROTECTED]> wrote:
> On Friday 06 of July 2007 10:29:34 you wrote:
> > Show me the output of
> >
> > #fstat|grep
> > #'\(\(dsp\|audio\|dspW\|mixer\)[0-9]\|\(snd\|midi\)stat\)'
> >
> > .. before/after opening skype.
> 
> Before:
> # fstat|grep
> # '\(\(dsp\|audio\|dspW\|mixer\)[0-9]\|\(snd\|midi\)stat\)'
> zbyszek kdeinit88649   10 /dev 37 crw-rw-rw-  mixer0
> rw zbyszek artsd  878999 /dev 38 crw-rw-rw- 
> dsp0.0 rw
 ^^
> 

Looks like artsd consuming your record channel, which is why skype
fail to grab it for its own purpose. You have to disable artsd.


> and after:
> # fstat | grep
> # '\(\(dsp\|audio\|dspW\|mixer\)[0-9]\|\(snd\|midi\)stat\)'
> zbyszek skype_bin  74183   30 /dev 37 crw-rw-rw-  mixer0
> rw zbyszek skype_bin  73910   30 /dev 37 crw-rw-rw- 
> mixer0 rw zbyszek skype_bin  73909   30 /dev 37
> crw-rw-rw-  mixer0 rw zbyszek skype_bin  73908   30 /dev
> 37 crw-rw-rw-  mixer0 rw zbyszek skype_bin  73093   30 /dev 
>37 crw-rw-rw-  mixer0 rw
> zbyszek skype_bin  72813   30 /dev 37 crw-rw-rw-  mixer0
> rw zbyszek kdeinit88649   10 /dev 37 crw-rw-rw- 
> mixer0 rw zbyszek artsd  878999 /dev 38
> crw-rw-rw-  dsp0.0 rw
> 


--
Ariff Abdullah
FreeBSD

... Recording in stereo is obviously too advanced
and confusing for us idiot * users :P 


pgpsZj1aX8lnr.pgp
Description: PGP signature


Re: Skype - problem with sound device

2007-07-06 Thread Ariff Abdullah
On Fri, 6 Jul 2007 11:12:51 +1000
Norberto Meijome <[EMAIL PROTECTED]> wrote:
> On Thu, 5 Jul 2007 15:57:21 +0200
> Zbigniew Komarnicki <[EMAIL PROTECTED]> wrote:
> 
> > Hello,
> > 
> > I have also problem with skype. When I try call to friend then I
> > obtain  following message: 
> > "Problem with sound device".
> > 
> > When I run skype from console I get the following message (when I
> > call): "/dev/dsp: Device or resource busy"
> > 
> > On my Debian I haven't such problem. 
> > 
> > I also change, 
> > sysctl hw.snd.maxautovchans=8
> > 
> > as was in previous message about skype, but still is the problem
> > with sound  device.
> > 
> > From 'dmesg', I have:
> > 
> > pcm0:  port 0xb000-0xb0ff,0xb400-0xb47f mem
> > 0xe8001000-0xe80 01fff irq 21 at device 6.0 on pci0
> > pcm0: 
> 
> Hi Zbigniew,
> interestingly...i've had this problem a couple of times a few days
> ago. The first call would work fine, the following would not at all.
> Restarting skype would fix it, but then it'd stop working again.
> what kernel + world (from what day) are you running?
> mine is 
> FreeBSD ayiin.xxx.com.au 6.2-STABLE FreeBSD 6.2-STABLE #10: Sun
> Jul  1 09:50:58 EST 2007 
> 
> World from same day or a day or 2 earlier.
> [EMAIL PROTECTED]:27:0: class=0x040300 card=0x05b71014 chip=0x26688086
> rev=0x03 hdr=0x00
> vendor = 'Intel Corporation'
> device = '82801FB/FR/FW/FRW Intel High DefiNition Audio
> Controller' class  = multimedia
> 
> Sound drivers from -STABLE. Skype 1.3 from ports.
> 

Show me the output of

#fstat|grep '\(\(dsp\|audio\|dspW\|mixer\)[0-9]\|\(snd\|midi\)stat\)'

.. before/after opening skype.


--
Ariff Abdullah
FreeBSD

... Recording in stereo is obviously too advanced
and confusing for us idiot * users :P 


pgpGnp0kPrduB.pgp
Description: PGP signature


Re: sound drivers

2007-03-16 Thread Ariff Abdullah
On Fri, 16 Mar 2007 16:22:37 -0300
freenity <[EMAIL PROTECTED]> wrote:
> ok. I downloaded this. and copied the file snd_hda to /boot/kernel
> and /boot/GENERIC
> then I executed kldload snd_hda but there was this error:
> 
> can't load snd_hda: Exec format error
> 

http://people.freebsd.org/~ariff/lowlatency/

Please read the README, there.


--
Ariff Abdullah
FreeBSD

... Recording in stereo is obviously too advanced
and confusing for us idiot * users :P 


pgpbJCO2IQihj.pgp
Description: PGP signature


Re: sound drivers

2007-03-14 Thread Ariff Abdullah
On Wed, 14 Mar 2007 20:12:35 -0300
freenity <[EMAIL PROTECTED]> wrote:
> yes multimedia worked. output:
> 
> 
> $ pciconf -vl | grep -iB 4 multimedia
> class= bridge
> subclass = PCI-PCI
> [EMAIL PROTECTED]:16:1:   class=0x040300 card=0xcb8410de
> chip=0x026c10de rev=0xa2 hdr=0x00
> vendor   = 'NVIDIA Corporation'
> class= multimedia
> $
> 

This require snd_hda , not snd_ich.

http://people.freebsd.org/~ariff/lowlatency/sndkld_releng6_amd64_lowlatency.tar.gz


--
Ariff Abdullah
FreeBSD

... Recording in stereo is obviously too advanced
and confusing for us idiot * users :P 


pgpD7Qioayccb.pgp
Description: PGP signature


Re: snd_envy24 driver -- sound vanishes after first use

2007-03-04 Thread Ariff Abdullah
On Sun, 4 Mar 2007 18:38:33 -0800
Oliver Iberien <[EMAIL PROTECTED]> wrote:
> 
> Unfortunately, it fails with:
> 
> pcm0: chn_init(pcm0:record:0) failed: err = 19
> pcm0: pcm_chn_create(envy24chan, -1, 0xc3a07400) failed
> 

Fetch snd_envy24.ko and try again.


--
Ariff Abdullah
FreeBSD

... Recording in stereo is obviously too advanced
and confusing for us idiot * users :P 


pgp43HxkEXT38.pgp
Description: PGP signature


Re: snd_envy24 driver -- sound vanishes after first use

2007-03-04 Thread Ariff Abdullah
On Sun, 4 Mar 2007 12:57:02 -0800
Oliver Iberien <[EMAIL PROTECTED]> wrote:
> On Tuesday 20 February 2007 09:05, you wrote:
> > On Tue, 20 Feb 2007 08:44:15 -0800
> > Oliver Iberien <[EMAIL PROTECTED]> wrote:
> > [...]
> 
> I'm finding that sound seems to vanish after having been used by one
> 
> application once. For instance, if I try to play a RealAudio stream,
> it  works, but if I try to change streams, it fails and will not
> produce sound  again for this or another application. This is
> FreeBSD 6.0. using  KDE 3.5.5, and drivers downloaded from ~ariff
> today. 
> 
> This error appears occasionally:
> 
> Mar  3 23:17:03 bsd kernel: pcm0:play:1:dsp0.p1: play interrupt
> timeout,  channel dead
> 

Try these (get _both_):

http://people.freebsd.org/~ariff/test/sound.ko
http://people.freebsd.org/~ariff/test/snd_envy24.ko



> The driver loads with this:
> 
> Mar  3 23:29:59 bsd kernel: pcm0:  2496)>  port 0x8000-0x801f,0x8400-0x840f,0x8800-0x880f,0x8c00-0x8c3f
> irq 16 at device  6.0 on pci5
> Mar  3 23:29:59 bsd kernel: pcm0: system configuration
> Mar  3 23:29:59 bsd kernel: SubVendorID: 0x1412, SubDeviceID: 0xd634
> Mar  3 23:29:59 bsd kernel: XIN2 Clock Source:
> 22.5792MHz(44.1kHz*512) Mar  3 23:29:59 bsd kernel: MPU-401 UART(s)
> #: 1
> Mar  3 23:29:59 bsd kernel: AC'97 codec: not exist
> Mar  3 23:29:59 bsd kernel: ADC #: 1
> Mar  3 23:29:59 bsd kernel: DAC #: 1
> Mar  3 23:29:59 bsd kernel: Multi-track converter type: I2S(96KHz
> support,  24bit resolution, ID#0x2)
> 
> And this always appears, repeated several times:
> 
> mixer: WRITE_MIXER: Device not configured
> 
> Mixer can only change a few settings:
> 
> bsd# mixer line +100
> Setting the mixer line from 0:0 to 100:100.
> bsd# mixer speaker +100
> Setting the mixer speaker from 0:0 to 100:100.
> mixer: WRITE_MIXER: Device not configured
> bsd# mixer bass +50
> Setting the mixer bass from 0:0 to 50:50.
> mixer: WRITE_MIXER: Device not configured
> 
> Some related discussion here: 
> http://lists.freebsd.org/pipermail/freebsd-current/2007-February/069273.html
> .)
> 
> Thanks for any advice you can provide.
> 
> Oliver
> 


--
Ariff Abdullah
FreeBSD

... Recording in stereo is obviously too advanced
and confusing for us idiot * users :P 


pgpxNPLG2PhvJ.pgp
Description: PGP signature


Re: snd_envy24 driver for MAudio 2496 sound card in 6.x?

2007-02-20 Thread Ariff Abdullah
On Tue, 20 Feb 2007 08:44:15 -0800
Oliver Iberien <[EMAIL PROTECTED]> wrote:
[...] 
> Is it necessary to recompile the kernel without sound support, if it
> has  previously been compiled in? Would this mean compiling it
> without device  sound?
> 
Yes. Please remove any trace of sound/snd_* within your kernel before
using these binary modules.

> Does "dump everything" mean use dump, or could they just be copied?
> If dump,  how is it used?
> 
Copy, overwrite, it's all the same.


--
Ariff Abdullah
FreeBSD

... Recording in stereo is obviously too advanced
and confusing for us idiot * users :P 


pgp2xgOafdL0Y.pgp
Description: PGP signature


Re: snd_envy24 driver for MAudio 2496 sound card in 6.x?

2007-02-20 Thread Ariff Abdullah
On Mon, 19 Feb 2007 23:45:15 -0800
Oliver Iberien <[EMAIL PROTECTED]> wrote:
> Hello -- Is there some way to get the snd_envy24 driver for this
> card without  using 7.0? 
> 

Here:

http://people.freebsd.org/~ariff/BINARY_MODULES/


--
Ariff Abdullah
FreeBSD

... Recording in stereo is obviously too advanced
and confusing for us idiot * users :P 


pgpFkPK2ZzxJh.pgp
Description: PGP signature


Re: AWE64 not working.

2007-02-16 Thread Ariff Abdullah
On Fri, 16 Feb 2007 09:48:38 -0800
Gary Kline <[EMAIL PROTECTED]> wrote:
> On Sat, Feb 17, 2007 at 01:27:36AM +0800, Ariff Abdullah wrote:
> > On Fri, 16 Feb 2007 09:13:00 -0800
> > Gary Kline <[EMAIL PROTECTED]> wrote:
> > >   Last night I verfied that the AWE64 is indeed the sound card
> > >   in my Kayak running 6.2, p#3.  Still, no /dev/dsp, and no
> > >   audio.   dmesg gives me this::
> > > 
> > > 
> > > sbc0:  at port 0x240-0x24f,0x340-0x341 irq 9
> > > drq 1,5 on isa0 sbc0: [GIANT-LOCKED]
> > > 
> > >   Any sound gurus out there with some clues for my nezt->step?
> > > 
> > > 
> 
>   Hm, every one is built; I have kld[loaded|unloaded] all from
>   the cmdline to no avail.  --I *might* have the spkr banana
>   plug in the wrong jack; doubt it.  I've tried almost every
>   combo of *.ko modules I can think of  to no avail.   Is there
>   some mix of "hints" that I  need to dump into the /boot/*
>   directory?
> 

Try to remove everything from your kernel and use modules. You need
both snd_sb16 and snd_sbc loaded.

>   gary
> 
> > 
> > What snd modules are loaded/compiled ?
> > 
> 
> 


--
Ariff Abdullah
FreeBSD

... Recording in stereo is obviously too advanced
and confusing for us idiot * users :P 


pgpSLiOth8ntA.pgp
Description: PGP signature


Re: AWE64 not working.

2007-02-16 Thread Ariff Abdullah
On Fri, 16 Feb 2007 09:13:00 -0800
Gary Kline <[EMAIL PROTECTED]> wrote:
>   Last night I verfied that the AWE64 is indeed the sound card
>   in my Kayak running 6.2, p#3.  Still, no /dev/dsp, and no
>   audio.   dmesg gives me this::
> 
> 
> sbc0:  at port 0x240-0x24f,0x340-0x341 irq 9 drq
> 1,5 on isa0 sbc0: [GIANT-LOCKED]
> 
>   Any sound gurus out there with some clues for my nezt->step?
> 
> 

What snd modules are loaded/compiled ?


--
Ariff Abdullah
FreeBSD

... Recording in stereo is obviously too advanced
and confusing for us idiot * users :P 


pgpUf9hxPGnur.pgp
Description: PGP signature


Re: sound/ irq

2006-11-26 Thread Ariff Abdullah
On Sat, 25 Nov 2006 19:14:27 +
"Desmond Chapman" <[EMAIL PROTECTED]> wrote:
> How do I reset the IRQ to load the soundriver at boot time without
> using the  command line?
> 
> I have to do this at boot:
> (root login)
> pwd
> cd /usr/src
> grep ALC658 sys/dev/sound/pcm/ac97.c
> (the sound card is loaded)
> Then:
> kldload snd_driver
> And I get the following output:
> sio1: configured irq 3 not in bitmap of probed irqs 0
> sio1: port may not be enabled
> sio1: configured irq 3 not in bitmap of probed irqs 0
> sio1: port may not be enabled
> sio1: configured irq 3 not in bitmap of probed irqs 0
> sio1: port may not be enabled
> sio1: configured irq 3 not in bitmap of probed irqs 0
> sio1: port may not be enabled
> sio1: configured irq 3 not in bitmap of probed irqs 0
> sio1: port may not be enabled
> sio1: configured irq 3 not in bitmap of probed irqs 0
> sio1: port may not be enabled
> pcm0:  mem 0xfe02a000-0xfe02a0ff irq 17 at device 20.5
> on pci0 pcm0: 
> sio1: configured irq 3 not in bitmap of probed irqs 0
> sio1: port may not be enabled
> 
> Once again, what can I do to fix this?
> 

Put these into your /boot/loader.conf:

sound_load="YES"
snd_atiixp_load="YES"


--
Ariff Abdullah
FreeBSD

... Recording in stereo is obviously too advanced
and confusing for us idiot * users :P 


pgpXeSPRW53yQ.pgp
Description: PGP signature


Re: snd_hda driver for 6.1 now working

2006-11-02 Thread Ariff Abdullah
On Fri, 3 Nov 2006 04:24:27 +0200
Giorgos Keramidas <[EMAIL PROTECTED]> wrote:
> On 2006-11-02 23:22, Sergio Lenzi <[EMAIL PROTECTED]> wrote:
> > Hello all
> >
> > after trying to set up the sound on the 6.1 RELEASE  on a acer
> > aspire 3100 notebook, I realise that the driver for the sound chip
> > was the HDA (high definition audio)
> >
> > That notebook use a realtek version of the sound ship.
> >
> > The code I get in the internet does not compile in the 6.1-RELEASE
> > it complains about some missing entry points in the sound.ko
> > module (that exists in the -current kernel).
> >
Sergio, sorry, but you missed the [HEADS UP], and did it all wrong.

http://lists.freebsd.org/pipermail/freebsd-multimedia/2006-September/004864.html

http://people.freebsd.org/~ariff/HDA/

or even better, http://people.freebsd.org/snd_RELENG_6*.diff.gz, or if
you comfortable with binary module,
http://people.freebsd.org/~ariff/lowlatency/

> > I do not want to to use the CURRENT so I fixed the code to work
> > with the 6.1-RELEASE..the main problem was the distorted sound
> > it produces The problem was that the realtek chip was not able to
> > make dma larger than 4096 bytes long   a small fix in the hdac.c
> > code did the trick
> >
It is not because of the chip cannot do DMA larger than 4k. It is
because your hardware combination. Smaller DMA means higher interrupt
rate, and your chip need to compete with other peripherals to combat
with that. All this can be solved by just using
"hint.pcm.0.buffersize=4096" without any single driver source tweak.
Note that you probably don't even need this tunable hint if you using
the above "lowlatency" (which itself need another HEADS UP)
patch/module.

> > Just get the file http://www.k1.com.br/downloads/snd_hda.tar.gz
> > unpack it and do o make;make install inside the directory created 
> >  (you must
> > have the kernel sources installed)
> 
> Hi Sergio,
> 
> if you haven't done so already, then maybe ariff@ is interested in
> seeing your patches, reviewing them and then MFC'ing the driver
> changes, so 6-STABLE users can benefit from your work too.
> 
> I've copied him to this reply.  If your merge was ok, it would be
> (IMHO) beneficial to all if you two guys worked together to bring
> the driver to a stable enough state for RELENG_6 too, right? :)
> 
> - Giorgos
> 
> 


--
Ariff Abdullah
FreeBSD

... Recording in stereo is obviously too advanced
and confusing for us idiot * users :P 


pgpEhj7cpy9DJ.pgp
Description: PGP signature


Re: Sound a bit garbled after awhile

2006-10-22 Thread Ariff Abdullah
On Sat, 21 Oct 2006 23:11:53 +0200 (CEST)
Bobby Knight <[EMAIL PROTECTED]> wrote:
> Hello
> 
> I have this problem that after awhile, sometimes a rather long
> while, the sound starts to suck. It is noticeable by the base which
> gets that typical broken sound. The sound gets restored after I
> reload the kernel module snd_ich...
> 
> Is there some sysctl that needs to be set for the sound to be good
> all the time? 
> 
> Thank you
> 
Tell us more about your machine, motherboard, freebsd release, etc.
pciconf -lv


--
Ariff Abdullah
FreeBSD

... Recording in stereo is obviously too advanced
and confusing for us idiot * users :P 


pgpWxyDt8gu0U.pgp
Description: PGP signature


Re: How do I set Mixer settings in stone.

2006-08-07 Thread Ariff Abdullah
On Sun, 6 Aug 2006 20:39:34 -0700
"Nikolas Britton" <[EMAIL PROTECTED]> wrote:
> After every reboot I need to run 'mixer ogain 85'. I'd like to never
  ^^
> have to do this again. How do I tell this to FreeBSD? I've tried
> yelling at him, for example:
> 
> FreeBSD! Stop resetting the mixer ogain! damit!
> 
> But this never works.
> 
> 
Don't use "reboot", "halt" while in multi-user mode.
Use "shutdown -{r,h} now", instead.

http://www.freebsd.org/cgi/query-pr.cgi?pr=96501

Just... DON'T :)


--
Ariff Abdullah
FreeBSD


pgpLkYutKdtfN.pgp
Description: PGP signature


Re: Lock up during install on Compaq Presario notebook with Turion chip - Disabling ACPI doesn't help

2006-05-10 Thread Ariff Abdullah
On Wed, 10 May 2006 20:05:46 -0600
Lorin Lund <[EMAIL PROTECTED]> wrote:
> Nikolas Britton wrote:
> 
> > On 5/9/06, Lorin Lund <[EMAIL PROTECTED]> wrote:
> >
> >> I have tried installing 6.0-RELEASE for x64 and 6.1-RELEASE for
> >i386. > They both
> >> lock up.  Below I have transcribed the information showing on the
> >screen > when it stops:
> >>
> >> I'm open to any suggestions/pointers.
> >>
> >> atkbdc0:  port 0x60,0x64 irq 1 on
> >acpi0 > atkbd0:  irq 1 on atkbdc0
> >> kbd0 at atkbd0
> >> atkbd0: [GIANT-LOCKED]
> >> psm0:  irq 12 on atkbdc0
> >> psm0: [GIANT-LOCKED]
> >> psm0: model IntelliMouse, device ID 3
> >> acpi-acad0:  on acpi0
> >> battery0:  on acpi0
> >> pmtimer0 on isa0
> >> orm0:  at iomem
> >> 0xc-0xc,0xd-0xd0fff,0xdc000-0xd,0xe-0xe3fff
> >on isa0 > ppc0: parallel port not found.
> >> sc0:  at flags 0x100 on isa0
> >> sc0: VGA <16 virttual consoles, flags=0x300>
> >> sio0: configured irq 4 not in bitmap of probed irqs 0
> >> sio0: port may not be enabled
> >> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
> >> sio0: type 8250 or not responding
> >> sio1: configured irq 3 not in bitmap of probed irqs 0
> >> sio1: port may not be enabled
> >> vga0:  at port 0x3c0-0x3df iomem 0xa-ixb
> >on  > isa0
> >> Timecounter "TSC" frequency 1794786721 Hz quality 800
> >> Timecounters tick every 1.000 msec
> >>
> >>
> >
> > Disable ACPI
> 
> tried that.  Still locks up at same place.
> When I tried verbose it showed 2 more lines after the Timecounters
> line: lo0: bpf attached
> rr232x: no controller detected
> 
> That was with 6.1-RELEASE  i386.  When I try it with 6.0-RELEASE x64
> and  select 'verbose' the last two lines are:
> Linux ELF exec handler installed
> lo0: bpf attached
> 
Try to disable serial ports, something like this:

http://lists.freebsd.org/pipermail/freebsd-questions/2005-November/103456.html


--
Ariff Abdullah
FreeBSD


pgp9lIO6v3wqp.pgp
Description: PGP signature


Re: FBSD 5.x and Skype sound

2006-05-01 Thread Ariff Abdullah
On Wed, 26 Apr 2006 11:38:00 -0300 (BRT)
[EMAIL PROTECTED] wrote:
> Hi all,
> 
>   I know that there is a lot o threads about this, but none of
>   the 
> workarrounds had worked with me.
> 
>   I trying to use skype (1.2.0.18 from ports), on a FBSD 5.4
>   (last 
> cvs), but the sound is failing.
> 
>   My on-board sound chipset is CMI8738, I'm using the 
> snd_cmi_load="YES" in the /boot/loder.conf.
>   I've tried set sysctl vars hw.snd.pcm0.vchans and 
> hw.snd.maxautovchans, but nothing worked.
> 
>   The problem is associated only with skype.
> 
>   Any tips?
> 

What kind of problem? What FreeBSD version?

Refer to http://people.freebsd.org/~ariff/BUG_REPORT . I need all that
informations first.


--
Ariff Abdullah
FreeBSD


pgpcuiaxX0lez.pgp
Description: PGP signature


Re: sound on Compaq Presario (and kernel question)

2006-03-22 Thread Ariff Abdullah
On Wed, 22 Mar 2006 12:30:05 +0100 (CET)
Anna Davour <[EMAIL PROTECTED]> wrote:
> On Wed, 22 Mar 2006, Ariff Abdullah wrote:
> 
> > On Tue, 21 Mar 2006 18:46:25 +0100 (CET)
> > Anna Davour <[EMAIL PROTECTED]> wrote:
> >>
> >> Trying to get the sound to work on my Compaq Presario M2000.
> >>
> >> Now uname -a gives:
> >>
> >> FreeBSD possession 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #0: Thu
> >Mar >  9
> >> 20:27:08 CET 2006
> >> [EMAIL PROTECTED]:/usr/obj/usr/src/sys/KERNEL2  i386
> >>
> >>
> > 1) Don't compile sound support into your kernel, remove any
> >  "device sound/snd" or whatsoever from there.
> > 2) Don't "kldload snd_driver" . Use "kldload sound" and
> >   "kldload snd_atiixp"
> > 3) If the above doesn't work, post your kernel config here, also
> > the
> >   output of "vmstat -i"
> 
> OK. I have tried 1) and 2), and still don't get it to work. Kernel
> config  is attached, and "vmstat -i" gives
> 
You left out "options PREEMPTION" in your kernel, which is pretty much
*mandatory* for snd_atiixp driver. Put it back, recompile your kernel,
and try again.



--
Ariff Abdullah
FreeBSD


pgpkPWyDGGXoD.pgp
Description: PGP signature


Re: sound on Compaq Presario (and kernel question)

2006-03-21 Thread Ariff Abdullah
On Tue, 21 Mar 2006 18:46:25 +0100 (CET)
Anna Davour <[EMAIL PROTECTED]> wrote:
> 
> 
> Trying to get the sound to work on my Compaq Presario M2000. With
> version  5.4 everything worked fine except sound and ACPI. After
> looking at  http://people.freebsd.org/~ariff/ I had the impression
> that I could get  the sound to work by applying the provided patch,
> but that it should work  without extra tricks if I upgraded to
> version 6 of the kernel. Well, I  didn't succeed with the patch, but
> since I didn't think sound so important  I let it be for the moment.
> 
> Later I decided to upgrade anyway, and now I return to the sound
> problem.
> 
> Now uname -a gives:
> 
> FreeBSD possession 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #0: Thu Mar
>  9 
> 20:27:08 CET 2006
> [EMAIL PROTECTED]:/usr/obj/usr/src/sys/KERNEL2  i386
> 
> Here I must ask what PRERELEASE actually means. It's not in the
> handbook  as far as I can see.
> 
1) Don't compile sound support into your kernel, remove any
  "device sound/snd" or whatsoever from there.
2) Don't "kldload snd_driver" . Use "kldload sound" and
   "kldload snd_atiixp"
3) If the above doesn't work, post your kernel config here, also the
   output of "vmstat -i"



--
Ariff Abdullah
FreeBSD


pgpUWuMsTOOVN.pgp
Description: PGP signature


Re: soundcard optimize

2006-03-17 Thread Ariff Abdullah
On Fri, 17 Mar 2006 22:21:48 +0100
dick hoogendijk <[EMAIL PROTECTED]> wrote:
> Running FreeBSD-6.0 on an older AMD duron800 (512Mb). Sometimes the
> sound stutters. It's an older soundcard (es137x / SB PCI 128)
> 
> I *know* the sound support is much better in FreeBSD-6.1 but I can't
> update yet (production server).

The idea of having sound and multimedia facilities on production
server is quite disturbing :)

> 
> So I wonder, are there sysctl setttings that will improve the sound
> support in fbsd-6.0 that I can set?
>

1) Enable virtual channels
   # sysctl hw.snd.maxautovchans=10
   # sysctl hw.snd.pcm0.vchans=1

2) Increase PCI Latency Timer, either through BIOS, or using
   pciconf(8). You can use this:

 http://people.freebsd.org/~ariff/utils/pcilattimer

   .. to avoid cryptic nature of pciconf(8) (it is just a wrapper to
   pciconf, by the way).

3) Use SCHED_ULE .. wait, that is production server ;)

--
Ariff Abdullah
FreeBSD


pgpDfM6Y0Rd75.pgp
Description: PGP signature


Re: Sound Crackling When Reading From Hard Drives

2006-03-16 Thread Ariff Abdullah
On Thu, 16 Mar 2006 16:50:17 -0600
Mark Kane <[EMAIL PROTECTED]> wrote:
> 
> My sound is compiled into the kernel so I'm not sure how to reload
> the  driver without rebooting. I did try the above suggestions
> though. When  trying 32768 and 65536 the crackling in the audio got
> worse/louder than  before when copying data.
> 
Maybe you're experiencing resource contention caused by irq sharing.
Take a look at the output of vmstat -i. Try to move the soundcard
elsewhere (other pci slot). Another thing to consider is PCI Latency
Timer settings. If your BIOS has the option to toggle the value, try
to increase it. If not, use this:

   http://people.freebsd.org/~ariff/utils/pcilattimer



--
Ariff Abdullah
FreeBSD


pgpIjAT4LpVKI.pgp
Description: PGP signature


Re: Sound Crackling When Reading From Hard Drives

2006-03-16 Thread Ariff Abdullah
nd driver.

> 
> -Mark
> 
> FreeBSD amd64.localhost 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #8:
> Wed  Mar 15 12:04:40 CST 2006 
> [EMAIL PROTECTED]:/usr/obj/usr/src/sys/AMD643000  amd64
> 
> [EMAIL PROTECTED]:~]% cat /dev/sndstat
> FreeBSD Audio Driver (newpcm)
> Installed devices:
> pcm0:  at io 0x9400 irq 17  (8p/2r/0v 
> channels duplex default)
> 
> 
> 
> COPY TESTS:
> 
> ad0: 194481MB  at ata0-master UDMA133
> ad8: 76344MB  at ata4-master UDMA133
> ad10: 78166MB  at ata5-master UDMA133
> ad11: 156334MB  at ata5-slave UDMA133
> ad12: 194481MB  at ata6-master UDMA133
> ad14: 239372MB  at ata7-master UDMA133
> 
> /dev/ad0 (200GB Maxtor on Onboard IDE):
> ad0 -> ad10 = Clean
> ad0 -> ad12 = Clean
> ad0 -> ad14 = Clean
> 
> /dev/ad8 (80GB Maxtor on Promise card):
> ad8 -> ad10 = Heavy Crackling
> ad8 -> ad12 = Slight Crackling
> ad8 -> ad14 = Slight Crackling
> 
> /dev/ad10 (80GB Maxtor on Promise card):
> ad10 -> ad8 = Slight Crackling
> ad10 -> ad0 = Slight Crackling
> 
> /dev/ad11 (160GB Maxtor on Promise card)):
> ad11 -> ad14 = Very Slight Crackling and much faster copy time than
> rest
> 
> /dev/ad12 (200GB Maxtor on Onboard IDE):
> ad12 -> ad0 = Heavy Crackling
> ad12 -> ad8 = Heavy Crackling
> 
> /dev/ad14 (250GB Maxtor on Onboard IDE):
> ad14 -> ad0 = Heavy Crackling
> ad14 -> ad8 = Heavy Crackling
> ad14 -> ad11 = Heavy Crackling and music stopped playing for a few 
> seconds (music file being played back is on ad10)
> 
> 
> -- 
> GnuPG Public Key:
> http://www.mkproductions.org/mk_pubkey.asc
> 
> Internet Radio:
> Party107 (Trance/Electronic) - http://www.party107.com
> Rock 101.9 The Edge (Rock) - http://www.rock1019.net
> 
> IRC:
> MIXXnet IRC Network - irc.mixxnet.net (Nick: MIXX941)
> 


--
Ariff Abdullah
FreeBSD


pgpy4DGBbQLmZ.pgp
Description: PGP signature


Re: aureal-kmod woes

2006-03-14 Thread Ariff Abdullah
On Tue, 14 Mar 2006 21:56:24 -0500
"Anthony M. Agelastos" <[EMAIL PROTECTED]> wrote:
> Hello everyone,
> 
> I am running a 6-STABLE machine that I updated several days ago.
> When   the aureal-kmod port is shut down, it tells me about a memory
> leak   (see below). Being paranoid, I removed aureal-kmod from my
> system,   reinstalled the OS, and then installed aureal-kmod and the
> problem   persists. Any ideas?
> 
> dell# ./aureal.sh stop
> pcm0: detached
> Warning: memory type PCMaucore leaked memory on destroy (3  
> allocations, 144 byte
> s leaked).
> aureal-kmod
> 
> %uname -a
> FreeBSD dell.home.iq 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #0: Mon  
> Mar 13 07:44:55 EST 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/
> 
> IQKERNEL  i386
> 

So.. does it cause anything bad *especially during runtime* ?


--
Ariff Abdullah
FreeBSD


pgpKqfwoi77nL.pgp
Description: PGP signature


Re: xine and missing libdpstk

2006-02-07 Thread Ariff Abdullah
On Tue, 7 Feb 2006 07:32:07 +
Ben Paley <[EMAIL PROTECTED]> wrote:
> > Am 05.02.2006 um 06:43 schrieb Gary Kline:
> > >   I'm trying to build xine and find troubles with a missing
> > >   library, libdpstk.  I'm clueless re this DPS lib.  Anybody?
> >
> > /usr/ports/UPDATING  entry 20060126
> >
> > regards
> > tilman
> 
> Am I missing something? /usr/ports/UPDATING seems to be talking
> about  installed ports that complain at run time about missing
> libraries - that  isn't the problem here. The problem with libxine
> is that it won't compile in  the first place without libdpstk, so to
> "reinstall" as advised is impossible.

If you have ImageMagick or transcode installed, recompile that first.


--
Ariff Abdullah
FreeBSD


pgpCYyESz1jmH.pgp
Description: PGP signature


Re: Sound and Video cards not detected at boot

2006-02-03 Thread Ariff Abdullah
On Fri, 3 Feb 2006 16:03:04 -0500
"Paul Murphy" <[EMAIL PROTECTED]> wrote:
> > "Paul Murphy" <[EMAIL PROTECTED]> writes:
> >
> >> Hardware:
> >> Realtek High Definition Audio (integrated on mobo, ACL 880 I
> >think) > Windows XP says 'Location 65535 (Internal High Definition
> >Audio Bus)' >
> >> Radeon X1600
> >> Windows XP says 'PCI bus 1, device 0, function 0'
> >>
> >>
> >> Dmesg only shows the standard 'VGA' for video, and nothing for
> >sound. >
> >> I have tried compiling all the sound drivers in the kernel, as
> >well as > load sound.ko and snd_driver.ko as modules (without
> >drivers in kernel). >
> >> dmesg, uname, pciconf and .asl output can be found at
> >> http://home.cogeco.ca/~paul.murphy/
> >>
> >> Thanks for any help people can provide!
> >
> > Does this happen on 6.0?
> >
> 
> (If you mean literally '6.0') Yes, I tried it with 6.0 before I
> cvsupped  source.
> 
> (If you mean RELENG_6) See below:
> 
> FreeBSD earth.upton.net 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #0:
> Thu Feb 2 10:04:09 EST 2006
> [EMAIL PROTECTED]:/usr/obj/usr/src/sys/EARTH  i386
> 
Your soundcard (Intel High Definition Audio) isn't supported under
FreeBSD (yet).

You can try using driver from http://www.opensound.com/ .



--
Ariff Abdullah
FreeBSD


pgpGiKZZseyg5.pgp
Description: PGP signature


Re: Sony Vaio & sound

2006-01-27 Thread Ariff Abdullah
On Fri, 27 Jan 2006 19:43:50 -0600
Chris <[EMAIL PROTECTED]> wrote:
> 
> Additional info via pciconf -vl
> 
> [EMAIL PROTECTED]:27:0:class=0x040300 card=0x81a0104d
> chip=0x26688086  rev=0x03 hdr=0x00
>  vendor   = 'Intel Corporation'
>  device   = '82801FB/FR/FW/FRW Intel High DefiNition Audio
>  Controller' class= multimedia
> 
> 
Intel High Definition Audio isn't supported yet. You may try free for
personal use driver from http://www.opensound.com/ .



--
Ariff Abdullah
FreeBSD


pgpRRW7BD7geU.pgp
Description: PGP signature


Re: Sound driver for Compaq Presario?

2006-01-24 Thread Ariff Abdullah
On Tue, 24 Jan 2006 23:44:56 +0100 (CET)
Andreas Davour <[EMAIL PROTECTED]> wrote:
> 
> Considering what kind of memory for detail you have in these cases,
> I  bet that you remember correct and considering the name
> "snd_atiixp" it  wouldn't surprise me if that can solve the problem.
> Time to leave  FreeBSD 5.x aparantly.
> 
You don't have to.

http://people.freebsd.org/~ariff/ .

--
Ariff Abdullah
FreeBSD


pgpEuXyTTJjcG.pgp
Description: PGP signature


Re: IPv6: routing on the local LAN

2005-12-24 Thread Ariff Abdullah
On Sat, 24 Dec 2005 21:22:20 -0500
"Dan Langille" <[EMAIL PROTECTED]> wrote:
> On 25 Dec 2005 at 2:59, Ariff Abdullah wrote:
> 
> > On Sat, 24 Dec 2005 12:37:56 -0500
> > "Dan Langille" <[EMAIL PROTECTED]> wrote:
> > > Gidday folks,
> > > 
> > > I have an IPv6 routing problem within my LAN behind the gateway.
> > > 
> > > I have an IPv6 tunnel supplied by Hurricane Electric.  The
> > > tunnel is
> > > 
> > > setup and working.  From my gateway I can access various IPv6 
> > > websites (e.g http://www.kame.net).  I have enabled rtadvd(8) on
> > > my  gateway.  For the netstat, ifconfig, etc, see [1].
> > > 
> > > >From a computer inside my gateway, I cannot ping anything, not
> > > >even
> > > >
> > > the gateway.  I suspect it's because the routing tables are not
> > > being  set up on the gateway.  I expected the system to do that 
> > > automatically.  I also expected fxp0 to get an IPv6 address out
> > > of  this.  Did I guess wrong?  I suspect that if I can get fxp0
> > > on the  gateway, all will be well.  If not, I think Ineed to set
> > > up static  routes.
> > 
> > Add a single 2001:470:1F00:1979::/64 address each for both fxp0/1.
> > You don't even need rtadv.conf :)
> > 
> > rc.conf:-
> > ipv6_ifconfig_fxp0="2001:470:1F00:1979::1/64"
> > ipv6_ifconfig_fxp1="2001:470:1F00:1979::2/64"
> 
> Thanks.
> 
> I wanted to run rtadvd for the boxes inside the LAN.  That ensure 
> they get an address in the right range (AFAIK).
>
For this simple configuration, you don't even need rtadvd.conf. Adding
anyprefix/64 address to router interface and running rtadvd -D
router_interface will do the job.

> Now... I just have to find someone with services, such as cvsup, 
> available only over IPv6 But what I've been reading indicates 
> that cvsup is not IPv6 aware.
> 
AFAIK we're out of luck for now.

> 


--
Ariff Abdullah
MyBSD

http://www.MyBSD.org.my (IPv6/IPv4)
http://staff.MyBSD.org.my (IPv6/IPv4)
http://tomoyo.MyBSD.org.my (IPv6/IPv4)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: IPv6: routing on the local LAN

2005-12-24 Thread Ariff Abdullah
On Sat, 24 Dec 2005 12:37:56 -0500
"Dan Langille" <[EMAIL PROTECTED]> wrote:
> Gidday folks,
> 
> I have an IPv6 routing problem within my LAN behind the gateway.
> 
> I have an IPv6 tunnel supplied by Hurricane Electric.  The tunnel is
> 
> setup and working.  From my gateway I can access various IPv6 
> websites (e.g http://www.kame.net).  I have enabled rtadvd(8) on my 
> gateway.  For the netstat, ifconfig, etc, see [1].
> 
> >From a computer inside my gateway, I cannot ping anything, not even
> >
> the gateway.  I suspect it's because the routing tables are not
> being  set up on the gateway.  I expected the system to do that 
> automatically.  I also expected fxp0 to get an IPv6 address out of 
> this.  Did I guess wrong?  I suspect that if I can get fxp0 on the 
> gateway, all will be well.  If not, I think Ineed to set up static 
> routes.

Add a single 2001:470:1F00:1979::/64 address each for both fxp0/1. You
don't even need rtadv.conf :)

rc.conf:-
ipv6_ifconfig_fxp0="2001:470:1F00:1979::1/64"
ipv6_ifconfig_fxp1="2001:470:1F00:1979::2/64"

> 
> The workstation inside the LAN has the config shown in [2].  
> 
> Checking via tcpdump on the gateway, I can see pings from the client
> 
> hitting the internal NIC (fxp1) and going out the IPv6 tunnel
> (gif0).
> 
> In case I've missed something about setting up the tunnel, the 
> details are [3].
> 
> Suggestions, comments, thanks.
> 
> [1] Gateway - <http://www.langille.org/tmp/ipv6-config-gateway.txt>
> [2] Client - <http://www.langille.org/tmp/ipv6-config-client.txt>
> [3] Tunnel - <http://www.langille.org/tmp/ipv6-config-tunnel.txt>



--
Ariff Abdullah
MyBSD

http://www.MyBSD.org.my (IPv6/IPv4)
http://staff.MyBSD.org.my (IPv6/IPv4)
http://tomoyo.MyBSD.org.my (IPv6/IPv4)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: SB16 kernel troubles

2005-12-23 Thread Ariff Abdullah
On Thu, 22 Dec 2005 21:24:50 -0800
Gary Kline <[EMAIL PROTECTED]> wrote:
> 
>   In rebuilding my 5.4 kernel I added
> 
>   device sound
>   device "snd_sb16"

You forgot "device snd_sbc".

> 
>   to get my AWE-64 to work.   Anybody know what's causng the
>   linking troubles??
> 



--
Ariff Abdullah
MyBSD

http://www.MyBSD.org.my (IPv6/IPv4)
http://staff.MyBSD.org.my (IPv6/IPv4)
http://tomoyo.MyBSD.org.my (IPv6/IPv4)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD 5.x-6.0 Unable To Boot

2005-11-04 Thread Ariff Abdullah
On Fri, 4 Nov 2005 13:24:18 -0600
Nicholas Lozinsky <[EMAIL PROTECTED]> wrote:
> On a Compaq Presario M2000, using a Sempron 1.6Ghz CPU with 512 RAM,
> I am unable to install any copy of FreeBSD from 5.0 up to 6.0
> Release. Somehow, the 4.9, 4.8 and below, are able to install. The
> init gets stuck at:
> 
> sc0:  at flags 0x100 on isa0
> sc0: VGA <16 virtual consoles, flags=0x300>
> sio0: configured irq 4 not in bitmap of probed irqs 0
> sio0: port may not be enabled
> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
> sio0: type 8250 or not responding
> sio1: configured irq 3 not in bitmap of probed irqs 0
> sio1: port many not be enabled
> Timecounter "TSC" frequency 1600064074 Hz quality 800
> Timecounters tick every 1.000 msec
> 
> freezes here.
> 
> Any suggestions? Thank you.

Interrupt the kernel loading process, then:

set hint.sio.0.disabled=1
set hint.sio.1.disabled=1

.. continue booting


--
Ariff Abdullah
MyBSD

http://www.MyBSD.org.my (IPv6/IPv4)
http://staff.MyBSD.org.my (IPv6/IPv4)
http://tomoyo.MyBSD.org.my (IPv6/IPv4)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Performance Issues with AMD64 3000+, 1.5GB RAM, FreeBSD 5.4-RELEASE

2005-08-29 Thread Ariff Abdullah
On Mon, 29 Aug 2005 19:38:41 -0500
Mark Kane <[EMAIL PROTECTED]> wrote:
> Ariff Abdullah wrote:
> > On Sat, 27 Aug 2005 13:38:00 -0500
> > Mark Kane <[EMAIL PROTECTED]> wrote:
> > 
> >>Mark Kane wrote:
> >>I do notice that when doing some things like using unrar to extract
> >>a  file or loading a video into video encoding software I do get
> >>some of  the same little crackles and static in the audio. I didn't
> >>notice this  static/crackling ever before applying that first patch.
> >>I am still  skip/stutter free though :).
> >>
> >>Might the second patch help the crackling/static?
> >>
> >>
> > 
> > Perhaps. You should give it a try. There is another issue as well
> > (such as PCI latency timer), but only after you applied all those
> > suggested patches.
> 
> Okay I applied the second patch. Still whenever unrarring a file or 
> loading big files from a drive I do hear little static in the audio, but 
> it's not bad at all.
> 
> But the initial problem of the skipping and stuttering is fixed so I am 
> very happy :).
> 
PCI latency issue comes in mind (which pretty common within VIA universe).

http://staff.mybsd.org.my/skywizard/FreeBSD/sound/pcmutils/pcilattimer

Play around with its latency timer value (increase) and see whether
that could make things better.


--

Ariff Abdullah
MyBSD

http://www.MyBSD.org.my (IPv6/IPv4)
http://staff.MyBSD.org.my (IPv6/IPv4)
http://tomoyo.MyBSD.org.my (IPv6/IPv4)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Performance Issues with AMD64 3000+, 1.5GB RAM, FreeBSD 5.4-RELEASE

2005-08-27 Thread Ariff Abdullah
On Sat, 27 Aug 2005 13:38:00 -0500
Mark Kane <[EMAIL PROTECTED]> wrote:
> Mark Kane wrote:
> > Ariff Abdullah wrote:
> > 
> >> These are my suggestions:
> >> 1) enable 'options PREEMPTION'. This is a MUST.
> >> 2) use SCHED_ULE instead of SCHED_4BSD. ULE is pretty stable on
> >me, >but I can't guarantee (especially combining with
> >PREEMPTION). >It doesn't hurt to give it a try.
> >> 3) Apply these patches:
> >>
> >>
> >http://staff.mybsd.org.my/skywizard/FreeBSD/sound/jroberson_flushb
> >uf_RELENG_5.diff  >
> >>
> >http://staff.mybsd.org.my/skywizard/FreeBSD/sound/snd_RELENG_5_200
> >50825_035.diff  >
> > 
> > 
> > Well I added PREEMPTION to the kernel yesterday as well as the
> > first  patch by Jeff Robertson. Immediately upon kernelinstall and
> > reboot I  tried untarring Firefox and Thunderbird, as well as
> > tarring them both  back up. Not a single skip, stutter, or
> > freezing of the mouse/display!
> > 
> > I did more testing last night like listening to audio with
> > downloads  open and encoding video, and I didn't hear one skip at
> > all. The only  time I heard a little static was when I was burning
> > a DVD and listening  to audio at the same time, but I can
> > understand that.
> > 
> > Thanks to everyone who replied, this seems to be fixed for now. :)
> > 
> > -Mark
> 
> I do notice that when doing some things like using unrar to extract
> a  file or loading a video into video encoding software I do get
> some of  the same little crackles and static in the audio. I didn't
> notice this  static/crackling ever before applying that first patch.
> I am still  skip/stutter free though :).
> 
> Might the second patch help the crackling/static?
> 
> 
Perhaps. You should give it a try. There is another issue as well
(such as PCI latency timer), but only after you applied all those
suggested patches.

--

Ariff Abdullah
MyBSD

http://www.MyBSD.org.my (IPv6/IPv4)
http://staff.MyBSD.org.my (IPv6/IPv4)
http://tomoyo.MyBSD.org.my (IPv6/IPv4)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Performance Issues with AMD64 3000+, 1.5GB RAM, FreeBSD 5.4-RELEASE

2005-08-26 Thread Ariff Abdullah
On Fri, 26 Aug 2005 14:17:05 -0500
Mark Kane <[EMAIL PROTECTED]> wrote:
> Ariff Abdullah wrote:
> > I've been following this thread, yet I still don't know what is
> > your soundcard. To tell you the truth, much of these issues relies
> > heavily on your spesific sound driver, whether it has been freed
> > from Giant or not. At least:
> 
> Well the thing that makes me think it's not entirely related to
> sound is  because when the sound problem happens, other things
> happen as well. As  I have said, the mouse locks up and freezes at
> the precise time that the  audio starts stuttering. If I was playing
> video, it would freeze/stutter  at the same time too.
> 
> > 1) What is your soundcard?
> 
> Sound Blaster Augidy 2 Platinum with the emu10k1 driver compiled
> into  the kernel.
> 
> > 2) What type of scheduler you use? (I can see that is SCHED_4BSD)
> 
> Right, SCHED_4BSD in the GENERIC kernel.
> 
> > 3) Is PREEMPTION enabled?
> 
> No, not that I know of. I don't see it in GENERIC, and I haven't
> added it.
> 

These are my suggestions:
1) enable 'options PREEMPTION'. This is a MUST.
2) use SCHED_ULE instead of SCHED_4BSD. ULE is pretty stable on me,
   but I can't guarantee (especially combining with PREEMPTION).
   It doesn't hurt to give it a try.
3) Apply these patches:

http://staff.mybsd.org.my/skywizard/FreeBSD/sound/jroberson_flushbuf_RELENG_5.diff
http://staff.mybsd.org.my/skywizard/FreeBSD/sound/snd_RELENG_5_20050825_035.diff


--

Ariff Abdullah
MyBSD

http://www.MyBSD.org.my (IPv6/IPv4)
http://staff.MyBSD.org.my (IPv6/IPv4)
http://tomoyo.MyBSD.org.my (IPv6/IPv4)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Performance Issues with AMD64 3000+, 1.5GB RAM, FreeBSD 5.4-RELEASE

2005-08-26 Thread Ariff Abdullah
On Fri, 26 Aug 2005 13:14:35 -0500
Mark Kane <[EMAIL PROTECTED]> wrote:
> Kris Kennaway wrote:
> > On Thu, Aug 25, 2005 at 12:48:17PM -0500, Mark Kane wrote:
> > 
> >>Roland Smith wrote:
> >>
> >>>Another thing to look at might be the scheduler. I'm using
> >SCHED_4BSD. >
> >>Hmm, I'm using just a GENERIC kernel with support added in for my
> >sound  >driver and atapicam for K3b. SCHED_4BSD looks default in
> >GENERIC: >
> >>options SCHED_4BSD  # 4BSD scheduler
> >>
> >>I've been trying this morning with no real disk I/O and just XMMS
> >open.  >It's much better than if I did have a download/upload going
> >using disk  >I/O or trying to read from a file on the drive, but
> >still nowhere near  >perfect. Every minute I'll still hear a little
> >skip or stutter in the  >audio, and still notice the mouse locking
> >up a bit at the exact moment  >that happens.
> > 
> > 
> > Did you not read my mail?  I explained this and the solution.
> > 
> > Kris
> 
> Yes, I read your email and responded to it yesterday. I said:
> 
> -
> I found the sound skipping thread by Jeff. Looks like a great 
> explanation, however my problem even occurs even with light disk I/O
> 
> such as reading an mp3/Ogg/video file off any of the drives. I did
> some  more testing with actual files off the drives last night
> instead of  streams, and it seems worse with actual files.
> 
> I'm not sure if the proposed patch will fix it or not, and trying 
> 6.0-BETA2 for my other hardware/hard drive problem just introduced
> new  problems (panics, network stuff not recognized, etc). I do have
> a spare  hard drive where I could put test anything though if you
> think trying  -CURRENT or another BETA would be worthwhile.
> -
> 
> So, in other words, even when there is NOT heavy disk I/O it still
> has  problems, although they do get worse with more disk I/O. I
> don't know if  you saw my previous replies, but trying 5.4-STABLE on
> my Athlon XP 2000+  instead of 5.4-RELEASE seemed to make it much
> better on that machine  (however still not perfect).
> 
> I was wondering if the code that fixed it in 6 was merged to
> 5-STABLE or  if the patch was already committed to 5-STABLE? I
> haven't tried -STABLE  on my amd64 yet though.
> 
> "[EMAIL PROTECTED]"

I've been following this thread, yet I still don't know what is your
soundcard. To tell you the truth, much of these issues relies heavily
on your spesific sound driver, whether it has been freed from Giant or
not. At least:

1) What is your soundcard?
2) What type of scheduler you use? (I can see that is SCHED_4BSD)
3) Is PREEMPTION enabled?



--

Ariff Abdullah
MyBSD

http://www.MyBSD.org.my (IPv6/IPv4)
http://staff.MyBSD.org.my (IPv6/IPv4)
http://tomoyo.MyBSD.org.my (IPv6/IPv4)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Creative Sound Blaster Audigy LS

2005-05-17 Thread Ariff Abdullah


On Tue, 17 May 2005 11:29:26 -0700
Matt Crossley <[EMAIL PROTECTED]> wrote:
> Ariff Abdullah wrote:
> 
> > Audigy *LS* is not the same *Audigy* like other Audigy series,
> >
> >it use different chipset, and unfortunately, not supported in
> >current emu10k driver.
> >
> >--
> >
> >Ariff Abdullah
> >MyBSD
> >  
> >
> 
> Ah! My mistake. I'm not really up to date on the latest sound cards
> or  video stuff. :)
> 
> It also doesn't look like the emu10kx driver supports them either.
> From  the Changelog:
> 
> 09-10-2004
> 1. Remove Audigy LS and Audigy 2 Value from list of
> supported cards. They are too different from SB
> Live!/Audigy, according to their 
> Linux
> driver.
> 
> 
> Oh well.
> 
> Matt

:)

By the way, Fafa, (currently) your best bet is to go with binary
driver from http://www.opensound.com/ . It's free for personal use. I
have myself an Audigy LS, I'll see what I can do with it later.

--

Ariff Abdullah
MyBSD

http://www.MyBSD.org.my (IPv6/IPv4)
http://staff.MyBSD.org.my (IPv6/IPv4)
http://tomoyo.MyBSD.org.my (IPv6/IPv4)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Creative Sound Blaster Audigy LS

2005-05-17 Thread Ariff Abdullah


On Tue, 17 May 2005 18:03:21 +
Chuck Robey <[EMAIL PROTECTED]> wrote:
> Ariff Abdullah wrote:
> 
> >>Works like a charm. It used to be that I needed to compile the
> >>emu10kx  drivers.
> >>
> >>Maybe if you included some more information, it would prove to be
> >>more  useful. What is your dmesg saying when you boot up now? What
> >>did it say  before? What happens with a kldload snd_emu10k1,
> >>followed by a kldstat  (if it gave no error)?
> >>
> >>HTH,
> >>Matt
> > 
> > 
> > Audigy *LS* is not the same *Audigy* like other Audigy series,
> > it use different chipset, and unfortunately, not supported in
> > current emu10k driver.
> 
> The kind I was talking about is the "2ZS", fully supported by the
> emu10k1.
> 

The kind I was talking about is the "LS", which is Fafa's very own,
not supported at all by emu10k1.

--

Ariff Abdullah
MyBSD

http://www.MyBSD.org.my (IPv6/IPv4)
http://staff.MyBSD.org.my (IPv6/IPv4)
http://tomoyo.MyBSD.org.my (IPv6/IPv4)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Creative Sound Blaster Audigy LS

2005-05-17 Thread Ariff Abdullah
On Tue, 17 May 2005 10:54:51 -0700
Matt Crossley <[EMAIL PROTECTED]> wrote:
> Fafa Hafiz Krantz wrote:
> 
> >That didn't really work :(
> >Any other suggestions?
> >
> >Thanks.
> >
> >--
> >
> I'm using mine just fine...
> 
> I didn't include mine in the kernel yet, I just tested with a
> kldload,  in 5.4:
> 
> kldload snd_emu10k1
> 
> from /var/log/messages:
> May 16 18:31:34 bsdmoose kernel: pcm0: 
> port  0xa000-0xa01f irq 18 at device 13.0 on pci0
> May 16 18:31:34 bsdmoose kernel: pcm0:  Codec>
> 
> bsdmoose# kldstat
> Id Refs AddressSize Name
>  19 0xc040 5dde24   kernel
>  2   14 0xc09de000 56270acpi.ko
>  31 0xc1e67000 17000linux.ko
>  41 0xc298a000 6000 snd_emu10k1.ko
>  51 0xc299 18000sound.ko
> 
> 
> Works like a charm. It used to be that I needed to compile the
> emu10kx  drivers.
> 
> Maybe if you included some more information, it would prove to be
> more  useful. What is your dmesg saying when you boot up now? What
> did it say  before? What happens with a kldload snd_emu10k1,
> followed by a kldstat  (if it gave no error)?
> 
> HTH,
> Matt

Audigy *LS* is not the same *Audigy* like other Audigy series,
it use different chipset, and unfortunately, not supported in current
emu10k driver.

--

Ariff Abdullah
MyBSD

http://www.MyBSD.org.my (IPv6/IPv4)
http://staff.MyBSD.org.my (IPv6/IPv4)
http://tomoyo.MyBSD.org.my (IPv6/IPv4)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: no sound with snd_es137x

2004-11-03 Thread Ariff Abdullah

On 03 Nov 2004 14:51:20 +
Damien Chaumette <[EMAIL PROTECTED]> wrote:
> hi everyone,
> 
> I am running 5.3-STABLE and have trouble with my Creative SB
> AudioPCI CT4730 soundcard.
> 
> I tried to use sound and snd_es137x both as modules or as kernel
> parts but it doesn't change anything : there is no sound.
> 
> My card is detected as shown by dmesg :
> 
>   pcm0:  port
>   0x10c0-0x10df,0x1080-0x10bf irq 5 at device 9.0 on pci0
>   pcm0: snd_es137x (1p/1r/0v channels duplex default)
>   pcm0: [GIANT-LOCKED]
> 
> But I don't have volume control using either mixer or aumix :
> 
>   bash-3.00$ cat /var/db/mixer0-state 
>   bass 50:50 pcm 75:75 speaker 0:0 line 75:75 mic 0:0 cd 75:75 rec
>   0:0 ogain 50:50 line1 75:75 phin 0:0 phout 0:0 video 75:75
> 
> No complaints in logs and {ogg,mpg}123 plays as usual except that no
> sound is to be heard.
> 
> I'm a bit confused...

http://staff.mybsd.org.my/skywizard/FreeBSD/es137x.diff

Patch your kernel, recompile, have fun.

--

Ariff Abdullah
MyBSD

http://www.MyBSD.org.my (IPv6/IPv4)
http://staff.MyBSD.org.my (IPv6/IPv4)
http://tomoyo.MyBSD.org.my (IPv6/IPv4)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Sound Card Volume isn't adjustable (Sis 7012/snd_ich)

2004-10-29 Thread Ariff Abdullah


On Fri, 29 Oct 2004 12:14:45 -0600
Jason Sheets <[EMAIL PROTECTED]> wrote:
> Hello everyone,
> 
> I'm having trouble controlling the sound level of my sound card,
> specifically volume adjustments using mixer and other volume control
> tools don't change the actual volume. 
> 
> For example when playing a MP3 at 1% volume the sound is unbearably
> loud and moving the volume to 100% doesn't affect the volume, at 0%
> there is no sound.
> 
> I have tried using mixer with no -f argument and also tried
> adjusting the volume for each dsp entry in /dev with no effect.
> 
> Configuration:
> 
> OS: 5.3-RC1 FreeBSD 5.3-RC1 #2: Fri Oct 29 10:30:21 MDT 2004
> Sound Card: ASuS P48SX onboard audio
> 
> Driver: snd_ich, sound card detected as SiS 7012, driver loaded via
> kldload
> 
> dmesg:
> 
> pcm0:  port 0x9000-0x907f,0x9400-0x94ff irq 18 at device
> 2.7 on pci0
> pcm0: [GIANT-LOCKED]
> pcm0: 
> 
> kldstat
> 
>  1   12 0xc040 4ffbe4   kernel
>  2   14 0xc090 537f0acpi.ko
>  31 0xc1c67000 5000 linprocfs.ko
>  41 0xc1c7 17000linux.ko
>  51 0xc1e36000 5000 snd_ich.ko
>  61 0xc1e3b000 18000sound.ko
> 
> cat /dev/sndstat
> 
> FreeBSD Audio Driver (newpcm)
> Installed devices:
> pcm0:  at io 0x9400, 0x9000 irq 18 bufsz 16384 kld snd_ich
> (1p/1r/2v channels duplex default)
> [pcm0:play:0]: spd 44100/48000, fmt 0x1010, flags
> 0x3020, 0x0010
> interrupts 45586, underruns 7126, ready 0
> {userland} -> feeder_vchan_s16(0x1010) ->
> feeder_rate(44100
> -> 48000) -> {hardware}
> [pcm0:record:0]: spd 48000, fmt 0x0008/0x1010, flags
> 0x, 0x
> interrupts 0, overruns 0, hfree 16384, sfree 131072
> {hardware} -> feeder_root(0x1010) ->
> feeder_sign16le(0x1010 -> 0x1080) ->
> feeder_stereotomono16(0x1080 -> 0x0080) ->
> feeder_16leto8(0x0080 -> 0x0008) -> {userland}
> pcm0:play:0[pcm0:virtual:0]: spd 32000/48000, fmt
> 0x0010/0x1010, flags 0x10003030, 0x0010, pid 34433
> interrupts 0, underruns 0, ready 65536
> {userland} -> feeder_root(0x0010) ->
> feeder_monotostereo16(0x0010 -> 0x1010) -> feeder_rate(32000
> -> 48000) -> {hardware}
> pcm0:play:0[pcm0:virtual:1]: spd 8000/48000, fmt
> 0x0008/0x1010, flags 0x1000, 0x0010
> interrupts 0, underruns 0, ready 0
> {userland} -> feeder_root(0x0008) ->
> feeder_sign8(0x0008
> -> 0x0040) -> feeder_monotostereo8(0x0040 -> 0x1040) ->
> feeder_8to16le(0x1040-> 0x1010) -> feeder_rate(8000 ->
> 48000) ->{hardware}
> 
> File Versions:
> $FreeBSD: src/sys/dev/sound/pci/ich.c,v 1.42.2.2 2004/10/07 18:38:55
> ps Exp $
> $FreeBSD: src/sys/dev/sound/isa/sndbuf_dma.c,v 1.2 2003/09/07
> 16:28:02 cg Exp $
> $FreeBSD: src/sys/dev/sound/pcm/vchan.c,v 1.16 2004/01/28 08:02:15
> truckman Exp $
> $FreeBSD: src/sys/dev/sound/pcm/ac97_patch.c,v 1.2 2003/08/21
> 15:44:55 orion Exp $
> $FreeBSD: src/sys/dev/sound/pcm/feeder.c,v 1.32 2003/09/07 16:28:03
> cg Exp $
> $FreeBSD: src/sys/dev/sound/pcm/sound.c,v 1.92 2004/07/16 03:59:09
> tanimura Exp $
> $FreeBSD: src/sys/dev/sound/pcm/fake.c,v 1.13 2003/09/07 16:28:03 cg
> Exp$
> $FreeBSD: src/sys/dev/sound/pcm/sndstat.c,v 1.17.2.1 2004/09/14
> 06:43:46 truckman Exp $
> $FreeBSD: src/sys/dev/sound/pcm/dsp.c,v 1.77 2004/07/02 15:31:44
> netchild Exp $
> $FreeBSD: src/sys/dev/sound/pcm/mixer.c,v 1.40 2004/06/25 16:34:33
> josef Exp $
> $FreeBSD: src/sys/dev/sound/pcm/ac97.c,v 1.51 2004/05/08 03:41:40
> sanpei Exp $
> $FreeBSD: src/sys/dev/sound/pcm/feeder_rate.c,v 1.10 2003/04/20
> 17:08:56 orion Exp $
> $FreeBSD: src/sys/dev/sound/pcm/channel.c,v 1.97 2004/02/28 19:47:02
> truckman Exp $
> $FreeBSD: src/sys/dev/sound/pcm/feeder_fmt.c,v 1.13 2003/09/07
> 16:28:03 cg Exp $
> $FreeBSD: src/sys/dev/sound/pcm/buffer.c,v 1.23 2004/04/29 02:51:59
> green Exp $
> 

Try this patch:
  http://staff.mybsd.org.my/skywizard/FreeBSD/ac97.c.diff

--

Ariff Abdullah
MyBSD

http://www.MyBSD.org.my (IPv6/IPv4)
http://staff.MyBSD.org.my (IPv6/IPv4)
http://tomoyo.MyBSD.org.my (IPv6/IPv4)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: mkisofs options question

2003-12-24 Thread Ariff Abdullah


On Wed, 24 Dec 2003 10:30:35 -0600
Charles Howse <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] ~]# mkisofs -U -R -o /tmp/cdimg.iso /disk2/curly
> /disk2/larry Warning: creating filesystem that does not conform to
> ISO-9660. Using CUSTOM000 for  /CUSTOM (CUSTOM)
> mkisofs: Error: '/disk2/larry/CUSTOM' and '/disk2/curly/CUSTOM' have
  ^^^
> the same Rock Ridge name 'CUSTOM'.
> mkisofs: Error: '/disk2/larry/CUSTOM' and '/disk2/curly/CUSTOM' have
> the same Rock Ridge name 'CUSTOM'.
> mkisofs: Unable to sort directory
>

It's obvious, you have two 'CUSTOM' files. mkisofs will pack all the
files in a single root directory, hence, causing that error. Probably
what you realy need is '-graft-points' to separate each directory into
it's own container directory.

mkisofs -U -R -o /tmp/cdimg.iso -graft-points \
  curly/=/disk2/curly larry/=/disk2/larry

--

Ariff Abdullah
MyBSD
http://www.MyBSD.org.my (IPv4)
http://staff.MyBSD.org.my (IPv6/IPv4)
http://tomoyo.MyBSD.org.my (IPv6/IPv4)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Can no longer install ports

2003-07-11 Thread Ariff Abdullah


Your /usr/sbin/pkg_info is old, recent bsd.port.mk require
'-O' option which is not supported by your pkg_info (perhaps
4.6.x release or older). Try to fetch the recent pkg_install
( /usr/src/usr.sbin/pkg_install ) sources and rebuild it.
By the way, the ports tree maintainer should aware about this.

On Fri, 11 Jul 2003 17:58:51 -0400
"Dragoncrest" <[EMAIL PROTECTED]> wrote:
> Ya know, that's kinda funny.  I had this EXACT same issue not even a
> week ago.  Could this be a bug that we don't know about?  What's the fix
> for it...if any?
> 
> > In the last episode (Jul 11), Adam said:
> > > On Tue, 2003-07-08 at 05:41, Jim Hatfield wrote:
> > > > When I do a make install in any ports dir, I now get this:
> > > > 
> > > > >speyburn# cd /usr/ports/graphics/tiff
> > > > >speyburn# make
> > > > >speyburn# make install
> > > > >===>  Installing for tiff-3.5.7_1
> > > > >===>   tiff-3.5.7_1 depends on shared library: jpeg.9 - found
> > > > >===>   Generating temporary packing list
> > > > >===>  Checking if graphics/tiff already installed
> > > > >*** Error code 1
> 

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