How to use MCP3008 in Jetson nano?

Hi, I’m using jetson nano.
I want to use mcp 3008 in jetson, but it does not work. Output is zero. I used examples from the library and library in Adafruit. The circuit connection was good according to the pin map, and the spi connection was activated.
There are a few people running this code in Raspberry Pie and Jetson nano. What is my problem? Please help me…

import time
import busio
import digitalio
import board
import adafruit_mcp3xxx.mcp3008 as MCP
from adafruit_mcp3xxx.analog_in import AnalogIn

# create the spi bus)
spi = busio.SPI(clock=board.SCK, MISO=board.MISO, MOSI=board.MOSI)

# create the cs (chip select)
cs = digitalio.DigitalInOut(board.CE0)

# create the mcp object
mcp = MCP.MCP3008(spi, cs)

# create an analog input channel on pin 0
chan = AnalogIn(mcp, MCP.P0)

while True:
	print('Raw ADC Value: ', chan.value)
	print('ADC Voltage: ' + str(chan.voltage) + 'V')
	time.sleep(0.5)

hello osa0215 ,

were those two lines actually works?
is there any error messages pop-up, can you import mcp3xxx for the usage successfully.
thanks

Yes. there is no error. I can import mcp3xxx.

thanks

hello osa0215 ,

do you have any kernel logs that able to share for reference,
thanks

Is this right? I don’t know well…

Jul 22 17:17:01 ubicomp-desktop kernel: [ 5549.370920] tegradc tegradc.0: unblank
Jul 22 17:17:01 ubicomp-desktop kernel: [ 5549.407395] tegradc tegradc.0: nominal-pclk:148500000 parent:148500000 div:1.0 pclk:148500000 147015000~161865000
Jul 22 17:17:01 ubicomp-desktop kernel: [ 5549.407483] tegradc tegradc.0: hdmi: tmds rate:148500K prod-setting:prod_c_hdmi_75m_150m
Jul 22 17:17:01 ubicomp-desktop kernel: [ 5549.408511] tegradc tegradc.0: hdmi: get YCC quant from EDID.
Jul 22 17:17:01 ubicomp-desktop kernel: [ 5549.444786] extcon-disp-state extcon:disp-state: cable 47 state 1
Jul 22 17:17:01 ubicomp-desktop kernel: [ 5549.444788] Extcon AUX1(HDMI) enable
Jul 22 17:17:01 ubicomp-desktop kernel: [ 5549.449220] tegradc tegradc.0: unblank
Jul 22 17:17:01 ubicomp-desktop kernel: [ 5549.449240] tegradc tegradc.1: blank - powerdown
Jul 22 17:17:03 ubicomp-desktop kernel: [ 5551.023208] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:17:03 ubicomp-desktop kernel: [ 5551.023388] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:17:09 ubicomp-desktop kernel: [ 5557.020674] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:17:09 ubicomp-desktop kernel: [ 5557.020868] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:17:15 ubicomp-desktop kernel: [ 5563.023352] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:17:15 ubicomp-desktop kernel: [ 5563.023536] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:17:21 ubicomp-desktop kernel: [ 5569.023021] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:17:21 ubicomp-desktop kernel: [ 5569.023200] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:17:23 ubicomp-desktop kernel: [ 5571.632051] Err;FC.ToDs
Jul 22 17:17:27 ubicomp-desktop kernel: [ 5575.022667] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:17:27 ubicomp-desktop kernel: [ 5575.022840] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:17:31 ubicomp-desktop kernel: [ 5579.423779] pAd->PendingRx = 1
Jul 22 17:17:33 ubicomp-desktop kernel: [ 5581.022297] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:17:33 ubicomp-desktop kernel: [ 5581.022486] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:17:39 ubicomp-desktop kernel: [ 5587.020154] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:17:39 ubicomp-desktop kernel: [ 5587.020343] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:17:45 ubicomp-desktop kernel: [ 5593.021811] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:17:45 ubicomp-desktop kernel: [ 5593.021994] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:17:51 ubicomp-desktop kernel: [ 5599.020764] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:17:51 ubicomp-desktop kernel: [ 5599.020876] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:17:57 ubicomp-desktop kernel: [ 5605.021951] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:17:57 ubicomp-desktop kernel: [ 5605.022130] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:18:03 ubicomp-desktop kernel: [ 5611.019139] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:18:03 ubicomp-desktop kernel: [ 5611.019330] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:18:09 ubicomp-desktop kernel: [ 5617.021804] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:18:09 ubicomp-desktop kernel: [ 5617.021988] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:18:15 ubicomp-desktop kernel: [ 5623.021445] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:18:15 ubicomp-desktop kernel: [ 5623.021547] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:18:21 ubicomp-desktop kernel: [ 5629.017812] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:18:21 ubicomp-desktop kernel: [ 5629.017992] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:18:27 ubicomp-desktop kernel: [ 5635.020528] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:18:27 ubicomp-desktop kernel: [ 5635.020711] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:18:33 ubicomp-desktop kernel: [ 5641.021178] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:18:33 ubicomp-desktop kernel: [ 5641.021362] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:18:39 ubicomp-desktop kernel: [ 5647.020836] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:18:39 ubicomp-desktop kernel: [ 5647.021020] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:18:41 ubicomp-desktop kernel: [ 5649.479516] pAd->PendingRx = 1
Jul 22 17:18:45 ubicomp-desktop kernel: [ 5653.020488] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:18:45 ubicomp-desktop kernel: [ 5653.020672] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:18:51 ubicomp-desktop kernel: [ 5659.017774] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:18:51 ubicomp-desktop kernel: [ 5659.017967] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:18:53 ubicomp-desktop kernel: [ 5661.123123] pAd->PendingRx = 1
Jul 22 17:18:57 ubicomp-desktop kernel: [ 5665.020483] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:18:57 ubicomp-desktop kernel: [ 5665.020668] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:19:03 ubicomp-desktop kernel: [ 5671.016307] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:19:03 ubicomp-desktop kernel: [ 5671.016491] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:19:09 ubicomp-desktop kernel: [ 5677.020010] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:19:09 ubicomp-desktop kernel: [ 5677.020199] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:19:10 ubicomp-desktop kernel: [ 5677.982653] pAd->PendingRx = 1
Jul 22 17:19:13 ubicomp-desktop kernel: [ 5681.302686] pAd->PendingRx = 1
Jul 22 17:19:14 ubicomp-desktop kernel: [ 5682.342686] pAd->PendingRx = 1
Jul 22 17:19:15 ubicomp-desktop kernel: [ 5683.019674] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:19:15 ubicomp-desktop kernel: [ 5683.019855] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:19:15 ubicomp-desktop kernel: [ 5683.386598] pAd->PendingRx = 1
Jul 22 17:19:17 ubicomp-desktop kernel: [ 5685.467748] pAd->PendingRx = 1
Jul 22 17:19:21 ubicomp-desktop kernel: [ 5689.019335] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:19:21 ubicomp-desktop kernel: [ 5689.019520] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:19:27 ubicomp-desktop kernel: [ 5695.018993] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:19:27 ubicomp-desktop kernel: [ 5695.019176] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:19:33 ubicomp-desktop kernel: [ 5701.018661] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:19:33 ubicomp-desktop kernel: [ 5701.018846] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:19:39 ubicomp-desktop kernel: [ 5707.013678] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:19:39 ubicomp-desktop kernel: [ 5707.013863] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:19:44 ubicomp-desktop kernel: [ 5712.076658] pAd->PendingRx = 1
Jul 22 17:19:45 ubicomp-desktop kernel: [ 5713.013453] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:19:45 ubicomp-desktop kernel: [ 5713.013640] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:19:45 ubicomp-desktop kernel: [ 5713.117691] pAd->PendingRx = 1
Jul 22 17:19:46 ubicomp-desktop kernel: [ 5714.157682] pAd->PendingRx = 1
Jul 22 17:19:46 ubicomp-desktop kernel: [ 5714.537510] Err;FC.ToDs
Jul 22 17:19:47 ubicomp-desktop kernel: [ 5715.201683] pAd->PendingRx = 1
Jul 22 17:19:47 ubicomp-desktop kernel: [ 5715.207612] LOST_AP_INFORM
Jul 22 17:19:47 ubicomp-desktop kernel: [ 5715.207647] 80211> CFG80211_OpsKeyDel ==>
Jul 22 17:19:47 ubicomp-desktop kernel: [ 5715.207649] 80211> CFG80211_OpsKeyDel ==>
Jul 22 17:19:47 ubicomp-desktop kernel: [ 5715.207651] 80211> CFG80211_OpsKeyDel ==>
Jul 22 17:19:47 ubicomp-desktop kernel: [ 5715.207652] 80211> CFG80211_OpsKeyDel ==>
Jul 22 17:19:47 ubicomp-desktop kernel: [ 5715.207654] 80211> CFG80211_OpsKeyDel ==>
Jul 22 17:19:47 ubicomp-desktop kernel: [ 5715.207655] 80211> CFG80211_OpsKeyDel ==>
Jul 22 17:19:47 ubicomp-desktop kernel: [ 5715.218393] crda> requlation requestion by core: 
Jul 22 17:19:47 ubicomp-desktop kernel: [ 5715.218397] 00
Jul 22 17:19:47 ubicomp-desktop kernel: [ 5715.308403] 80211> CFG80211_OpsScan ==>
Jul 22 17:19:52 ubicomp-desktop kernel: [ 5720.753438] 80211> cfg80211_scan_done
Jul 22 17:19:52 ubicomp-desktop kernel: [ 5720.754032] 80211> CFG80211_OpsSurveyGet ==>
Jul 22 17:19:52 ubicomp-desktop kernel: [ 5720.754037] 80211> busy time = -272822521088 0
Jul 22 17:19:52 ubicomp-desktop kernel: [ 5720.761727] 80211 [CONNECT TEST]> CFG80211_OpsConnect ==>
Jul 22 17:19:52 ubicomp-desktop kernel: [ 5720.761733] Groupwise: fac04
Jul 22 17:19:52 ubicomp-desktop kernel: [ 5720.761735] Pairwise fac04
Jul 22 17:19:52 ubicomp-desktop kernel: [ 5720.761737] Wpa_versions 2
Jul 22 17:19:52 ubicomp-desktop kernel: [ 5720.761739] Keymgmt fac02
Jul 22 17:19:52 ubicomp-desktop kernel: [ 5720.761741] Auth_type 0
Jul 22 17:19:52 ubicomp-desktop kernel: [ 5720.761743] WLAN_CIPHER_SUITE_CCMP...
Jul 22 17:19:52 ubicomp-desktop kernel: [ 5720.761745] ConnInfo.KeyLen ===> 0
Jul 22 17:19:52 ubicomp-desktop kernel: [ 5720.761747] ConnInfo.KeyIdx ===> 0
Jul 22 17:19:52 ubicomp-desktop kernel: [ 5720.761752] 80211> Connect bssid 70:5d:cc:ca:8e:8f
Jul 22 17:19:52 ubicomp-desktop kernel: [ 5720.761759] 80211> EncrypType = 6
Jul 22 17:19:53 ubicomp-desktop kernel: [ 5720.832771] PeerBeaconAtJoinAction(): HT-CtrlChannel=149, CentralChannel=>151
Jul 22 17:19:53 ubicomp-desktop kernel: [ 5720.832775] PeerBeaconAtJoinAction(): Set CentralChannel=151
Jul 22 17:19:53 ubicomp-desktop kernel: [ 5720.832781] AdjustChannelRelatedValue(): Input BW=1, rf_channel=151, vht_bw=1, Channel=149, vht_cent_ch=155!
Jul 22 17:19:53 ubicomp-desktop kernel: [ 5720.870274] DETECT SUPPLICANT ENABLED
Jul 22 17:19:53 ubicomp-desktop kernel: [ 5720.870278] DETECT NATIVE SUPPLICANT ENABLED
Jul 22 17:19:53 ubicomp-desktop kernel: [ 5720.871095] ASSOC - Send ASSOC request...
Jul 22 17:19:53 ubicomp-desktop kernel: [ 5720.871099] DETECT SUPPLICANT ENABLED
Jul 22 17:19:56 ubicomp-desktop kernel: [ 5724.656802] Err;FC.ToDs
Jul 22 17:20:02 ubicomp-desktop kernel: [ 5730.040294] IPv6: ADDRCONF(NETDEV_UP): ra0: link is not ready
Jul 22 17:20:02 ubicomp-desktop kernel: [ 5730.119377] 80211> CFG80211_OpsTxPwrGet ==>
Jul 22 17:20:02 ubicomp-desktop kernel: [ 5730.131669] 80211> CFG80211_OpsScan ==>
Jul 22 17:20:07 ubicomp-desktop kernel: [ 5735.504118] 80211> cfg80211_scan_done
Jul 22 17:20:07 ubicomp-desktop kernel: [ 5735.505226] 80211> CFG80211_OpsSurveyGet ==>
Jul 22 17:20:07 ubicomp-desktop kernel: [ 5735.505232] 80211> busy time = -274822248192 0
Jul 22 17:20:07 ubicomp-desktop kernel: [ 5735.599364] 80211> CFG80211_OpsPwrMgmt ==>
Jul 22 17:20:07 ubicomp-desktop kernel: [ 5735.620438] 80211 [CONNECT TEST]> CFG80211_OpsConnect ==>
Jul 22 17:20:07 ubicomp-desktop kernel: [ 5735.620443] Groupwise: fac04
Jul 22 17:20:07 ubicomp-desktop kernel: [ 5735.620445] Pairwise fac04
Jul 22 17:20:07 ubicomp-desktop kernel: [ 5735.620447] Wpa_versions 2
Jul 22 17:20:07 ubicomp-desktop kernel: [ 5735.620449] Keymgmt fac02
Jul 22 17:20:07 ubicomp-desktop kernel: [ 5735.620451] Auth_type 0
Jul 22 17:20:07 ubicomp-desktop kernel: [ 5735.620453] WLAN_CIPHER_SUITE_CCMP...
Jul 22 17:20:07 ubicomp-desktop kernel: [ 5735.620455] ConnInfo.KeyLen ===> 0
Jul 22 17:20:07 ubicomp-desktop kernel: [ 5735.620457] ConnInfo.KeyIdx ===> 0
Jul 22 17:20:07 ubicomp-desktop kernel: [ 5735.620462] 80211> Connect bssid 70:5d:cc:ca:8e:8f
Jul 22 17:20:07 ubicomp-desktop kernel: [ 5735.620469] 80211> EncrypType = 6
Jul 22 17:20:07 ubicomp-desktop kernel: [ 5735.680535] PeerBeaconAtJoinAction(): HT-CtrlChannel=149, CentralChannel=>151
Jul 22 17:20:07 ubicomp-desktop kernel: [ 5735.680540] PeerBeaconAtJoinAction(): Set CentralChannel=151
Jul 22 17:20:07 ubicomp-desktop kernel: [ 5735.680545] AdjustChannelRelatedValue(): Input BW=1, rf_channel=151, vht_bw=1, Channel=149, vht_cent_ch=155!
Jul 22 17:20:07 ubicomp-desktop kernel: [ 5735.698195] DETECT SUPPLICANT ENABLED
Jul 22 17:20:07 ubicomp-desktop kernel: [ 5735.698198] DETECT NATIVE SUPPLICANT ENABLED
Jul 22 17:20:07 ubicomp-desktop kernel: [ 5735.698971] ASSOC - Send ASSOC request...
Jul 22 17:20:07 ubicomp-desktop kernel: [ 5735.698975] DETECT SUPPLICANT ENABLED
Jul 22 17:20:07 ubicomp-desktop kernel: [ 5735.699939] ASSOC - AuthMode = 7
Jul 22 17:20:07 ubicomp-desktop kernel: [ 5735.699942] ERROR!!! 
Jul 22 17:20:07 ubicomp-desktop kernel: [ 5735.699945] Storing RSS_IE for WPA SM negotiation later
Jul 22 17:20:07 ubicomp-desktop kernel: [ 5735.699948] AssocPostProc():=> Store RSN_IE for WPA2 SM negotiation
Jul 22 17:20:07 ubicomp-desktop kernel: [ 5735.699955] DETECT NATIVE SUPPLICANT ENABLED (send len=43)
Jul 22 17:20:07 ubicomp-desktop kernel: [ 5735.700382] ASSOC - PeerAssocRspAction() connect inform
Jul 22 17:20:07 ubicomp-desktop kernel: [ 5735.700385] 80211> CFG80211_ConnectResultInform ==>
Jul 22 17:20:09 ubicomp-desktop kernel: [ 5737.534402] Rcv Wcid(1) AddBAReq
Jul 22 17:20:09 ubicomp-desktop kernel: [ 5737.534407] Start Seq = 00000000
Jul 22 17:20:09 ubicomp-desktop kernel: [ 5737.764671] 80211> CFG80211_OpsKeyAdd ==>
Jul 22 17:20:09 ubicomp-desktop kernel: [ 5737.766487] 80211> CFG80211_OpsKeyDefaultSet ==>
Jul 22 17:20:09 ubicomp-desktop kernel: [ 5737.766490] 80211> KeyIdx = 0
Jul 22 17:20:09 ubicomp-desktop kernel: [ 5737.766636] 80211> CFG80211_OpsKeyAdd ==>
Jul 22 17:20:09 ubicomp-desktop kernel: [ 5737.768219] IPv6: ADDRCONF(NETDEV_CHANGE): ra0: link becomes ready
Jul 22 17:20:09 ubicomp-desktop kernel: [ 5737.768616] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:20:09 ubicomp-desktop kernel: [ 5737.768686] 80211> CFG80211_OpsTxPwrGet ==>
Jul 22 17:20:09 ubicomp-desktop kernel: [ 5737.768748] 80211> CFG80211_OpsSurveyGet ==>
Jul 22 17:20:09 ubicomp-desktop kernel: [ 5737.768752] 80211> busy time = -272821502464 0
Jul 22 17:20:09 ubicomp-desktop kernel: [ 5737.769092] 80211> CFG80211_OpsSurveyGet ==>
Jul 22 17:20:09 ubicomp-desktop kernel: [ 5737.769098] 80211> busy time = -272821502464 0
Jul 22 17:20:11 ubicomp-desktop kernel: [ 5739.213351] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:20:11 ubicomp-desktop kernel: [ 5739.213614] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:20:14 ubicomp-desktop kernel: [ 5742.013353] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:20:14 ubicomp-desktop kernel: [ 5742.013546] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:20:19 ubicomp-desktop kernel: [ 5747.248808] pAd->PendingRx = 1
Jul 22 17:20:20 ubicomp-desktop kernel: [ 5748.015211] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:20:20 ubicomp-desktop kernel: [ 5748.015397] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:20:23 ubicomp-desktop kernel: [ 5751.627410] Err;FC.ToDs
Jul 22 17:20:26 ubicomp-desktop kernel: [ 5754.015205] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:20:26 ubicomp-desktop kernel: [ 5754.015391] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:20:32 ubicomp-desktop kernel: [ 5760.012033] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:20:32 ubicomp-desktop kernel: [ 5760.012216] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:20:38 ubicomp-desktop kernel: [ 5766.013792] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:20:38 ubicomp-desktop kernel: [ 5766.014042] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:20:44 ubicomp-desktop kernel: [ 5772.012726] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:20:44 ubicomp-desktop kernel: [ 5772.012907] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:20:50 ubicomp-desktop kernel: [ 5778.017398] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:20:50 ubicomp-desktop kernel: [ 5778.017589] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:20:56 ubicomp-desktop kernel: [ 5784.015086] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:20:56 ubicomp-desktop kernel: [ 5784.015287] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:21:02 ubicomp-desktop kernel: [ 5790.016810] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:21:02 ubicomp-desktop kernel: [ 5790.016993] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:21:08 ubicomp-desktop kernel: [ 5796.014728] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:21:08 ubicomp-desktop kernel: [ 5796.014919] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:21:11 ubicomp-desktop kernel: [ 5799.260812] pAd->PendingRx = 1
Jul 22 17:21:14 ubicomp-desktop kernel: [ 5802.016382] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:21:14 ubicomp-desktop kernel: [ 5802.016608] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:21:14 ubicomp-desktop kernel: [ 5802.383349] pAd->PendingRx = 1
Jul 22 17:21:20 ubicomp-desktop kernel: [ 5808.013818] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:21:20 ubicomp-desktop kernel: [ 5808.013930] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:21:20 ubicomp-desktop kernel: [ 5808.626940] pAd->PendingRx = 1
Jul 22 17:21:26 ubicomp-desktop kernel: [ 5814.016066] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:21:26 ubicomp-desktop kernel: [ 5814.016254] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:21:32 ubicomp-desktop kernel: [ 5820.013988] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:21:32 ubicomp-desktop kernel: [ 5820.014184] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:21:32 ubicomp-desktop kernel: [ 5820.464932] pAd->PendingRx = 1
Jul 22 17:21:33 ubicomp-desktop kernel: [ 5821.502936] pAd->PendingRx = 1
Jul 22 17:21:34 ubicomp-desktop kernel: [ 5822.543605] pAd->PendingRx = 1
Jul 22 17:21:36 ubicomp-desktop kernel: [ 5824.626771] pAd->PendingRx = 1
Jul 22 17:21:37 ubicomp-desktop kernel: [ 5825.669010] pAd->PendingRx = 1
Jul 22 17:21:38 ubicomp-desktop kernel: [ 5826.015701] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:21:38 ubicomp-desktop kernel: [ 5826.015883] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:21:44 ubicomp-desktop kernel: [ 5832.013668] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:21:44 ubicomp-desktop kernel: [ 5832.013845] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:21:50 ubicomp-desktop kernel: [ 5838.015330] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:21:50 ubicomp-desktop kernel: [ 5838.015518] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:21:56 ubicomp-desktop kernel: [ 5844.013357] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:21:56 ubicomp-desktop kernel: [ 5844.013471] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:22:02 ubicomp-desktop kernel: [ 5850.013774] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:22:02 ubicomp-desktop kernel: [ 5850.013881] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:22:08 ubicomp-desktop kernel: [ 5856.015013] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:22:08 ubicomp-desktop kernel: [ 5856.015122] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:22:14 ubicomp-desktop kernel: [ 5862.015254] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:22:14 ubicomp-desktop kernel: [ 5862.015432] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:22:20 ubicomp-desktop kernel: [ 5868.014920] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:22:20 ubicomp-desktop kernel: [ 5868.015119] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:22:26 ubicomp-desktop kernel: [ 5874.014648] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:22:26 ubicomp-desktop kernel: [ 5874.014832] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:22:32 ubicomp-desktop kernel: [ 5880.011192] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:22:32 ubicomp-desktop kernel: [ 5880.011302] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:22:38 ubicomp-desktop kernel: [ 5886.014437] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:22:38 ubicomp-desktop kernel: [ 5886.014614] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:22:44 ubicomp-desktop kernel: [ 5892.012081] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:22:44 ubicomp-desktop kernel: [ 5892.012273] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:22:46 ubicomp-desktop kernel: [ 5894.590477] Err;FC.ToDs
Jul 22 17:22:50 ubicomp-desktop kernel: [ 5898.008242] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:22:50 ubicomp-desktop kernel: [ 5898.008427] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:22:56 ubicomp-desktop kernel: [ 5904.013940] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:22:56 ubicomp-desktop kernel: [ 5904.014122] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:22:56 ubicomp-desktop kernel: [ 5904.707637] Err;FC.ToDs
Jul 22 17:23:02 ubicomp-desktop kernel: [ 5910.013570] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:23:02 ubicomp-desktop kernel: [ 5910.013754] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:23:08 ubicomp-desktop kernel: [ 5916.013261] 80211> CFG80211_OpsStaGet ==>
Jul 22 17:23:08 ubicomp-desktop kernel: [ 5916.013447] 80211> CFG80211_OpsStaGet ==>


thanks

hello osa0215 ,

these doesn’t look like your controlling messages,
what’s happened if you setup a terminal running with $ dmesg --follow, and using the other terminal to execute your code.