Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

USB-DONGLE BTH does not show up on Host (AEGHB-918) #448

Open
3 tasks done
MR-VENOM opened this issue Dec 16, 2024 · 0 comments
Open
3 tasks done

USB-DONGLE BTH does not show up on Host (AEGHB-918) #448

MR-VENOM opened this issue Dec 16, 2024 · 0 comments

Comments

@MR-VENOM
Copy link

MR-VENOM commented Dec 16, 2024

Answers checklist.

  • I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
  • I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
  • I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report

I am testing the USB DONGLE BTH example and the program is uploaded sucessfully but i am not able to list the the dongle with hciconfig. Other ble dongle works fine

This is the log from sudo dmesg | grep -i usb

[ 4946.334846] usb 1-6: USB disconnect, device number 13
[ 4950.684320] usb 1-6: new full-speed USB device number 14 using xhci_hcd
[ 4951.513340] usb 1-6: New USB device found, idVendor=303a, idProduct=4001, bcdDevice= 1.00
[ 4951.513351] usb 1-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 4951.513354] usb 1-6: Product: Espressif Device
[ 4951.513358] usb 1-6: Manufacturer: Espressif Systems
[ 4951.513361] usb 1-6: SerialNumber: 123456
[ 4951.534267] usb 1-6: can't set config #1, error -32
[ 4971.742581] usb 1-6: USB disconnect, device number 14
[ 4976.552863] usb 1-6: new full-speed USB device number 15 using xhci_hcd
[ 4976.883479] usb 1-6: New USB device found, idVendor=303a, idProduct=1001, bcdDevice= 1.01
[ 4976.883491] usb 1-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 4976.883495] usb 1-6: Product: USB JTAG/serial debug unit
[ 4976.883499] usb 1-6: Manufacturer: Espressif
[ 4976.883502] usb 1-6: SerialNumber: 70:04:1D:A4:6C:90
[ 4976.898939] usb 1-6: can't set config #1, error -71
[ 4976.899089] usb 1-6: USB disconnect, device number 15
[ 4977.168543] usb 1-6: new full-speed USB device number 16 using xhci_hcd
[ 4977.498650] usb 1-6: New USB device found, idVendor=303a, idProduct=1001, bcdDevice= 1.01
[ 4977.498661] usb 1-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 4977.498665] usb 1-6: Product: USB JTAG/serial debug unit
[ 4977.498668] usb 1-6: Manufacturer: Espressif
[ 4977.498671] usb 1-6: SerialNumber: 70:04:1D:A4:6C:90
[ 4977.518310] cdc_acm 1-6:1.0: ttyACM0: USB ACM device
[ 5512.143154] usb 1-6: USB disconnect, device number 16
[ 5514.070173] usb 1-6: new full-speed USB device number 17 using xhci_hcd
[ 5514.401773] usb 1-6: New USB device found, idVendor=303a, idProduct=1001, bcdDevice= 1.01
[ 5514.401785] usb 1-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 5514.401790] usb 1-6: Product: USB JTAG/serial debug unit
[ 5514.401794] usb 1-6: Manufacturer: Espressif
[ 5514.401797] usb 1-6: SerialNumber: 70:04:1D:A4:6C:90
[ 5514.420933] cdc_acm 1-6:1.0: ttyACM0: USB ACM device
[ 5580.435159] usb 1-6: USB disconnect, device number 17
[ 5826.938020] usb 1-8: new full-speed USB device number 18 using xhci_hcd
[ 5827.282906] usb 1-8: New USB device found, idVendor=303a, idProduct=4001, bcdDevice= 1.00
[ 5827.282917] usb 1-8: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 5827.282922] usb 1-8: Product: Espressif Device
[ 5827.282926] usb 1-8: Manufacturer: Espressif Systems
[ 5827.282929] usb 1-8: SerialNumber: 123456
[ 5827.305107] usb 1-8: can't set config #1, error -32
[ 5831.586020] usb 1-8: USB disconnect, device number 18
[ 5834.933518] usb 1-8: new full-speed USB device number 19 using xhci_hcd
[ 5835.272099] usb 1-8: New USB device found, idVendor=303a, idProduct=4001, bcdDevice= 1.00
[ 5835.272111] usb 1-8: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 5835.272115] usb 1-8: Product: Espressif Device
[ 5835.272119] usb 1-8: Manufacturer: Espressif Systems
[ 5835.272122] usb 1-8: SerialNumber: 123456
[ 5835.291927] usb 1-8: can't set config #1, error -32
[ 5850.982614] usb 1-8: USB disconnect, device number 19
[ 5853.229823] usb 1-8: new full-speed USB device number 20 using xhci_hcd
[ 5853.560282] usb 1-8: New USB device found, idVendor=303a, idProduct=1001, bcdDevice= 1.01
[ 5853.560295] usb 1-8: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 5853.560299] usb 1-8: Product: USB JTAG/serial debug unit
[ 5853.560303] usb 1-8: Manufacturer: Espressif
[ 5853.560306] usb 1-8: SerialNumber: 24:58:7C:5C:E2:7C
[ 5853.578070] cdc_acm 1-8:1.0: ttyACM0: USB ACM device
[ 5884.299314] usb 1-8: USB disconnect, device number 20
[ 5888.534642] usb 1-8: new full-speed USB device number 21 using xhci_hcd
[ 5889.360745] usb 1-8: New USB device found, idVendor=303a, idProduct=4001, bcdDevice= 1.00
[ 5889.360758] usb 1-8: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 5889.360763] usb 1-8: Product: Espressif Device
[ 5889.360767] usb 1-8: Manufacturer: Espressif Systems
[ 5889.360770] usb 1-8: SerialNumber: 123456
[ 5889.380584] usb 1-8: can't set config #1, error -32
[ 5973.558520] usb 1-8: USB disconnect, device number 21
[ 5975.770972] usb 1-8: new full-speed USB device number 22 using xhci_hcd
[ 5976.109539] usb 1-8: New USB device found, idVendor=303a, idProduct=1001, bcdDevice= 1.01
[ 5976.109546] usb 1-8: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 5976.109548] usb 1-8: Product: USB JTAG/serial debug unit
[ 5976.109550] usb 1-8: Manufacturer: Espressif
[ 5976.109551] usb 1-8: SerialNumber: 24:58:7C:5C:E2:7C
[ 5976.125345] cdc_acm 1-8:1.0: ttyACM0: USB ACM device
[ 6025.466385] usb 1-8: USB disconnect, device number 22
[ 6028.759542] usb 1-8: new full-speed USB device number 23 using xhci_hcd
[ 6029.103086] usb 1-8: New USB device found, idVendor=303a, idProduct=4001, bcdDevice= 1.00
[ 6029.103099] usb 1-8: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 6029.103104] usb 1-8: Product: Espressif Device
[ 6029.103107] usb 1-8: Manufacturer: Espressif Systems
[ 6029.103111] usb 1-8: SerialNumber: 123456
[ 6029.122964] usb 1-8: can't set config #1, error -32
[ 6515.008944] usb 1-7: new full-speed USB device number 24 using xhci_hcd
[ 6515.339072] usb 1-7: New USB device found, idVendor=0a5c, idProduct=22be, bcdDevice= 1.12
[ 6515.339084] usb 1-7: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 6515.339089] usb 1-7: Product: BCM20702A0
[ 6515.339092] usb 1-7: Manufacturer: Broadcom Corp
[ 6515.339096] usb 1-7: SerialNumber: 000000000000
[ 6537.600974] usb 1-7: USB disconnect, device number 24
[ 6623.301054] usb 1-8: USB disconnect, device number 23
[ 6625.730038] usb 1-7: new full-speed USB device number 25 using xhci_hcd
[ 6626.557708] usb 1-7: New USB device found, idVendor=303a, idProduct=4001, bcdDevice= 1.00
[ 6626.557720] usb 1-7: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 6626.557725] usb 1-7: Product: Espressif Device
[ 6626.557729] usb 1-7: Manufacturer: Espressif Systems
[ 6626.557732] usb 1-7: SerialNumber: 123456
[ 6626.579094] usb 1-7: can't set config #1, error -32
[ 6739.527836] usb 1-7: USB disconnect, device number 25
[ 6750.943320] usb 1-7: new full-speed USB device number 26 using xhci_hcd
[ 6751.768987] usb 1-7: New USB device found, idVendor=303a, idProduct=4001, bcdDevice= 1.00
[ 6751.768999] usb 1-7: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 6751.769004] usb 1-7: Product: Espressif Device
[ 6751.769007] usb 1-7: Manufacturer: Espressif Systems
[ 6751.769011] usb 1-7: SerialNumber: 123456
[ 6751.788817] usb 1-7: can't set config #1, error -32

ESP_LOG


I (20) boot: ESP-IDF v5.4-beta1-483-gdaf465c038 2nd stage bootloader
I (20) boot: compile time Dec 16 2024 13:47:48
W (21) boot: Unicore bootloader
I (22) boot: chip revision: v0.1
I (25) boot: efuse block revision: v1.2
I (28) boot.esp32s3: Boot SPI Speed : 80MHz
I (32) boot.esp32s3: SPI Mode       : DIO
I (36) boot.esp32s3: SPI Flash Size : 4MB
I (40) boot: Enabling RNG early entropy source...
I (44) boot: Partition Table:
I (47) boot: ## Label            Usage          Type ST Offset   Length
I (53) boot:  0 nvs              WiFi data        01 02 00009000 00004000
I (60) boot:  1 otadata          OTA data         01 00 0000d000 00002000
I (66) boot:  2 phy_init         RF data          01 01 0000f000 00001000
I (73) boot:  3 factory          factory app      00 00 00010000 00100000
I (79) boot:  4 ota_0            OTA app          00 10 00110000 00100000
I (86) boot:  5 ota_1            OTA app          00 11 00210000 00100000
I (92) boot: End of partition table
I (95) boot: Defaulting to factory image
I (99) esp_image: segment 0: paddr=00010020 vaddr=3c040020 size=10194h ( 65940) map
I (118) esp_image: segment 1: paddr=000201bc vaddr=3fc97900 size=03708h ( 14088) load
I (122) esp_image: segment 2: paddr=000238cc vaddr=40374000 size=0c74ch ( 51020) load
I (138) esp_image: segment 3: paddr=00030020 vaddr=42000020 size=3f1e0h (258528) map
I (184) esp_image: segment 4: paddr=0006f208 vaddr=4038074c size=0710ch ( 28940) load
I (191) esp_image: segment 5: paddr=0007631c vaddr=600fe100 size=0001ch (    28) load
I (198) boot: Loaded app from partition at offset 0x10000
I (198) boot: Disabling RNG early entropy source...
I (209) cpu_start: Unicore app
I (209) cpu_start: Single core mode
I (219) cpu_start: Pro cpu start user code
I (219) cpu_start: cpu freq: 240000000 Hz
I (219) app_init: Application information:
I (219) app_init: Project name:     usb_dongle
I (223) app_init: App version:      f5ca5b55
I (227) app_init: Compile time:     Dec 16 2024 13:47:40
I (232) app_init: ELF file SHA256:  b3300f197...
I (236) app_init: ESP-IDF:          v5.4-beta1-483-gdaf465c038
I (242) efuse_init: Min chip rev:     v0.0
I (246) efuse_init: Max chip rev:     v0.99 
I (250) efuse_init: Chip rev:         v0.1
I (254) heap_init: Initializing. RAM available for dynamic allocation:
I (260) heap_init: At 3FC9D370 len 0004C3A0 (304 KiB): RAM
I (265) heap_init: At 3FCE9710 len 00005724 (21 KiB): RAM
I (270) heap_init: At 3FCF0000 len 00008000 (32 KiB): DRAM
I (275) heap_init: At 600FE11C len 00001ECC (7 KiB): RTCRAM
I (281) spi_flash: detected chip: generic
I (284) spi_flash: flash io: dio
W (287) spi_flash: Detected size(8192k) larger than the size in the binary image header(4096k). Using the size in the binary image header.
I (300) sleep_gpio: Configure to isolate all GPIO pins in sleep state
I (306) sleep_gpio: Enable automatic switching of GPIO sleep configuration
I (312) coexist: coex firmware version: 49a8cdc
I (331) coexist: coexist rom version e7ae62f
I (331) main_task: Started on CPU0
I (331) main_task: Calling app_main()
I (477) USB_Dongle: USB initialization
W (477) tusb_desc: No Device descriptor provided, using default.
W (477) tusb_desc: No FullSpeed configuration descriptor provided, using default.
W (482) tusb_desc: No String descriptors provided, using default.
I (488) tusb_desc: 
┌─────────────���───────────────────┐
│  USB Device Descriptor Summary  │
├───────────────────┬─────────────┤
│bDeviceClass       │ 239         │
├───────────────────┼��──────────���─┤
│bDeviceSubClass    │ 2           │
├──��──────────���─────┼─────────────┤
│bDeviceProtocol    │ 1           │
├────────────────��──┼─────────────┤
│bMaxPacketSize0    │ 64          │
├───────────────────┼──────────��──┤
│idVendor           │ 0x303a      │
├────────────��──────┼───���─────────┤
│idProduct          │ 0x4001      │
├─────���─────────────┼──────��──────┤
│bcdDevice          │ 0x100       │
├───────────────────┼─────────────┤
│iManufacturer      │ 0x1         │
├─���─────────────────┼──��──────────���
│iProduct           │ 0x2         │
├────��──────────���───┼─────────────┤
│iSerialNumber      │ 0x3         │
├──────────────────��┼─────────���───┤
│bNumConfigurations │ 0x1         │
└───────────────────┴─────────────┘
I (656) TinyUSB: TinyUSB Driver installed
I (659) BLE_INIT: BT controller compile version [d752dea]
I (665) BLE_INIT: Bluetooth MAC: f4:12:fa:fd:c6:8e
I (669) phy_init: phy_version 680,a6008b2,Jun  4 2024,16:41:10
W (674) phy_init: failed to load RF calibration data (0x1102), falling back to full calibration
W (717) phy_init: saving new calibration data because of checksum failure, mode(2)

Using esp-idf verion 5.2.3.

esp32s3 eye module devkit.

@github-actions github-actions bot changed the title USB-DONGLE BTH does not show up on Host USB-DONGLE BTH does not show up on Host (AEGHB-918) Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants