Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A20 => Topic started by: fab on March 09, 2014, 11:03:38 AM

Title: kernel commit hash for the latest debian release (R7)
Post by: fab on March 09, 2014, 11:03:38 AM
Hi,

Is there someone who got the github commit hash for the latest debian release (R7), out beginning of this month?

This will help me to recompile the kernel, in order to add the usual USB Wifi missing modules....

Thx
Fab
Title: Re: kernel commit hash for the latest debian release (R7)
Post by: codifies on March 09, 2014, 12:15:45 PM
the last one I grabbed a few weeks ago seems to work fine when installing Debian with debootstrap, no particular need for an exact kernel version...
Title: Re: kernel commit hash for the latest debian release (R7)
Post by: fab on March 10, 2014, 08:23:58 PM
Yes thx,

You are right, the latest commit (3.4.79+) is also working fine. My issue was actually not there. The sound from the analog jack was not working at all.
After many hours of search, my problem was with /etc/asound.conf from the latest release R7, which was totally weird.

The config for this file which is working well is:

pcm.!default {
  type hw
  card sunxicodec
  device 0
}

ctl.!default {
  type hw
  card sunxicodec
}


and not the funky one supplied in the debian R7...!
Title: Re: kernel commit hash for the latest debian release (R7)
Post by: codifies on March 11, 2014, 01:29:23 AM
didn't see this with debootstrap, isn't it always the way though you can be suspecting something complex like a kernel compile and guess what its a simple config file.... ah what fun!
Title: Re: kernel commit hash for the latest debian release (R7)
Post by: docsun on June 26, 2014, 11:45:56 AM

if you have a20-olinuxino-micro then just need change "hw:1,0" to "hw:0,0" in /etc/asound.conf

because a20 has only 1 sound device (check: cat /proc/asound/cards).

Everything OK (aplay, amixer, arecord ... even mono soundplayer) after fixing.