[Ouya Android Development] fl4r3:
Just recieved my Ouya and having some fun tweaking it....but found the wifi connection is terrible. I can't stream the files from my nas server without constant buffering (using nfs protocol with XBMC). I had one of those android sticks (Imito MX1) and it was a similar situation but I managed to get a usb wifi adapter to work and it streamed everything perfectly (that stick is now dead hence why I've now got the Ouya).

I'm trying to get the same adapter to work with the Ouya but I am having problems. I got it to work on the android stick by finding the relevant driver/kernel module (rtl8192cu) and I noticed that the Ouya already has this module in /system/lib/modules (lucky me!).

However, when I try to insmod the modules using terminal emulator it gives me an error "insmod: can't insert 'rtl8192cu.ko': unknown symbol in module or invalide parameter". This same error occurs on the stock ROM it came with and this modified ROM.

I have attached an edited dmesg output when trying to insmod the module, plus two others:

Wifi dongle recognised when plugged in:

[ 1150.201788] usb 2-1.2: new high speed USB device number 5 using tegra-ehci
[ 1150.233875] usb 2-1.2: New USB device found, idVendor=050d, idProduct=2103
[ 1150.241014] usb 2-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1150.248492] usb 2-1.2: Product: Belkin Wireless Adapter
[ 1150.254147] usb 2-1.2: Manufacturer: Realtek
[ 1150.258583] usb 2-1.2: SerialNumber: 00e04c000001
[ 1152.902849] TF : INFO 00000459 21:35:54.276 P-0028 T-002C HDCP SERVICE --- >> Command ID : 0
[ 1152.991721] TF : INFO 00000460 21:35:54.365 P-0028 T-002C HDCP SERVICE --- >> Command ID : 1
[ 1158.002659] TF : INFO 00000461 21:35:59.376 P-0028 T-002C HDCP SERVICE --- >> Command ID : 0
[ 1158.091600] TF : INFO 00000462 21:35:59.465 P-0028 T-002C HDCP SERVICE --- >> Command ID : 1
[ 1163.103520] TF : INFO 00000463 21:36:04.477 P-0028 T-002C HDCP SERVICE --- >> Command ID : 0
[ 1163.191657] TF : INFO 00000464 21:36:04.565 P-0028 T-002C HDCP SERVICE --- >> Command ID : 1
[ 1168.202658] TF : INFO 00000465 21:36:09.576 P-0028 T-002C HDCP SERVICE --- >> Command ID : 0
[ 1168.291688] TF : INFO 00000466 21:36:09.665 P-0028 T-002C HDCP SERVICE --- >> Command ID : 1
[ 1173.302671] TF : INFO 00000467 21:36:14.676 P-0028 T-002C HDCP SERVICE --- >> Command ID : 0
[ 1173.391662] TF : INFO 00000468 21:36:14.765 P-0028 T-002C HDCP SERVICE --- >> Command ID : 1
[ 1178.402666] TF : INFO 00000469 21:36:19.776 P-0028 T-002C HDCP SERVICE --- >> Command ID : 0
[ 1178.491696] TF : INFO 00000470 21:36:19.865 P-0028 T-002C HDCP SERVICE --- >> Command ID : 1
[ 1183.502686] TF : INFO 00000471 21:36:24.876 P-0028 T-002C HDCP SERVICE --- >> Command ID : 0
[ 1183.591731] TF : INFO 00000472 21:36:24.965 P-0028 T-002C HDCP SERVICE --- >> Command ID : 1
[ 1188.602728] TF : INFO 00000473 21:36:29.976 P-0028 T-002C HDCP SERVICE --- >> Command ID : 0
[ 1188.691695] TF : INFO 00000474 21:36:30.065 P-0028 T-002C HDCP SERVICE --- >> Command ID : 1
[ 1193.702743] TF : INFO 00000475 21:36:35.076 P-0028 T-002C HDCP SERVICE --- >> Command ID : 0
[ 1193.791650] TF : INFO 00000476 21:36:35.165 P-0028 T-002C HDCP SERVICE --- >> Command ID : 1
[ 1198.802655] TF : INFO 00000477 21:36:40.176 P-0028 T-002C HDCP SERVICE --- >> Command ID : 0
[ 1198.891693] TF : INFO 00000478 21:36:40.265 P-0028 T-002C HDCP SERVICE --- >> Command ID : 1
[ 1203.902958] TF : INFO 00000479 21:36:45.276 P-0028 T-002C HDCP SERVICE --- >> Command ID : 0
[ 1204.001830] TF : INFO 00000480 21:36:45.375 P-0028 T-002C HDCP SERVICE --- >> Command ID : 1
[ 1209.013035] TF : INFO 00000481 21:36:50.386 P-0028 T-002C HDCP SERVICE --- >> Command ID : 0
[ 1209.101376] TF : INFO 00000482 21:36:50.475 P-0028 T-002C HDCP SERVICE --- >> Command ID : 1
[ 1214.110838] TF : INFO 00000483 21:36:55.484 P-0028 T-002C HDCP SERVICE --- >> Command ID : 0
[ 1214.191668] TF : INFO 00000484 21:36:55.565 P-0028 T-002C HDCP SERVICE --- >> Command ID : 1

Here I performed insmod rtl8192cu.ko but gives me the error described above:

[ 1214.622311] rtl8192cu: Unknown symbol rtl92c_phy_set_txpower_level (err 0)
[ 1214.629426] rtl8192cu: Unknown symbol rtl_efuse_shadow_map_update (err 0)
[ 1214.636370] rtl8192cu: Unknown symbol rtl92c_download_fw (err 0)
[ 1214.642834] rtl8192cu: Unknown symbol rtl92c_phy_rf_config (err 0)
[ 1214.649289] rtl8192cu: Unknown symbol rtl_cam_reset_all_entry (err 0)
[ 1214.656276] rtl8192cu: Unknown symbol efuse_read_1byte (err 0)
[ 1214.662670] rtl8192cu: Unknown symbol rtl92c_dm_init (err 0)
[ 1214.668686] rtl8192cu: Unknown symbol rtl92c_phy_set_rfpath_switch (err 0)
[ 1214.677994] rtl8192cu: Unknown symbol rtl92c_phy_iq_calibrate (err 0)
[ 1214.685216] rtl8192cu: Unknown symbol rtl92c_dm_check_txpower_tracking (err 0)
[ 1214.692541] rtl8192cu: Unknown symbol rtl92c_phy_lc_calibrate (err 0)
[ 1214.699024] rtl8192cu: Unknown symbol rtl92c_phy_set_io_cmd (err 0)
[ 1214.705432] rtl8192cu: Unknown symbol rtl92c_set_fw_joinbss_report_cmd (err 0)
[ 1214.712775] rtl8192cu: Unknown symbol rtl92c_dm_rf_saving (err 0)
[ 1214.718936] rtl8192cu: Unknown symbol rtl92c_set_fw_pwrmode_cmd (err 0)
[ 1214.725730] rtl8192cu: Unknown symbol rtl92c_set_fw_rsvdpagepkt (err 0)
[ 1214.732505] rtl8192cu: Unknown symbol rtl92c_fill_h2c_cmd (err 0)
[ 1214.739931] rtl8192cu: Unknown symbol rtl_cam_mark_invalid (err 0)
[ 1214.746176] rtl8192cu: Unknown symbol rtl_cam_empty_entry (err 0)
[ 1214.752608] rtl8192cu: Unknown symbol rtl_cam_delete_one_entry (err 0)
[ 1214.759175] rtl8192cu: Unknown symbol rtl_cam_add_one_entry (err 0)
[ 1214.765537] rtl8192cu: Unknown symbol rtl92c_dm_init_edca_turbo (err 0)
[ 1214.772241] rtl8192cu: Unknown symbol rtl8192_phy_check_is_legal_rfpath (err 0)
[ 1214.779593] rtl8192cu: Unknown symbol _rtl92c_phy_rf_serial_read (err 0)
[ 1214.786393] rtl8192cu: Unknown symbol _rtl92c_phy_calculate_bit_shift (err 0)
[ 1214.793601] rtl8192cu: Unknown symbol _rtl92c_phy_fw_rf_serial_read (err 0)
[ 1214.800643] rtl8192cu: Unknown symbol _rtl92c_phy_rf_serial_write (err 0)
[ 1214.807523] rtl8192cu: Unknown symbol _rtl92c_phy_fw_rf_serial_write (err 0)
[ 1214.814621] rtl8192cu: Unknown symbol _rtl92c_phy_init_bb_rf_register_definition (err 0)
[ 1214.822796] rtl8192cu: Unknown symbol _rtl92c_phy_bb8192c_config_parafile (err 0)
[ 1214.830357] rtl8192cu: Unknown symbol _rtl92c_store_pwrIndex_diffrate_offset (err 0)
[ 1214.838157] rtl8192cu: Unknown symbol rtl92ce_phy_set_rf_on (err 0)
[ 1214.844515] rtl8192cu: Unknown symbol _rtl92c_phy_set_rf_sleep (err 0)
[ 1214.851086] rtl8192cu: Unknown symbol rtl_ps_disable_nic (err 0)
[ 1214.857365] rtl8192cu: Unknown symbol rtl_ps_enable_nic (err 0)
[ 1214.863403] rtl8192cu: Unknown symbol rtl_usb_probe (err 0)
[ 1214.869016] rtl8192cu: Unknown symbol rtl_usb_disconnect (err 0)
[ 1214.875120] rtl8192cu: Unknown symbol rtl92c_phy_set_bw_mode (err 0)
[ 1214.881525] rtl8192cu: Unknown symbol rtl92c_phy_sw_chnl (err 0)
[ 1214.887614] rtl8192cu: Unknown symbol rtl92c_dm_watchdog (err 0)
[ 1214.893675] rtl8192cu: Unknown symbol rtl92c_phy_scan_operation_backup (err 0)
[ 1214.900976] rtl8192cu: Unknown symbol rtl92c_phy_query_bb_reg (err 0)
[ 1214.907465] rtl8192cu: Unknown symbol rtl92c_phy_set_bb_reg (err 0)
[ 1214.913833] rtl8192cu: Unknown symbol ieee80211_rx_irqsafe (err 0)
[ 1214.920092] rtl8192cu: Unknown symbol rtl_get_tcb_desc (err 0)
[ 1214.925983] rtl8192cu: Unknown symbol ieee80211_find_sta (err 0)
[ 1219.202461] TF : INFO 00000485 21:37:00.576 P-0028 T-002C HDCP SERVICE --- >> Command ID : 0
[ 1219.291369] TF : INFO 00000486 21:37:00.665 P-0028 T-002C HDCP SERVICE --- >> Command ID : 1
[ 1224.301044] TF : INFO 00000487 21:37:05.675 P-0028 T-002C HDCP SERVICE --- >> Command ID : 0
[ 1224.391587] TF : INFO 00000488 21:37:05.765 P-0028 T-002C HDCP SERVICE --- >> Command ID : 1
[ 1229.404862] TF : INFO 00000489 21:37:10.778 P-0028 T-002C HDCP SERVICE --- >> Command ID : 0
[ 1229.491945] TF : INFO 00000490 21:37:10.865 P-0028 T-002C HDCP SERVICE --- >> Command ID : 1
[ 1234.502837] TF : INFO 00000491 21:37:15.876 P-0028 T-002C HDCP SERVICE --- >> Command ID : 0
[ 1234.591511] TF : INFO 00000492 21:37:15.965 P-0028 T-002C HDCP SERVICE --- >> Command ID : 1

Tried insmod rtl8192c-common.ko but same error:

[ 1236.355545] rtl8192c_common: Unknown symbol ieee80211_find_sta (err 0)
[ 1239.601669] TF : INFO 00000493 21:37:20.975 P-0028 T-002C HDCP SERVICE --- >> Command ID : 0
[ 1239.691673] TF : INFO 00000494 21:37:21.065 P-0028 T-002C HDCP SERVICE --- >> Command ID : 1
[ 1244.702575] TF : INFO 00000495 21:37:26.076 P-0028 T-002C HDCP SERVICE --- >> Command ID : 0
[ 1244.801698] TF : INFO 00000496 21:37:26.175 P-0028 T-002C HDCP SERVICE --- >> Command ID : 1
[ 1249.812473] TF : INFO 00000497 21:37:31.186 P-0028 T-002C HDCP SERVICE --- >> Command ID : 0
[ 1249.901650] TF : INFO 00000498 21:37:31.275 P-0028 T-002C HDCP SERVICE --- >> Command ID : 1
[ 1254.912794] TF : INFO 00000499 21:37:36.286 P-0028 T-002C HDCP SERVICE --- >> Command ID : 0
[ 1255.001608] TF : INFO 00000500 21:37:36.375 P-0028 T-002C HDCP SERVICE --- >> Command ID : 1
[ 1260.012457] TF : INFO 00000501 21:37:41.386 P-0028 T-002C HDCP SERVICE --- >> Command ID : 0
[ 1260.101518] TF : INFO 00000502 21:37:41.475 P-0028 T-002C HDCP SERVICE --- >> Command ID : 1
[ 1265.111704] TF : INFO 00000503 21:37:46.485 P-0028 T-002C HDCP SERVICE --- >> Command ID : 0
[ 1265.191670] TF : INFO 00000504 21:37:46.565 P-0028 T-002C HDCP SERVICE --- >> Command ID : 1
[ 1270.202641] TF : INFO 00000505 21:37:51.576 P-0028 T-002C HDCP SERVICE --- >> Command ID : 0
[ 1270.291697] TF : INFO 00000506 21:37:51.665 P-0028 T-002C HDCP SERVICE --- >> Command ID : 1
[ 1275.302597] TF : INFO 00000507 21:37:56.676 P-0028 T-002C HDCP SERVICE --- >> Command ID : 0
[ 1275.391381] TF : INFO 00000508 21:37:56.765 P-0028 T-002C HDCP SERVICE --- >> Command ID : 1
[ 1280.401098] TF : INFO 00000509 21:38:01.775 P-0028 T-002C HDCP SERVICE --- >> Command ID : 0
[ 1280.481665] TF : INFO 00000510 21:38:01.855 P-0028 T-002C HDCP SERVICE --- >> Command ID : 1

Tried insmod rtlwifi.ko in case it could be usable...but no, same error again:

[ 1282.276878] rtlwifi: Unknown symbol ieee80211_start_tx_ba_cb_irqsafe (err 0)
[ 1282.284163] rtlwifi: Unknown symbol ieee80211_stop_tx_ba_cb_irqsafe (err 0)
[ 1282.291475] rtlwifi: Unknown symbol ieee80211_find_sta (err 0)
[ 1282.297499] rtlwifi: Unknown symbol ieee80211_start_tx_ba_session (err 0)
[ 1282.304624] rtlwifi: Unknown symbol rate_control_send_low (err 0)
[ 1282.310919] rtlwifi: Unknown symbol ieee80211_rate_control_register (err 0)
[ 1282.318120] rtlwifi: Unknown symbol ieee80211_rate_control_unregister (err 0)
[ 1282.326132] rtlwifi: Unknown symbol wiphy_to_ieee80211_hw (err 0)
[ 1282.334356] rtlwifi: Unknown symbol ieee80211_stop_queue (err 0)
[ 1282.340493] rtlwifi: Unknown symbol ieee80211_free_hw (err 0)
[ 1282.346447] rtlwifi: Unknown symbol ieee80211_unregister_hw (err 0)
[ 1282.352826] rtlwifi: Unknown symbol ieee80211_beacon_get_tim (err 0)
[ 1282.359588] rtlwifi: Unknown symbol ieee80211_alloc_hw (err 0)
[ 1282.365572] rtlwifi: Unknown symbol ieee80211_register_hw (err 0)
[ 1282.371849] rtlwifi: Unknown symbol ieee80211_tx_status_irqsafe (err 0)
[ 1282.378504] rtlwifi: Unknown symbol ieee80211_wake_queue (err 0)
[ 1282.384613] rtlwifi: Unknown symbol ieee80211_rx_irqsafe (err 0)

Any ideas what it could be? The kernel modules were included with the stock ROM too so I thought they would work....maybe they aren't compiled correctly?

I'm quite keen to get this adapter working as I can get a 300mbps connection to my router with it.

Has anyone got a USB wifi adapter to work?...Any kind soul willing to post/compile a working rtl8192cu kernel module??