Bus 001 Device 006: ID 0bda:8812 Realtek Semiconductor Corp. RTL8812AU 802.11a/b/g/n/ac 2T2R DB WLAN AdapterWhen I run 'lsmod', I do not see the drivers for it, so I tried installing the vendor-supplied drivers for Ubuntu 16.04 for it, located at https://www.netis-systems.com/Suppory/downloads/dd/1/img/443 but I've run into some errors. When I install per their instructions, I get the following error:
make ARCH=aarch64 CROSS_COMPILE= -C /lib/modules/5.15.76-v8+/build M=/home/pi/RTL8812AU_WF2190_WF2561/RTL8812AU_linux_v4.3.20_16317_20160108/driver/rtl8812AU_linux_v4.3.20_16317.20160108 modules make[1]: Entering directory '/usr/src/linux-headers-5.15.76-v8+' Makefile:709: arch/aarch64/Makefile: No such file or directory make[1]: No rule to make target 'arch/aarch64/Makefile'. Stop. make[1]: Leaving directory '/usr/src/linux-headers-5.15.76-v8+' make: [Makefile:1656: modules] Error 2I gather this is because of 'ARCH=aarch64', so I did some searching and manually edited the Makefile to indicate: 'ARCH=arm64' per someone else's recommendation for a similar problem (here: https://github.com/Mange/rtl8192eu-linux-driver/issues/228) but now I am receiving the following error:
make ARCH=arm64 CROSS_COMPILE= -C /lib/modules/5.15.76-v8+/build M=/home/pi/RTL8812AU_WF2190_WF2561/RTL8812AU_linux_v4.3.20_16317_20160108/driver/rtl8812AU_linux_v4.3.20_16317.20160108 modules make[1]: Entering directory '/usr/src/linux-headers-5.15.76-v8+' CC [M] /home/pi/RTL8812AU_WF2190_WF2561/RTL8812AU_linux_v4.3.20_16317_20160108/driver/rtl8812AU_linux_v4.3.20_16317.20160108/core/rtw_cmd.o In file included from /home/pi/RTL8812AU_WF2190_WF2561/RTL8812AU_linux_v4.3.20_16317_20160108/driver/rtl8812AU_linux_v4.3.20_16317.20160108/include/osdep_service.h:41, from /home/pi/RTL8812AU_WF2190_WF2561/RTL8812AU_linux_v4.3.20_16317_20160108/driver/rtl8812AU_linux_v4.3.20_16317.20160108/include/drv_types.h:32, from /home/pi/RTL8812AU_WF2190_WF2561/RTL8812AU_linux_v4.3.20_16317_20160108/driver/rtl8812AU_linux_v4.3.20_16317.20160108/core/rtw_cmd.c:22: /home/pi/RTL8812AU_WF2190_WF2561/RTL8812AU_linux_v4.3.20_16317_20160108/driver/rtl8812AU_linux_v4.3.20_16317.20160108/include/osdep_service_linux.h: In function ‘_init_timer’: /home/pi/RTL8812AU_WF2190_WF2561/RTL8812AU_linux_v4.3.20_16317_20160108/driver/rtl8812AU_linux_v4.3.20_16317.20160108/include/osdep_service_linux.h:273:8: error: ‘_timer’ {aka ‘struct timer_list’} has no member named ‘data’ 273 | ptimer->data = (unsigned long)cntx; | ^~ /home/pi/RTL8812AU_WF2190_WF2561/RTL8812AU_linux_v4.3.20_16317_20160108/driver/rtl8812AU_linux_v4.3.20_16317.20160108/include/osdep_service_linux.h:274:2: error: implicit declaration of function ‘init_timer’; did you mean ‘_init_timer’? [-Werror=implicit-function-declaration] 274 | init_timer(ptimer); | ^~~~~~~~~~ | _init_timer cc1: some warnings being treated as errors make[2]: [scripts/Makefile.build:289: /home/pi/RTL8812AU_WF2190_WF2561/RTL8812AU_linux_v4.3.20_16317_20160108/driver/rtl8812AU_linux_v4.3.20_16317.20160108/core/rtw_cmd.o] Error 1 make[1]: [Makefile:1900: /home/pi/RTL8812AU_WF2190_WF2561/RTL8812AU_linux_v4.3.20_16317_20160108/driver/rtl8812AU_linux_v4.3.20_16317.20160108] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-5.15.76-v8+' make: * [Makefile:1658: modules] Error 2Could someone perhaps recommend a different driver package for the 8812au wireless chipset for my OS, or otherwise help me figure out the issue with manually specifying 'ARCH=arm64' with the vendor-supplied drivers? Thank you so much! 🙂
arduino #define latchPin 5 #define clockPin 6 #define dataPin 4 #define outputEnable 3 #define disp1 7 #define disp2 8 #define disp3 9 #define disp4 10 char *seg = (char []) {B11111100, B01100000, B11011010, B11110010, B01100110, B10110110, B10111110, B11100000, B11111110, B11110110}; byte leds = 0; int num = 0; void setup() { pinMode(latchPin, OUTPUT); pinMode(dataPin, OUTPUT); pinMode(clockPin, OUTPUT); pinMode(outputEnable, OUTPUT); pinMode(disp1, OUTPUT); digitalWrite(disp1, HIGH); pinMode(disp2, OUTPUT); digitalWrite(disp2, HIGH); pinMode(disp3, OUTPUT); digitalWrite(disp3, HIGH); pinMode(disp4, OUTPUT); digitalWrite(disp4, HIGH); cli(); TCCR1A = 0; TCCR1B = 0; TCCR1B |= B00000100; TIMSK1 |= B00000010; OCR1A = 31250; sei(); } ISR(TIMER1_COMPA_vect) { TCNT1 = 0; num++; } void loop() { writeDisplay(num); } void writeDisplay(int x) { for (int i = 0; i < 4; i++) { switch (i) { case 0: leds = seg[x & 0xFF]; updateShiftRegister(); digitalWrite(disp1, LOW); delay(1); digitalWrite(disp1, HIGH); break; case 1: leds = seg[(x >> 8) & 0xFF]; updateShiftRegister(); digitalWrite(disp2, LOW); delay(1); digitalWrite(disp2, HIGH); break; case 2: leds = seg[(x >> 16) & 0xFF]; updateShiftRegister(); digitalWrite(disp3, LOW); delay(1); digitalWrite(disp3, HIGH); break; case 3: leds = seg[(x >> 24) & 0xFF]; updateShiftRegister(); digitalWrite(disp4, LOW); delay(1); digitalWrite(disp4, HIGH); break; } } } void updateShiftRegister() { digitalWrite(outputEnable, HIGH); digitalWrite(latchPin, LOW); shiftOut(dataPin, clockPin, LSBFIRST, leds); digitalWrite(latchPin, HIGH); digitalWrite(outputEnable, LOW); }
raspivid -o - -t 0 -vf -hf -fps 30 -b 6000000 | ffmpeg -re -ar 44100 -ac 2 -acodec pcm_s16le -f s16le -ac 2 -i /dev/zero -f h264 -i - -vcodec copy -acodec aac -ab 128k -g 50 -strict experimental -f flv rtmp://a.rtmp.youtube.com/live2/(stream key)Im using a rpi 1 but have multiple rpi 1s if running both tasks is to much for the rpi 1. i unfortunately though dont have anything more recent or better. any help is appreciated, ty! ^^