MiSTer-devel / Linux-Kernel_MiSTer

Other
14 stars 19 forks source link

bluetooth key blinking very fast #9

Open volkania77 opened 3 years ago

volkania77 commented 3 years ago

Hello I have my Bluetooth key which behaves strangely, the led flashes excessively I put the log for you for your information

MiSTer V210906 OS 210906

[bluetooth]# show 00:1A:7D:DA:71:13 Controller 00:1A:7D:DA:71:13 (public) Name: MiSTer Alias: MiSTer-0 Class: 0x00000000 Powered: yes Discoverable: no DiscoverableTimeout: 0x000000b4 Pairable: yes UUID: Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb) UUID: Generic Access Profile (00001800-0000-1000-8000-00805f9b34fb) UUID: PnP Information (00001200-0000-1000-8000-00805f9b34fb) UUID: Device Information (0000180a-0000-1000-8000-00805f9b34fb) Modalias: usb:v1D6Bp0246d053D Discovering: no Roles: central Roles: peripheral Advertising Features: ActiveInstances: 0x00 (0) SupportedInstances: 0x05 (5) SupportedIncludes: tx-power SupportedIncludes: appearance SupportedIncludes: local-name SupportedCapabilities Key: MaxAdvLen SupportedCapabilities Value: 0x1f (31) SupportedCapabilities Key: MaxScnRspLen SupportedCapabilities Value: 0x1f (31) Advertisement Monitor Features: SupportedMonitorTypes: or_patterns

Version Key : CSR 4.0

Merci

https://imgur.com/aKOFc83

sorgelig commented 3 years ago

LED blinking depends on specific BT dongle and connected devices. I don't see problem from video. If it works then leave it as is.

volkania77 commented 3 years ago

Hello sorgelig

what is strange is that on the previous version the Bluetooth had a normal behavior as on the video

https://imgur.com/N8ka64z

sorgelig commented 3 years ago

New bluetooth stack supports more features, especially BLE. Disconnect all BT devices and dongle will blink seldom not at all.

volkania77 commented 3 years ago

Hello in both cases there is no hardware connected to the key

varios009 commented 3 years ago

There is a problem with this version. Micro USB 2.0 OTG Cable cannot be recognized when connected to a Bluetooth adapter. The Bluetooth adapter must be connected to the USB HUB to be recognized. It has been tested that the Micro USB 2.0 OTG Cable is operating normally. It has been tested that the Bluetooth adapter is operating normally. The Bluetooth adapter is Broadcom chip 4.0

sorgelig commented 3 years ago

Micro USB 2.0 OTG Cable cannot be recognized when connected to a Bluetooth adapter. The Bluetooth adapter must be connected to the USB HUB to be recognized.

Your problem has no relation to original posted issue. Your problem has something to do with either USB host driver or some other changes in Kernel 5.x.. This is beyond my knowledge and i'm afraid i can't help. Using USB hub is kind of essential thing for MiSTer so should be not a problem for normal use.

sorgelig commented 3 years ago

btw, WiFi+BT dongle based on RTL8821cu chip seems works ok with direct connection (without hub). So you get not only BT but also WiFi

varios009 commented 3 years ago

btw, WiFi+BT dongle based on RTL8821cu chip seems works ok with direct connection (without hub). So you get not only BT but also WiFi

I checked the Bluetooth adapter model: BCM20702 Now we need to use usb hub to work properly

volkania77 commented 3 years ago

Hello I have just updated my Mister but the concern of super fast blinking of my bluetooth key is still present.

this is just for information

thank you for the work done;) :)