Windows 10 Bluetooth is off and devices show as not connected [closed] - audio

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
Something strange has happened to my Lenovo IdeaPad 310 with Windows 10 latest updates.
My Bluetooth headset was working fine.
But now the toggle to switch Bluetooth on/off has gone missing.
Settings > Bluetooth and other devices
Bluetooth on/off toggle is missing
Settings > Bluetooth and other devices > Senheiser MB Pro 2
Bluetooth is turned off
My headset is listed as a Bluetooth device but the buttons "Connect" and "Remove device" are both disabled.
Device Manager > View > Show hidden devices
The Bluetooth section contains four entries :
Bluetooth Device (RFCOMM Protocol TDI)
Microsoft Bluetooth Enumerator
Microsoft Bluetooth LE Enumerator
Qualcomm Atheros QCA9377 Bluetooth 4.1
All have a faded blue Bluetooth icon.
Right-click on any of them has the same message :
Currently this hardware device is not connected to the computer (
Cede 45 ). To fix this problem, reconnect the hardware device to the
computer.
Right-click any of them and select "Update driver" :
The best drivers for your device are already installed.
Windows has determined that the best driver for this device is already
installed. There may be better drivers on Windows Update or on the
device manufacturer's website.
Troubleshoot > Bluetooth > Run the troubleshooter
Device does not have Bluetooth
Bluetooth is not available on this device. Please try using an
external adapter to add Bluetooth capability to this computer.
I restarted my PC but doesn't seem to have any effect.
I checked for Windows Updates but it does not find any new updates.
I used the Lenovo Service Bridge utility to scan my system and check for any updated drivers but it says I'm up-to-date. I went ahead and downloaded the Bluetooth driver package 75l804af086x.exe and did a manual install and then power-off / power-on but nothing has changed - I'm still on Qualcomm Atheros QCA9377 Bluetooth 4.1

Sometimes with windows updates, few things get broken mostly happen with my wireless driver. You can try reinstalling bluetooth drivers or you can remove the one installed and check in windows updates if there is any updates for bluetooth.
After this shutdown your system(important not restart, shutdown). On reboot your bluetooth will be working fine.(works for my wireless driver). Give it a try

This solution fixed the issue on my Dell which has the same Bluetooth chip.
https://www.dell.com/community/XPS-Desktops/XPS-8930-Qualcomm-QCA9377-Bluetooth-failures/m-p/7402161#M28463
I shutdown the XPS 8930, unplugged the power cord for a few minutes, then powered it back on. I then went to Device Manager and uninstalled the Unknown USB Device (Device Descriptor Request Failed). When I then did a Scan for Hardware Changes, the Bluetooth appeared in Device Manager. This resolved the issue.

Related

Android devices connected to USB on Ubuntu will not load [closed]

Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Closed 3 years ago.
Improve this question
I am using Ubuntu 18.04, and
I am trying to create Android apply using Android-studio.
For that purpose, we are going to connect the Android machine to the PC and debug it.
I connected the Android machine to the PC using USB, but the Android machine was not loaded.
At first it thought that it was caused by not adding a rule to udev.
Fortunately, since my Android machine was HTC, we added a rule toudev with reference to the official documentation.
However, it was still not loaded.
I checked lsusb, but the Android machine information such as the vendor ID was not loaded.
The following is the execution result of lsusb.
$ lsusb
Bus 001 Device 002: ID 8087:8000 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 003: ID 0bda:b002 Realtek Semiconductor Corp.
Bus 002 Device 002: ID 056e:00e3 Elecom Co., Ltd
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
From the developer mode on Android real machine, USB debugging is enabled, USB configuration is MTP.
I think that the cable is the cause of such a problem.
However, trying with multiple USB cables did not solve the problem.
Therefore, I think that there is a cause in Ubuntu's system.
I would like to inform you that you can identify the cause of this problem in more detail and need to investigate further.
Solution
This problem is solved.
The reason was that I was using USB-C cable.
I used a cable for charging.
I could connect successfully when I bought a new cable.
Below is the URL in amazon.
https://www.amazon.co.jp/dp/B0791FBQ83/ref=cm_sw_r_tw_dp_U_x_X5IHCb2V1KVZB
Thank you for answering.
Please check your ADB driver if you not install, first install it.
https://www.howtogeek.com/125769/how-to-install-and-use-abd-the-android-debug-bridge-utility/
And if that does not work, you can try running:
sudo apt-get update
sudo apt-get install dconf-editor
make sure you're using root and run this commands on your terminal
adb kill-server
adb start-server
check if daemon was successfully then write this:
adb devices
It should show list of device attached to your system.

Pairing BLE device in windows 8.1 with non-Microsoft stack dongle

Here is my problem, I want to develop a .NET application to communicate with a BLE CSR dongle (i.e. uses non-MS stack driver). In windows 8.1, you have to pair the BLE device in the computer's bluetooth settings before the application can use it. It's straight forward, you goto pc settings bluetooth and search for devices. From what I can tell, if you have a dongle that cannot support the ms stack, this bluetooth option disappears in pc settings, and you cannot pair your device using the standard way. I tested this on a machine with both a MS-stack capable dongle and a CSR (non-MS-stack) dongle. If I disabled the MS-stack dongle (in device manager), and noticed the option for bluetooth under pc settings->devices disappears immediately. Once re-enabled, it returns.
So my question is how does one pair a device using a non-ms stack dongle to have the same effect as done under pc settings when using an dongle with the MS-stack?
Many thanks

Firmware and drivers in Linux [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
As per my understanding, the firmware is what controls the hardware, and drivers interacts with the firmware to control the hardware. Is that correct?
In Linux, what are the APIs or functions which interact with the firmware? Is the firmware code independent of any OS (e.g. Linux or Windows)?
Firmware is the software that runs on the device. A driver is the software that tells your operating system how to communicate with the device. All the devices having firmware are generally programed in to the device (either with a ROM chip, or a programmable ROM chip), but there are some devices where the firmware is loaded into the device at initialization time.
Every device does not have the frimware.
More technically "Firmware is software that is uploaded to a microprocessor or programmable logic on the hardware device itself. Examples of hardware that use firmware are HP printers that receive their code from the USB port at power up, wireless network interfaces that upload firmware at start up, routers that can update themselves from the internet, etc... In general, the ability to upload firmware to a device is a plus. it allows for product improvements to be added after the initial sale. These include fixing bugs in the product, responding to security issues, or responding to changes in the regulatory environment; Examples: FCC opening or restricting allowable bandwidths, power consumption, safety."
In General: A driver is a kernel module that talks to hardware; firmware is software that runs on the hardware that talks to the driver.
This depends on the way of connection between device and PC. For PCI boards there is set of Linux kernel mode API. Another set of kernel mode API is used to communicate with device connected through USB port. For Ethernet and WiFi connection you can use sockets API, communication is done completely in user mode. Devices, connected through serial port are also handled with user-mode API - they are treated as files in the Linux OS.
Generally, device firmware does not depend on the host system OS. It depends, however, on the OS (if any) running on the device itself. Firmware code may be written in plain C without any OS, or running under real-time OS. Modern devices may contain full-featured OS like embedded Linux or Windows. In this case, the whole OS with the programs specific to this device, are considered device firmware. For example, Android OS for specific mobile device.

Virtualbox: "USB device in use by someone else" error, how to make (mac) host let go? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I'm trying to set up a USB Fax Modem in Ubuntu through Virtual Box but I'm not sure how to do so.
Host OS = Mac OS X
Virtual Box Guest OS = Ubuntu 12.04
56k USB Fax/Modem = Lenovo 43R1786 (43R1815) by Conexant
On the host os, I can see /dev/tty.usbmodem24680241. I enabled USB Controller, and found my modem as "Conexant USB Modem", so I enabled that. Now, when I run the guest OS, and from the Virtual Box menu for that OS, I go to Devices > USB Devices > Conexant USB Modem, it says:
Failed to attach the USB device Conexant USB modem to the virtual machine Ubuntu32. USB device is in use by someone else. Looks like it means that the host (mac) grabbed the device first. How can I get it to let go so the guest can use it? Am I setting it up the right way?
Thanks!
I figured it out. You are supposed to:
Plug in the device, let the host grab it
In the host, go to virtual box, and edit the configuration for the guest to use usb, and add a filter to include the plugged in device
Note, you may need to install the Extension pack to enable USB 2.0
Unplug the device
Start the guest os
When the guest os is running, plug in the device.
Virtual box will grab the usb device and make it available for the guest. The guest will then go on and try to identify and configure the device.
Done.
Notes:
Done have a running or saved instance of the guest(virtual machine) running while changing the settings.

How to open localhost when connecting USB to a linux emb device [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I'm currently programming an arm embedded device. Currently I have installed thttpd and I have a web server running on the device. We have checked, using an ethernet connection, and everything runs fine. This web page controls systems running some sh script that execs c++ programs that communicates over pmpp with the final systems.
This device has an usb port that we plan to use to connect android / ios / bb devices(mobile phone or tablet) and open the same web page, for example, through 192.168.0.222.
Suppose I'm a worker and I have my company smartphone, I want to modify some values of the product so I just plug the usb, I access using safari/chrome or whatever navigator I decided to use, change the values and go home to spend the rest of the afternoon with my family.
What we do not want to do it's to develop an application to retrieve the web page from the device to draw them if we have previously created it.
You have several fundamental architectural problems to solve here if you I understand the question correctly - which is that you want an ethernet connection over a direct USB connection with a mobile device, so that the mobile device can consume a web-service on your embedded system.
1) USB roles: One of the devices needs to have a USB Host Controller, and act as the host. As it happens mobile phones support USB-OTG on their USB ports - and you'll be wanting to get them into host mode (appropriate cable for phones with micro-USB connectors, USB Camera Connection Kit for an iOS device).
2) USB device role: Your embedded device will need to implement an appropriate end-point for the host to communicate. One option is the CDC Ethernet from the Linux Gadget Framework. Provided your device has a functional USB Device stack and supports the gadget framework, this ought to be a case to changing your kernel config and recompiling. Alternatively, you write a driver that spoofs an existing USB Ethernet dongle's API.
3) USB Host drivers: You will need a corresponding USB driver on host. This is where it all starts to fall apart. None of the phones are likely to ship with these. On Android, you could in theory root the phone and then side-load additional drivers. On iOS, the you need to join the Made For iPnone programme to even start to consider this. Even the cost of getting on the scheme is covered by NDA, and it's only intended for volume OEMs. I presume Blackberries are well locked down too.
Alternatively, an approach that is far more likely to work is to connect a USB Ethernet (cost: about $15) or Wifi dongle (Ethernet is far, far easier) to the USB Host port of your embedded device and bring that interface up on your office network.
In terms of implementing the embedded side of this, any webserver capable of CGI is a quick and dirty way of doing the job.

Resources