No sound : CA0106 , alsa and pulse audio

So what do we have here. Creative 5.1 channel CA0106 sound card is connected and not working.

What all could go wrong,

  1. your audio card itself is not detected.
  2. your audio driver loaded is not correct.
  3. pulse audio will not recognize your driver output.
  4. alsa mixer has problem recognizing the output

for most of trouble shooting below link is useful from Ubuntu community

for Alsa mixer issue: refer below bug or jump to solution copied from the link as originally written by “LuizMagnoGaloDoido

Install GNOME Alsa Mixer
sudo apt-get install gnome-alsamixer
Now open GNOME ALSA Mixer from Applications -> Sound & Video -> GNOME ALSA Mixer
Choose the tab: “CA0106…”
Turn on “Audigy Analog/Digital Output Jack”
=> Deselect IEC958

This help me, It may help you

Posted in LINUX, Ubuntu | Leave a comment

Beware : Android build environment can screw your machine

Posted in Uncategorized | Leave a comment

Cypress – cy8ckit-042-psoc-4-pioneer-kit

This is an amazing mix-mode PSoc. Very versatile and yet powerful.

Coming from programming background to write your code the PSoc creator is a pain to learn but once  we get hold of it. it more fun to finish your project but leaves the details to the PSoc creator. This has its own pros and cons.


  1. you get to the POC stage faster.
  2. Need not worry much about underlying device drivers. concentrate on you application part.


  1. you loose the hold on the hardware.
  2. you don’t know what could be the limitation of the Soc

need more exploration:


Similar issues I am facing:


Posted in Uncategorized | Leave a comment

AES encryption examples

1. AES 128 encryption & decryption on linux and windows.
2. using, to call the invoking

openssl-aes128-bit encryption:

Posted in Uncategorized | Leave a comment

TI MSP430 build tools, Free RTOS …..

One of my projects needed me to explore into MSP430 so this is what I start from.

try to download everything from the TI website. easy to start with.

Installing compiler :

sudo apt-get update
sudo apt-get install msp430mcu msp430-libc mspdebug gcc-msp430 gdb-msp430

Next would be CCS- this will make life better later:

  • sudo apt-get update
  • sudo apt-get install ia32-libs libgnomeui-0:i386 libusb-1.0-0-dev:i386
  • rest do as it says in the “README_FIRST.txt” file.



usage and code details:

Posted in Uncategorized | Leave a comment

vboxdrv: Unknown symbol mcount (err 0)

if you come across this error here is what you have to do

me@me-desktop:~$ gcc -v
Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.4.7-1ubuntu2' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.4 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.4.7 (Ubuntu/Linaro 4.4.7-1ubuntu2) 
me@me-desktop:~$ dmesg | grep gcc
[ 0.000000] Linux version 3.13.0-62-generic (buildd@lgw01-26) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #102~precise1-Ubuntu SMP Wed Aug 12 14:09:54 UTC 2015 (Ubuntu 3.13.0-62.102~precise1-generic 3.13.11-ckt24)

if  you find that gcc version is mismatched between kernel and what you have on the machine, like how I have “gcc version 4.4.7 (Ubuntu/Linaro 4.4.7-1ubuntu2)” and “(gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)”

then next would be to install gcc version same as kernel.

but if you already have this version installed and you find that it is not default like

me@me-desktop:/usr/bin$ ls /usr/bin/g++
g++      g++-4.4  g++-4.6  g++.bak  
me@me-desktop:/usr/bin$ ls /usr/bin/gcc
gcc      gcc-4.4  gcc-4.6  gcc.bak

then delete the old link and create new symbolic links

me@me-desktop:/usr/bin$ sudo rm -rf gcc
me@me-desktop:/usr/bin$ sudo ln -s gcc-4.6 gcc
me@me-desktop:/usr/bin$ ls -l gcc
lrwxrwxrwx 1 root root 7 Sep  4 00:11 gcc -> gcc-4.6

me@me-desktop:/usr/bin$ sudo rm -rf g++
me@me-desktop:/usr/bin$ sudo ln -s g++-4.6 g++
me@me-desktop:/usr/bin$ ls -l g++
lrwxrwxrwx 1 root root 7 Sep  4 00:12 g++ -> g++-4.6


after this run below command

me@me-desktop:/usr/bin$ sudo /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel modules ...done.
Uninstalling old VirtualBox DKMS kernel modules ...done.
Trying to register the VirtualBox kernel modules using DKMS ...done.
Starting VirtualBox kernel modules ...done.

Wolah you have solved this issue.


Posted in Ubuntu | Leave a comment

Liquid funds – what, how and why?

Still to understand

Posted in Uncategorized | Leave a comment