Quote:
Originally Posted by Shadow_7
Driver == check (you wouldn't get the hiss otherwise, be sure to ^C to stop the hiss)
Permissions == check (you might want to add pulse and pulse-access groups)
$ ps -Al
One of the few ways to tell "IF" you're running a sound daemon and which one (of many). It can also tell which window manager. Some have system sounds, and a configuration that doesn't share sound, can have your sounds locked by the window manager. Less of an issue these days, but might still be one on an unconfigured system.
# apt-get install pulseaudio pulseaudio-module-x11 pulseaudio-utils pavucontrol
(assuming debian or debian based)
It's not perfect, but it's common. As in your default java version is probably assuming a pulseaudio configuration. And end user wise it is probably one of the simpler solutions.
You'll probably need to create a file.
~/.asoundrc
Code:
defaults.pcm.card 0
pcm.pulse { type pulse }
ctl.pulse { type pulse }
pcm.!default { type pulse }
ctl.!default { type pulse }
And from a terminal if it's not automated for you.
$ pulseaudio --start
Then you should be able to run:
$ pavucontrol
And things might make more sense / work out of the box better.
HTH
|
Hi. Meanwhile I changed the hard disk to the one having PCLinux 2012 LXDE installed to and performed the same tests. Result: basically the same as with Debian Wheezy, best result being that hiss. So, I downloaded Pulseaudio and did the tests you suggest.
[paul@localhost ~]$ cat /proc/asound/cards
0 [ES1869 ]: ES1869 - ESS AudioDrive ES1869
ESS AudioDrive ES1869 at 0x220, irq 5, dma1 1, dma2 5
[paul@localhost ~]$ pavucontrol
bash: pavucontrol: command not found
[paul@localhost ~]$ groups
paul lp floppy cdrom cdwriter audio video dialout users polkituser
[paul@localhost ~]$ su
Password:
[root@localhost paul]# groups paul
paul : paul lp floppy cdrom cdwriter audio video dialout users polkituser
[root@localhost paul]# speaker-test -c 2
bash: speaker-test: command not found
[paul@localhost ~]$ speaker-test -c 2
bash: speaker-test: command not found
[paul@localhost ~]$ ps -Al
F S UID PID PPID C PRI NI ADDR SZ WCHAN TTY TIME CMD
4 S 0 1 0 0 61 0 - 542 poll_s ? 00:00:02 init
1 S 0 2 0 0 61 0 - 0 kthrea ? 00:00:00 kthreadd
1 S 0 3 2 0 61 0 - 0 run_ks ? 00:00:00 ksoftirqd/0
1 S 0 5 2 0 61 0 - 0 worker ? 00:00:00 kworker/u:0
1 S 0 6 2 0 -41 - - 0 cpu_st ? 00:00:00 migration/0
1 S 0 7 2 0 61 -20 - 0 rescue ? 00:00:00 khelper
5 S 0 8 2 0 61 0 - 0 devtmp ? 00:00:00 kdevtmpfs
1 S 0 9 2 0 61 -20 - 0 rescue ? 00:00:00 netns
1 S 0 10 2 0 61 0 - 0 bdi_sy ? 00:00:00 sync_supers
1 S 0 11 2 0 61 0 - 0 bdi_fo ? 00:00:00 bdi-default
1 S 0 12 2 0 61 -20 - 0 rescue ? 00:00:00 kintegrityd
1 S 0 13 2 0 61 -20 - 0 rescue ? 00:00:00 kblockd
1 S 0 14 2 0 61 -20 - 0 rescue ? 00:00:00 md
1 S 0 16 2 0 61 0 - 0 kswapd ? 00:00:02 kswapd0
1 S 0 17 2 0 61 5 - 0 ksm_sc ? 00:00:00 ksmd
1 S 0 18 2 0 61 0 - 0 fsnoti ? 00:00:00 fsnotify_mark
1 S 0 19 2 0 61 -20 - 0 rescue ? 00:00:00 crypto
1 S 0 22 2 0 61 -20 - 0 rescue ? 00:00:00 kpsmoused
1 S 0 23 2 0 61 0 - 0 worker ? 00:00:01 kworker/0:2
1 S 0 39 2 0 61 -20 - 0 rescue ? 00:00:00 ata_sff
1 S 0 41 2 0 61 0 - 0 scsi_e ? 00:00:03 scsi_eh_0
1 S 0 42 2 0 61 0 - 0 scsi_e ? 00:00:00 scsi_eh_1
1 S 0 44 2 0 61 0 - 0 worker ? 00:00:02 kworker/u:2
1 S 0 54 2 0 61 0 - 0 kjourn ? 00:00:00 jbd2/sda6-8
1 S 0 55 2 0 61 -20 - 0 rescue ? 00:00:00 ext4-dio-unwri
5 S 0 92 1 0 61 -4 - 683 poll_s ? 00:00:00 udevd
1 S 0 414 2 0 61 0 - 0 hub_th ? 00:00:00 khubd
1 S 0 489 2 0 61 -20 - 0 rescue ? 00:00:00 firewire
1 S 0 517 2 0 61 0 - 0 pccard ? 00:00:00 pccardd
1 S 0 522 2 0 61 0 - 0 pccard ? 00:00:00 pccardd
1 S 0 534 2 0 61 0 - 0 kjourn ? 00:00:00 jbd2/sda8-8
1 S 0 535 2 0 61 -20 - 0 rescue ? 00:00:00 ext4-dio-unwri
1 S 0 550 2 0 61 -20 - 0 rescue ? 00:00:00 cfg80211
5 S 0 687 1 0 61 0 - 554 poll_s ? 00:00:00 syslogd
5 S 0 695 1 0 61 0 - 542 syslog ? 00:00:00 klogd
1 S 0 709 2 0 61 0 - 0 bdi_wr ? 00:00:00 flush-8:0
5 S 496 715 1 0 61 0 - 778 poll_s ? 00:00:00 dbus-daemon
5 S 495 732 1 0 61 0 - 4648 poll_s ? 00:00:05 hald
4 S 0 734 1 0 61 0 - 7299 poll_s ? 00:00:00 console-kit-da
4 S 0 801 1 0 61 0 - 6246 poll_s ? 00:00:00 polkitd
0 S 0 804 732 0 61 0 - 3800 poll_s ? 00:00:00 hald-runner
0 S 0 861 804 0 61 0 - 1513 poll_s ? 00:00:00 hald-addon-inp
0 S 0 863 804 0 61 0 - 1513 poll_s ? 00:00:00 hald-addon-rfk
0 S 0 871 804 0 61 0 - 1514 poll_s ? 00:00:00 hald-addon-sto
4 S 495 873 804 0 61 0 - 990 hrtime ? 00:00:00 hald-addon-acp
4 S 0 907 1 0 61 0 - 5009 poll_s ? 00:00:01 gdm-binary
1 S 0 931 1 0 61 0 - 1177 poll_s ? 00:00:00 gpg-agent
5 S 0 936 907 0 61 0 - 5313 poll_s ? 00:00:00 gdm-binary
4 R 0 938 936 10 66 0 - 9395 ? tty8 00:05:13 X
1 S 0 939 2 0 61 0 - 0 kaudit ? 00:00:00 kauditd
0 S 0 1030 804 0 61 0 - 1514 poll_s ? 00:00:01 hald-addon-sto
1 S 500 1396 1 0 61 0 - 6400 poll_s ? 00:00:00 gnome-keyring-
4 S 500 1402 936 0 61 0 - 3559 poll_s ? 00:00:01 lxsession
1 S 500 1449 1 0 61 0 - 1331 poll_s ? 00:00:00 gpg-agent
1 S 500 1470 1402 0 61 0 - 1472 poll_s ? 00:00:00 ssh-agent
1 S 2 1686 1 0 61 0 - 597 hrtime ? 00:00:00 atd
1 S 0 1687 1 0 61 0 - 755 poll_s ? 00:00:00 xinetd
1 S 0 1708 1 0 61 0 - 1197 hrtime ? 00:00:00 crond
1 S 493 1799 1 0 61 0 - 1053 skb_re ? 00:00:00 uuidd
1 S 500 1824 1 0 61 0 - 940 poll_s ? 00:00:00 dbus-launch
1 S 500 1835 1 0 61 0 - 862 poll_s ? 00:00:01 dbus-daemon
0 S 500 1849 1402 2 61 0 - 12975 poll_s ? 00:01:05 net_applet
1 S 500 1888 1 0 61 0 - 3286 poll_s ? 00:00:00 s2u
0 S 500 1942 1402 0 61 0 - 3908 poll_s ? 00:00:07 openbox
0 S 500 1945 1402 3 61 0 - 12439 poll_s ? 00:01:50 lxpanel
0 S 500 1948 1402 0 61 0 - 9564 poll_s ? 00:00:04 pcmanfm
0 S 500 1955 1402 0 61 0 - 1943 poll_s ? 00:00:03 xscreensaver
0 S 500 1966 1 0 61 0 - 9057 poll_s ? 00:00:02 python
0 S 500 1977 1 0 61 0 - 7321 poll_s ? 00:00:00 volumeicon
1 S 500 2001 1 0 61 0 - 1618 poll_s ? 00:00:00 menu-cached
0 S 500 2004 1 0 61 0 - 7195 poll_s ? 00:00:00 lxpolkit
0 S 500 2009 1 1 61 0 - 6826 poll_s ? 00:00:41 clipit
0 S 500 2011 1 0 61 0 - 2248 poll_s ? 00:00:00 gvfsd
1 S 500 2036 1 0 61 0 - 8436 futex_ ? 00:00:00 gvfs-fuse-daem
0 S 500 2345 1 0 61 0 - 8882 poll_s ? 00:00:00 gvfs-hal-volum
0 S 500 2391 1 0 61 0 - 5157 poll_s ? 00:00:00 gvfs-afc-volum
0 S 500 2406 1 0 61 0 - 2368 poll_s ? 00:00:00 gvfs-gphoto2-v
0 S 500 2455 1 0 61 0 - 2154 poll_s ? 00:00:01 gconfd-2
5 S 498 2538 1 0 61 0 - 813 poll_s ? 00:00:00 avahi-daemon
1 S 498 2542 2538 0 61 0 - 813 unix_s ? 00:00:00 avahi-daemon
5 S 485 2569 1 0 61 0 - 1089 poll_s ? 00:00:00 xfs
1 S 0 2579 1 0 61 0 - 1636 lock_f ? 00:00:00 saslauthd
1 S 0 2588 2579 0 61 0 - 1636 skb_re ? 00:00:00 saslauthd
1 S 0 2592 2579 0 61 0 - 1636 lock_f ? 00:00:00 saslauthd
1 S 0 2593 2579 0 61 0 - 1636 lock_f ? 00:00:00 saslauthd
1 S 0 2594 2579 0 61 0 - 1636 lock_f ? 00:00:00 saslauthd
5 S 0 2652 1 0 61 0 - 817 fuse_d ? 00:00:00 mount.ntfs-3g
4 S 0 2659 1 0 61 0 - 2487 epoll_ ? 00:00:00 cupsd
5 S 0 2694 1 0 61 0 - 817 fuse_d ? 00:00:00 mount.ntfs-3g
5 S 0 2701 1 0 61 0 - 2827 poll_s ? 00:00:08 snmpd
4 S 0 3094 1 0 61 0 - 538 n_tty_ tty1 00:00:00 mingetty
4 S 0 3095 1 0 61 0 - 538 n_tty_ tty2 00:00:00 mingetty
4 S 0 3096 1 0 61 0 - 538 n_tty_ tty3 00:00:00 mingetty
4 S 0 3097 1 0 61 0 - 538 n_tty_ tty4 00:00:00 mingetty
4 S 0 3098 1 0 61 0 - 538 n_tty_ tty5 00:00:00 mingetty
4 S 0 3099 1 0 61 0 - 538 n_tty_ tty6 00:00:00 mingetty
5 S 0 3100 92 0 61 -2 - 682 poll_s ? 00:00:00 udevd
5 S 0 3101 92 0 61 -2 - 682 poll_s ? 00:00:00 udevd
5 S 0 3359 1 0 61 0 - 1295 poll_s ? 00:00:00 wpa_supplicant
5 S 0 3361 1 0 61 0 - 546 poll_s ? 00:00:00 ifplugd
1 S 0 3530 1 0 61 0 - 2007 poll_s ? 00:00:00 dhclient
0 S 500 3593 1 0 61 0 - 6220 poll_s ? 00:00:03 notify-osd
0 S 500 3769 1 22 61 0 - 112134 poll_s ? 00:10:08 firefox
1 S 0 3971 2 0 61 0 - 0 worker ? 00:00:00 kworker/0:0
5 S 486 5253 1 0 61 0 - 866 poll_s ? 00:00:00 ntpd
1 S 0 5819 1 0 61 19 - 586 rt_sig ? 00:00:00 anacron
1 S 0 7427 2 0 61 0 - 0 worker ? 00:00:00 kworker/0:1
1 S 0 8191 2 0 61 0 - 0 worker ? 00:00:00 kworker/0:3
0 S 500 8366 1 1 61 0 - 7352 poll_s ? 00:00:02 leafpad
0 D 500 8640 1 5 61 0 - 9657 sleep_ ? 00:00:01 lxterminal
0 S 500 8644 8640 0 61 0 - 553 unix_s ? 00:00:00 gnome-pty-help
0 S 500 8646 8640 1 61 0 - 1325 wait pts/0 00:00:00 bash
0 R 500 8702 8646 0 67 0 - 1172 - pts/0 00:00:00 ps
[paul@localhost ~]$
After installing Pulseaudio and creating the file
"~/.asoundrc
Code:
defaults.pcm.card 0
pcm.pulse { type pulse }
ctl.pulse { type pulse }
pcm.!default { type pulse }
ctl.!default { type pulse }
What name should that file have? "defaults.pcm.card 0"?
[paul@localhost ~]$ pulseaudio --start
W: [pulseaudio] authkey.c: Failed to open cookie file '/home/paul/.config/pulse/cookie': No such file or directory
W: [pulseaudio] authkey.c: Failed to load authorization key '/home/paul/.config/pulse/cookie': No such file or directory
[paul@localhost ~]$
[paul@localhost ~]$ pavucontrol
Segmentation fault
[paul@localhost ~]$
[paul@localhost ~]$ speaker-test -c 2
bash: speaker-test: command not found
[paul@localhost ~]$
I'll try the same things with the Debian installation and will report the result later.
Many thanks for your efforts. Kind regards,
Paul