Hi group
I am experimenting with my soundchip on the mentioned notebook.
I am using the nice program of W.M.Quarles with some own modifications, e.g.
I open the dev /dev/dsp
I check settings with ioctl SNDCTL_DSP_GETFMTS
I see that it is possible to have STEREO-sound ...
========>snip
Operation is possible!
Operation is possible!
Operation is possible!
Operation is possible!
Operation is possible!
Operation is possible!
Operation is possible!
========->snip
I use ioctl with SNDCTL_DSP_CHANNELS and get the chip is set to MONO
I try to set it to STEREO with SNDCTL_DSP_STEREO and get the following
message (programmed by myself while analysing the retured bit-pattern:
Mono is set
I try to set: Stereo
Success of Channel-Set: Mono is set
Which I interpret as: it is not possible for me to set the STEREO-Bit
even as superuser.
Config: kamix is running etc. etc. all the alsa driver run (see printout)
=====> snip
ibk-node14:/home/klangprojekt/klangan/hw-tests # lsmod | grep snd
snd-pcm-oss 45152 0 (autoclean)
snd-seq 36656 1 (autoclean)
snd-mixer-oss 13400 0 (autoclean) [snd-pcm-oss]
snd-intel8x0 19492 4
snd-pcm 65124 0 [snd-pcm-oss snd-intel8x0]
snd-timer 15040 0 [snd-seq snd-pcm]
snd-ac97-codec 39512 0 [snd-intel8x0]
snd-page-alloc 6004 0 [snd-intel8x0 snd-pcm]
snd-mpu401-uart 3584 0 [snd-intel8x0]
snd-rawmidi 14080 0 [snd-mpu401-uart]
snd-seq-device 4048 0 [snd-seq snd-rawmidi]
snd 35172 4 [snd-pcm-oss snd-seq snd-mixer-oss
snd-intel8x0 snd-pcm snd-timer snd-ac97-codec snd-mpu401-uart
snd-rawmidi snd-seq-device]
soundcore 3588 0 [snd]
ibk-node14:/home/klangprojekt/klangan/hw-tests #
====> snip
ibk-node14:/home/klangprojekt/klangan/hw-tests # ps axu
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.0 620 256 ? S Aug19 0:04 init [3]
root 2 0.0 0.0 0 0 ? SW Aug19 0:05 [keventd]
root 3 0.0 0.0 0 0 ? SWN Aug19 0:00
[ksoftirqd_CPU0]
root 4 0.0 0.0 0 0 ? SW Aug19 0:00 [kswapd]
root 5 0.0 0.0 0 0 ? SW Aug19 0:00 [bdflush]
root 6 0.0 0.0 0 0 ? SW Aug19 0:00 [kupdated]
root 7 0.0 0.0 0 0 ? SW Aug19 0:00 [kinoded]
root 8 0.0 0.0 0 0 ? SW Aug19 0:00 [mdrecoveryd]
root 11 0.0 0.0 0 0 ? SW Aug19 0:00 [kreiserfsd]
root 372 0.0 0.0 0 0 ? SW< Aug19 0:00 [lvm-mpd]
root 918 0.0 0.1 1560 628 ? S Aug19 0:00 /sbin/syslogd
root 921 0.0 0.2 2360 1408 ? S Aug19 0:00
/sbin/klogd -c 1 -2
root 955 0.0 0.0 0 0 ? SW Aug19 0:00 [knodemgrd_0]
root 981 0.0 0.0 0 0 ? SW Aug19 0:00 [khubd]
root 1218 0.0 0.0 1524 496 ? S Aug19 0:00 /sbin/resmgrd
root 1250 0.0 0.1 1644 724 ? S Aug19 0:00
/sbin/cardmgr -m /lib/modules/2.4.21-99-default/
bin 1364 0.0 0.0 1524 416 ? S Aug19 0:00 /sbin/portmap
root 1367 0.0 0.0 1352 280 ? S Aug19 0:00
/sbin/startpar -f -- /etc/init.d/rc3.d/S10snmpd
root 1432 0.0 0.0 0 0 ? SW Aug19 0:00 [rpciod]
root 1433 0.0 0.0 0 0 ? SW Aug19 0:00 [lockd]
root 1435 0.0 0.4 4192 2316 ? S Aug19 0:00
/usr/sbin/snmpd -c /etc/snmpd.conf -r -A -l /var/
root 1613 0.0 0.0 1484 472 ? S Aug19 0:00
/usr/sbin/irattach /dev/ttyS1 -s
ntp 1650 0.0 0.4 2192 2184 ? SL Aug19 0:00
/usr/sbin/ntpd -p /var/lib/ntp/var/run/ntp/ntpd.p
root 1656 0.0 0.1 1504 584 ? S Aug19 0:03
/usr/sbin/acpid
root 1657 0.0 0.3 4916 1652 ? S Aug19 0:00
/usr/sbin/sshd -o PidFile=/var/run/sshd.init.pid
root 1661 0.0 0.3 3768 1604 ? S Aug19 0:00
/usr/sbin/smpppd
nobody 1693 0.0 0.7 5568 3836 ? S Aug19 0:00
/usr/X11R6/bin/xfs -nodaemon -user nobody -port 7
root 1861 0.0 0.1 2424 956 ? S Aug19 1:31
/usr/sbin/cpufreqd -d -a /proc/acpi/ac_adapter/AC
lp 1862 0.0 0.6 6136 3176 ? S Aug19 0:00
/usr/sbin/cupsd
root 1976 0.0 0.2 4168 1368 ? S Aug19 0:00
/usr/lib/postfix/master
postfix 1981 0.0 0.2 4224 1400 ? S Aug19 0:00 qmgr -l
-t fifo -u
root 2144 0.0 0.1 1708 704 ? S Aug19 0:00
/usr/sbin/cron
root 2150 0.0 0.1 12272 784 ? S Aug19 0:00
/usr/sbin/nscd
root 2152 0.0 0.1 12272 784 ? S Aug19 0:00
/usr/sbin/nscd
root 2153 0.0 0.1 12272 784 ? S Aug19 0:00
/usr/sbin/nscd
root 2154 0.0 0.1 12272 784 ? S Aug19 0:00
/usr/sbin/nscd
root 2155 0.0 0.1 12272 784 ? S Aug19 0:00
/usr/sbin/nscd
root 2156 0.0 0.1 12272 784 ? S Aug19 0:00
/usr/sbin/nscd
root 2157 0.0 0.1 12272 784 ? S Aug19 0:00
/usr/sbin/nscd
vscan 2171 0.0 5.3 29424 26816 ? S Aug19 0:00 amavisd
(master)
root 2284 0.0 0.2 2324 1144 ? S Aug19 0:00 login --
klangprojekt
root 2285 0.0 0.1 1500 512 tty2 S Aug19 0:00
/sbin/mingetty tty2
root 2286 0.0 0.1 1500 512 tty3 S Aug19 0:00
/sbin/mingetty tty3
root 2287 0.0 0.1 1500 512 tty4 S Aug19 0:00
/sbin/mingetty tty4
root 2288 0.0 0.1 1500 512 tty5 S Aug19 0:00
/sbin/mingetty tty5
root 2289 0.0 0.1 1500 512 tty6 S Aug19 0:00
/sbin/mingetty tty6
kampmann 2386 0.0 0.3 2868 1640 tty1 S Aug19 0:00 -bash
kampmann 2406 0.0 0.2 2740 1224 tty1 S Aug19 0:00 /bin/sh
/usr/X11R6/bin/startx
kampmann 2407 0.0 0.1 1732 528 tty1 S Aug19 0:00 tee
/home/klangprojekt/.X.err
kampmann 2419 0.0 0.1 2584 688 tty1 S Aug19 0:00 xinit
/usr/X11R6/lib/X11/xinit/xinitrc -- /usr/X1
root 2420 5.3 8.3 177348 42320 ? S Aug19 158:54 X :0
-auth /home/klangprojekt/.Xauthority
kampmann 2428 0.0 0.2 2736 1256 tty1 S Aug19 0:00 /bin/sh
/usr/X11R6/bin/kde
kampmann 2449 0.0 1.2 22008 6284 ? S Aug19 0:00 kdeinit:
Running...
kampmann 2452 0.0 1.8 21848 9524 ? S Aug19 0:00 kdeinit:
dcopserver --nosid
kampmann 2455 0.0 2.1 23444 10736 ? S Aug19 0:00 kdeinit:
klauncher
kampmann 2458 0.0 2.5 24896 12960 ? S Aug19 0:10 kdeinit: kded
kampmann 2464 0.0 2.7 25572 14124 ? S Aug19 1:59 kdeinit:
klaptopdaemon
kampmann 2479 0.0 1.3 10616 6804 ? S Aug19 0:01
/opt/kde3/bin/artsd -F 10 -S 4096 -s 5 -m artsmes
kampmann 2493 0.0 3.1 29572 15720 ? S Aug19 0:00 kdeinit:
knotify
kampmann 2494 0.0 0.0 1488 332 tty1 S Aug19 0:00 kwrapper
ksmserver
kampmann 2496 0.0 2.4 23440 12292 ? S Aug19 0:00 kdeinit:
ksmserver
kampmann 2497 0.0 2.9 26096 14804 ? S Aug19 0:04 kdeinit:
kwin -session 11c0a8000e0001092592537000
kampmann 2499 0.0 2.7 24956 14064 ? S Aug19 0:00 kdeinit:
kwrited
kampmann 2501 0.0 3.1 27016 16088 ? S Aug19 0:01 kdeinit:
kdesktop
kampmann 2504 0.0 3.2 28112 16536 ? S Aug19 0:29 kdeinit:
kicker
kampmann 2507 0.0 1.9 22088 9784 ? S Aug19 0:00 kdeinit:
kio_file file /tmp/ksocket-klangprojekt/
kampmann 2510 0.0 2.8 25768 14448 ? S Aug19 2:39 kdeinit:
klipper
kampmann 2512 0.0 2.8 25592 14248 ? S Aug19 0:00 kamix
kampmann 2515 0.0 2.7 25944 13880 ? S Aug19 0:00 kinternet
-caption Kinternet -icon kinternet -min
kampmann 2517 0.0 2.7 24716 13940 ? S Aug19 0:04
susewatcher -caption SuSE Watcher -icon kinternet
kampmann 2518 0.1 2.7 26664 13996 ? S Aug19 5:49
suseplugger -caption SuSE Hardware Tool -icon hi2
kampmann 2526 0.0 2.7 29432 13668 ? S Aug19 0:02 nautilus
--sm-config-prefix /nautilus-lKaONK/ --s
kampmann 2527 0.0 2.8 27412 14172 ? S Aug19 0:00 kdeinit:
konqueror --preload
kampmann 2529 0.0 0.8 7148 4080 ? S Aug19 0:00
/opt/gnome/lib/GConf/2/gconfd-2 12
kampmann 2531 0.0 1.8 23300 9500 ? S Aug19 0:00 kalarmd
--login
kampmann 2533 0.0 0.5 5960 2924 ? S Aug19 0:00
/opt/gnome/lib/bonobo-activation/bonobo-activatio
kampmann 2534 0.0 2.7 29432 13668 ? S Aug19 0:00 nautilus
--sm-config-prefix /nautilus-lKaONK/ --s
kampmann 2535 0.0 2.7 29432 13668 ? S Aug19 0:00 nautilus
--sm-config-prefix /nautilus-lKaONK/ --s
kampmann 2536 0.0 2.7 29432 13668 ? S Aug19 0:00 nautilus
--sm-config-prefix /nautilus-lKaONK/ --s
kampmann 2537 0.0 2.7 29432 13668 ? S Aug19 0:00 nautilus
--sm-config-prefix /nautilus-lKaONK/ --s
kampmann 2538 0.0 2.7 29432 13668 ? S Aug19 0:00 nautilus
--sm-config-prefix /nautilus-lKaONK/ --s
kampmann 2539 0.0 2.8 28608 14500 ? S Aug19 1:17 kdeinit:
konsole
kampmann 2540 0.0 0.3 2884 1740 pts/1 S Aug19 0:00 /bin/bash
kampmann 2550 0.0 0.3 2880 1708 pts/3 S Aug19 0:00 /bin/bash
kampmann 2560 0.0 0.3 2880 1732 pts/4 S Aug19 0:00 /bin/bash
kampmann 2778 3.7 19.0 123692 96336 ? S Aug19 111:38
/opt/mozilla/lib/mozilla-bin
kampmann 2784 0.0 19.0 123692 96336 ? S Aug19 0:00
/opt/mozilla/lib/mozilla-bin
kampmann 2785 0.0 19.0 123692 96336 ? S Aug19 0:07
/opt/mozilla/lib/mozilla-bin
kampmann 2786 0.0 19.0 123692 96336 ? S Aug19 0:00
/opt/mozilla/lib/mozilla-bin
kampmann 2787 0.0 19.0 123692 96336 ? S Aug19 0:20
/opt/mozilla/lib/mozilla-bin
kampmann 2793 0.0 0.0 0 0 ? Z Aug19 0:00 [netstat]
<defunct>
kampmann 13705 0.0 19.0 123692 96336 ? S Aug19 0:00
/opt/mozilla/lib/mozilla-bin
kampmann 13706 0.0 19.0 123692 96336 ? S Aug19 0:00
/opt/mozilla/lib/mozilla-bin
kampmann 13708 0.0 19.0 123692 96336 ? S Aug19 0:00
/opt/mozilla/lib/mozilla-bin
kampmann 14048 0.0 19.0 123692 96336 ? S Aug19 0:00
/opt/mozilla/lib/mozilla-bin
kampmann 14709 0.0 0.0 0 0 ? Z Aug19 0:00
[realplay] <defunct>
kampmann 14730 0.0 0.0 0 0 ? Z Aug19 0:00
[realplay] <defunct>
kampmann 14739 0.0 0.0 0 0 ? Z Aug19 0:00
[realplay] <defunct>
kampmann 14840 0.0 0.0 0 0 ? Z Aug19 0:00
[realplay] <defunct>
kampmann 14865 0.0 0.0 0 0 ? Z Aug19 0:00
[realplay] <defunct>
kampmann 14874 0.0 0.0 0 0 ? Z Aug19 0:00
[realplay] <defunct>
kampmann 14915 0.0 0.0 0 0 ? Z Aug19 0:00
[realplay] <defunct>
kampmann 16073 0.0 19.0 123692 96336 ? S Aug19 0:00
/opt/mozilla/lib/mozilla-bin
kampmann 20135 0.0 0.1 2152 976 pts/4 S Aug19 0:00 less
/usr/include/linux/soundcard.h
kampmann 20284 0.0 0.2 2344 1244 pts/3 S Aug19 0:00 man atoi
kampmann 20285 0.0 0.2 2736 1160 pts/3 S Aug19 0:00 sh -c
(echo '.ll 109n'; /usr/bin/zsoelim /usr/sha
kampmann 20290 0.0 0.1 2084 808 pts/3 S Aug19 0:00 less
kampmann 21151 0.0 2.7 16772 13700 pts/1 S Aug19 1:12 emacs
OSSanalysis.c
kampmann 15467 0.1 4.8 32756 24520 ? S Aug20 2:15
/usr/X11R6/lib/Acrobat5/Reader/intellinux/bin/acr
vscan 24267 0.0 5.3 29556 26920 ? S Aug20 0:00 amavisd
(child)
postfix 31147 0.0 0.2 4204 1300 ? S 11:33 0:00 pickup -l
-t fifo -u
vscan 32273 0.0 5.3 29424 26820 ? S 12:08 0:00 amavisd
(virgin child)
kampmann 1104 0.0 0.3 2876 1728 pts/5 S 12:58 0:00 /bin/bash
root 1117 0.0 0.2 2664 1148 pts/5 S 12:58 0:00 su
root 1118 0.0 0.3 2880 1704 pts/5 S 12:58 0:00 bash
root 1515 0.0 0.0 0 0 ? Z 13:10 0:00 [cron]
<defunct>
root 1536 0.0 0.1 2668 720 pts/5 R 13:10 0:00 ps axu
ibk-node14:/home/klangprojekt/klangan/hw-tests #
==========> snip
does anybody know what I made wrong?
tia for an answer ...
Jörg
--
================= lat=52.35°N - lon=10.25°E ======================
http://www.ibk-consult.de