Mouse (and sound) troubles fixed

(tags: )

Since a time ago, I had some strange mouse (and sound) problems. I was using a 2.6.11-gentoo-r6 kernel compiled manually with everything working. The only strange thing was some message appearing at boot time (more exactly when /etc/init.d/alsasound was started) pointing me at the fact that there was a problem with the program reading the file "/etc/asound.state". I took a look into that file, but all I saw were @'s and other strange signs, so it seemed it was a binary one. Normally there are no binary files in /etc, so I thought it might be corrupted and I removed the file. (In fact: it is the file where your mixer levels are stored, so removing it couldn't cause any problems) Since then, sound wasn't working anymore.

Another problem I had, was when I compiled a new 2.6.12 kernel starting from the old .config file and using "make menuconfig". When booting that kernel, my USB-mouse didn't work anymore. Touchpad and the "clit" (that little "button" between the g and h on some laptopkeyboards) worked perfect. It even didn't work anymore when I recompiled the old 2.6.11 kernel with the config gathered from "zcat /proc/config.gz > .config" because I lost the original one. So these two 2.6.11 kernels should be identical, but the newly compiled one didn't make my USB-mouse work the way the old one did. Strange stuff, isn't it?

So, thanks to the nice guys on bcol the problem is solved now. In my /etc/X11/xorg.conf file, I had three sections "InputDevice": one for my keyboard and two for my mice (USB and touchpad/clit). One was using /dev/input/mouse0, the other one /dev/input/mouse1. Toni (Dutch weblog) explained me that I could better use /dev/input/mice as this is some virtual device combining the input from all mouse-devices. I even shouldn't merge the two sections and there options, just change the device. And yes, this works! And with the new kernel, I also have sound working! There must be some file corrupt in the old kernel image. Thanks, Toni!

Next thing on the list is following the Gentoo Power Management Guide, when I have some time.

0 reacties

Plaats een nieuwe reactie

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account associated with the e-mail address you provide, it will be used to display your avatar.
  • Web- en e-mail adressen worden automatisch omgezet in links.
  • Toegestane HTML tags: <a> <acronym> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <del> <ins> <i> <b> <u> <blockquote>
  • Je mag code posten dmv <code>...</code> (generiek) of <?php ... ?> (highlighted PHP) tags.
  • Op het einde van de lijn of paragraaf wordt automatisch een nieuwe lijn begonnen.

Meer informatie over opmaak mogelijkheden

Syndicate content

Politiek engagement

N-VA logo

Kortjes

Blik op mijn agenda

Je vindt me ook terug op

Facebook logo
Twitter logo
YouTube logo
Vimeo logo
GarageTV logo
Flickr logo

Laatste reacties

Syndicate content

Laatste foto's

Meer foto's hier.

Contact

Je kan me steeds contacteren via het contactformulier of rechtstreeks:
Kleine Kerkstraat 24, 9050 Gent
Peter@peterdedecker.eu
0486/152320

Disclaimer

Dit is de website van Peter Dedecker. Alle teksten mogen, tenzij anders vermeld, overgenomen worden mits bronvermelding. Een link wordt altijd geapprecieerd. Dit alles is mijn persoonlijke opinie. Organisaties waar ik lid van (geweest) ben of voor (ge)werk(t heb) kunnen in geen geval aansprakelijk gesteld worden voor wat ik hier schrijf. Zie de volledige disclaimer.