Friday, May 16, 2008

few linux pains....

Yesterday i was trying to get microphone working on my opensuse 10.3 box, with Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller soundcard. And this post is about the pains i encountered during it.
After running alsaconf, 'n messing around with alsamixer settings for some time, realized it wasn't going to be such an easy job. Then tried the YaST sound, but even after much permutations/combinations with soundcard parameters that google threw up, it failed to configure. So after some more googling, failed to give any concrete solution, thought let me upgrade alsa.
And thats when my troubles started or so i think it did, since 'm not still aware what is the root cause.
> downloaded all the alsa-10.6 packages from the website.
> configure, make and install goes through without an itch
> reboot
> I try logging in and lo it throws up the usual gnome error box of 'your session lasted less than 10s, if you haven't logged out yourself...blah...blah'.

Clicking on the details, gave me some sabayon failures in the log which didn't make any sense to me. So after googling and asking around few colleagues, came to know sabayon can be safely removed without doing much harm. Wait i forgot to mention, before you think that i was stuck to command line, there is a surprise, when i tried root or any other user, the log-in went through just fine. So me was left scratching my head, as what could be the problem, since if it was alsa, i think everything should've cribbed right?
Well anyways so removed sabayon 'n the gnome_admin which depended on sabayon, (btw its interesting what all you learn, 'coz of this i came to know there's something called these two, 'n they take care of user profiles 'n such). And anyone would be forgiven to think it would work after this, but life is never so it? So the sabayon errors go, but the log-in still fails. And now 'm at wits end, as it doesn't even hint at whats the problem.
And this is the account which had all my development environment, music, mail, browser, compiz fusion settings...everything. Now importing all those profiles into a new user acc...not a job one would fancy.
So was trying to think of easier way out, so then since it looked like some issue with user profile, thought if i create a new user and point the home directory to this, it should work. Wishful thinking. :( Didn't make any difference except waste my time. And all this happened yesterday night, so today morning thought no point wasting more of my time, so did what i should've done longtime back, copied the data, profiles etc.

But the issue still remains and can't even file a bug, as i don't know what to file against. Not knowing whats the issue seriously pains. So now 'm throwing it up as an open challenge, so if there is someone who can't resist such a puzzling one - solution, pointers to solution, debugging...nething is most welcome :).

'n here's the very detailed informative message i get -
/etc/X11/xim: Checking whether an input method should be started.
/etc/X11/xim: user environment variable LANG=en_US.UTF-8
sourcing /etc/sysconfig/language to get the value of INPUT_METHOD
INPUT_METHOD is not set or empty (no user selected input method).
Trying to start a default input method for the locale en_US.UTF-8 ...
There is no default input method for the current locale.

'n btw before there used to be sabayon error messages between the default input and SESSION_MANAGER lines.

'n yea, the whole reason this whole thing started - microphone, i just checked it is working. But it hadn't when i checked last night, life mysteries what can i say...

1 comment:

pavi said...

is it opensuse box or sabayon box ?

has the problem been solved.

You can still keep the whole home directory as back up and copy the .firefox .evolution directory and it will work as earlier :)