Open katyo opened 2 years ago
dmesg with debug:
[ 9933.660752] sock 00000000b22dcc44 [ 9933.660890] cmd 800448d3 arg aaaac4c6d8b0 [ 9933.660943] channel 2 len 36 [ 9933.660976] 0 [ 9933.661003] cmd 400448c9 arg 0 [ 9933.661021] 0 [ 9933.661045] hci0 00000000b3940bb7 [ 9933.661063] hci0: [ 9933.661076] hci0 00000000b3940bb7 [ 9933.661093] hdev hci0 event 7 [ 9933.661109] hdev hci0 event 9 [ 9933.661126] hci0: [ 9933.661140] hci0: Opcode 0x1003 [ 9933.661156] hci0: opcode 0x1003 plen 0 [ 9933.661176] hci0: skb len 3 [ 9933.661192] hci0: length 1 [ 9933.661294] hci0 cmd_cnt 1 cmd queued 1 [ 9933.661328] hci0 type 1 len 3 [ 9933.661349] hci0: type 1 len 3 [ 9933.661368] hu 000000007c8511b3 skb 00000000b69ce611
[ 9933.665380] hci0 [ 9933.665422] hci0 Event packet [ 9933.665443] hci0: event 0x0e [ 9933.665464] hci0: opcode 0x1003 [ 9933.665483] hci0: status 0x00 [ 9933.665505] opcode 0x1003 status 0x00 [ 9933.665522] hci0 opcode 0x1003 [ 9933.665541] hci0: result 0x00 [ 9933.665842] hci0: end: err 0 [ 9933.665889] hci0: Opcode 0x1001 [ 9933.665906] hci0: opcode 0x1001 plen 0 [ 9933.665931] hci0: skb len 3 [ 9933.665947] hci0: length 1 [ 9933.666023] hci0 cmd_cnt 1 cmd queued 1 [ 9933.666054] hci0 type 1 len 3 [ 9933.666076] hci0: type 1 len 3 [ 9933.666095] hu 000000007c8511b3 skb 00000000a64ab2b0
[ 9933.670348] hci0 [ 9933.670387] hci0 Event packet [ 9933.670408] hci0: event 0x0e [ 9933.670428] hci0: opcode 0x1001 [ 9933.670446] hci0: status 0x00 [ 9933.670468] opcode 0x1001 status 0x00 [ 9933.670485] hci0 opcode 0x1001 [ 9933.670504] hci0: result 0x00 [ 9933.670573] hci0: end: err 0 [ 9933.670604] hci0: Opcode 0x1009 [ 9933.670622] hci0: opcode 0x1009 plen 0 [ 9933.670646] hci0: skb len 3 [ 9933.670661] hci0: length 1 [ 9933.670710] hci0 cmd_cnt 1 cmd queued 1 [ 9933.670742] hci0 type 1 len 3 [ 9933.670762] hci0: type 1 len 3 [ 9933.670781] hu 000000007c8511b3 skb 0000000036e7ce80
[ 9933.675386] hci0 [ 9933.675424] hci0 Event packet [ 9933.675443] hci0: event 0x0e [ 9933.675462] hci0: opcode 0x1009 [ 9933.675481] hci0: status 0x00 [ 9933.675501] opcode 0x1009 status 0x00 [ 9933.675518] hci0 opcode 0x1009 [ 9933.675535] hci0: result 0x00 [ 9933.675607] hci0: end: err 0 [ 9933.675634] hci0: [ 9933.675648] hci0: Opcode 0x1005 [ 9933.675664] hci0: opcode 0x1005 plen 0 [ 9933.675689] hci0: skb len 3 [ 9933.675704] hci0: length 1 [ 9933.675752] hci0 cmd_cnt 1 cmd queued 1 [ 9933.675783] hci0 type 1 len 3 [ 9933.675803] hci0: type 1 len 3 [ 9933.675821] hu 000000007c8511b3 skb 0000000043562e9f
[ 9933.680355] hci0 [ 9933.680393] hci0 Event packet [ 9933.680415] hci0: event 0x0e [ 9933.680436] hci0: opcode 0x1005 [ 9933.680454] hci0: status 0x00 [ 9933.680469] hci0 acl mtu 1021:8 sco mtu 240:3 [ 9933.680496] opcode 0x1005 status 0x00 [ 9933.680513] hci0 opcode 0x1005 [ 9933.680531] hci0: result 0x00 [ 9933.680610] hci0: end: err 0 [ 9933.680645] hci0: Opcode 0x c23 [ 9933.680662] hci0: opcode 0x0c23 plen 0 [ 9933.680686] hci0: skb len 3 [ 9933.680702] hci0: length 1 [ 9933.680752] hci0 cmd_cnt 1 cmd queued 1 [ 9933.680783] hci0 type 1 len 3 [ 9933.680803] hci0: type 1 len 3 [ 9933.680822] hu 000000007c8511b3 skb 00000000a935c091
[ 9933.685390] hci0 [ 9933.685430] hci0 Event packet [ 9933.685449] hci0: event 0x0e [ 9933.685468] hci0: opcode 0x0c23 [ 9933.685487] hci0: status 0x00 [ 9933.685502] hci0: class 0x001f00 [ 9933.685525] opcode 0x0c23 status 0x00 [ 9933.685542] hci0 opcode 0x0c23 [ 9933.685561] hci0: result 0x00 [ 9933.685654] hci0: end: err 0 [ 9933.685686] hci0: Opcode 0x c14 [ 9933.685702] hci0: opcode 0x0c14 plen 0 [ 9933.685725] hci0: skb len 3 [ 9933.685742] hci0: length 1 [ 9933.685806] hci0 cmd_cnt 1 cmd queued 1 [ 9933.685836] hci0 type 1 len 3 [ 9933.685856] hci0: type 1 len 3 [ 9933.685874] hu 000000007c8511b3 skb 000000005ecbbb1b
[ 9933.690440] hci0 [ 9933.690478] hci0 Event packet [ 9933.690499] hci0: event 0x0e [ 9933.690519] hci0: opcode 0x0c14 [ 9933.690536] hci0: status 0x00 [ 9933.690559] opcode 0x0c14 status 0x00 [ 9933.690575] hci0 opcode 0x0c14 [ 9933.690593] hci0: result 0x00 [ 9933.690672] hci0: end: err 0 [ 9933.690706] hci0: Opcode 0x c25 [ 9933.690723] hci0: opcode 0x0c25 plen 0 [ 9933.690747] hci0: skb len 3 [ 9933.690763] hci0: length 1 [ 9933.690810] hci0 cmd_cnt 1 cmd queued 1 [ 9933.690841] hci0 type 1 len 3 [ 9933.690861] hci0: type 1 len 3 [ 9933.690878] hu 000000007c8511b3 skb 00000000c5fdf3cc
[ 9933.695318] hci0 [ 9933.695439] hci0 Event packet [ 9933.695463] hci0: event 0x0e [ 9933.695483] hci0: opcode 0x0c25 [ 9933.695500] hci0: status 0x00 [ 9933.695521] opcode 0x0c25 status 0x00 [ 9933.695538] hci0 opcode 0x0c25 [ 9933.695556] hci0: result 0x00 [ 9933.695632] hci0: end: err 0 [ 9933.695666] hci0: Opcode 0x c38 [ 9933.695684] hci0: opcode 0x0c38 plen 0 [ 9933.695708] hci0: skb len 3 [ 9933.695724] hci0: length 1 [ 9933.695770] hci0 cmd_cnt 1 cmd queued 1 [ 9933.695802] hci0 type 1 len 3 [ 9933.695822] hci0: type 1 len 3 [ 9933.695841] hu 000000007c8511b3 skb 000000004b9a0a1f
[ 9933.700325] hci0 [ 9933.700364] hci0 Event packet [ 9933.700386] hci0: event 0x0e [ 9933.700406] hci0: opcode 0x0c38 [ 9933.700424] hci0: status 0x00 [ 9933.700439] hci0: num iac 4 [ 9933.700458] opcode 0x0c38 status 0x00 [ 9933.700475] hci0 opcode 0x0c38 [ 9933.700494] hci0: result 0x00 [ 9933.700567] hci0: end: err 0 [ 9933.700598] hci0: Opcode 0x c39 [ 9933.700614] hci0: opcode 0x0c39 plen 0 [ 9933.700641] hci0: skb len 3 [ 9933.700656] hci0: length 1 [ 9933.700702] hci0 cmd_cnt 1 cmd queued 1 [ 9933.700733] hci0 type 1 len 3 [ 9933.700753] hci0: type 1 len 3 [ 9933.700771] hu 000000007c8511b3 skb 000000009398b55a
[ 9933.705419] hci0 [ 9933.705459] hci0 Event packet [ 9933.705479] hci0: event 0x0e [ 9933.705499] hci0: opcode 0x0c39 [ 9933.705523] opcode 0x0c39 status 0x00 [ 9933.705540] hci0 opcode 0x0c39 [ 9933.705768] hci0: result 0x00 [ 9933.705852] hci0: end: err 0 [ 9933.705887] hci0: Opcode 0x c16 [ 9933.705904] hci0: opcode 0x0c16 plen 2 [ 9933.705931] hci0: skb len 5 [ 9933.705947] hci0: length 1 [ 9933.706017] hci0 cmd_cnt 1 cmd queued 1 [ 9933.706054] hci0 type 1 len 5 [ 9933.706074] hci0: type 1 len 5 [ 9933.706092] hu 000000007c8511b3 skb 0000000075ffedf4
[ 9933.710364] hci0 [ 9933.710403] hci0 Event packet [ 9933.710426] hci0: event 0x0e [ 9933.710446] hci0: opcode 0x0c16 [ 9933.710471] opcode 0x0c16 status 0x00 [ 9933.710488] hci0 opcode 0x0c16 [ 9933.710506] hci0: result 0x00 [ 9933.710586] hci0: end: err 0 [ 9933.710619] hci0: Opcode 0x2002 [ 9933.710637] hci0: opcode 0x2002 plen 0 [ 9933.710660] hci0: skb len 3 [ 9933.710676] hci0: length 1 [ 9933.710723] hci0 cmd_cnt 1 cmd queued 1 [ 9933.710756] hci0 type 1 len 3 [ 9933.710776] hci0: type 1 len 3 [ 9933.710794] hu 000000007c8511b3 skb 000000008ce61b64
[ 9933.715362] hci0 [ 9933.715401] hci0 Event packet [ 9933.715425] hci0: event 0x0e [ 9933.715447] hci0: opcode 0x2002 [ 9933.715465] hci0: status 0x00 [ 9933.715480] hci0 le mtu 256:16 [ 9933.715503] opcode 0x2002 status 0x00 [ 9933.715520] hci0 opcode 0x2002 [ 9933.715537] hci0: result 0x00 [ 9933.715614] hci0: end: err 0 [ 9933.715648] hci0: Opcode 0x2003 [ 9933.715665] hci0: opcode 0x2003 plen 0 [ 9933.715689] hci0: skb len 3 [ 9933.715705] hci0: length 1 [ 9933.715756] hci0 cmd_cnt 1 cmd queued 1 [ 9933.715789] hci0 type 1 len 3 [ 9933.715809] hci0: type 1 len 3 [ 9933.715827] hu 000000007c8511b3 skb 00000000a82e5f1e
[ 9933.720366] hci0 [ 9933.720404] hci0 Event packet [ 9933.720426] hci0: event 0x0e [ 9933.720446] hci0: opcode 0x2003 [ 9933.720465] hci0 status 0x00 [ 9933.720485] opcode 0x2003 status 0x00 [ 9933.720503] hci0 opcode 0x2003 [ 9933.720520] hci0: result 0x00 [ 9933.720592] hci0: end: err 0 [ 9933.720624] hci0: Opcode 0x201c [ 9933.720642] hci0: opcode 0x201c plen 0 [ 9933.720668] hci0: skb len 3 [ 9933.720684] hci0: length 1 [ 9933.720729] hci0 cmd_cnt 1 cmd queued 1 [ 9933.720761] hci0 type 1 len 3 [ 9933.720779] hci0: type 1 len 3 [ 9933.720797] hu 000000007c8511b3 skb 00000000108ed9f3
[ 9933.725356] hci0 [ 9933.725394] hci0 Event packet [ 9933.725414] hci0: event 0x0e [ 9933.725432] hci0: opcode 0x201c [ 9933.725452] hci0: status 0x00 [ 9933.725473] opcode 0x201c status 0x00 [ 9933.725491] hci0 opcode 0x201c [ 9933.725508] hci0: result 0x00 [ 9933.725593] hci0: end: err 0 [ 9933.725631] hci0: Opcode 0x1002 [ 9933.725649] hci0: opcode 0x1002 plen 0 [ 9933.725671] hci0: skb len 3 [ 9933.725687] hci0: length 1 [ 9933.725760] hci0 cmd_cnt 1 cmd queued 1 [ 9933.725797] hci0 type 1 len 3 [ 9933.725817] hci0: type 1 len 3 [ 9933.725836] hu 000000007c8511b3 skb 000000008ce61b64
[ 9933.730357] hci0 [ 9933.730394] hci0 Event packet [ 9933.730416] hci0: event 0x0e [ 9933.730436] hci0: opcode 0x1002 [ 9933.730453] hci0: status 0x00 [ 9933.730473] opcode 0x1002 status 0x00 [ 9933.730490] hci0 opcode 0x1002 [ 9933.730507] hci0: result 0x00 [ 9933.730577] hci0: end: err 0 [ 9933.730612] hci0: Opcode 0x c52 [ 9933.730629] hci0: opcode 0x0c52 plen 241 [ 9933.730654] hci0: skb len 244 [ 9933.730670] hci0: length 1 [ 9933.730718] hci0 cmd_cnt 1 cmd queued 1 [ 9933.730749] hci0 type 1 len 244 [ 9933.730768] hci0: type 1 len 244 [ 9933.730787] hu 000000007c8511b3 skb 0000000054f1da72
[ 9933.735322] hci0 [ 9933.735360] hci0 Event packet [ 9933.735383] hci0: event 0x0e [ 9933.735403] hci0: opcode 0x0c52 [ 9933.735427] opcode 0x0c52 status 0x00 [ 9933.735443] hci0 opcode 0x0c52 // HCI_OP_WRITE_EIR [ 9933.735461] hci0: result 0x00 [ 9933.735535] hci0: end: err 0 [ 9933.735566] hci0: Opcode 0x c45 [ 9933.735584] hci0: opcode 0x0c45 plen 1 [ 9933.735608] hci0: skb len 4 [ 9933.735623] hci0: length 1 [ 9933.735672] hci0 cmd_cnt 1 cmd queued 1 [ 9933.735704] hci0 type 1 len 4 [ 9933.735723] hci0: type 1 len 4 [ 9933.735740] hu 000000007c8511b3 skb 00000000c474c2fd
[ 9933.740314] hci0 [ 9933.740352] hci0 Event packet [ 9933.740373] hci0: event 0x0e [ 9933.740392] hci0: opcode 0x0c45 [ 9933.740415] opcode 0x0c45 status 0x00 [ 9933.740432] hci0 opcode 0x0c45 // HCI_OP_WRITE_INQUIRY_MODE [ 9933.740449] hci0: result 0x00 [ 9933.740522] hci0: end: err 0 [ 9933.740555] hci0: Opcode 0x c58 [ 9933.740572] hci0: opcode 0x0c58 plen 0 [ 9933.740599] hci0: skb len 3 [ 9933.740615] hci0: length 1 [ 9933.740661] hci0 cmd_cnt 1 cmd queued 1 [ 9933.740693] hci0 type 1 len 3 [ 9933.740712] hci0: type 1 len 3 [ 9933.740729] hu 000000007c8511b3 skb 000000006a7d33ad
[ 9933.745319] hci0 [ 9933.745359] hci0 Event packet [ 9933.745379] hci0: event 0x0e [ 9933.745399] hci0: opcode 0x0c58 [ 9933.745418] hci0: status 0x00 [ 9933.745440] opcode 0x0c58 status 0x00 [ 9933.745458] hci0 opcode 0x0c58 // HCI_OP_READ_INQ_RSP_TX_POWER [ 9933.745476] hci0: result 0x00 [ 9933.745555] hci0: end: err 0 [ 9933.745589] hci0: Opcode 0x1004 [ 9933.745606] hci0: opcode 0x1004 plen 1 [ 9933.745629] hci0: skb len 4 [ 9933.745645] hci0: length 1 [ 9933.745712] hci0 cmd_cnt 1 cmd queued 1 [ 9933.745746] hci0 type 1 len 4 [ 9933.745767] hci0: type 1 len 4 [ 9933.745785] hu 000000007c8511b3 skb 000000006446962e
[ 9933.750336] hci0 [ 9933.750372] hci0 Event packet [ 9933.750394] hci0: event 0x0e [ 9933.750413] hci0: opcode 0x1004 [ 9933.750431] hci0: status 0x00 [ 9933.750451] opcode 0x1004 status 0x00 [ 9933.750469] hci0 opcode 0x1004 // HCI_OP_READ_LOCAL_EXT_FEATURES [ 9933.750486] hci0: result 0x00 [ 9933.750560] hci0: end: err 0 [ 9933.750593] hci0: [ 9933.750608] hci0: Opcode 0x c01 [ 9933.750624] hci0: opcode 0x0c01 plen 8 [ 9933.750649] hci0: skb len 11 [ 9933.750665] hci0: length 1 [ 9933.750713] hci0 cmd_cnt 1 cmd queued 1 [ 9933.750745] hci0 type 1 len 11 [ 9933.750764] hci0: type 1 len 11 [ 9933.750782] hu 000000007c8511b3 skb 00000000a935c091
[ 9933.755317] hci0 [ 9933.755353] hci0 Event packet [ 9933.755373] hci0: event 0x0e [ 9933.755392] hci0: opcode 0x0c01 [ 9933.755415] opcode 0x0c01 status 0x00 [ 9933.755432] hci0 opcode 0x0c01 // HCI_OP_SET_EVENT_MASK [ 9933.755449] hci0: result 0x00 [ 9933.755518] hci0: end: err 0 [ 9933.755549] hci0: Opcode 0x c0d [ 9933.755566] hci0: opcode 0x0c0d plen 7 [ 9933.755589] hci0: skb len 10 [ 9933.755605] hci0: length 1 [ 9933.755651] hci0 cmd_cnt 1 cmd queued 1 [ 9933.755683] hci0 type 1 len 10 [ 9933.755703] hci0: type 1 len 10 [ 9933.755720] hu 000000007c8511b3 skb 0000000043562e9f
[ 9933.760325] hci0 [ 9933.760362] hci0 Event packet [ 9933.760384] hci0: event 0x0e [ 9933.760404] hci0: opcode 0x0c0d [ 9933.760422] hci0: status 0x00 [ 9933.760437] hci0 opcode 0x0c0d [ 9933.760457] opcode 0x0c0d status 0x00 [ 9933.760473] hci0 opcode 0x0c0d // HCI_OP_READ_STORED_LINK_KEY [ 9933.760491] hci0: result 0x00 [ 9933.760556] hci0: end: err 0 [ 9933.760586] hci0: Opcode 0x 80f [ 9933.760603] hci0: opcode 0x080f plen 2 [ 9933.760629] hci0: skb len 5 [ 9933.760644] hci0: length 1 [ 9933.760689] hci0 cmd_cnt 1 cmd queued 1 [ 9933.760722] hci0 type 1 len 5 [ 9933.760740] hci0: type 1 len 5 [ 9933.760757] hu 000000007c8511b3 skb 0000000036e7ce80
[ 9933.765327] hci0 [ 9933.765363] hci0 Event packet [ 9933.765384] hci0: event 0x0e [ 9933.765403] hci0: opcode 0x080f [ 9933.765420] hci0: status 0x12 [ 9933.765442] opcode 0x080f status 0x12 [ 9933.765459] hci0 opcode 0x080f // HCI_OP_WRITE_DEF_LINK_POLICY [ 9933.765476] hci0: result 0x12 [ 9933.765559] hci0: end: err -22 [ 9933.765593] Bluetooth: hci0: Opcode 0x 80f failed: -22 [ 9933.770882] hdev 00000000b3940bb7 tty 0000000067bcc457 [ 9933.770923] hu 000000007c8511b3 [ 9933.770950] hdev hci0 event 8 [ 9933.770967] hdev 00000000b3940bb7 [ 9933.770981] hdev 00000000b3940bb7 tty 0000000067bcc457 [ 9933.770999] hu 000000007c8511b3 [ 9933.772066] sock 00000000b22dcc44 sk 0000000080383e10 [ 9933.772235] channel 2 len 10
I'll be uploading my changes soon. I'll link you to the specific commits... see if it helps
hciattach (from here bluez#orangepi):
dmesg:
rfkill:
hciconfig:
Unfortunately
hci0
still stay down. I tried set it up:dmesg: