Installing kmod drivers on Buffalo WZR-HP-AG300H

Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware
Goto page 1, 2  Next
Author Message
sunmast
DD-WRT Novice


Joined: 17 May 2012
Posts: 4

PostPosted: Sat Aug 11, 2012 8:22    Post subject: Installing kmod drivers on Buffalo WZR-HP-AG300H Reply with quote
Hello,

I'm trying to get my usb sound card to work on my router. Now I can install optwares according to this tutorial: http://dd-wrt.ca/phpBB2/viewtopic.php?t=86912

However it looks kmod drivers need specific linux kernel 3.3.8-1 to install. Otherwise it gives me this error:

root@DD-WRT local $ opkg install kmod-sound-core
Installing kmod-sound-core (3.3.8-1) to root...
Downloading http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/kmod-sound-core_3.3.8-1_ar71xx.ipk.
Collected errors:
* satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-sound-core:
* kernel (= 3.3.8-1-bd655b187e04910d9917973d44f685fb) * kernel (= 3.3.8-1-bd655b187e04910d9917973d44f685fb) *
* opkg_install_cmd: Cannot install package kmod-sound-core.

My system version is:
Linux DD-WRT 3.2.16 #2426 Sun Jun 3 12:58:10 CEST 2012 mips GNU/Linux

Can anyone help with this? Thanks!
Sponsor
gsustek
DD-WRT Novice


Joined: 04 Jun 2011
Posts: 35

PostPosted: Sat Aug 11, 2012 8:27    Post subject: Reply with quote
I have the same issue!!! Even i try to compile alsa kmod,but i can not find ddwrt 3.3.8-1 kernel for it. Just crosscompiller.
LOM
DD-WRT Guru


Joined: 28 Dec 2008
Posts: 7647

PostPosted: Sat Aug 11, 2012 8:36    Post subject: Reply with quote
You'll have to find (or compile yourself) a kmod-sound-core which matches your kernel version.
_________________
Kernel panic: Aiee, killing interrupt handler!
sunmast
DD-WRT Novice


Joined: 17 May 2012
Posts: 4

PostPosted: Sat Aug 11, 2012 15:46    Post subject: Reply with quote
LOM wrote:
You'll have to find (or compile yourself) a kmod-sound-core which matches your kernel version.

Do you know anywhere to download the source code?
gsustek
DD-WRT Novice


Joined: 04 Jun 2011
Posts: 35

PostPosted: Sun Aug 12, 2012 8:32    Post subject: Reply with quote
Some guide?! What i need. I have ubuntu x86 gcc and i do not have kernel.
habeIchVergessen
DD-WRT User


Joined: 04 May 2010
Posts: 431

PostPosted: Sun Aug 12, 2012 9:51    Post subject: Reply with quote
toolchain for cross compile
source svn://svn.dd-wrt.com/DD-WRT/src/linux
gsustek
DD-WRT Novice


Joined: 04 Jun 2011
Posts: 35

PostPosted: Mon Aug 13, 2012 9:02    Post subject: Reply with quote
hi, where is kernel 3.3.8-1 for Siemens SX763 danube lantiqe in these directory's? I don't want to get it all.


adm5120/
brcm/
brcm63xx/
ks8695/
magicbox/
mv78xx/
rb500/
rt2880/
sl2312/
universal/
adm5120/
brcm/
brcm63xx/
ks8695/
magicbox/
mv78xx/
rb500/
rt2880/
sl2312/
universal/


Regards,
Goran.


Last edited by gsustek on Mon Aug 13, 2012 9:29; edited 2 times in total
LOM
DD-WRT Guru


Joined: 28 Dec 2008
Posts: 7647

PostPosted: Mon Aug 13, 2012 9:12    Post subject: Reply with quote
gsustek wrote:
hi, where is kernel 3.3.8-1 for Siemens SX763 danube lantiqe in these directory's? I don't want to get it all.


Under universal.

_________________
Kernel panic: Aiee, killing interrupt handler!
gsustek
DD-WRT Novice


Joined: 04 Jun 2011
Posts: 35

PostPosted: Mon Aug 13, 2012 9:33    Post subject: Reply with quote
LOM wrote:
gsustek wrote:
hi, where is kernel 3.3.8-1 for Siemens SX763 danube lantiqe in these directory's? I don't want to get it all.


Under universal.


thnx. i just downlaod universal/linux-3.3 directory.
how to compile just one kmod, for alsa sound. i have uclibc toolchain and with this command i successfully compile and run hello.c program.


PATH=~/toolchains/4.1.0-uclibc-0.9.28/bin:$PATH
mipsel-linux-uclibc-gcc helloworld.c -o helloworld

Regards,
Goran.
habeIchVergessen
DD-WRT User


Joined: 04 May 2010
Posts: 431

PostPosted: Mon Aug 13, 2012 11:21    Post subject: Reply with quote
standard kernel stuff

make menuconfig
make
make modules

maybe you have to set some environment (GCC, CROSS_COMPILE).

wzr-hp-ag300h is mips!
gsustek
DD-WRT Novice


Joined: 04 Jun 2011
Posts: 35

PostPosted: Mon Aug 13, 2012 12:52    Post subject: Reply with quote
habeIchVergessen wrote:
standard kernel stuff

make menuconfig
make
make modules

maybe you have to set some environment (GCC, CROSS_COMPILE).

wzr-hp-ag300h is mips!


thnx.
so if i compile this (tutorial : http://www.dd-wrt.com/wiki/index.php/Development#Building_DD-WRT_from_Source)

i should able just to upgrade this new SX763 firmware?and everything works?
habeIchVergessen
DD-WRT User


Joined: 04 May 2010
Posts: 431

PostPosted: Mon Aug 13, 2012 17:06    Post subject: Reply with quote
try and report your progress. weekly should be enough!
gsustek
DD-WRT Novice


Joined: 04 Jun 2011
Posts: 35

PostPosted: Tue Aug 14, 2012 9:09    Post subject: Reply with quote
Hello, i successfully compile modules and whole firmware.

Step:
1. svn co svn://svn.dd-wrt.com/DD-WRT/src/linux/universal/lantiq/linux-3.3.8 /home/XX/Desktop/DDWRT/
2. cd /home/XX/Desktop/DDWRT/
3. export CROSS_COMPILE=/home/XXX/Desktop/DDW-RT/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/bin/mips-openwrt-linux-uclibc-
4. export ARCH=mips
5. cp .config_sx763 .config
6. make

Question:
Where is new firmware binary?(name)
How to compile alsa sound modules? there is none in this make modules....i download alsa source ,where to put it in this dorectory structure?

Regards,Goran.

edit:
i enable sound on menuconfig and now i have soundcore.ko:)

how to add build number to kernel version?
habeIchVergessen
DD-WRT User


Joined: 04 May 2010
Posts: 431

PostPosted: Tue Aug 14, 2012 9:59    Post subject: Reply with quote
you have compiled a new kernel! not the whole firmware!

edit the Makefile in source root directory (/home/XX/Desktop/DDWRT/) to set the EXTRAVERSION.

to build a flashable image you need src/router from svn. normally make creates the image under src/router/${ARCH}-uclibc.
gsustek
DD-WRT Novice


Joined: 04 Jun 2011
Posts: 35

PostPosted: Tue Aug 14, 2012 10:22    Post subject: Reply with quote
or i can extract firmware to change kernel and build it?
Goto page 1, 2  Next Display posts from previous:    Page 1 of 2
Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum