I did all the steps. Result:
1. driver does not load automatically. lsmod out after reboot:
RPiOpenElec:~ # lsmod
Module Size Used by
8021q 16074 0
bcm2835_gpiomem 2652 0
bcm2835_wdt 2777 0
2. To add IDs I had to load the module manually (without loading the module file did not exist):
3. lsmod after modprobe
RPiOpenElec:~ # lsmod
Module Size Used by
8192cu 581812 0
8021q 16074 0
bcm2835_gpiomem 2652 0
bcm2835_wdt 2777 0
4. dmesg after these steps:
[ 9.097627] 8021q: 802.1Q VLAN Support v1.8
[ 38.020690] rtl8192cu driver version=v4.0.2_9000.20130911
[ 38.023039] usbcore: registered new interface driver rtl8192cu
5. dmesg after inserting Wifi dongle
[ 38.020690] rtl8192cu driver version=v4.0.2_9000.20130911
[ 38.023039] usbcore: registered new interface driver rtl8192cu
[ 176.021442] usb 1-1.4: new high-speed USB device number 5 using dwc_otg
[ 176.116288] usb 1-1.4: New USB device found, idVendor=0846, idProduct=9043
[ 176.116318] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 176.116333] usb 1-1.4: Product: WNA1000Mv2
[ 176.116348] usb 1-1.4: Manufacturer: Realtek
[ 176.116363] usb 1-1.4: SerialNumber: 00xxxxxxxxxx
So, as the result it still does not work.
[hr]
Update:
I tried it one more time, if I run manually echo "0846 9043" just before insertion of dongle, the dmesg output is different. However, it still does not work - I think the problem is indicated on line bDriverStopped:1
[ 447.161279] usb 1-1.4: new high-speed USB device number 6 using dwc_otg
[ 447.256216] usb 1-1.4: New USB device found, idVendor=0846, idProduct=9043
[ 447.256249] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 447.256264] usb 1-1.4: Product: WNA1000Mv2
[ 447.256279] usb 1-1.4: Manufacturer: Realtek
[ 447.256293] usb 1-1.4: SerialNumber: 00xxxxxxxxxx
[ 447.257552]
[ 447.257552] usb_endpoint_descriptor(0):
[ 447.257573] bLength=7
[ 447.257582] bDescriptorType=5
[ 447.257591] bEndpointAddress=81
[ 447.257599] wMaxPacketSize=200
[ 447.257607] bInterval=0
[ 447.257615] RT_usb_endpoint_is_bulk_in = 1
[ 447.257624]
[ 447.257624] usb_endpoint_descriptor(1):
[ 447.257635] bLength=7
[ 447.257643] bDescriptorType=5
[ 447.257651] bEndpointAddress=2
[ 447.257659] wMaxPacketSize=200
[ 447.257667] bInterval=0
[ 447.257677] RT_usb_endpoint_is_bulk_out = 2
[ 447.257685]
[ 447.257685] usb_endpoint_descriptor(2):
[ 447.257696] bLength=7
[ 447.257705] bDescriptorType=5
[ 447.257713] bEndpointAddress=3
[ 447.257721] wMaxPacketSize=200
[ 447.257729] bInterval=0
[ 447.257737] RT_usb_endpoint_is_bulk_out = 3
[ 447.257745]
[ 447.257745] usb_endpoint_descriptor(3):
[ 447.257756] bLength=7
[ 447.257765] bDescriptorType=5
[ 447.257773] bEndpointAddress=84
[ 447.257781] wMaxPacketSize=40
[ 447.257788] bInterval=1
[ 447.257798] RT_usb_endpoint_is_int_in = 4, Interval = 1
[ 447.257809] nr_endpoint=4, in_num=2, out_num=2
[ 447.257809]
[ 447.257820] USB_SPEED_HIGH
[ 447.257962] CHIP TYPE: RTL8188C_8192C
[ 447.258012] register rtw_netdev_ops to netdev_ops
[ 447.258428] Chip Version ID: VERSION_NORMAL_TSMC_CHIP_92C.
[ 447.258447] RF_Type is 2!!
[ 447.258955] EEPROM type is E-FUSE
[ 447.258971] ====> ReadAdapterInfo8192C
[ 447.259149] Boot from EFUSE, Autoload OK !
[ 447.430574] EEPROMVID = 0x0846
[ 447.430596] EEPROMPID = 0x9043
[ 447.430603] EEPROMCustomerID : 0x00
[ 447.430610] EEPROMSubCustomerID: 0x00
[ 447.430616] RT_CustomerID: 0x00
[ 447.430627] _ReadMACAddress MAC Address from EFUSE = 40:xx:xx:xx:xx:xx
[ 447.430636] EEPROMRegulatory = 0x0
[ 447.430643] _ReadBoardType(0)
[ 447.430650] BT Coexistance = disable
[ 447.430657] mlmepriv.ChannelPlan = 0x0a
[ 447.430666] _ReadPSSetting...bHWPwrPindetect(0)-bHWPowerdown(0) ,bSupportRemoteWakeup(0)
[ 447.430673] ### PS params=> power_mgnt(0),usbss_enable(0) ###
[ 447.430679] ### AntDivCfg(0)
[ 447.430685] readAdapterInfo_8192CU(): REPLACEMENT = 1
[ 447.430693] <==== ReadAdapterInfo8192C in 170 ms
[ 447.431649] rtw_macaddr_cfg MAC Address = 40:xx:xx:xx:xx:xx
[ 447.431673] bDriverStopped:1, bSurpriseRemoved:0, bup:0, hw_init_completed:0
[ 447.433116] _rtw_drv_register_netdev, MAC Address (if1) = 40:xx:xx:xx:xx:xx
Display More
[hr]
Update #2 - IT WORKS!!!
Thanks very much.
After installing the dongle, I had to enable Wireless network in KODI - LibreElec Settings menu.
However, after reboot everything is lost. So, I have to again load the driver and add new IDs to it before dongle is recognized.
Where should I put these commands so that it is run automatically on startup?