Hi all, I’m trying to install BBB Debian with well known M2Tech Hiface1 USB>SPDIF converter.
I started with Debian 7.0 installation:
http://www.armhf.com/index.php/getting-started-with-ubuntu-img-file/
Then I start installing M2Tech Hiface1:
sudo apt-get install dkms
sudo apt-get install kernel-headers-$(uname -r)
sudo apt-get install build-essential
sudo apt-get install git
git clone git://github.com/panicking/snd-usb-asyncaudio.git
sudo dkms add ./snd-usb-asyncaudio/
sudo dkms autoinstall
2nd command gave me an error:
debian@debian-armhf:~$ sudo apt-get install kernel-headers-$(uname -r)
Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Unable to locate package kernel-headers-3.8.13-bone20
E: Couldn’t find any package by regex 'kernel-headers-3.8.13-bone20
I tried to find out the right kernel-headers at following site and install it:
http://wget%20http://rcn-ee.net/deb/wheezy-armhf/v3.8.13-bone20/install-me.sh
sudo /bin/bash install-me.sh
(reboot)
I also tried with this one:
http://rcn-ee.net/deb/wheezy-armhf/v3.8.13-bone20/
linux-headers-3.8.13-bone20_1.0wheezy_armhf.deb
No luck … I still have an error:
root@debian-armhf:/# sudo dkms autoinstall
Kernel preparation unnecessary for this kernel. Skipping…
Building module:
cleaning build area…
make KERNELRELEASE=3.8.13-bone20 KVERSION=3.8.13-bone20…(bad exit status: 2)
Error! Bad return status for module build on kernel: 3.8.13-bone20 (armv7l)
Consult /var/lib/dkms/snd-usb-hiface/1.0/build/make.log for more information
And log looks like:
root@debian-armhf:/snd-usb-asyncaudio# cat /var/lib/dkms/snd-usb-hiface/1.0/build/make.log
DKMS make.log for snd-usb-hiface-1.0 for kernel 3.8.13-bone20 (armv7l)
Mon Oct 7 16:17:03 UTC 2013
make -C /lib/modules/3.8.13-bone20/build SUBDIRS=/var/lib/dkms/snd-usb-hiface/1.0/build modules
make[1]: Entering directory /usr/src/linux-headers-3.8.13-bone20' CC [M] /var/lib/dkms/snd-usb-hiface/1.0/build/chip.o In file included from include/linux/timex.h:65:0, from include/linux/jiffies.h:8, from include/linux/ktime.h:25, from include/linux/timer.h:5, from include/linux/workqueue.h:8, from include/linux/srcu.h:34, from include/linux/notifier.h:15, from include/linux/memory_hotplug.h:6, from include/linux/mmzone.h:761, from include/linux/gfp.h:4, from include/linux/kmod.h:22, from include/linux/module.h:13, from /var/lib/dkms/snd-usb-hiface/1.0/build/chip.c:17: /usr/src/linux-headers-3.8.13-bone20/arch/arm/include/asm/timex.h:18:24: fatal error: mach/timex.h: No such file or directory compilation terminated. make[2]: *** [/var/lib/dkms/snd-usb-hiface/1.0/build/chip.o] Error 1 make[1]: *** [_module_/var/lib/dkms/snd-usb-hiface/1.0/build] Error 2 make[1]: Leaving directory
/usr/src/linux-headers-3.8.13-bone20’
make: *** [default] Error 2
Any idea ?
Thanks in advance, Massimiliano
BTW - Is there any Real Time kernel available for Debian on BBB ?