add 0df6:005b to r8712u module

Plugging in devices such as LAN adapters, Wi-Fi cards, printers, etc. to Arch Linux ARM.

add 0df6:005b to r8712u module

Postby lestofante » Wed Jun 27, 2012 10:19 pm

hi,
as you can see here: http://wiki.debian.org/rtl819x#r8712u and aslo in the official Arch, module R8712U support wifi adapter with vendor id 0DF6 and device id 005b.
but in the shipped R8712U module (doing a modinfo) this is device is not aliased. how can i add this device for the module?

thanks for help
lestofante
 
Posts: 14
Joined: Wed Jun 27, 2012 10:02 pm

Re: add 0df6:005b to r8712u module

Postby lestofante » Fri Jun 29, 2012 11:15 pm

some news:
i've downloaded RTL879XU_USB from realtek site, downloaded linux source from https://github.com/archlinuxarm/PKGBUIL ... aspberrypi
(it won't compile, another post opened but i've the source! edit: tryng: viewtopic.php?f=9&t=3058)

now this driver won't copile using install.sh, so i manually navigated into driver folder and run

make ARCH=arm KSRC=pathToDownloadedGitSource

and here is the compilation(and error) log:

some help?

Code: Select all
make ARCH=arm CROSS_COMPILE= -C /root/PKGBUILDs/core/linux-raspberrypi/src/linux/ M=/root/rtlmod/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405  modules
make[1]: Entering directory `/root/PKGBUILDs/core/linux-raspberrypi/src/linux'

  WARNING: Symbol version dump /root/PKGBUILDs/core/linux-raspberrypi/src/linux/Module.symvers
           is missing; modules will have no dependencies and modversions.

  CC [M]  /root/rtlmod/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/cmd/rtl871x_cmd.o
In file included from /root/rtlmod/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/drv_types.h:70:0,
                 from /root/rtlmod/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/cmd/rtl871x_cmd.c:24:
/root/rtlmod/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/rtl871x_cmd.h:107:25: error: field ‘event_tasklet’ has incomplete type
In file included from /root/rtlmod/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/drv_types.h:72:0,
                 from /root/rtlmod/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/cmd/rtl871x_cmd.c:24:
/root/rtlmod/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/rtl871x_xmit.h:355:24: error: field ‘xmit_tasklet’ has incomplete type
In file included from /root/rtlmod/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/drv_types.h:73:0,
                 from /root/rtlmod/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/cmd/rtl871x_cmd.c:24:
/root/rtlmod/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/rtl871x_recv.h:205:24: error: field ‘recv_tasklet’ has incomplete type
make[2]: *** [/root/rtlmod/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/cmd/rtl871x_cmd.o] Errore 1
make[1]: *** [_module_/root/rtlmod/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405] Errore 2
make[1]: Leaving directory `/root/PKGBUILDs/core/linux-raspberrypi/src/linux'
make: *** [modules] Errore 2
lestofante
 
Posts: 14
Joined: Wed Jun 27, 2012 10:02 pm

Re: add 0df6:005b to r8712u module

Postby lestofante » Wed Jul 04, 2012 10:14 pm

found the solution: add
#include <linux/interrupt.h>
into drv_types.h and all other "erroring" file (about 3)

then just do a
# make ARCH=arm
and
# make install

now i got my sytecom working with wicd.

many tanks to: myself :mrgreen: (i just get it working, i'm a little excited :D )
lestofante
 
Posts: 14
Joined: Wed Jun 27, 2012 10:02 pm

Re: add 0df6:005b to r8712u module

Postby WarheadsSE » Thu Jul 05, 2012 3:12 am

Nice :D
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6263
Joined: Mon Oct 18, 2010 2:12 pm


Return to Hardware

Who is online

Users browsing this forum: No registered users and 1 guest