Skip to content

Instantly share code, notes, and snippets.

@X3msnake
Last active April 12, 2020 17:04
Show Gist options
  • Save X3msnake/ed70db01f1bf9610ca803e4899ade9eb to your computer and use it in GitHub Desktop.
Save X3msnake/ed70db01f1bf9610ca803e4899ade9eb to your computer and use it in GitHub Desktop.
Nova3D Elfin Reverse Engineering
130|u0_a45@rk322x_box:/ $
130|u0_a45@rk322x_box:/ $ dmesg | grep -i usb
<6>[ 3788.788160] usb 7-1: USB disconnect, device number 3
<6>[ 3817.068163] usb 7-1: new low-speed USB device number 4 using usb20_otg
<6>[ 3817.268578] usb 7-1: New USB device found, idVendor=0513, idProduct=0318
<6>[ 3817.268659] usb 7-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
<6>[ 3817.325481] input: HID 0513:0318 as /devices/30040000.otg/usb7/7-1/7-1:1.0/input/input5
<6>[ 3817.328415] hid-generic 0003:0513:0318.0005: input,hidraw0: USB HID v1.10 Keyboard [HID 0513:0318] on usb-30040000.otg-1/input0
<6>[ 3817.420483] input: HID 0513:0318 as /devices/30040000.otg/usb7/7-1/7-1:1.1/input/input6
<6>[ 3817.422973] hid-generic 0003:0513:0318.0006: input,hidraw1: USB HID v1.10 Mouse [HID 0513:0318] on usb-30040000.otg-1/input1
127|root@rk322x_box:/proc/tty/driver #
127|root@rk322x_box:/proc/tty/driver # ls -la /dev/tty*
crw-rw-rw- root root 5, 0 1970-01-01 08:00 tty
crw------- root root 254, 0 1970-01-01 08:00 ttyFIQ0
crw------- root root 246, 0 1970-01-01 08:00 ttyGS0
crw------- root root 246, 1 1970-01-01 08:00 ttyGS1
crw------- root root 246, 2 1970-01-01 08:00 ttyGS2
crw------- root root 246, 3 1970-01-01 08:00 ttyGS3
crw------- root root 4, 64 1970-01-01 08:00 ttyS0
crw------- root root 4, 65 1970-01-01 08:00 ttyS1
<4>[ 4159.362560]
<4>[ 4159.362707] RTL871X: rtw_set_ps_mode(wlan0) Leave 802.11 power save - WIFI-LPS_CTRL_LEAVE
<4>[ 4159.362762] RTL871X: rtl8188f_set_FwPwrMode_cmd(): FW LPS mode = 0, SmartPS=2
<4>[ 4159.570859] RTL871X: fw read cmd failed...
<4>[ 4159.571268] RTL871X: [HW_VAR_CHECK_TXBUF] no packet in tx packet buffer (0)
<4>[ 4159.571461] RTL871X: SetHwReg8188F(wlan0): [HW_VAR_MACID_SLEEP] macid=0, org reg_0x4d4=0x00000000
<4>[ 4160.061008] RTL871X: rtw_sctx_wait timeout: dump_mgntframe_and_wait_ack
<4>[ 4160.495314] RTL871X: adaptive_early_32k(): bcn_cnt = 101
<4>[ 4161.054901] RTL871X: rtw_sctx_wait timeout: dump_mgntframe_and_wait_ack
<4>[ 4162.048732] RTL871X: rtw_sctx_wait timeout: dump_mgntframe_and_wait_ack
<4>[ 4162.048793] RTL871X: issue_nulldata(wlan0) to 0c:80:63:d4:d8:7d, ch:7, 3/3 in 2520 ms
<4>[ 4162.048820] RTL871X: wlan0 cmd=18,0,0 process_time=2520
<4>[ 4162.048969] RTL871X: do rtw_gw_addr_query()RTL871X: Get Gateway IP/MAC fail!
<4>[ 4162.251676] RTL871X: fw read cmd failed...
<4>[ 4162.286639] RTL871X: do rtw_gw_addr_query()RTL871X: Get Gateway IP/MAC fail!
<4>[ 4163.115317] RTL871X: SetHwReg8188F(wlan0): [HW_VAR_MACID_WAKEUP] macid=0, org reg_0x4d4=0x00000001
<4>[ 4163.603406] RTL871X: rtw_sctx_wait timeout: dump_mgntframe_and_wait_ack
<4>[ 4164.597186] RTL871X: rtw_sctx_wait timeout: dump_mgntframe_and_wait_ack
<4>[ 4165.591083] RTL871X: rtw_sctx_wait timeout: dump_mgntframe_and_wait_ack
<4>[ 4165.591143] RTL871X: issue_nulldata(wlan0) to 0c:80:63:d4:d8:7d, ch:7, 3/3 in 2520 ms
<4>[ 4165.591178] RTL871X: survey done event(8a) band:0 for wlan0
<4>[ 4165.591200] RTL871X: wlan0 cmd=18,0,0 process_time=2560
<4>[ 4165.591506] RTL871X: do rtw_gw_addr_query()RTL871X: Get Gateway IP/MAC fail!
<4>[ 4165.793389] RTL871X: fw read cmd failed...
<4>[ 4165.793563] RTL871X: HwRateToMRate(): Non supported Rate [ff]!!!
<4>[ 4165.794094] RTL871X: rtw_indicate_scan_done(wlan0)
<4>[ 4166.191347] RTL871X: do rtw_gw_addr_query()RTL871X: Get Gateway IP/MAC fail!
<4>[ 4166.191744] RTL871X: rtw_set_ps_mode(wlan0) Enter 802.11 power save - WIFI-TRAFFIC_IDLE
<4>[ 4166.191789] RTL871X: rtl8188f_set_FwPwrMode_cmd(): FW LPS mode = 2, SmartPS=2
<4>[ 4166.395219] RTL871X: fw read cmd failed...
<4>[ 4166.600750] RTL871X: fw read cmd failed...
<4>[ 4168.159345] RTL871X: CurIGValue=42, EntryMinUndecoratedSmoothedPWDB = 47
<4>[ 4170.127325] RTL871X: CurIGValue=42, EntryMinUndecoratedSmoothedPWDB = 44
<4>[ 4172.095328] RTL871X: CurIGValue=42, EntryMinUndecoratedSmoothedPWDB = 41
<4>[ 4172.889248] RTL871X: adaptive_early_32k(): bcn_cnt = 101
<4>[ 4174.063336] RTL871X: CurIGValue=42, EntryMinUndecoratedSmoothedPWDB = 44
<4>[ 4176.031284] RTL871X: CurIGValue=42, EntryMinUndecoratedSmoothedPWDB = 44
<4>[ 4177.999330] RTL871X: CurIGValue=42, EntryMinUndecoratedSmoothedPWDB = 45
<4>[ 4178.732937] RTL871X: cfg80211_rtw_scan(wlan0)
<4>[ 4179.033984] RTL871X: rtw_set_rpwm: polling cpwm timeout! poll_cnt=146, cpwm_orig=00, cpwm_now=00
<4>[ 4179.034162] RTL871X: Wait for cpwm event than 100 ms!!!
<4>[ 4179.042330] RTL871X: +pwr_rpwm_timeout_handler: rpwm=0x02 cpwm=0x01
<4>[ 4179.042571] RTL871X:
<4>[ 4179.042571] rpwmtimeout_workitem_callback: FW already leave 32K!
<4>[ 4179.042571]
<4>[ 4179.042721] RTL871X: rtw_set_ps_mode(wlan0) Leave 802.11 power save - WIFI-LPS_CTRL_LEAVE
<4>[ 4179.042771] RTL871X: rtl8188f_set_FwPwrMode_cmd(): FW LPS mode = 0, SmartPS=2
<4>[ 4179.251005] RTL871X: fw read cmd failed...
<4>[ 4179.251423] RTL871X: [HW_VAR_CHECK_TXBUF] no packet in tx packet buffer (0)
<4>[ 4179.251628] RT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment