Re: Very very weak sound from the speaker
On Fri, Aug 1, 2008 at 12:10 AM, Rommel Martinez <[EMAIL PROTECTED]> wrote: > On Fri, Aug 1, 2008 at 12:07 AM, WATANABE Kazuhiro <[EMAIL PROTECTED]> wrote: >> At Thu, 31 Jul 2008 23:39:47 +0800, >> Rommel Martinez wrote: >>> On Thu, Jul 31, 2008 at 11:35 PM, WATANABE Kazuhiro >>> <[EMAIL PROTECTED]> wrote: >>> > At Thu, 31 Jul 2008 22:55:51 +0800, >>> > Rommel Martinez wrote: >>> >> [EMAIL PROTECTED]:0:30:2: class=0x040100 card=0x2047161f >>> >> chip=0x266e8086 >>> >> rev=0x04 hdr=0x00 >>> >> vendor = 'Intel Corporation' >>> >> device = 'Intel Corporation 82830M/MG SDRAM Controller / Ho >>> >> AC '97 Audio Controller/ Sigmatel (SoundMAX Integrated Digital Audio)' >>> >> class = multimedia >>> >> subclass = audio >>> > >>> > OK. How about this patch? >>> > >>> > --- sys/dev/sound/pci/ich.c.releng702007-12-15 13:06:52.0 >>> > +0900 >>> > +++ sys/dev/sound/pci/ich.c 2008-08-01 00:10:04.0 +0900 >>> > @@ -1009,6 +1009,7 @@ ich_pci_attach(device_t dev) >>> >switch (subdev) { >>> >case 0x202f161f:/* Gateway 7326GZ */ >>> >case 0x203a161f:/* Gateway 4028GZ */ >>> > + case 0x2047161f:/* Arima W330-UCX */ >>> >case 0x204c161f:/* Kvazar-Micro Senator 3592XT */ >>> >case 0x8144104d:/* Sony VAIO PCG-TR* */ >>> >case 0x8197104d:/* Sony S1XP */ >>> > >>> > --- >>> > WATANABE Kazuhiro ([EMAIL PROTECTED]) >>> > >>> >>> OK. Is there a way to make those changes to my system without having to >>> rebuild world or I really need to? >> >> See the FreeBSD Handbook for details. >> >> Building and Installing a Custom Kernel >> >> http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html >> >> Before you run "make buildkernel", you have to apply the patch like this: >> >> # cd /usr/src >> # patch < /path/to/the/patchfile >> >> If you don't want to compile a kernel and modules other than snd_ich, >> try this instead of "make buildkernel": >> >> # cd /usr/src/sys/modules/sound/driver/ich >> # make && make install >> >> --- >> WATANABE Kazuhiro ([EMAIL PROTECTED]) >> > > Ah. Why was I thinking of the whole userland? Anyway, I'm building a > new kernel now with the patch you gave me. I'll post results asap. > > > -- > Rommel M. Martinez <[EMAIL PROTECTED]> > Great! I have "normal" audio now. Thanks a lot Kazuhiro. By the way, when I set the volume (mixer vol) to 100, I would hear a loud, continuous beep, so what I do is I lower the value to around 90 and the loud beep goes away. What's causing it? Is the behaviour to be expected? Thanks a lot. Finally, I can play audio/video without having to boot to Windows. -- Rommel M. Martinez <[EMAIL PROTECTED]> ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Very very weak sound from the speaker
On Fri, Aug 1, 2008 at 12:07 AM, WATANABE Kazuhiro <[EMAIL PROTECTED]> wrote: > At Thu, 31 Jul 2008 23:39:47 +0800, > Rommel Martinez wrote: >> On Thu, Jul 31, 2008 at 11:35 PM, WATANABE Kazuhiro >> <[EMAIL PROTECTED]> wrote: >> > At Thu, 31 Jul 2008 22:55:51 +0800, >> > Rommel Martinez wrote: >> >> [EMAIL PROTECTED]:0:30:2: class=0x040100 card=0x2047161f >> >> chip=0x266e8086 >> >> rev=0x04 hdr=0x00 >> >> vendor = 'Intel Corporation' >> >> device = 'Intel Corporation 82830M/MG SDRAM Controller / Ho >> >> AC '97 Audio Controller/ Sigmatel (SoundMAX Integrated Digital Audio)' >> >> class = multimedia >> >> subclass = audio >> > >> > OK. How about this patch? >> > >> > --- sys/dev/sound/pci/ich.c.releng702007-12-15 13:06:52.0 +0900 >> > +++ sys/dev/sound/pci/ich.c 2008-08-01 00:10:04.0 +0900 >> > @@ -1009,6 +1009,7 @@ ich_pci_attach(device_t dev) >> >switch (subdev) { >> >case 0x202f161f:/* Gateway 7326GZ */ >> >case 0x203a161f:/* Gateway 4028GZ */ >> > + case 0x2047161f:/* Arima W330-UCX */ >> >case 0x204c161f:/* Kvazar-Micro Senator 3592XT */ >> >case 0x8144104d:/* Sony VAIO PCG-TR* */ >> >case 0x8197104d:/* Sony S1XP */ >> > >> > --- >> > WATANABE Kazuhiro ([EMAIL PROTECTED]) >> > >> >> OK. Is there a way to make those changes to my system without having to >> rebuild world or I really need to? > > See the FreeBSD Handbook for details. > > Building and Installing a Custom Kernel > > http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html > > Before you run "make buildkernel", you have to apply the patch like this: > > # cd /usr/src > # patch < /path/to/the/patchfile > > If you don't want to compile a kernel and modules other than snd_ich, > try this instead of "make buildkernel": > > # cd /usr/src/sys/modules/sound/driver/ich > # make && make install > > --- > WATANABE Kazuhiro ([EMAIL PROTECTED]) > Ah. Why was I thinking of the whole userland? Anyway, I'm building a new kernel now with the patch you gave me. I'll post results asap. -- Rommel M. Martinez <[EMAIL PROTECTED]> ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Very very weak sound from the speaker
On Thu, Jul 31, 2008 at 11:35 PM, WATANABE Kazuhiro <[EMAIL PROTECTED]> wrote: > At Thu, 31 Jul 2008 22:55:51 +0800, > Rommel Martinez wrote: >> [EMAIL PROTECTED]:0:30:2: class=0x040100 card=0x2047161f chip=0x266e8086 >> rev=0x04 hdr=0x00 >> vendor = 'Intel Corporation' >> device = 'Intel Corporation 82830M/MG SDRAM Controller / Ho >> AC '97 Audio Controller/ Sigmatel (SoundMAX Integrated Digital Audio)' >> class = multimedia >> subclass = audio > > OK. How about this patch? > > --- sys/dev/sound/pci/ich.c.releng702007-12-15 13:06:52.0 +0900 > +++ sys/dev/sound/pci/ich.c 2008-08-01 00:10:04.0 +0900 > @@ -1009,6 +1009,7 @@ ich_pci_attach(device_t dev) >switch (subdev) { >case 0x202f161f:/* Gateway 7326GZ */ >case 0x203a161f:/* Gateway 4028GZ */ > + case 0x2047161f:/* Arima W330-UCX */ >case 0x204c161f:/* Kvazar-Micro Senator 3592XT */ >case 0x8144104d:/* Sony VAIO PCG-TR* */ >case 0x8197104d:/* Sony S1XP */ > > --- > WATANABE Kazuhiro ([EMAIL PROTECTED]) > OK. Is there a way to make those changes to my system without having to rebuild world or I really need to? -- Rommel M. Martinez <[EMAIL PROTECTED]> ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Very very weak sound from the speaker
On Thu, Jul 31, 2008 at 10:59 PM, Paul Schmehl <[EMAIL PROTECTED]> wrote: > What tool did you use to capture that panic? Pen and paper. -- Rommel M. Martinez <[EMAIL PROTECTED]> ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Very very weak sound from the speaker
> Perhaps this will help you out with the situation; this is from a > previous post. I know for sure your audio chip's device/vendor id is > 0x266e8086. This is a fix for someone with FreeBSD-6.2; even though the > person suggests to grab the compiled modules, he also has the sources > there. This person had the same issues with volume, and this fixed the > problem. I hope this helps. > > -nawcom > > " :30:2:class=0x040100 card=0x099c103c chip=0x266e8086 > rev=0x03 hdr=0x00 > vendor = 'Intel Corporation' > device = '82801FB/FR/FW/FRW AC '97 Audio Controller' > class= multimedia > subclass = audio > > Ok. Lets make it quick and simple. Grab both (I repeat: BOTH) sound.ko > and snd_ich.ko from http://people.freebsd.org/~ariff/test/ . > > Let me guess. mixer "phout" and "ogain" control both \ > headphone and > speaker separately, while mixer "vol" seems useless. Prove me wrong. > > > > -- > Ariff Abdullah > FreeBSD > I did that and I got a kernel panic. With the following on the console: KLD file sound.ko - could not finalize loading Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0xf00de2cf fault code = supervisor write, page not present instruction pointer = 0x20:0xc0741063 stack pointer = 0x28:0xc1020d20 frame pointer = 0x28:0xc1020d6c code segment= base 0x0, limit 0xf, type 0x13 = DPL 0, pres 1, def32 1, gran 1 processor eflags= interrupt enabled, resume, 10PL = 0 current process = 0 () trap number = 12 panic: page fault cpuid = 0 I restored the original sound.ko snd_ich.ko to be able to use the system. -- Rommel M. Martinez <[EMAIL PROTECTED]> ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Very very weak sound from the speaker
Hmm. That's interesting. I loaded all acpi_* modules and did a "sysctl -a | grep -i vol" but unfortunately, nothing came out. I'm wondering where else could we look at? I really want to make it work. -- Rommel M. Martinez <[EMAIL PROTECTED]> ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Very very weak sound from the speaker
On Wed, Jul 30, 2008 at 8:30 PM, Marc Coyles <[EMAIL PROTECTED]> wrote: > Take it you've checked hardware volume control on the laptop (ie: Function > Key and whichever key has volume-up logo on it)? That'll override anything > determined at software level... > > Marc A Coyles > Horbury School ICT Support Team (ext 730) > Mbl: 07850 518106 Done that. It's set to max afaik. Still the same weak sound. :-( > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Rommel Martinez > Sent: Wednesday, July 30, 2008 12:51 PM > To: freebsd-questions@freebsd.org > Subject: Very very weak sound from the speaker > > I'm wondering why is it that no matter what I do, I can't seem to make > my laptop emit sound lounder than a whisper. The laptop is an ECS > Elitegroup W330 (Arima W330-UCX) and this is the website of the > laptop: http://www.arimacorp.com/ViewProduct.asp?View=145 > > I thought at first there was no sound coming out at all, so what I did was I > plugged an external speaker to it and maxed out the volume via the > volume knob and set my mixer settings all to 100, then I was able to > hear sound from the speaker, but it's too weak to be of any good use. > > The following is my configuration: > > $ cat /boot/loader.conf | grep snd_ > snd_ich_load="YES" > > $ kldstat | grep snd_ > 31 0xc0d3 6f88 snd_ich.ko > > $ kldstat | grep sound > 42 0xc0d37000 4a5acsound.ko > > $ cat /var/run/dmesg.boot | grep pcm > pcm0: port 0x5000-0x50ff,0x48c0-0x48ff mem > 0xb0040800-0xb00409ff,0xb0040400-0xb00404ff irq 20 at device 30.2 on > pci0 > pcm0: [ITHREAD] > pcm0: > > $ cat /dev/sndstat > FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386) > Installed devices: > pcm0: at io 0xb0040800, 0xb0040400 irq 20 bufsz > 16384 kld snd_ich [MPSAFE] (1p:1v/1r:1v channels duplex default) > > $ mixer > Mixer vol is currently set to 100:100 > Mixer pcm is currently set to 100:100 > Mixer speaker is currently set to 100:100 > Mixer line is currently set to 100:100 > Mixer mic is currently set to 100:100 > Mixer cd is currently set to 100:100 > Mixer rec is currently set to 100:100 > Mixer igain is currently set to 100:100 > Mixer ogain is currently set to 100:100 > Mixer line1 is currently set to 100:100 > Mixer phin is currently set to 100:100 > Mixer phout is currently set to 100:100 > Recording source: mic > > I tried audacious, xmms, and mpg123 but I still get > the same behaviour. > > What's causing this? Can anybody give pointers why > is this happening? > > Thanks. > > -- > Rommel M. Martinez <[EMAIL PROTECTED]> > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > > > > > -- Rommel M. Martinez <[EMAIL PROTECTED]> ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Very very weak sound from the speaker
I'm wondering why is it that no matter what I do, I can't seem to make my laptop emit sound lounder than a whisper. The laptop is an ECS Elitegroup W330 (Arima W330-UCX) and this is the website of the laptop: http://www.arimacorp.com/ViewProduct.asp?View=145 I thought at first there was no sound coming out at all, so what I did was I plugged an external speaker to it and maxed out the volume via the volume knob and set my mixer settings all to 100, then I was able to hear sound from the speaker, but it's too weak to be of any good use. The following is my configuration: $ cat /boot/loader.conf | grep snd_ snd_ich_load="YES" $ kldstat | grep snd_ 31 0xc0d3 6f88 snd_ich.ko $ kldstat | grep sound 42 0xc0d37000 4a5acsound.ko $ cat /var/run/dmesg.boot | grep pcm pcm0: port 0x5000-0x50ff,0x48c0-0x48ff mem 0xb0040800-0xb00409ff,0xb0040400-0xb00404ff irq 20 at device 30.2 on pci0 pcm0: [ITHREAD] pcm0: $ cat /dev/sndstat FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386) Installed devices: pcm0: at io 0xb0040800, 0xb0040400 irq 20 bufsz 16384 kld snd_ich [MPSAFE] (1p:1v/1r:1v channels duplex default) $ mixer Mixer vol is currently set to 100:100 Mixer pcm is currently set to 100:100 Mixer speaker is currently set to 100:100 Mixer line is currently set to 100:100 Mixer mic is currently set to 100:100 Mixer cd is currently set to 100:100 Mixer rec is currently set to 100:100 Mixer igain is currently set to 100:100 Mixer ogain is currently set to 100:100 Mixer line1 is currently set to 100:100 Mixer phin is currently set to 100:100 Mixer phout is currently set to 100:100 Recording source: mic I tried audacious, xmms, and mpg123 but I still get the same behaviour. What's causing this? Can anybody give pointers why is this happening? Thanks. -- Rommel M. Martinez <[EMAIL PROTECTED]> ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Setting default keymap in kernel
Is there any way to set the keyboard layout in the kernel other than the default us.iso (qwerty) layout? I tried looking in the man pages and the most that I got were some options. The documentation instructed me to put these in my kernel config: options ATKBD_DFLT_KEYMAP makeoptions ATKBD_DFLT_KEYMAP= options ATKBD_DFLT_KEYMAP= I did just that. I recompiled my kernel and boot with it, but still got the old layout qwerty layout. I tried the same with a USB keyboard with these options: options UKBD_DFLT_KEYMAP makeoptions UKBD_DFLT_KEYMAP= options UKBD_DFLT_KEYMAP= I got the same effect. Thanks in advance. -- Rommel M. Martinez <[EMAIL PROTECTED]> GPG Key ID: 0x91C6711C ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"