Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Realtek rtl8812AU chipset support in OpenELEC #2877

Closed
maar1010 opened this Issue Jan 12, 2014 · 33 comments

Comments

Projects
None yet
8 participants
@maar1010
Copy link

maar1010 commented Jan 12, 2014

This chipset supports 802.11ac and forms the heart of a relatively new set of wireless adapters (http://www.smallnetbuilder.com/wireless/wireless-reviews/32271-ac1200-usb-wireless-adapter-roundup)

An open source linux distribution driver is available at https://github.com/abperiasamy/rtl8812AU_8821AU_linux

Would it be possible to include it in one of the next builds?

@sblommers

This comment has been minimized.

Copy link

sblommers commented Jan 15, 2014

I am currently experimenting with that, builds take a long time (the first one especcially, i'm up and running now). I had succes with XBian and RaspBMC and OpenElec with the fork I created on https://github.com/sblommers/rtl8812au. I got some issues with CONFIG_POWER_SAVING = y and i put that to n for the time being. On OpenElec i do have some stability issues but it's a development build, need to go through the log files (sometimes system locks up after I paused a movie clip for too long, maybe some sort of power saving still going on). Don't know yet if it's the drivers I compiled and maybe https://github.com/abperiasamy/rtl8812AU_8821AU_linux is more stable .. let's find out

I'l l keep posting here when I have time.

update: I've been able to build from the latest development just now and find it to be quite stable. I'll make this more modular for OpenELEC and post back.

update2: I forgot to say I am using this on my Raspberry Pi. Since it uses USB 2.0 I don't get the full potential of my Sitecom WL-7100 (http://wikidevi.com/wiki/Sitecom_WLA-7100) but still quite some throughput from my NAS (not limited by the 100Mbit eth0).

update3: I have succes on the latest development build. I'll make a release build on 3.2.4 (latest stable release) and post the image here for further testing. (Still using https://github.com/sblommers/rtl8812au with power savings disabled)

update4: RPi 3.2.4 + RTL8812AU --> https://dl.dropboxusercontent.com/u/13090441/OpenELEC-RPi.arm-3.2.4-RTL8812AU.tar

@maar1010

This comment has been minimized.

Copy link
Author

maar1010 commented Feb 9, 2014

Sorry, had little time to tinker around with this for a couple of weeks. Just flashed the SD card with your build and fired up the Pi. The networking module in OpenElec doesn't seems to work (both ethernet and wireless adaptors). The option System --> OpenELEC --> Network is not available anymore.

@sblommers

This comment has been minimized.

Copy link

sblommers commented Feb 9, 2014

Hi I think I might have made a mistake with that build (had same issue as you). Here 2 new builds.
3.2.4 + RTL8812AU
https://dl.dropboxusercontent.com/u/13090441/OpenELEC-RPi.arm-3.2.4-RTL8812AU.tar

Development + RTL8812AU (without SAMBA) =>
https://dl.dropboxusercontent.com/u/13090441/OpenELEC-RPi.arm-devel-20140210011955-r17699-g34018a8.tar

@maar1010

This comment has been minimized.

Copy link
Author

maar1010 commented Feb 10, 2014

Would it also be possible to post an image of the SD card? I'm working mostly on mac and create_sdcard poses some problems, since "parted" is not installed.

@sblommers

This comment has been minimized.

Copy link

sblommers commented Feb 10, 2014

Sorry for my late reactions, having a newborn is very 'distracting' ;-)

Ah, but there is a quicker way, just do an install of 3.2.4 with the image (the way you normally do it on your Mac : http://openelec.thestateofme.com/official_images/OpenELEC-RPi.arm-3.2.4.img.zip). After that remount your SD card and replace the KERNEL and SYSTEM on your SD card with the one in the target folder from my 3.2.4 and dev files.

Make sure KERNEL is named kernel.img and SYSTEM just SYSTEM

Here is a new dev build (SAMBA broken) with some new RPi patches this is a IMG file: https://dl.dropboxusercontent.com/u/13090441/OpenELEC-RPi.arm-devel-20140210204557-r17707-g4feaa66.img.gz

@maar1010

This comment has been minimized.

Copy link
Author

maar1010 commented Feb 10, 2014

late reactions ;)?? Thanks! The image seems to work. I'm able to connect to the network. The buiuld however still has the same issue when I replace the kernel and SYSTEM file in the official 3.2.4: Networking option is not available.

@sblommers

This comment has been minimized.

Copy link

sblommers commented Feb 10, 2014

The IMG is the latest development which works for me also. I also have some trouble with 3.2.4 and connect using cable for the time being. If you are not in the need of SAMBA and like to try out this new development build just go with the IMG. Does your AC adapter work with the dev image?

@stefansaraev

This comment has been minimized.

Copy link
Contributor

stefansaraev commented Feb 10, 2014

could you guys, please, keep the general chat off this issue tracker? thanks

@maar1010

This comment has been minimized.

Copy link
Author

maar1010 commented Feb 10, 2014

yes it does. Just having some issues setting up my webserver location where files are stored. @stefansaraev Where should we continue this chat?

@stefansaraev

This comment has been minimized.

Copy link
Contributor

stefansaraev commented Feb 10, 2014

irc or forum. wherever it makes sense for you.

@sblommers

This comment has been minimized.

Copy link

sblommers commented Feb 11, 2014

Hi Maarten,

seems like dev build is broken. It's too bad the 3.2.4 build does not
work with the AC adapter then everything would be fine. I'll try and
figure out what is wrong with the stable release vs the AC adapter and
check back. In the meantime I'll also check this OpenGL issue.
Unfortunately I have a days work ahead, maybe in my lunch break. Too bad
it does not work for you (yet).

Best regards,
Sebastiaan

On 11-02-14 08:14, maar1010 wrote:

Hi,
The image seems to have another issue as well. I've tried playing
several video files (mkv and mp4 files). It only plays sound and gives
an error that the OpenGL plugin is not found.
KR
Maarten

Date: Mon, 10 Feb 2014 13:04:20 -0800
From: notifications@github.com
To: OpenELEC.tv@noreply.github.com
CC: johnnyguitar86@hotmail.com
Subject: Re: [OpenELEC.tv] Realtek rtl8812AU chipset support in
OpenELEC (#2877)

Sorry Stefan

On 10-02-14 22:03, Stefan Saraev wrote:

could you guys, please, keep the general chat off this issue tracker?

thanks

Reply to this email directly or view it on GitHub

#2877 (comment).


Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHub
#2877 (comment).

@maar1010

This comment has been minimized.

@sblommers

This comment has been minimized.

Copy link

sblommers commented Feb 11, 2014

4a3a962

is to blame i think. I'll rebuild dev without this commit and post it on
dropbox as IMG

On 11-02-14 08:14, maar1010 wrote:

Hi,
The image seems to have another issue as well. I've tried playing
several video files (mkv and mp4 files). It only plays sound and gives
an error that the OpenGL plugin is not found.
KR
Maarten

Date: Mon, 10 Feb 2014 13:04:20 -0800
From: notifications@github.com
To: OpenELEC.tv@noreply.github.com
CC: johnnyguitar86@hotmail.com
Subject: Re: [OpenELEC.tv] Realtek rtl8812AU chipset support in
OpenELEC (#2877)

Sorry Stefan

On 10-02-14 22:03, Stefan Saraev wrote:

could you guys, please, keep the general chat off this issue tracker?

thanks

Reply to this email directly or view it on GitHub

#2877 (comment).


Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHub
#2877 (comment).

@maar1010

This comment has been minimized.

Copy link
Author

maar1010 commented Feb 11, 2014

Hi Sebastiaan,
No problem. Thanks for all your help. I've created a new topic in the forum on the subject:
http://openelec.tv/forum/69-network/69399-realtek-rtl8812au-chipset-support-in-openelec#97653
KR
Maarten

Date: Mon, 10 Feb 2014 23:38:14 -0800
From: notifications@github.com
To: OpenELEC.tv@noreply.github.com
CC: johnnyguitar86@hotmail.com
Subject: Re: [OpenELEC.tv] Realtek rtl8812AU chipset support in OpenELEC (#2877)

Hi Maarten,

seems like dev build is broken. It's too bad the 3.2.4 build does not

work with the AC adapter then everything would be fine. I'll try and

figure out what is wrong with the stable release vs the AC adapter and

check back. In the meantime I'll also check this OpenGL issue.

Unfortunately I have a days work ahead, maybe in my lunch break. Too bad

it does not work for you (yet).

Best regards,

Sebastiaan

On 11-02-14 08:14, maar1010 wrote:

Hi,

The image seems to have another issue as well. I've tried playing

several video files (mkv and mp4 files). It only plays sound and gives

an error that the OpenGL plugin is not found.

KR

Maarten

Date: Mon, 10 Feb 2014 13:04:20 -0800

From: notifications@github.com

To: OpenELEC.tv@noreply.github.com

CC: johnnyguitar86@hotmail.com

Subject: Re: [OpenELEC.tv] Realtek rtl8812AU chipset support in

OpenELEC (#2877)

Sorry Stefan

On 10-02-14 22:03, Stefan Saraev wrote:

could you guys, please, keep the general chat off this issue tracker?

thanks

Reply to this email directly or view it on GitHub

#2877 (comment).

Reply to this email directly or view it on GitHub.

Reply to this email directly or view it on GitHub

#2877 (comment).


Reply to this email directly or view it on GitHub.

@stefansaraev

This comment has been minimized.

Copy link
Contributor

stefansaraev commented Mar 30, 2014

added in 443a4b8

@maar1010

This comment has been minimized.

Copy link
Author

maar1010 commented Apr 6, 2014

Thanks Stefan. I don't see 8812AU in the list of additional drivers in this package. I assume it's included anyway? In which OpenElec release will it be included?

@sraue sraue reopened this Apr 6, 2014

@sraue

This comment has been minimized.

@maar1010

This comment has been minimized.

Copy link
Author

maar1010 commented Apr 6, 2014

@sraue just tested the build. The wireless adapter is not recognized. I'm testing with an Edimax EW-7822UAC

@sraue

This comment has been minimized.

Copy link
Contributor

sraue commented Apr 6, 2014

@maar1010 post dmesg , lsusb and lsmod output

@maar1010

This comment has been minimized.

Copy link
Author

maar1010 commented Apr 6, 2014

@sraue How do I retrieve these outputs?

@sraue

This comment has been minimized.

Copy link
Contributor

sraue commented Apr 7, 2014

@maar1010 type
dmesg | pastebinit
lsusb | pastebinit
lsmod | pastebinit
and paste the urls here

@sraue

This comment has been minimized.

Copy link
Contributor

sraue commented Apr 12, 2014

please test again with
http://snapshots.openelec.tv/test/OpenELEC-RPi.arm-devel-20140412033248-r18141-ge813e3b.tar
and report back asap. also provide dmesg, lsmod and lsusb output with running this build

@maar1010

This comment has been minimized.

Copy link
Author

maar1010 commented Apr 13, 2014

The wifi stick is still not recognised in XBMC.

dmesg: http://sprunge.us/ZaBJ
lsusb: http://sprunge.us/TRiX
lsmod: http://sprunge.us/XOLC

Used the latest build. Tried with and without a powered usb hub. Finally connected my old wifi stick to test that that one is still working, and connect through ssh (lsusb therefore shows both the edimax and the other wifi stick).

@bmfesta2009

This comment has been minimized.

Copy link

bmfesta2009 commented Apr 22, 2014

I was very excited to see this support added to OpenELEC and have taken my spare Raspberry Pi to test this out.

[Hardware]
Computer: Raspberry Pi Model B (2011.12)
Network Adapter: Edimax AC EW-7811UTC (USB 2.0 600 AC)
Operating System: OpenELEC 3.95.6

On boot in the initial setup screen the device is recognized by the operating system
The network scan recognized my wireless network
Setup of the wireless network appears successful and reports a valid IP Address
After completing setup the network does not remain functional
OpenELEC Connections Configuration Displays "Failure" next to the network
When deleting and re-configuring the network a notice appears in the bottom right hand corner (Network I/O Error)

Any testing needed I am happy to offer. Please let me know how you would like to proceed?

@maar1010

This comment has been minimized.

Copy link
Author

maar1010 commented May 21, 2014

Just installed Openelec 4.0. It works perfectly now! Thank you!

@maar1010 maar1010 closed this May 21, 2014

@TheDBP

This comment has been minimized.

Copy link

TheDBP commented Aug 19, 2014

Hi all, I'm running OpenELEC on an AppleTV Gen 1, and just picked up an Edimax EW-7811UTC device, same 8812au chipset. No luck having it recognized on the current or 4.2 beta builds. It's device ID shows up as 7392:a812 via lsusb. Is support for this chipset going to rolled into a release in the near future? If not, can someone point me to instructions on how to build my own OpenELEC system with this driver included?

@fritsch

This comment has been minimized.

Copy link
Contributor

fritsch commented Aug 19, 2014

If you "just" picked it up - Go and "just" return it. We like to support
vendors that care for OpenSource. Cause OpenELEC would be absolutely
nothing without OSS.

2014-08-19 5:00 GMT+02:00 TheDBP notifications@github.com:

Hi all, I'm running OpenELEC on an AppleTV Gen 1, and just picked up an
Edimax EW-7811UTC device, same 8812au chipset. No luck having it recognized
on the current or 4.2 beta builds. It's device ID shows up as 7392:a812 via
lsusb. Is support for this chipset going to rolled into a release in the
near future? If not, can someone point me to instructions on how to build
my own OpenELEC system with this driver included?

Reply to this email directly or view it on GitHub
#2877 (comment)
.

               Key-ID:     0x1A995A9B
               keyserver: pgp.mit.edu

Fingerprint: 4606 DA19 EC2E 9A0B 0157 C81B DA07 CF63 1A99 5A9B

@TheDBP

This comment has been minimized.

Copy link

TheDBP commented Aug 22, 2014

OK ... there isn't a 5GHz or AC card listed in the hardware compatibility page here:

http://wiki.openelec.tv/index.php/Supported_Network_Cards#USB_Adapters

Is there a suggested brand or model for 5GHz AC? I have no problem getting another adapter that's better suited to the open source ideology.

It would be nice to be pointed in the right direction to start building my own openelec system, though. I've been all through the forums and haven't found any good leads.

@bmfesta2009

This comment has been minimized.

Copy link

bmfesta2009 commented Aug 25, 2014

The best performing wireless adapter I found to work is the D-Link DWA-180 Wireless AC1000. My guess is your hardware has the same usb 2.0 restrictions mine does and this became my best choice. I will admit though it is rather large. If you need a small form factor my other device uses EDIMAX EW-7811UTC AC600. Less performance but a more normal size. If performance is your key concern for high definition streaming the only thing I have found works 100% is a wireless media bridge, Linksys WUMC710. Good luck.

@TheDBP

This comment has been minimized.

Copy link

TheDBP commented Aug 26, 2014

bmfesta2009, thanks for the helpful comment. The 7811UTC is actually the device I'm using, but OpenELEC does not see any networks when using it. Is it possible that the AppleTV builds do not include all the same wireless drivers? I'll check into the DWA-180 as well, since that would give better speed anyway.

@bmfesta2009

This comment has been minimized.

Copy link

bmfesta2009 commented Aug 26, 2014

The builds are the same. I just checked and you shouldn't have hardware issues either. Have you tested with a non-beta version? This chipset has been supported since 4.0

@TheDBP

This comment has been minimized.

Copy link

TheDBP commented Aug 26, 2014

bmfesta2009, thanks for the suggestion. I downgraded to 4.0.7, and the issue persists. There's another report of the same adapter with the same chipset having the same problem here (second post):

http://openelec.tv/forum/88-wlan/71727-rtl8812au-support-of-tp-link-archer-t4u-ac1200

I've gotten this adapter working on Linux using this driver:

https://github.com/gnab/rtl8812au

which seems to be a different version than the one included with OpenELEC.

I've pulled the OE source and can build a copy that (I think) will work on the AppleTV (though the option for PROJECT=ATV doesn't seem to work), but I'm a little unsure how to inject this different version of the driver into the build.

I'd also like to add MPD, tvheadend, hdhomerun-config, and a few other things to the OE build but there seems to be little documentation on how to make this happen. This thread - http://openelec.tv/forum/12-guides-tips-and-tricks/1061-guide-how-to-build-your-own-openelec-distro?start=360 - has been somewhat helpful but not really.

I've also read that there's a way to add additional software to OpenELEC post-install using a chroot to a more full-featured Linux install.

I guess my question is - which is the better path? Building from scratch with additional software and drivers (which I don't really know how to do) or installing additional software using a chroot?

Thanks for all the help!

@chewitt

This comment has been minimized.

Copy link
Contributor

chewitt commented Aug 26, 2014

If you want to run a discussion thread please take it to the forums. This is a bug tracker and every comment on this closed ticket is spamming the developers with email.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.