Re: No sound in my FreeBSD 9

2012-07-05 Thread sw2wolf
Maybe i should use audio/oss instead of snd_ich ?

-
e^(π.i) + 1 = 0
--
View this message in context: 
http://freebsd.1045724.n5.nabble.com/No-sound-in-my-FreeBSD-9-tp5720280p5724585.html
Sent from the freebsd-questions mailing list archive at Nabble.com.
___
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: Understanding XDM

2012-07-04 Thread sw2wolf
I am using slim to login which can choose Window Manager by pressing F1 key.
Can XDM choose Window Manager when loginning ?

Reagrds!

-
e^(π.i) + 1 = 0
--
View this message in context: 
http://freebsd.1045724.n5.nabble.com/Understanding-XDM-tp5721476p5724072.html
Sent from the freebsd-questions mailing list archive at Nabble.com.
___
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


How can i decrease memory occupied by xorg ?

2012-07-04 Thread sw2wolf
An old i386 box has only 512M RAM.

PID USERNAMETHR PRI NICE   SIZERES STATE   C   TIME   WCPU COMMAND
 ...
 1121 sw2wolf   8  200   299M   128M uwait   1   5:22  0.59% opera
 1083 root  1  210 99444K 11544K select  0   1:28  0.00% Xorg
 1096 sw2wolf   1  200 25136K  2412K select  0   0:00  0.00% xterm
 1101 sw2wolf   1  200 10948K  1576K pause   1   0:00  0.00% csh
 1081 root  1  200 19448K  1564K wait0   0:00  0.00% slim
 1124 sw2wolf   1  200 34376K  1496K select  1   0:00  0.00%
gam_server
 1086 sw2wolf   1  200 10992K  1136K select  1   0:00  0.00% dwm
 1100 sw2wolf   1  200 10060K  1080K select  0   0:01  0.00% tmux
  722 root  1  200  9612K   732K select  1   0:00  0.00% syslogd
 1098 sw2wolf   1  520 10060K   672K select  0   0:00  0.00% tmux
  965 root  1  200  9716K   660K select  0   0:05  0.00% moused
  ...

Of course, opera is a big customer of RAM which i cannot decrease its memory
usage. then can i descrease the xorg's resident memory ?

 Sincerely!

-
e^(π.i) + 1 = 0
--
View this message in context: 
http://freebsd.1045724.n5.nabble.com/How-can-i-decrease-memory-occupied-by-xorg-tp5724311.html
Sent from the freebsd-questions mailing list archive at Nabble.com.
___
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


No sound in my FreeBSD 9

2012-06-20 Thread sw2wolf
$uname -a
FreeBSD mybsd.zsoft.com 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3
07:15:25 UTC 2012 
r...@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

$sudo sysctl -w hw.snd.verbose=2
$cat /dev/sndstat 
FreeBSD Audio Driver (newpcm: 32bit 2009061500/i386)
Installed devices:
pcm0: Intel ICH4 (82801DB) at io 0xde081000, 0xde082000 irq 17 bufsz 16384 
(1p:1v/1r:1v) default
snddev flags=0x2e2AUTOVCHAN,BUSY,MPSAFE,REGISTERED,VPC
[pcm0:play:dsp0.p0]: spd 48000, fmt 0x00200010, flags 0x2100,
0x0004
interrupts 44126, underruns 0, feed 44126, ready 0
[b:4096/2048/2|bs:4096/2048/2]
channel flags=0x2100BUSY,HAS_VCHAN
{userland} - feeder_mixer(0x00200010) - {hardware}
pcm0:play:dsp0.p0[pcm0:virtual:dsp0.vp0]: spd 44100/48000, fmt
0x00200010, flags 0x1000, 0x0029
interrupts 0, underruns 0, feed 0, ready 0
[b:0/0/0|bs:65536/2048/32]
channel flags=0x1000VIRTUAL
{userland} - feeder_root(0x00200010) - feeder_volume(0x00200010)
- feeder_rate(0x00200010 q:1 44100 - 48000) - {hardware}
[pcm0:record:dsp0.r0]: spd 48000, fmt 0x00200010, flags 0x2100,
0x0005
interrupts 0, overruns 0, feed 0, hfree 4096, sfree 4096
[b:4096/2048/2|bs:4096/2048/2]
channel flags=0x2100BUSY,HAS_VCHAN
{hardware} - feeder_root(0x00200010) - feeder_mixer(0x00200010) -
{userland}
pcm0:record:dsp0.r0[pcm0:virtual:dsp0.vr0]: spd 8000, fmt
0x0018, flags 0x1000, 0x
interrupts 0, overruns 0, feed 0, hfree 0, sfree 0
[b:0/0/0|bs:0/0/0]
channel flags=0x1000VIRTUAL
{hardware} - feeder_root(0x) - {userland}

$mixer
Mixer vol  is currently set to  75:75
Mixer pcm  is currently set to  75:75
Mixer speaker  is currently set to  75:75
Mixer line 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  75:75
Mixer igainis currently set to   0:0
Mixer line1is currently set to  75:75
Mixer phin is currently set to   0:0

$pciconf -lv | grep -i audio
device = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio
Controller'
subclass   = audio
subclass   = audio

$dmesg | grep -i audio
pci1: multimedia, audio at device 0.0 (no driver attached)

However the sound is OK using XP on the same box (so the sound card has no
problem)
$gpart show ada0
=  63  39874304  ada0  MBR  (19G)
   63  19534977 1  !12  [active]  (9.3G)
  19535040  20338668 2  freebsd  (9.7G)
  39873708   659- free -  (329k)


The GENERIC kernel has loaded driver( snd_ich ), but i can hear nothing.

Any suggestion is appreciated!

-
e^(π.i) + 1 = 0
--
View this message in context: 
http://freebsd.1045724.n5.nabble.com/No-sound-in-my-FreeBSD-9-tp5720280.html
Sent from the freebsd-questions mailing list archive at Nabble.com.
___
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: Ports Libraries - Shared object libz.so.5 not found

2012-04-24 Thread sw2wolf
ls -l /lib/libz*
lrwxr-xr-x  1 root  wheel9  4 22 09:00 /lib/libz.so.5@ - libz.so.6

When i installed wine, it reported the same error which is fixed simply by a
symbolic link.

-
e^(π.i) + 1 = 0
--
View this message in context: 
http://freebsd.1045724.n5.nabble.com/Ports-Libraries-Shared-object-libz-so-5-not-found-tp5662329p5663803.html
Sent from the freebsd-questions mailing list archive at Nabble.com.
___
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


Is it worthy upgrading to 9.0 ?

2012-02-27 Thread sw2wolf
uname -a
FreeBSD mybsd.zsoft.com 8.2-RELEASE FreeBSD 8.2-RELEASE #3: Fri Sep 30
15:23:56 CST 2011
r...@mybsd.zsoft.com:/media/G/usr/obj/media/G/usr/src/sys/MYKERNEL  i386

I am using 8.2 for a long time. And it works VERY well.


Any suggestion is appreciated!

-
e^(π.i) + 1 = 0
--
View this message in context: 
http://freebsd.1045724.n5.nabble.com/Is-it-worthy-upgrading-to-9-0-tp5520494p5520494.html
Sent from the freebsd-questions mailing list archive at Nabble.com.
___
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