Closed markschechter closed 2 years ago
I forgot to answer your question from the other thread. "One last thing, in the new posting in the new repo, tell me if you know how to use dkms to uninstall the drivers that you have installed."
I don't think I've done it before but dkms status
is showing the following:
88XXau, 5.2.20: added rtl88x2bu, 5.8.7.1: added rtl88x2bu, 5.8.7.4: added
I would assume that a dkms remove {package}
would do the trick? Looks like all of those were ones I was experimenting with.
I hope I didn't jump the gun here, but I cleaned up all of the old drivers & ran sudo install-driver.sh
Returns this error:
Running install-driver.sh version 20210917 install-driver.sh: 35: install-driver.sh: [[: not found install-driver.sh: 43: install-driver.sh: [[: not found Starting installation... Copying source files to: /usr/src/rtl88x2bu-5.8.7.4 Copying 88x2bu.conf to: /etc/modprobe.d
Creating symlink /var/lib/dkms/rtl88x2bu/5.8.7.4/source -> /usr/src/rtl88x2bu-5.8.7.4
DKMS: add completed. install-driver.sh: 61: install-driver.sh: [[: not found
Kernel preparation unnecessary for this kernel. Skipping...
Building module: cleaning build area... 'make' -j4 KVER=5.10.74-v8+ KSRC=/lib/modules/5.10.74-v8+/build...(bad exit status: 2) Error! Bad return status for module build on kernel: 5.10.74-v8+ (aarch64) Consult /var/lib/dkms/rtl88x2bu/5.8.7.4/build/make.log for more information. install-driver.sh: 71: install-driver.sh: [[: not found
Kernel preparation unnecessary for this kernel. Skipping...
Building module: cleaning build area... 'make' -j4 KVER=5.10.74-v8+ KSRC=/lib/modules/5.10.74-v8+/build...(bad exit status: 2) Error! Bad return status for module build on kernel: 5.10.74-v8+ (aarch64) Consult /var/lib/dkms/rtl88x2bu/5.8.7.4/build/make.log for more information. install-driver.sh: 81: install-driver.sh: [[: not found The driver was installed successfully. install-driver.sh: 92: read: Illegal option -n
install-driver.sh: 94: install-driver.sh: [[: not found install-driver.sh: 99: read: Illegal option -n
install-driver.sh: 101: install-driver.sh: [[: not found
I am now seeing rtl88x2bu, 5.8.7.4: added
from dkms status
Hmmm...
For now how about you go into the 88x2bu driver directory and run:
$ sudo ./remove-driver.sh
...so as to clean things up.
Give me some time to process what you have posted.
I do need a clarification about the version of RasPiOS. It is the 64 bit beta, correct? If so, can you give me a link?
Thanks Nick, I ran the script my my dkms is completely clean now.
I think it's the latest stable release. Results of cat /etc/os-release
below:
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)" NAME="Raspbian GNU/Linux" VERSION_ID="10" VERSION="10 (buster)" VERSION_CODENAME=buster ID=raspbian ID_LIKE=debian HOME_URL="http://www.raspbian.org/" SUPPORT_URL="http://www.raspbian.org/RaspbianForums" BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
I am using the deb http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi
repo.
Need any more info?
Again, thanks for the help & quick responses!
I got as far as:
http://raspbian.raspberrypi.org/raspbian/dists/buster/main/
...and then it is not obvious where to go.
Where I am headed with this is I need the exact image/iso that you are using so that I can try to duplicate the problem here. I have an extra card that I can dust off and boot.
I've got some ideas but nothing beyond speculation. I worked on the 64 bit RasPiOS support last year but finally gave up as it was a moving target and I have plenty to do without chasing a moving target... but I have a little extra time right now so let's see what we can do.
FYI: I just checked the usage of this repo. This repo is averaging over 1,700 hits per week. My point being that this has to be an issue specific to the distro you are using because if there was a general problem with the driver or the installation, we would be overcome with reports and we are not.
Understood & much appreciated.
I ran cat /etc/rpi-issue
& got the following:
Raspberry Pi reference 2020-02-13
Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, 5f884374b6ac6e155330c58caa1fb7249b8badf1, stage5
Does this help?
From: Nick @.> Sent: Monday, October 18, 2021 6:43 PM To: morrownr/88x2bu @.> Cc: markschechter @.>; Author @.> Subject: Re: [morrownr/88x2bu] Makefile Error: Raspberry Pi OS (64 bit) support was turned on in Makefile as planned (Issue #94)
I got as far as:
http://raspbian.raspberrypi.org/raspbian/dists/buster/main/
...and then it is not obvious where to go.
Where I am headed with this is I need the exact image/iso that you are using so that I can try to duplicate the problem here. I have an extra card that I can dust off and boot.
I've got some ideas but nothing beyond speculation. I worked on the 64 bit RasPiOS support last year but finally gave up as it was a moving target and I have plenty to do without chasing a moving target... but I have a little extra time right now so let's see what we can do.
FYI: I just checked the usage of this repo. This repo is averaging over 1,700 hits per week. My point being that this has to be an issue specific to the distro you are using because if there was a general problem with the driver or the installation, we would be overcome with reports and we are not.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/morrownr/88x2bu/issues/94#issuecomment-946224851, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABZRZA3V2MFWFRZHT7S274DUHSPJHANCNFSM5GHRI2ZA. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
Does this help?
Not really. My head hurts. It has been a long day. I want the simplest solution possible to get whatever you are running on a little card so that I can boot it up tomorrow and see for myself what is going on.
Hey Nick,
I think you might be right that my OS could be screwed up. I ordered another SD Card & I'm planning to rebuild my pi.
For a quick test, I booted up another machine where I was playing with SteamOS. The OS has some problems (game streaming crashes) so I never really did anything with it. I plugged the adapter in, tried the install for 88x2bu, & got the same make error... but now the adapter works... which is odd...
No worries if you don't feel like pursuing this. You can close the ticket & I can provide an update after completing my new build. I plan to start with the driver as soon as I install the OS.
From: Nick @.> Sent: Monday, October 18, 2021 9:21 PM To: morrownr/88x2bu @.> Cc: markschechter @.>; Author @.> Subject: Re: [morrownr/88x2bu] Makefile Error: Raspberry Pi OS (64 bit) support was turned on in Makefile as planned (Issue #94)
Does this help?
Not really. My head hurts. It has been a long day. I want the simplest solution possible to get whatever you are running on a little card so that I can boot it up tomorrow and see for myself what is going on.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/morrownr/88x2bu/issues/94#issuecomment-946289719, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABZRZA7VQQOBTGJCU6W3AGDUHTB2RANCNFSM5GHRI2ZA. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
Hi Mark,
I found the site for the images:
https://downloads.raspberrypi.org/raspios_arm64/
I downloaded the most recent 64 bit image and will burn it today. I'll take a look as I can work it into my schedule. I don't like to see installer problems.
I'll close this issue and when you are ready, you can either reopen this issue or post a new one. Good luck.
Mark,
Just to let you know, I downloaded 2021-05-07-raspios-buster-arm64.zip
from the above site and installed it to a sd card.
I booted the card in my RasPi4B and did an update and full-upgrade. I then followed the installation instructions here at the repo exactly and... the driver installed with no errors or problems and the adapter is working as designed.
There is something wrong with os on your system. Recommend you do a fresh installation and try again.
Nick
Thanks Nick!
Here you go! I rand it line-by-line because of the mokutil error.
sudo uname -a
Linux my-pi 5.10.74-v8+ #1471 SMP PREEMPT Mon Oct 18 17:11:19 BST 2021 aarch64 GNU/Linux
mokutil --sb-state
EFI variables are not supported on this system
lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 0bda:b812 Realtek Semiconductor Corp.
Bus 001 Device 005: ID 046d:c21f Logitech, Inc. F710 Wireless Gamepad [XInput Mode]
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
rfkill list all
0: phy0: Wireless LAN Soft blocked: no Hard blocked: no 1: hci0: Bluetooth Soft blocked: no Hard blocked: no
dkms status
88XXau, 5.2.20: added rtl88x2bu, 5.8.7.1: added rtl88x2bu, 5.8.7.4: added
I tried some different drivers out.iw dev
phy#0 Unnamed/non-netdev interface wdev 0x2 addr de:a6:32:31:7a:0c type P2P-device txpower 31.00 dBm Interface wlan0 ifindex 3 wdev 0x1 addr dc:a6:32:31:7a:0c ssid my-wifi-network type managed channel 52 (5260 MHz), width: 80 MHz, center1: 5290 MHz txpower 31.00 dBm