Posts Tagged ‘Hardy Heron’

Skype Microphone problem and complete pulse audio setup in Ubuntu

Posted 23 May 2008 — by Arun
Category Ubuntu

Update for Ubuntu 9.10: With Ubuntu 9.10, based on my experience, sounds work at the same time for multiple devices. If you have Ubuntu 9.10 and Skype 2.1 beta, all you have to do to get the microphone to work is, right click on the volume icon in the top panel next to the date & time, select preferences, click on the input tab, uncheck the mute option next to input volume, if it’s checked. Now talk over the microphone and see if there are any movements in the bars next to input level. If not, click on the connector option and try with other options available there. For me, the default option and Microphone 1 didn’t work. Microphone 2 worked. You’ll see the movement in the vertical bars next to input level. Once you get that working, Skype should work fine.

Sound Preferences

Warning: It didn’t work for some people. I don’t have instructions to undo this. Use it at your own risk.

After I installed Ubuntu 8.04 Hardy Heron on my new Quad core desktop , I installed Skype . The installation was smooth, but the microphone didn’t work. The output sound was fine. The webcam was detected automatically, but the video loses brightness after 2-3 minutes of use. I wasn’t sure if the microphone problem was due to buggy implementation of Pulse Audio in Ubuntu 8.04 or not. I tried changing the sound preferences and mic preferences, but nothing worked. I finally found a solution to install complete Pulse Audio pack after searching the Ubuntu forums and then for Skype microphone problem.

I followed zman0900’s guide in Ubuntu forums for complete pulse audio setup. Once I set that up, I got the microphone working in Skype. These are the steps I followed to get the Pulse audio setup and microphone to work.

Open a terminal (Application -> Accessories -> terminal)

1. Install additional packages for Pulse Audio by entering the following command in the terminal. Enter your password if prompted.

sudo apt-get install libao-pulse libasound2-plugins

2. Then edit or create your asound.conf file

sudo gedit /etc/asound.conf

and add the following lines. Click save once added.

pcm.pulse {
type pulse
}
ctl.pulse {
type pulse
}
pcm.!default {
type pulse
}
ctl.!default {
type pulse
}

3. Edit libao.conf.

sudo gedit /etc/libao.conf

and add the line below

default_driver=pulse

Now go to System -> Preferences -> Sound. Set under Devices tab the following to PulseAudio Sound Server
Sound Events Sound Playback
Music and Movies Sound Playback
Audio conferencing Sound Playback and Sound Capture

Set the Default Mixer Tracks Device to your sound card. In my case it’s HDA Intel (Alsa Mixer). Check the screenshot below.

Pulse Audio Setup

After you are done with that, install some additional packages. Enter the following command in the terminal.

sudo apt-get install libflashsupport padevchooser pulseaudio-module-hal pulseaudio-module-x11

sudo apt-get install libsdl1.2debian libsdl1.2debian-alsa

Now add the repositories given below to your sources.list file to install additional packages needed for Pulse Audio.
Open your sources.list by

sudo gedit /etc/apt/sources.list

and add the following lines

## zman0900’s PPA
deb http://ppa.launchpad.net/zman0900/ubuntu hardy main
deb-src http://ppa.launchpad.net/zman0900/ubuntu hardy main

Save and close. Now enter the following commands one by one in the terminal.

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install libsdl1.2debian-pulseaudio

If the installation goes fine, then you can move ahead to Device Chooser. If libsdl1.2debian-pulseaudio won’t install, then enter

sudo apt-get install libsdl1.2debian-all

sudo gedit ~/.profile

and add the following two lines. Save and close.

# Make SDL audio work properly with Pulse
# export SDL_AUDIODRIVER=pulse

Now go to PulseAudio Device Chooser under Applications -> Sound & Video. It’ll show an icon in the top right menu bar, next to Tracker search tool or Date area. Click that icon and select preferences. Check the box Start applet on session login under Startup. See the screenshot below.

pulse audio preferences

Restart the computer. You should see the PulseAudion Device Chooser icon to appear once you login. I then changed my input sources by selecting Volume Control under System -> Preferences and selecting the Options tab. I selected Front Mic for all 3 input sources as shown below. This will vary from system to system and you may not see this option in some systems. My microphone was connected to the back of my computer, but it worked after I set it to Front Mic.

volumecontrol

I then started Skype , clicked the small Skype icon at the bottom and selected options. I then went to Sound Devices and selected HDA Intel (hw:intel,0) as my sound in, sound out and ringing options as shown below. I then made a test call and everything worked fine.

skype

Cisco VPN installation issue with Ubuntu 8.04 Hardy Heron

Posted 01 May 2008 — by Arun
Category Ubuntu

I was trying to install Cisco VPN in my Ubuntu 8.04 desktop yesterday. I was following my own guide and I got an error when I tried to install the VPN. Here is the command I issued and the error I got. (Everything that follows now were done in a terminal, which you can access from Application – Accessories – Terminal).

Quaddesktop:~/vpnclient$ sudo ./vpn_install

Cisco Systems VPN Client Version 4.8.01 (0640) Linux Installer
Copyright (C) 1998-2006 Cisco Systems, Inc. All Rights Reserved.

By installing this product you agree that you have read the
license.txt file (The VPN Client license) and will comply with its terms.

Directory where binaries will be installed [/usr/local/bin]

Automatically start the VPN service at boot time [yes]

In order to build the VPN kernel module, you must have the
kernel headers for the version of the kernel you are running.

Directory containing linux kernel source code [/lib/modules/2.6.24-16-generic/build]

* Binaries will be installed in “/usr/local/bin”.
* Modules will be installed in “/lib/modules/2.6.24-16-generic/CiscoVPN”.
* The VPN service will be started AUTOMATICALLY at boot time.
* Kernel source from “/lib/modules/2.6.24-16-generic/build” will be used to build the module.

Is the above correct [y]

Making module
make -C /lib/modules/2.6.24-16-generic/build
SUBDIRS=/home/prabha/vpnclient modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-16-generic’
CC [M] /home/prabha/vpnclient/linuxcniapi.o
In file included from /home/prabha/vpnclient/Cniapi.h:15,
from /home/prabha/vpnclient/linuxcniapi.c:31:
/home/prabha/vpnclient/GenDefs.h:113: error: conflicting types for ‘uintptr_t’
include/linux/types.h:40: error: previous declaration of ‘uintptr_t’ was here
make[2]: *** [/home/prabha/vpnclient/linuxcniapi.o] Error 1
make[1]: *** [_module_/home/prabha/vpnclient] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-16-generic’
make: *** [default] Error 2
Failed to make module “cisco_ipsec.ko”.

Update July 21st 2008: Read Oleg comments (#42) below. Try that before proceeding to the steps below.

Note: For some users it worked only when they followed the steps listed by skramstad in the comments below (Comment #23) before they followed the steps below.

I googled and found out from Lamnk that I need to install a patch if I’m using Kernel version 2.6.24-xx. As you can see above, my Ubuntu installation was using 2.6.24-16-generic kernel. I then downloaded the patch by issuing

wget
http://projects.tuxx-home.at/ciscovpn/patches/vpnclient-linux-2.6.24-final.diff

I downloaded the patch into my vpnclient directory. I then tried to install the patch.

Quaddesktop:~/vpnclient$ patch < ./vpnclient-linux-2.6.24-final.diff

The program ‘patch’ is currently not installed. You can install it by typing:
sudo apt-get install patch
bash: patch: command not found

Obviously, I was missing the patch program. I then installed the patch program.

Quaddesktop:~/vpnclient$ sudo apt-get install patch
Reading package lists… Done
Building dependency tree
Reading state information… Done
Suggested packages:
diff-doc
The following NEW packages will be installed: patch
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 95.6kB of archives.
After this operation, 193kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com hardy/main patch 2.5.9-4 [95.6kB]
Fetched 95.6kB in 12s (7422B/s)
Selecting previously deselected package patch.
(Reading database … 111891 files and directories currently installed.)
Unpacking patch (from …/patch_2.5.9-4_i386.deb) …
Setting up patch (2.5.9-4) …

Once the patch program was installed, I installed the VPN patch.

Quaddesktop:~/vpnclient$ patch < ./vpnclient-linux-2.6.24-final.diff
patching file GenDefs.h
patching file interceptor.c

The patch was done and I installed the VPN without any issue after that.

Quaddesktop:~/vpnclient$ sudo ./vpn_install

It worked flawlessly after that. For steps to follow after the installation, check my post about VPN installation.

Update: Whenever there is an update to the kernel, I had to reinstall VPN. I didn’t have to do the patching part, but I still have to go to vpnclient directory under my home directory and issue the command sudo ./vpn_install. I’m not sure if others have this problem.

Ubuntu 8.04 upgrade snafu

Posted 18 Mar 2008 — by Arun
Category Ubuntu

I normally start using the new versions of Ubuntu when it enters the last part of the alpha stage. I always did a clean install until now. I was going to upgrade when Ubuntu released the 5th alpha version of Ubuntu 8.04, but I changed my mind when I saw the list of open issues. Some of the major issues were resolved when Ubuntu released the final alpha version. I thought I would do an upgrade from Ubuntu 7.10 Gutsy Gibbon to Ubuntu 8.04 instead of doing a clean install of Ubuntu 8.04. I wanted to see how smooth Ubuntu upgrade goes from an end user point of view.

I started the upgrade process by starting the update manager from a terminal (using update-manager -d command). The upgrade took around 20-30 minutes. I was twice prompted during the upgrade to select either the latest version or the package maintainer’s version (I think one was for Samba. I don’t remember the other one). I selected the package maintainer’s version (though I wanted to go with the default option which was current or new version, don’t remember the exact wordings). After the upgrade was done, I rebooted the system as Ubuntu requested me.

When I rebooted the system, my laptop’s touchpad was not working, but the keyboard was working. I entered the username and password and pressed enter. The system just hung. It didn’t login. I tried 2-3 times rebooting, but it didn’t work. I then downloaded the Ubuntu 8.04 ISO image through my desktop and burnt it to a CD. I then rebooted the laptop and installed Ubuntu 8.04 alpha 6 from the CD. I formatted the boot, root and swap partitions and left the home partition untouched. I was prompted only once this time, for Samba. I selected the default option. The installation was done, rebooted my system and voilà!!! I could login and got my system back. All my preferences were left untouched, my Firefox bookmarks was there since I left the home directory untouched.

The overall experience was mixed. I’m not sure if the installation would have gone smooth if I had gone with the default option when prompted, during the upgrade. If you are not a technical person, then this upgrade snafu would raise your blood pressure since you are left with a non workable system. It would still be an issue if you want to install through the CD as I did, if you don’t have a separate partition for your home directory and you haven’t backed up your files (I did a backup before I started this experiment). I would still rate the upgrade from one version of Ubuntu to a newer version much superior than the upgrade from Window XP to Windows Vista. This might not be the case with everyone. Caution: Always back up your files before you upgrade.

Update: I forgot to write that Ubuntu 8.04 detected my wifi card without any problem, but the issue is, the light that shows if my wireless connection is on and is working, is not working. The light stays off even when my wireless is working fine. There is no problem with the light since it works when I boot into Windows and it worked fine until Hardy upgrade. I hope they fix this before the final release.

Technorati Tags: , , , , ,

(K)Ubuntu 8.04 Hardy Heron Alpha 3 released

Posted 11 Jan 2008 — by Arun
Category Ubuntu

(K)Ubuntu team has released their 3rd alpha of Hardy Heron. Here is the list of changes/new features in Ubuntu 8.04 Hardy Heron:

  • The latest Xorg, Xorg 7.3, is available in Hardy.
  • Alpha 3 includes the 2.6.24-3.5 (2.6.24-rc6-based) kernel. This includes dynticks support for amd64, bringing the same power savings already available on 32-bit systems to 64-bit laptops and desktops.
  • Alpha 3 includes PulseAudio enabled by default. Some non-GNOME applications still need to be changed to output to pulse/esd by default and the volume control tools are still not integrated. If you are wondering what PulseAudio is, PulseAudio is a sound server for POSIX and Win32 systems. A sound server is basically a proxy for your sound applications. It allows you to do advanced operations on your sound data as it passes between your application and your hardware.
  • With Alpha 3, PolicyKit integration is gaining visibility in the administrative user interfaces. PolicyKit makes it possible to run administrative applications as a normal user, and have them get a particular set of extra privileges for certain operations, which allows fine grained control over user permissions and enhances usability, as well as eliminating the security implications of running the whole application as root.
  • Firefox 3 beta 2 included.

Here are few bugs that you might run into or impact your system:

  • The new kernel in Alpha 3 is unable to access CD-ROM devices in some configurations, which means some users who were previously able to install Ubuntu will not be able to install this alpha from CD media.
  • Video problems have been reported with the 64-bit (amd64) version of Edubuntu desktop. As a workaround, users can manually specify a video resolution at the boot menu.
  • Users with an older ATI Radeon graphics card might have video problems. As a workaround, you can boot the livecd with a failsafe mode, and after installation add ‘Option “AGPMode” “4″‘ to the “Device” -section of your /etc/X11/xorg.conf.
  • The livecd installer will crash when selecting languages that are not used by more than one country. As a workaround, install in English and change the language afterwards, or install a new version of the ubiquity package on the livecd before starting the installer.

Alpha3?action=AttachFile&do=get&target=alpha3 Polkit5
Source: Ubuntu.

Kubuntu 8.04 Hardy Heron Aplha 3 contains KDE 4.0 stable release.

Technorati Tags: , , , , , , , ,

(K)Ubuntu Hardy Heron Aplha1 8.04 released

Posted 03 Dec 2007 — by Arun
Category Announcement, Ubuntu

Within a month and a half after releasing Ubuntu Gutsy Gibbon 7.10, Canonical has released their first alpha version of Ubuntu Hardy Heron 8.04. This alpha includes latest XOrg 7.3. Lot of new and enhanced programs are merged from Debian. This release is for testing purpose, so don’t install it in your main PC. If you want to upgrade from Ubuntu 7.10, run the command update-manager -d. You can also download the ISO image from here.

Changes in Kubuntu 8.04 includes

  • Kvkbd 0.4.7
  • KDE Bluetooth
  • Kicker Compiz – a modified pager applet for the Kicker to make it work with Compiz better
  • Kicker Taskbar Compiz – a modified taskbar for the Kicker that works better than the current default in Compiz
  • support for PPP and KPPP and also the support for PPTP in Knetworkmanager
  • OTR plugin for Kopete
  • version 2.2.4 of KTorrent
  • automatic codec installation in Kaffeine
  • NTFS support