Coder Social home page Coder Social logo

Comments (10)

astsam avatar astsam commented on July 30, 2024

I see no reason why it is not possible if you have:

  • cross toolchains
  • kernel sources
$make ARCH=arm KSRC=<path to kernel sources> CROSS_COMPILE=<cross compiler prefix>

from rtl8812au.

osenbruggen avatar osenbruggen commented on July 30, 2024

Yes thank you that is what I ended up doing. This worked:

make ARCH="arm" CROSS_COMPILE=arm-linux-gnueabihf- KSRC=/usr/src/linux-headers-4.4.45+/

from rtl8812au.

boredwookie avatar boredwookie commented on July 30, 2024

I have tried this as well as the suggestion from ledjohnyy in #10. In both cases I can see the module compiles and I can install it and see '8812au' in the lsmod output.

What I can't figure out is how to get the interface to show up in either ifconfig or iwconfig. My Raspberry Pi 3 does not show any additional interfaces after running modprobe or a reboot.
@osenbruggen Did you have to do anything extra to get your interface to show up in iw/ifconfig?

from rtl8812au.

astsam avatar astsam commented on July 30, 2024

Will you attach output of the lsusb and ip link commands.

from rtl8812au.

boredwookie avatar boredwookie commented on July 30, 2024
piclopse@host:~ $ lsusb
Bus 001 Device 005: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 004: ID 0bda:a811 Realtek Semiconductor Corp.
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
piclopse@host:~ $ ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
    link/ether b8:27:eb:56:ac:18 brd ff:ff:ff:ff:ff:ff
3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DORMANT group default qlen 1000
    link/ether b8:27:eb:03:f9:4d brd ff:ff:ff:ff:ff:ff

And for good measure:

piclopse@host:~ $ lsmod | grep 8812au
8812au               1304521  0
cfg80211              428871  2 brcmfmac,8812au

from rtl8812au.

astsam avatar astsam commented on July 30, 2024

Plug adapter into USB 3.0 and attach dmesg output.

from rtl8812au.

boredwookie avatar boredwookie commented on July 30, 2024

[124453.777349] usb 1-1.2: USB disconnect, device number 4
[124455.292277] usb 1-1.3: new high-speed USB device number 6 using dwc_otg
[124455.393362] usb 1-1.3: New USB device found, idVendor=0bda, idProduct=a811
[124455.393382] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[124455.393396] usb 1-1.3: Product: 802.11ac WLAN Adapter
[124455.393408] usb 1-1.3: Manufacturer: Realtek
[124455.393420] usb 1-1.3: SerialNumber: 00e04c000001
[124455.612228] usb 1-1.3: reset high-speed USB device number 6 using dwc_otg

from rtl8812au.

astsam avatar astsam commented on July 30, 2024

[124455.612228] usb 1-1.3: reset high-speed USB device number 6 using dwc_otg

The issue has no relations to the driver, something wrong with your USB subsystem.
https://superuser.com/questions/668911/what-are-usb-device-resets
https://www.raspberrypi.org/forums/viewtopic.php?t=47239&p=373974

from rtl8812au.

boredwookie avatar boredwookie commented on July 30, 2024

Thanks, I'll take a look. The other rtl8812au drivers worked fine, which is why I commented here. :)

from rtl8812au.

tangibilizing avatar tangibilizing commented on July 30, 2024

I am using raspi zero w, how can cross compile according "make ARCH="arm" CROSS_COMPILE=arm-linux-gnueabihf- KSRC=/usr/src/linux-headers-4.4.45+/"

from rtl8812au.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.