hear no sound if acpi=on
Hello all, I have FreeBSD-7.1-RELEASE on my Laptop (compaq presario cq40-401 au). In formation of my devices can be found at * http://viettug.org/attachments/download/128/icy_pciconf.txt (`pciconf -lbv`) * http://viettug.org/attachments/download/132/icy_lspci_nn.txt (`lspci -nn`) * http://viettug.org/attachments/download/147/icy_kernel.txt (the kernel configuration) When I boot the system with `acpi=off`, I can hear the sound (snd_hda). But when `acpi` is used, I hear no sound though the driver seems to work and `mplayer` detects /dev/sp and /dev/mixer successfully. $ cat /dev/sndstat FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386) Installed devices: pcm0: at memory 0x9241 irq 19 kld snd_hda [20080420_0052] [MPSAFE] (mixer only) pcm1: at memory 0x9250 irq 16 kld snd_hda [20080420_0052] [MPSAFE] (1p:1v/1r:1v channels duplex) I don't experience FreeBSD much. Could you help me to turn the sound on? Thank you very much, Regards, -- Ky Anh, Huynh Homepage: http://viettug.org/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
urxvt: input method problem
Hello all, `xvnkb` is a vietnamese keyboard and it currently works well on any GTK applications. It uses below settings in `$HOME/.bashrc`: /= | export GTK_IM_MODULE=xim | export LD_PRELOAD=/usr/local/lib/xvnkb.so.0.2.9 \= But I cannot type any vietnamese in `urxvt`. I donnot how to get debug messages. I just know that I can type vietnamese easily with `urxvt` on my former Arch Linux. Thank you very much for your helps. Regards, -- Ky Anh, Huynh Homepage: http://viettug.org/ My rxvt's build configuration: == rxvt-unicode (urxvt) v9.06 - released: 2008-06-15 options: perl,xft,styles,combining,blink,iso14755,unicode3,encodings=eu+vn+jp+jp-ext+kr+zh+zh-ext,fade,transparent,tint,afterimage,XIM,frills,selectionscrolling,wheel,slipwheel,smart-resize,cursorBlink,pointerBlank,scrollbars=plain+rxvt+NeXT+xterm My rxvt's X settings $ grep -i urxvt .Xdefaults URxvt*termName: rxvt URxvt*background: #00 URxvt*foreground: violet URxvt*scrollBar_right: true URxvt*scrollBar:false URxvt*inheritPixmap:true URxvt*geometry: 84x24 URxvt*tint: white URxvt.imlocale: en_US.UTF-8 URxvt.inputMethod: xim ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Loading sound drivers
On Thu, 09 Apr 2009 14:47:15 + af300...@gmail.com wrote: > Hi, > > My motherboard, an ASUS K8V-X, has a generic type sound chip on > board, according to ASUS' specifications, it is an AD1980 chipset. > The hardware notes, linked from the handbook, does not list this > chipset but does list several Intel type HDA chipsets including one > AD1981 chipset. Never the less, using the handbook instructions I > loaded the meta sound driver and my chipset was identified as a > via8233 chipset. The meta driver loaded many drivers into the > kernel, but through trial and error I've discovered that only > sound.ko and snd_via8233.ko need to be loaded. So, I put these two > lines into /boot/loader.conf: > > sound="YES" > snd_via8233="YES" The correct lines are sound_load="YES" snd_via8233_load="YES" Regards, -- Ky Anh, Huynh Homepage: http://viettug.org/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
sound configuration for pidgin
Hello all, I'd like to hear some notification from Pidgin. When configuring Pidgin, I use mplayer %s to make Pidgin play stuff. But it's hard to hear the sound as pidgin's volume is small (while the system mixer is almost 100:100). Is there anyway to have a bigger sound in Pidgin? Thank you! PS: sorry for my terrible English :) -- Ky Anh, Huynh Homepage: http://viettug.org/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: cannot kill process with kill -9
On Fri, 10 Apr 2009 15:10:04 +0200 Ruben de Groot wrote: > On Thu, Apr 09, 2009 at 01:26:51PM -0600, Joshua Gimer typed: > > You might also find a little bit information about what the > > process is waiting on by attaching to it with strace (in ports > > under devel) (strace -p PID). > > why would you install strace from ports? truss does the same job. > Great tips, Ruben! `strace` requires /proc and I am too lazay to mount `procfs` after installing `strace` ports. (In fact I installed `strace` then did nothing.) Going to `pkg_delete starce` now :P > > > > On Thu, Apr 9, 2009 at 5:47 AM, Eray Aslan > > wrote: > > > On Thu, Apr 09, 2009 at 09:41:31AM +0200, Pieter Donche wrote: > > >> I have a mount_nfs process that refuses to get killed : > > >> # ps -jaxw | grep mount > > >> root ? 60342 ? ? 1 60289 60289 ? ?0 D ? ? ?? ? ?0:00.00 > > >> mount_nfs > > > [...] > > >> How to I get this process killed? > > > > > > reboot. ?You can't kill a process with a D flag. ?Google for > > > uninterruptible sleep. > > > > > > -- -- Ky Anh, Huynh Homepage: http://viettug.org/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: sound configuration for pidgin
On Fri, 10 Apr 2009 19:06:39 -0500 (CDT) Wes Morgan wrote: > On Fri, 10 Apr 2009, kyanh wrote: > > > Hello all, > > > > I'd like to hear some notification from Pidgin. When configuring > > Pidgin, I use mplayer %s > > to make Pidgin play stuff. But it's hard to hear the sound as > > pidgin's volume is small (while the system mixer is almost > > 100:100). Is there anyway to have a bigger sound in Pidgin? > > > > Thank you! > > I would recommend installing the audio/normalize port, and using > that to increase the volume of the sound files. If you don't want > to alter the audio files, try using this as your sound command: > > mplayer -af volume=20 %s Thank you. I didn't read carefully mplayer's man page. When I use `mplayer -af volume=n` within `n > 10`, I get so much noises. The acceptable value is 9 or 10. The sound files are taken from default installation of Pidgin, and I shouldnot ormalize them :) -- unless I want some lourder notifications. Regards, -- Ky Anh, Huynh Homepage: http://viettug.org/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: sound configuration for pidgin
On Fri, 10 Apr 2009 17:35:04 +0200 Polytropon wrote: > On Fri, 10 Apr 2009 20:51:35 +0700, kyanh wrote: > > Hello all, > > > > I'd like to hear some notification from Pidgin. When configuring > > Pidgin, I use mplayer %s > > to make Pidgin play stuff. > > First, maybe mplayer is a bit "heavy stuff" for notification sounds. > What are these files? If they are *.wav, use "play %s" command, and > if they are *.mp3, use "madplay %s" or "mpg123 %s", as well as > "ogg123 %s" for *.ogg files. Check out the manpages for these > programs if you think you need further options. > I just use the default setting from Pidgin. I don't know what is the kind of sound though I guess that's *.wav. When I press "Browse" in Pidgin Configuration Page for Sound I don't get the right place of default sound file. Pidgin may use files from GTK collection. When I use Arch Linux I can use "play %s" but "play" isnot installed as default on FreeBSD. I install `mpg123` but I still get small sound. > > > > But it's hard to hear the sound as pidgin's volume is small (while > > the system mixer is almost 100:100). Is there anyway to have a > > bigger sound in Pidgin? > > Check the other volumes as well. PCM should be 100:100, too. > If vol == 100:100 and pcm == 10:10, it will be very silent. :-) > I see. I often use vol == 90 and pcm == 75. > Do other applications (music and movie player, games etc.) play > louder sounds? > The music and others sounds are normal. > > > > PS: sorry for my terrible English :) > > I'm not sure mine is better, don't mind. The guys on that list have > a lot of translational phantasy. :-) Thank you. I've learned from your message that I should use "louder" for sound instead of "bigger". Still find "smaller" sound :D -- Ky Anh, Huynh Homepage: http://viettug.org/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: sound configuration for pidgin
On Fri, 10 Apr 2009 10:07:04 -0600 Geoff Fritz wrote: > On Fri, Apr 10, 2009 at 08:51:35PM +0700, kyanh wrote: > > Hello all, > > > > I'd like to hear some notification from Pidgin. When configuring > > Pidgin, I use > > mplayer %s > > to make Pidgin play stuff. But it's hard to hear the sound as > > pidgin's volume is small (while the system mixer is almost > > 100:100). Is there anyway to have a bigger sound in Pidgin? > > > > Thank you! > > I use the same method you do. Just a tip: since you use mplayer, > as opposed to the default gstreamer, you can clear a *lot* of cruft > from your system by reconfiguring the pidgin port and turning off > the gstreamer option, re-installing pidgin, then uninstalling the > gstreamer stuff. I find that the ports-mgmt/pkg_cutleaves port is > execllent for such cleaning. > I wil try. Knowing `pkg_cutleaves` is a bonus :P > Onto your question. I have two thoughts. > > First, make sure that /usr/sbin/mixer shows "vol" and "pcm" both at > a a reasonable level. I find that 60:60 is usually sufficient for > me, whether I used headphones or speakers. > I did this before configuring Pidgin. > Second, the sound files you are using might simply be a bit low on > the volume side. You may want to load them into something like > audacity to increase their loudness. > The problem is that I use Pidgin's default sound files. I cannot locate those files (pkg_info -L pidgin). > > > PS: sorry for my terrible English :) > > No apologies needed. Your written English is excellent! Thank you for your helps and your kind words :) -- Ky Anh, Huynh Homepage: http://viettug.org/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Error Message when starting Apache
On Thu, 9 Apr 2009 20:14:21 +0200 Michael Heitmeier wrote: > After installing Apache 2.2 it does not start and apachectl start > fails with the error message > /libexec/ld-elf.so.1: Shared object "xchgptr" not found, required by > "libapr-1.so.3" > > Searching on the Web and archives did not reveal anything, please > let me know how to resolve this, thanks! I don't exactly your problem but I think you can resolve the it by reinstall Apache22 from port cd /usr/ports/www/apache22 make; make deinstall install Good luck! -- Ky Anh, Huynh Homepage: http://viettug.org/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: snd-hda no sound whatsoever
On Fri, 17 Apr 2009 13:34:34 -0400 Eitan Adler wrote: > I have no sound whatsoever. Speakers are plugged in and turned on. > I'm not sure what debugging information I need. > > ... > > Any ideas? > It seems that I got the same problem which's solved. Please search in the list. Patrick Lamaizière wrote: / There were some changes in snd_hda just after the 7.1-RELEASE. You can try to update to a 7-STABLE. You can also take the files of snd_hda from current or from stable (/usr/src/sys/dev/sound/pci/hda/*) and rebuild the kernel module. \= After upgrade upgrade my system to 7.2-PRERELEASE, my sound card works perfectly. Regards, -- Ky Anh, Huynh Homepage: http://viettug.org/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"