Skip navigation.
Home

Fedora 11 Createve Soundblaster Live 5.1 and distorted or no sound

After upgrading to Fedora 11 sound was not usable. The setup of the computer contains the building Intel HD sound and a Creative Soundblaster Live! 5.1 soundcard. Headphones with a microfone are attached to the onboard Intel HD card. A 5.1 speaker system is connected to the Create card. I use the headphones for VOIP and the Creative card for video and audio playback.

When I watch a video with the sound played via the Soundblaster card, the sound was scrambled, crackling and there was a massive hiss. Additionaly the kernel printed

ALSA sound/core/pcm_lib.c:166: BUG: stream = 0, pos = 0x2000, buffer size = 0x2000, period size = 0x2000

during playback. Playback via the onboard Intel sound was ok, even the kernel continues to spew out this error message. So i continued to research the issue. I was confident, that the error is not a critical kernel bug, but more of a configuration issue. The first step to resolve the bug was to switch pulseaudio to use "Analog 5.1 Output" for the soundblaster card. This configuration is in the  'Sound & Video' -> 'Pulseaudio Volume Control' program. Switch to the 'Configuration' tab and choose the 5.1 profile from the combo box. Look at this screenshot to see which profile i used. After changing it, the hissing stoped, but i couldn't here anything. In a terminal window I started `alsamixer -c 1', where '-c 1' means that it configures the second soundcard in my system (soundcards are counted starting with 0, as are most things in the IT world). Far on the right side there is an entry called "SB Live" which was unmuted. After muting it, as you can see in the screenshot,the sound worked.

So the steps to solve the problem for me were:

  • Correctly configure pulseaudio to use the analog 5.1 output
  • Use alsamixer to mute the SB Live Analog/Digital Output Jack.

slf4j and opensaml

Using opensaml pulls in a dependency for SL4J through it's usage of xmltooling. To resolve the dependcy issues just add the following to your pom.xml file:

    <dependency>
        <groupId>org.slf4j</groupId>
        <artifactId>slf4j-log4j12</artifactId>
        <version>1.5.5</version>
    </dependency>

 This snippet pulls in the necessary jars to configure SLF4j to use log4j for it's logging backend. Of course you could any other supported SLF4j logging backend and version. Just replace slf4j-log4j12 with another backend jar name.

Metro webservioces on tomcat: ClassCastException

If you get the following error message

com.sun.xml.ws.transport.http.servlet.WSServletContextListener contextInitialized
SEVERE: WSSERVLET11: failed to parse runtime descriptor: com.sun.xml.ws.util.ServiceConfigurationError: com.sun.xml.ws.api.wsdl.writer.WSDLGeneratorExtension: Provider com.sun.xml.ws.policy.jaxws.PolicyWSDLGeneratorExtension is specified in jar:file:/home/mla/apache-tomcat-5.5.27/shared/lib/webservices-rt.jar!/META-INF/services/com.sun.xml.ws.api.wsdl.writer.WSDLGeneratorExtensionbut could not be instantiated: java.lang.ClassCastException
com.sun.xml.ws.util.ServiceConfigurationError: com.sun.xml.ws.api.wsdl.writer.WSDLGeneratorExtension: Provider com.sun.xml.ws.policy.jaxws.PolicyWSDLGeneratorExtension is specified in jar:file:/home/mla/apache-tomcat-5.5.27/shared/lib/webservices-rt.jar!/META-INF/services/com.sun.xml.ws.api.wsdl.writer.WSDLGeneratorExtensionbut could not be instantiated: java.lang.ClassCastException

after installing metro 1.3.1 into tomcat using the metro_on_tomcat.xml ant buildfile two incompatible webservice implementations are installed.

he easy solution is to remove all files starting with "webservices" from the tomcat/shared/lib directory.

Understanding WS – Security Policy Language

Find more information here http://wso2.org/library/3132 

SOAP version mismatch between WSIT and WCF

@WebService()
@javax.xml.ws.BindingType(value="http://java.sun.com/xml/ns/jaxws/2003/05/soap/bindings/HTTP/")
public class HelleWorld {

/**
* Web service operation
*/
@WebMethod(operationName = "Hi")

public String Hi() {
//TODO write your implementation code here:
return "HelloWorld";
}

}
 

Michael Lausch Homepage

About me

I'm working for bwin, one of the world biggest online betting and gaming provider as a system architect..

My area of work is all things regarding security at the application level and general scalability stuff.

 

Software and Patches

Software I've written and patches for programs.

 

Zimbra and SynCE Interface

The goal of this project is to conenct the Zimbra groupware server to Active Sync clients. Currently email syncing ios working and calender syncing is the next item on the list. If you want to test it, contact me and i can provide you with accounts on the zimbra server and on the bug tracking tool, which you are supposed to use for reporting errors and to read usage and newest development information.

ITS

Integrated Testing System. It started as a pet project to learn django and dojo, but it will be grown to a real world test management and test execution framework. Currently I'm doing the dojo-0.4 to dojo-1.0.2 migration. If you want to participate and/or be informed about progress, there is a trac server at www.lausch.at/projects/its. For this project I'm doing quite a lot of Django/Dojo hacking. Informatio about the reusable bits fromt this effort can be found at the Dojo Django integration pages.

Syncml Over Bluetooth

Funambol is nice. Paying the telco for data packets for syncing your mobile with a funambol server is not so nice. Why not use bluetooth to connect the phone to the laptop, which is logged into a free WiFi anyway, and use the network connection for synchronisation with the Funambol server. Take this project and combine it with a syncml/zimbra  bridge and the exchange/blackberry killer is done.

 

The key with the key id D27B935B and the address mla@lausch.at
is an old key, which is not valid anymore. Ican't od a revoke, 
since my private key got lost.

-----BEGIN PGP PUBLIC KEY BLOCK-----
mQGiBELIEXsRBACyUxtim0sq4nYDn3ovNCEWJpJ+gq9BlsgIxc11m2K7YB/p4nE1
uaZJAoLiMpB12sqUUJXuGV2/NofcJPTwlMKvuU+c7XznR4nTw6lMsaI4lBztmhJk
kt1I2lgWjFxuUa7qmgkf1LqBIIn2nYBQ/LCc8157+5b0mzZQWmwdRH0eYwCgocRP
l1WZ+fNfZ52KzGnfuyExvF8D/0sYRNcNaV+9krIQLpnmIvEHu0LFDzDyuD64BdwI
ZUa7GHVTds8CoRI/ITOOAl1MHS2Ply/wZiaV/3xCVR6NVM22urbs+wEu6UiPwjGE
uGFe58vxZAOmJ8IiqQPdI18rQpb6i7qezN/3K/GVCA/2Z5nKWqVwEhaaQ7EIdDmW
WuRfA/0cq9XC2rMXWiAugXllfew697Tyu24fgI/+m6VqxQtuALp3F86mQ+1TertI
5vL9H1MroPRHFWoXYKQrbQBHV3GpOAHDee47fZjZSp05avLadwgFqdLAJruSgAbg
85mk3PR+2KqjIwqiNxB/6SmjXdlwCmiYPNFDkM98Wqqwvzt087Q3TWljaGFlbCBM
YXVzY2ggKHNlY29uZCBwcml2YXRlIGtleSkgPG1pY2hhZWxAbGF1c2NoLmF0Pohg
BBMRAgAgAhsjBgsJCAcDAgQVAggDBBYCAwECHgECF4AFAkYMGAoACgkQ3NqX8Ej4
LrYTywCeNywwGZvBvDzLQfnofolTXrrEOf8AnijtcywCcHN5lWqrs90ih4qznn4/
tD1NaWNoYWVs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