|
Edited by ryba84 at 2015-1-25 18:21
@Tankafaire I've this same result with bananian kernel (without modify). I've tried changing usbc_num in script.bin to 0,1,2 and wifi isn't showing in lsusb output nor in dmesg. Only info about loading driver.
EDIT:
Ok. After studying schematics I've finally found! Wifi is default disabled (power supply for wifi module is switched off). To use onboard module You must pull up PH22 CPU pin.
GUIDE TO MANUAL RUN WIFI ON UNMODIFIED BANANIAN:
1. Download script.bin https://drive.google.com/file/d/ ... 3c/view?usp=sharing
2. Replace original /boot/script.bin with downloaded
3. Reboot OrangePi
4. Do as root:- echo 89 > /sys/class/gpio/export
- echo out > /sys/class/gpio/gpio89/direction
- echo 1 > /sys/class/gpio/gpio89/value
Copy code From now You should have onboard wifi working. You should see in dmesg output something like this:
- [ 178.771388] ehci_irq: port change detect
- [ 179.053845] usb 3-1: new high-speed USB device number 2 using sw-ehci
- [ 179.215579] usb 3-1: New USB device found, idVendor=0bda, idProduct=8179
- [ 179.228405] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
- [ 179.238975] usb 3-1: Product: 802.11n WLAN NIC
- [ 179.246584] usb 3-1: Manufacturer: Realtek
- [ 180.430715] sw_usb_enable_hcd: usbc_num = 1
- [ 180.587295] usbcore: registered new interface driver rtl8188eu
- [ 181.336079] ADDRCONF(NETDEV_UP): wlan0: link is not ready
- [ 181.364041] ADDRCONF(NETDEV_UP): wlan0: link is not ready
- [ 183.292849] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
- [ 183.317768] UpdateHalRAMask8188EUsb => mac_id:0, networkType:0x0b, mask:0x000fffff
- [ 183.317781] ==> rssi_level:0, rate_bitmap:0x000ff005
- [ 183.385911] UpdateHalRAMask8188EUsb => mac_id:0, networkType:0x0b, mask:0x000fffff
- [ 183.385938] ==> rssi_level:2, rate_bitmap:0x000ff000
Copy code
|
|