@whycan 大哥,使用hostapd 开热点后,然后关闭杀掉hostapd,AP热点还是在,怎么通过正常途径关掉,有这样的问题吗,我使用的是RT8188FU
C
Latest posts made by casojie
-
Reply: A133 longan 平台 RT8723DS WIFI 测试
-
inmod WiFi驱动执行时间过长(20+s),inmod xxx.ko执行时间过长
[ 6222.224457] ======================================================= [ 6222.224461] ==== Launching Wi-Fi driver! (Powered by Rockchip) ==== [ 6222.224464] ======================================================= [ 6222.224468] Realtek 8188FU USB WiFi driver (Powered by Rockchip) init. [ 6222.224472] RTL871X: module init start [ 6222.224477] RTL871X: rtl8188fu v4.3.23.6_20964.20170110 [ 6222.224601] rtl8188fu 1-1:1.0: no of_node; not parsing pinctrl DT [ 6222.225028] RTL871X: [ 6222.225028] usb_endpoint_descriptor(0): [ 6222.225035] RTL871X: bLength=7 [ 6222.225039] RTL871X: bDescriptorType=5 [ 6222.225043] RTL871X: bEndpointAddress=81 [ 6222.225048] RTL871X: wMaxPacketSize=512 [ 6222.225052] RTL871X: bInterval=0 [ 6222.225056] RTL871X: RT_usb_endpoint_is_bulk_in = 1 [ 6222.225060] RTL871X: [ 6222.225060] usb_endpoint_descriptor(1): [ 6222.225065] RTL871X: bLength=7 [ 6222.225069] RTL871X: bDescriptorType=5 [ 6222.225072] RTL871X: bEndpointAddress=2 [ 6222.225077] RTL871X: wMaxPacketSize=512 [ 6222.225081] RTL871X: bInterval=0 [ 6222.225086] RTL871X: RT_usb_endpoint_is_bulk_out = 2 [ 6222.225090] RTL871X: [ 6222.225090] usb_endpoint_descriptor(2): [ 6222.225093] RTL871X: bLength=7 [ 6222.225097] RTL871X: bDescriptorType=5 [ 6222.225101] RTL871X: bEndpointAddress=3 [ 6222.225105] RTL871X: wMaxPacketSize=512 [ 6222.225110] RTL871X: bInterval=0 [ 6222.225114] RTL871X: RT_usb_endpoint_is_bulk_out = 3 [ 6222.225119] RTL871X: nr_endpoint=3, in_num=1, out_num=2 [ 6222.225119] [ 6222.225122] RTL871X: USB_SPEED_HIGH [ 6222.225128] RTL871X: CHIP TYPE: RTL8188FU [ 6222.225563] RTL871X: rtw_hal_config_rftype RF_Type is 3 TotalTxPath is 1 [ 6222.225576] RTL871X: Chip Version Info: CHIP_8188F_Normal_Chip_SMIC_B_CUT_1T1R_RomVer(0) [ 6222.225587] RTL871X: _ConfigChipOutEP_8188F OutEpQueueSel(0x05), OutEpNumber(2) [ 6222.225758] RTL871X: EEPROM type is E-FUSE [ 6222.226262] RTL871X: Boot from EFUSE, Autoload OK ! [ 6222.226885] RTL871X: hal_EfuseSwitchToBank: Efuse switch bank to 0 [ 6222.386632] RTL871X: hal_ReadEFuse_WiFi: data end at address=0x6b [ 6222.386895] RTL871X: EEPROM VID = 0x bda [ 6222.386901] RTL871X: EEPROM PID = 0xf179 [ 6222.386924] RTL871X: hal_com_config_channel_plan chplan:0x20 [ 6222.386933] RTL871X: Hal_EfuseParsePowerSavingMode_8188F...bHWPwrPindetect(0)-bHWPowerdown(0) ,bSupportRemoteWakeup(1) [ 6222.386938] RTL871X: ### PS params=> power_mgnt(2),usbss_enable(0) ### [ 6222.388888] RTL871X: kfree Pwr Trim flag:1 [ 6222.388895] RTL871X: bb_gain:1 [ 6222.393430] usb 1-1: request firmware rtlwifi/rtl8188fufw.bin [ 6222.393645] usb 1-1: request firmware rtlwifi/rtl8188fufw.bin loaded [ 6222.393659] RTL871X: rtl8188f_FirmwareDownload: fw_ver=4 fw_subver=0000 sig=0x88f1, Month=08, Date=22, Hour=17, Minute=36 [ 6222.393664] RTL871X: rtl8188f_FirmwareDownload(): Shift for fw header! [ 6222.393670] RTL871X: rtl8188f_FirmwareDownload by IO write! [ 6222.455140] RTL871X: polling_fwdl_chksum: Checksum report OK! (1, 0ms), REG_MCUFWDL:0x0c050105 [ 6222.456757] RTL871X: _8051Reset8188: Finish [ 6222.470257] RTL871X: _FWFreeToGo: Polling FW ready OK! (102, 20ms), REG_MCUFWDL:0x0c0501c6 [ 6222.470265] RTL871X: rtl8188f_FirmwareDownload: DLFW OK ! [ 6222.470273] RTL871X: rtl8188f_FirmwareDownload success. write_fw:1, 80ms [ 6222.470515] RTL871X: <=== rtl8188f_FirmwareDownload() [ 6222.472507] RTL871X: CardDisableRTL8188FU [ 6222.477426] RTL871X: hal_read_mac_hidden_rpt OK! (1, 0ms), fwdl:1, id:0x19 [ 6222.477436] RTL871X: InitAdapterVariablesByPROM_8188FU(): REPLACEMENT = 0 [ 6222.477442] RTL871X: rtw_hal_read_chip_info in 250 ms [ 6222.477753] RTL871X: init_channel_set((null)) ChannelPlan ID:0x20, ch num:13 [ 6222.478746] RTL871X: NR_RECVBUFF: 8 [ 6222.478752] RTL871X: MAX_RECVBUF_SZ: 32768 [ 6222.478783] RTL871X: NR_PREALLOC_RECV_SKB: 8 [ 6222.479143] RTL871X: rtw_alloc_macid((null)) if1, hwaddr:ff:ff:ff:ff:ff:ff macid:1 [ 6222.479177] RTL871X: Init_ODM_ComInfo_8188f(): fab_ver=0 cut_ver=1 [ 6222.479219] RTL871X: phy_ConfigBBWithPgParaFile(): No File PHY_REG_PG.txt, Load from HWImg Array! [ 6222.479235] RTL871X: default power by rate loaded [ 6222.485192] RTL871X: pwrctrlpriv.bSupportRemoteWakeup~~~~~~ [ 6222.485202] RTL871X: pwrctrlpriv.bSupportRemoteWakeup~~~[1]~~~ [ 6222.485209] RTL871X: can't get autopm: [ 6222.485222] RTL871X: rtw_macaddr_cfg mac addr:a0:67:20:b7:e0:1e [ 6222.485230] RTL871X: bDriverStopped:True, bSurpriseRemoved:False, bup:0, hw_init_completed:0 [ 6222.485318] RTL871X: rtw_wiphy_alloc(phy5) [ 6222.485328] RTL871X: rtw_wdev_alloc(padapter=00000000a2e2199f) [ 6222.485339] RTL871X: rtw_wiphy_register(phy5) [ 6222.485503] RTL871X: _rtw_reg_notifier [ 6222.485513] RTL871X: _rtw_reg_notifier_apply: NL80211_REGDOM_SET_BY_CORE to DRV [ 6222.485659] RTL871X: rtw_ndev_init(wlan0) if1 mac_addr=a0:67:20:b7:e0:1e [ 6222.486689] RTL871X: cfg80211_rtw_get_txpower [ 6222.491553] usbcore: registered new interface driver rtl8188fu [ 6222.491562] RTL871X: module init ret=0
这是执行inmod RTL8188fu.ko的dmege
执行上诉命令,需要大概20多秒才能返回
加载后wifi功能正常,看起来没什么明显的报错
请问大佬给点思路 -
移植RTL8188fu驱动编译报错,sw_usb_enable_hcd等函数未定义
f133_plc/AllWinnerF133_Linux_pub/prebuilt/gcc/linux-x86/riscv/toolchain-thead-glibc/riscv64-glibc-gcc-thead_20200702/bin/riscv64-unknown-linux-gnu-ld: drivers/net/wireless/rtl8188fu/platform/platform_ARM_SUNxI_usb.o: in function `.L0 ': platform_ARM_SUNxI_usb.c:(.text+0x22): undefined reference to `script_parser_fetch' f133_plc/AllWinnerF133_Linux_pub/prebuilt/gcc/linux-x86/riscv/toolchain-thead-glibc/riscv64-glibc-gcc-thead_20200702/bin/riscv64-unknown-linux-gnu-ld: platform_ARM_SUNxI_usb.c:(.text+0x48): undefined reference to `sw_usb_enable_hcd' f133_plc/AllWinnerF133_Linux_pub/prebuilt/gcc/linux-x86/riscv/toolchain-thead-glibc/riscv64-glibc-gcc-thead_20200702/bin/riscv64-unknown-linux-gnu-ld: platform_ARM_SUNxI_usb.c:(.text+0xcc): undefined reference to `sw_usb_disable_hcd'
移植WiFi驱动RTL8188FU,是使用USBWiFi芯片,但是上诉的几个函数一直找不到定义,搜索了全部的代码,都没有发现这些函数的定义,求大佬指点
sw_usb_enable_hcd
sw_usb_disable_hcd
script_parser_fetch
D1S(F133-A)Tina -
Reply: F133A(D1s)如何使用GPIO:PG4 PG5?
configfs-gadget gadget: high-speed config #1: c
android_work: sent uevent USB_STATE=CONFIGURED
sun8iw20-pinctrl 2000000.pinctrl: pin PG4 already requested by 4021000.sdmmc; cannot claim for 2000000.pinctrl:196
sun8iw20-pinctrl 2000000.pinctrl: pin-196 (2000000.pinctrl:196) status -22 -
Reply: F133A(D1s)如何使用GPIO:PG4 PG5?
@dream 我在这路径下没有这个文件
/proc/sys/debug/sunxi_pinctrl
没有sunxi_pinctrl -
F133A(D1s)如何使用GPIO:PG4 PG5?
按照计算,PG4 = 6*32+4 = 196
root@TinaLinux:/sys/class/gpio# echo 196 > export ash: write error: Invalid argument
数字超过110+就不行了
是还有一些东西需要配置的吗,比如设备树什么的
小白萌新提问