Page 1 of 2
No sound with java based links [Solved!!]
Posted: 05 Apr 2014, 06:59
by Ed_P
For example this URL:
http://www.freearcade.com/Bounce.jav/Bounce.html
I've applied the asound.conf fix I used with Razor 2.1 and it works for most things but not java based links.
asound.conf
Code: Select all
pcm.!default {
type hw
card 1
}
ctl.!default {
type hw
card 1
}
Windows shows my sound devices as being:
Code: Select all
AMD High Definition Audio Device
Conexant High definition Audio
Porteus shows my sound devices as being:
Code: Select all
guest@porteus:~$ cat /proc//asound/cards
0 [Generic ]: HDA-Intel - HD-Audio Generic
HD-Audio Generic at 0x90444000 irq 40
1 [SB ]: HDA-Intel - HDA ATI SB
HDA ATI SB at 0x90440000 irq 16
Re: No sound with java based links
Posted: 05 Apr 2014, 14:13
by Slaxmax
For me works in kde.
What version of java and icedtea do you have?
Re: No sound with java based links
Posted: 05 Apr 2014, 16:07
by Ed_P
icedtea-web-1.4.2-x86_64.xzm
openjre-7u51_b31-x86_64-1sl.xzm
cups-1.5.4-x86_64-3.xzm
And these work with most java based sites I visit except for one.
I tried the openjre-7u51_b31-x86_64-1alien.xzm module but it didn't work with any of my java links, it would hang FireFox.
Re: No sound with java based links
Posted: 10 Apr 2014, 18:27
by Ed_P
This thread fixed my java site hangups but not the sound problem:
http://forum.porteus.org/viewtopic.php?f=75&t=3332
Re: No sound with java based links
Posted: 24 Apr 2014, 04:52
by Ed_P
No help for the sound problem?
Re: No sound with java based links
Posted: 24 Apr 2014, 06:43
by freestyler
I dont know if this will help but here is my asound conf:
.asoundrc
Code: Select all
# ALSA library configuration file
# Include settings that are under the control of asoundconf(1).
# (To disable these settings, comment out this line.)
</home/guest/.asoundrc.asoundconf>
.asoundrc.asoundconf
Code: Select all
# ALSA library configuration file managed by asoundconf(1).
#
# MANUAL CHANGES TO THIS FILE WILL BE OVERWRITTEN!
#
# Manual changes to the ALSA library configuration should be implemented
# by editing the ~/.asoundrc file, not by editing this file.
!defaults.pcm.card SB
defaults.ctl.card SB
defaults.pcm.device 0
defaults.pcm.subdevice -1
defaults.pcm.nonblock 1
defaults.pcm.compat 0
defaults.pcm.minperiodtime 5000
defaults.pcm.ipc_key 5678293
defaults.pcm.ipc_gid audio
defaults.pcm.ipc_perm 0660
defaults.pcm.dmix.max_periods 0
defaults.pcm.dmix.rate 48000
defaults.pcm.dmix.format "unchanged"
defaults.pcm.dmix.card defaults.pcm.card
defaults.pcm.dmix.device defaults.pcm.device
defaults.pcm.dsnoop.card defaults.pcm.card
defaults.pcm.dsnoop.device defaults.pcm.device
defaults.pcm.front.card defaults.pcm.card
defaults.pcm.front.device defaults.pcm.device
defaults.pcm.rear.card defaults.pcm.card
defaults.pcm.rear.device defaults.pcm.device
defaults.pcm.center_lfe.card defaults.pcm.card
defaults.pcm.center_lfe.device defaults.pcm.device
defaults.pcm.side.card defaults.pcm.card
defaults.pcm.side.device defaults.pcm.device
defaults.pcm.surround40.card defaults.pcm.card
defaults.pcm.surround40.device defaults.pcm.device
defaults.pcm.surround41.card defaults.pcm.card
defaults.pcm.surround41.device defaults.pcm.device
defaults.pcm.surround50.card defaults.pcm.card
defaults.pcm.surround50.device defaults.pcm.device
defaults.pcm.surround51.card defaults.pcm.card
defaults.pcm.surround51.device defaults.pcm.device
defaults.pcm.surround71.card defaults.pcm.card
defaults.pcm.surround71.device defaults.pcm.device
defaults.pcm.iec958.card defaults.pcm.card
defaults.pcm.iec958.device defaults.pcm.device
defaults.pcm.modem.card defaults.pcm.card
defaults.pcm.modem.device defaults.pcm.device
defaults.pcm.file_format "raw"
defaults.pcm.file_truncate true
defaults.rawmidi.card 0
defaults.rawmidi.device 0
defaults.rawmidi.subdevice -1
defaults.hwdep.card 0
defaults.hwdep.device 0
defaults.timer.class 2
defaults.timer.sclass 0
defaults.timer.card 0
defaults.timer.device 0
defaults.timer.subdevice 0
defaults.namehint.showall off
defaults.namehint.basic on
defaults.namehint.extended off
Re: No sound with java based links
Posted: 24 Apr 2014, 08:16
by Slaxmax
I tested latest java in porteus-3.0-RazorQT-x86_64 no need any configuration for work sound in
http://www.freearcade.com/Bounce.jav/Bounce.html
Re: No sound with java based links
Posted: 24 Apr 2014, 11:05
by freestyler
Sweet!
Re: No sound with java based links
Posted: 24 Apr 2014, 23:44
by Ed_P
Interesting responses guys. Thank you.
I don't have a /home/guest/.asoundrc.asoundconf file let alone a /home/guest/.asoundrc folder. I do have a asound.conf file in my /etc/ folder though.
Code: Select all
pcm.!default {
type hw
card 1
}
ctl.!default {
type hw
card 1
}
It is from a post by
brokenman for when I had no sound for anything and it did fix the problem for all but the java links.
http://forum.porteus.org/viewtopic.php? ... 926#p20365
Re: No sound with java based links
Posted: 25 Apr 2014, 01:47
by freestyler
Re: No sound with java based links
Posted: 25 Apr 2014, 04:03
by Ed_P
Wow!!
Thank you
freestyler. I didn't even have to reboot.
I created the .asoundrc file in my /home/guest/ folder that was shown in the link
fanthom posted to you.
http://forum.porteus.org/viewtopic.php? ... 694#p18791
Code: Select all
pcm.!default {
type plug
slave.pcm "dmixer"
}
pcm.dmixer {
type dmix
ipc_key 1024
slave {
pcm "hw:1,0"
period_time 0
period_size 1024
buffer_size 4096
rate 44100
}
bindings {
0 0
1 1
}
}
ctl.dmixer {
type hw
card 0
}
Kinda surprised this is/was a sound card setup problem rather than a java problem.
Re: No sound with java based links [Solved!!]
Posted: 25 Apr 2014, 04:30
by freestyler
Good to hear its working
Re: No sound with java based links [Solved!!]
Posted: 25 Apr 2014, 06:07
by Slaxmax
Re: No sound with java based links [Solved!!]
Posted: 25 Apr 2014, 18:24
by Ed_P
?? How does one see . files in /home/guest? ie .asoundrc spaceFM and LXTerminal's ls command don't show them.
Re: No sound with java based links [Solved!!]
Posted: 25 Apr 2014, 19:33
by brokenman
Have a look in the settings of spacefm. There should be an option to show hidden files there too.