Jump to content


Photo

Driver for rtl8712 compiled. Anyone wants to help making a .bb?


  • Please log in to reply
18 replies to this topic

#1 libolibo

  • Senior Member
  • 81 posts

0
Neutral

Posted 2 February 2011 - 23:09

Hi I have successfully compiled and now using the driver for Realtek rtl8712 chipset.
This is need to use the following USB network card:

8188
8191
8192SU

I personally run it on this tiny usb card that fits perfectly with the dm800se and is crazy cheap: 9$

http://www.dealextre...ls.dx/sku.35897

Here attached you can find the patch I made in order to compile it, I started to make my own .bb but no success.
Anyone wants to give it a try?
It would be very nice to have it in the next release of openly :-)

The source code of the driver are here. http://cl.ly/1h291n2...20101111.tar.gz

Here is my draft .bb
DESCRIPTION = "Driver for Realtek 8712 USB WiFi sticks"
SECTION = "kernel/modules"
LICENSE = "GPL"
PR = "r0"

inherit module

SRC_URI="http://cl.ly/1h291n2q2K0e2T1r0i0o/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20101111.tar.gz  \
	    file://config.patch \
	    file://Makefile.patch \
	    file://ioctl/rtl871x_ioctl_linux.c.patch"

S = "${WORKDIR}/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20101111"


SRC_URI[md5sum] = "137423701c43ac5f09007a393406e678"
SRC_URI[sha256sum] = "34ef8534361b0ce9ec756de8babe68f40ba9ce7a2be23d84cf9c185cc4a7c9bb"

Attached Files



Re: Driver for rtl8712 compiled. Anyone wants to help making a .bb? #2 pieterg

  • PLi® Core member
  • 31,895 posts

+230
Excellent

Posted 2 February 2011 - 23:13

are you sure this is a proper download url, and not some temporary one?

Re: Driver for rtl8712 compiled. Anyone wants to help making a .bb? #3 libolibo

  • Senior Member
  • 81 posts

0
Neutral

Posted 2 February 2011 - 23:28

The real one are here but I got tired to revers engineer that stupid javascript that links to the FTP server
http://218.210.127.1...&Downloads=true

Re: Driver for rtl8712 compiled. Anyone wants to help making a .bb? #4 libolibo

  • Senior Member
  • 81 posts

0
Neutral

Posted 2 February 2011 - 23:49

You are right, I think there might be some Copyright issues if we distribute the drivers via cl.ly
But it's kind of crazy that Realtek do not provide a normal FTP distribution... don't you agree?

Re: Driver for rtl8712 compiled. Anyone wants to help making a .bb? #5 pieterg

  • PLi® Core member
  • 31,895 posts

+230
Excellent

Posted 3 February 2011 - 00:09

we can put the tarball on our own server.
But first we have to sort out the patch, we cannot use hardcoded paths to your build environment ;)

Re: Driver for rtl8712 compiled. Anyone wants to help making a .bb? #6 libolibo

  • Senior Member
  • 81 posts

0
Neutral

Posted 3 February 2011 - 17:00

Sure we can put the driver on openpli server.

Regarding paths I was thinking about patching Makefile in a way that could take 4 parameters in from the bitebake:
- path to linux kernel
- path to mipsel-oe-linux-gcc
- path to mipsel-oe-linux-ld
- path to mipsel-oe-linux-ar

They look like standard params that should be available in someway into a .bb file.
But I am not such an expert that's why I am asking for help :-)

what do you think?

Re: Driver for rtl8712 compiled. Anyone wants to help making a .bb? #7 pieterg

  • PLi® Core member
  • 31,895 posts

+230
Excellent

Posted 3 February 2011 - 17:54

the tools are no big deal, using CC=KERNEL_CC etc in the compile function (bb file) should take care of that. See other module.bbclass derivates for examples.
The kernel source dir should not be required, we should try to get rid of it (or construct use some bb variable instead)
I'm sure it can be fixed, just too many things to do at the moment ;)

Re: Driver for rtl8712 compiled. Anyone wants to help making a .bb? #8 libolibo

  • Senior Member
  • 81 posts

0
Neutral

Posted 3 February 2011 - 21:27

Sure!

By the way I just found this super tiny USB wifi "thing". It's cheap and uses this driver as well. Perfect for a receiver with no build in WiFi!

http://www.dealextre...k-adapter-50467

Re: Driver for rtl8712 compiled. Anyone wants to help making a .bb? #9 chumxeed

  • Member
  • 2 posts

0
Neutral

Posted 1 March 2011 - 11:24

Thanks Very much

Re: Driver for rtl8712 compiled. Anyone wants to help making a .bb? #10 VU+NL

  • Senior Member
  • 6,424 posts

+12
Neutral

Posted 1 March 2011 - 15:50

Hi I have successfully compiled and now using the driver for Realtek rtl8712 chipset.
This is need to use the following USB network card:

8188
8191
8192SU

I personally run it on this tiny usb card that fits perfectly with the dm800se and is crazy cheap: 9$

I am a bit lost in this thread. Is there a complete package I can download to use this dongle ( I have the same one here), or do I still need to compile anything?
VU+ DUO/UNO/Digiality 85cm multifocus-4 X twin-Inverto-LNB's/Triax 88 USALS/Logitech Harmony 300, 555, 600, 900 en 1100

Re: Driver for rtl8712 compiled. Anyone wants to help making a .bb? #11 malakudi

  • PLi® Betateam
  • 834 posts

+42
Good

Posted 16 March 2011 - 19:15

@libolibo:
Check bb file from sifteam's openee. I guess it can be adapted for OpenPLI.

http://code.google.c...eam/rtl8187l.bb

If you don't have time to spend on this, I will check it as soon as I receive my stick from dealextreme.

Re: Driver for rtl8712 compiled. Anyone wants to help making a .bb? #12 malakudi

  • PLi® Betateam
  • 834 posts

+42
Good

Posted 4 April 2011 - 17:30

I just received mine from dealextreme, 15 euros for 2 items, great deal. Will try to build the drivers tomorrow for DM800/VUDUO/ET9000.

Re: Driver for rtl8712 compiled. Anyone wants to help making a .bb? #13 malakudi

  • PLi® Betateam
  • 834 posts

+42
Good

Posted 6 April 2011 - 13:32

Uploaded bb file, patch file (no Makefile patch was needed, only the two other files were patched from the patch uploaded by libolibo) and tgz source file to be stored local in OpenPLI repository.

Tested for DM800 only, but I guess it will work in all platforms. I also upload the ipk file for DM800 for anyone who just wants to test it.

Will build later for ET9000 and VUDUO.

Attached Files



Re: Driver for rtl8712 compiled. Anyone wants to help making a .bb? #14 malakudi

  • PLi® Betateam
  • 834 posts

+42
Good

Posted 6 April 2011 - 13:33

I just want to add that bb file is based the bb file from the rt73 module. Maybe some lines are not needed, but, as it is, it works.

Re: Driver for rtl8712 compiled. Anyone wants to help making a .bb? #15 malakudi

  • PLi® Betateam
  • 834 posts

+42
Good

Posted 6 April 2011 - 15:10

ipk drivers file for VUDUO

Attached Files



Re: Driver for rtl8712 compiled. Anyone wants to help making a .bb? #16 malakudi

  • PLi® Betateam
  • 834 posts

+42
Good

Posted 6 April 2011 - 20:16

ipk drivers file for ET9000

Attached Files



Re: Driver for rtl8712 compiled. Anyone wants to help making a .bb? #17 pieterg

  • PLi® Core member
  • 31,895 posts

+230
Excellent

Posted 6 April 2011 - 20:38

for my information, the tgz does just contain the original sourcecode, without any fixes?

I think we should put it on our download site, rather than in oe (oe should contain metadata, no sourcecode)

Re: Driver for rtl8712 compiled. Anyone wants to help making a .bb? #18 malakudi

  • PLi® Betateam
  • 834 posts

+42
Good

Posted 6 April 2011 - 21:22

for my information, the tgz does just contain the original sourcecode, without any fixes?

I think we should put it on our download site, rather than in oe (oe should contain metadata, no sourcecode)



Yes, it is the original source code with trimmed down (smaller length) base directory.

Handle it as you think better.

Re: Driver for rtl8712 compiled. Anyone wants to help making a .bb? #19 malakudi

  • PLi® Betateam
  • 834 posts

+42
Good

Posted 8 April 2011 - 09:12

@pieterg: I've find out that loading the module early (before dreambox-dvb-modules) sometimes causes problems on DM800. In my setup I changed /etc/moduilts/8712u file to be named /etc/modutils/wifi8712u, thus making it load after dreambox-dvb-modules.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users