[SOLVED]MK802 II wifi issue in Linux

Forum to discuss the Rikomagic MK802 II Mini PC

Moderators: KEgg, twjordo, tatubias

Re: [SOLVED]MK802 II wifi issue in Linux

Postby rickyzhang » Wed Jan 16, 2013 5:40 pm

serox_21 wrote:
serox_21 wrote:After I installed the compiled kernel with wireless support, I can't hear no sound on the TV?

Have anyone had this issue?
How to check if the correct sound driver is installed?

P.S. I didn't checked, if with the default kernel the sound worked


Fixed by adding .asoudrc config file to home folder


Glad to hear that.

Although I don't use ALSA in my mk802II, I remember ASLA module is included when building kernel.
rickyzhang
 
Posts: 22
Joined: Sat Nov 24, 2012 12:42 pm

Re: [SOLVED]MK802 II wifi issue in Linux

Postby serox_21 » Thu Jan 17, 2013 7:54 am

rickyzhang wrote:
serox_21 wrote:
serox_21 wrote:After I installed the compiled kernel with wireless support, I can't hear no sound on the TV?

Have anyone had this issue?
How to check if the correct sound driver is installed?

P.S. I didn't checked, if with the default kernel the sound worked


Fixed by adding .asoudrc config file to home folder


Glad to hear that.

Although I don't use ALSA in my mk802II, I remember ASLA module is included when building kernel.


Yes the alsa modules are included, but without the .asoundrc file there was no sound.

If someone else have the same problem , this is the content of the .asoundrc file:

create the file on your home folder ~/.asoundrc and paste the following content in it. Then restart.

Code: Select all
pcm.dmixer {
type dmix
ipc_key 1024
ipc_key_add_uid false
ipc_perm 0660
slave {
pcm "hw:1,0"
rate 48000
channels 2
period_time 0
period_size 1024
buffer_time 0
buffer_size 4096
}
}

pcm.!default {
type plug
slave.pcm "dmixer"
}

pcm.!hdmi-remap {
type asym
playback.pcm {
type plug
slave.pcm "remap-surround71"
}
}

pcm.!remap-surround71 {
type route
slave.pcm "hw:1,0"
ttable {
0.0= 1
1.1= 1
2.4= 1
3.5= 1
4.2= 1
5.3= 1
6.6= 1
7.7= 1
}
}

serox_21
 
Posts: 15
Joined: Tue Jan 15, 2013 9:27 am

Re: [SOLVED]MK802 II wifi issue in Linux

Postby serox_21 » Thu Jan 17, 2013 3:16 pm

@rickyzhang can you add also iptables support in kernel?
Or do you know what to select from menuconfig so I can rebuild the kernel with iptables support?
serox_21
 
Posts: 15
Joined: Tue Jan 15, 2013 9:27 am

Re: [SOLVED]MK802 II wifi issue in Linux

Postby rickyzhang » Fri Jan 18, 2013 12:29 am

serox_21 wrote:@rickyzhang can you add also iptables support in kernel?
Or do you know what to select from menuconfig so I can rebuild the kernel with iptables support?

Sorry, I don't know anything about iptable. You'd better build it by yourself. Google is always your best friends. Good luck!
rickyzhang
 
Posts: 22
Joined: Sat Nov 24, 2012 12:42 pm

Re: [SOLVED]MK802 II wifi issue in Linux

Postby serox_21 » Mon Jan 21, 2013 9:55 am

I managed to compile iptables and the wireless driver for 8188eu. If someone else need iptables I can share the kernel+modules or the .config file(+steps) for kernel compilation
serox_21
 
Posts: 15
Joined: Tue Jan 15, 2013 9:27 am

Re: [SOLVED]MK802 II wifi issue in Linux

Postby RAB » Mon Jan 21, 2013 3:40 pm

serox_21 wrote:I managed to compile iptables and the wireless driver for 8188eu. If someone else need iptables I can share the kernel+modules or the .config file(+steps) for kernel compilation


The kernel+modules for iptables would be usefull to me for a headless server if possible.

I have a question re the 8188eu WiFi. After following the instructions in this forum Ican get WiFi to work but only if I use a USB wireless
stick (belkin). Should I be able to make a WiFi connection directly from the Mk802?
RAB
 
Posts: 4
Joined: Mon Dec 24, 2012 9:30 pm

Re: [SOLVED]MK802 II wifi issue in Linux

Postby serox_21 » Tue Jan 22, 2013 7:00 am

Hi,
I'll share kernel+modules tonight when I'll get home.
If you have the realtek 8188eu chipset it should work with the internal wireless. What chipset the belkin wireless usb stick use?
serox_21
 
Posts: 15
Joined: Tue Jan 15, 2013 9:27 am

Re: [SOLVED]MK802 II wifi issue in Linux

Postby RAB » Tue Jan 22, 2013 5:29 pm

The Belkin chip is a Zydus ZD1211B. Lsusb also shows the 8188 as a separate item.

However when when I remove the Belkin the WiFi still works!!

When I first Booted ths system without the belkin no WiFi was not detected.
I made several attempt to create a connection without success.
As soon as I plugged in the Belkin the system showed two services.
After setting up the WiFi code internet was up.
When I removed the Belkin there was still a connection but the second service was no longer shown.

Dos this mean that the 8188 will only detect WiFi services if the service has already been configured?
RAB
 
Posts: 4
Joined: Mon Dec 24, 2012 9:30 pm

Re: [SOLVED]MK802 II wifi issue in Linux

Postby serox_21 » Wed Jan 23, 2013 7:11 am

serox_21 wrote:Hi,
I'll share kernel+modules tonight when I'll get home.
If you have the realtek 8188eu chipset it should work with the internal wireless. What chipset the belkin wireless usb stick use?


I uploaded the kernel uImage and lib folder to following urls:
Code: Select all
http://speedy.sh/73HbP/lib.zip
http://speedy.sh/hDUG6/kernel.zip


to install them mount your sd card on your computer in a linux OS to have access to both partitions
unzip the kernel.zip arhive and copy uImage file to the smaller partition(FAT, 17Mb, this is the boot partition) replacing existing one
unzip lib.zip file and copy the folder to / (ext4 partion the larger one)
Code: Select all
cp -r lib /media/<your SD card folder>/

the unmount the sd card and insert it in the mk802 device.

install the iptables
sudo apt-get install iptables
and should work
Last edited by serox_21 on Wed Jan 23, 2013 7:52 am, edited 1 time in total.
serox_21
 
Posts: 15
Joined: Tue Jan 15, 2013 9:27 am

Re: [SOLVED]MK802 II wifi issue in Linux

Postby serox_21 » Wed Jan 23, 2013 7:50 am

when I run command lsusb the driver for the wireless card is the one from the first post. Probably you dont have the same wireless card. Did you compile the driver yourself?

If you want to use the mk802 II as a linux server better to add a usb ethernet adaptor.
On my device the wireless connection is not stable. Sometimes the internet doesen't work and when I ping the router all the packages are lost even if its shows that there is a wireless connection .
serox_21
 
Posts: 15
Joined: Tue Jan 15, 2013 9:27 am

PreviousNext

Return to Rikomagic MK802 II Forum

Who is online

Users browsing this forum: Google [Bot] and 2 guests