Forums - api to query device info

5 posts / 0 new
Last post
api to query device info
jshenry1963
Join Date: 17 Nov 20
Posts: 34
Posted: Thu, 2021-10-28 12:57

I'm looking for the method to programmatically query the device information for the installed QCA9377-7.

Currently, on boot up it reports information when the USB driver is loaded, such as :

[    2.400562] usb 1-1.2.4: New USB device found, idVendor=0cf3, idProduct=9378, bcdDevice= 3.00
[    2.409177] usb 1-1.2.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.416685] usb 1-1.2.4: Product: USBWLAN 
[    2.420769] usb 1-1.2.4: Manufacturer: Qualcomm Atheros
[    2.425991] usb 1-1.2.4: SerialNumber: 12345678
 
Then the same for the Bluetooth.
Where do I find information on the API to query this in my program.
This is on linux, in a C program, using the QCA9377-7 USB version, but the API should be the same for the SDIO version, so, asking this group for some help...
 
I have asked the vendor, but there has been nothing from them for a few months, so I'm not sure ....
 
Best,
Thanks in advance,
John
 
 
  • Up0
  • Down0
ddeepakk Moderator
Join Date: 27 Jun 17
Posts: 144
Posted: Mon, 2021-12-06 11:25

Hi John,

Unike lspci and lsusb, we don't have anything for SDIO.

Could you let us know the details about your use case so that we can check further?

Thanks.

  • Up0
  • Down0
jshenry1963
Join Date: 17 Nov 20
Posts: 34
Posted: Thu, 2022-03-10 04:58

Hello ddeepakk,

So sorry for the extremely delayed response.

I am using it on linux with the QCA9377-7 USB version.

Just wanted to find a way to determine the mfg name from a query, and other stuff as shown in the log.

But am OK if there isn't, we are way past that now.

All the best

John

 

  • Up0
  • Down0
ddeepakk Moderator
Join Date: 27 Jun 17
Posts: 144
Posted: Mon, 2022-05-09 11:00

Hi John,

Then "lsusb" should serve your purpose.
The manufacturer name will be available or not,depends on the Linux lsusb tool. Generally, it shows when you do "lsusb" or "lsusb -a".

Thanks.

  • Up0
  • Down0
keerthana.amudha
Join Date: 18 Jan 23
Posts: 1
Posted: Wed, 2023-01-18 23:01

Whether the avs_config.xml file is available for dynamic module, or it is same for both static and dynamic. 

In QACT, if we are importing an avs_config.xml file in module designer, for static, the DSP calibration is active and the audio is audible while we play an audio. But for dynamic, in DSP calibration, it shows that there is no active cases and the audio is also not audible while we play an audio.

If there is any specific avs_config.xml file is available for dynamic module, let me know.

  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.