Questions tagged [device]
DO NOT USE. This tag is ambiguous. Questions about hardware not related to programming are off-topic.
2,982
questions
-1
votes
0
answers
4
views
Is there anyway we can add a custom device to Google Assistant? I want to use a couch but it is not listed
Device traits are customisable but not the device types. Can we add a customisable type like a couch to google voice assistant?
0
votes
0
answers
16
views
Microsoft device flow authentication
Trying to use device flow auth for my Azure application, I successfully get the user_code, and upon entering it at microsoft.com/link, my application returns the following error:
invalid_grant, and ...
0
votes
0
answers
10
views
How to view stream of device input in binary form
I have this steering wheel device (Thrustmaster Ferrari 458 Spider) that's only intended platform to be played on, is Xbox One, though I am attempting to make drivers for it on PC (windows 10), it has ...
0
votes
1
answer
24
views
How to define a global variable inside a Flutter applicaion?
I like to have a global variable like deviceHeight that I can use it inside different widgets within different files of my application, but I don't know how?
This is the deviceHeight variable that I ...
0
votes
0
answers
5
views
Need help changing UIDevice in swift playgrounds to iPhone
Hey guys I'm a fairly young developer that's starting to get more hands on with Swift. I need help trying to run the "simulator" as an iPhone (like it does in Xcode) instead of macOS/iPad ...
-1
votes
0
answers
31
views
How to get iftype(ianaiftype) of an interface in linux?
Is there any command in linux to get the iftype value of the network interface? Referring to the below link: https://www.iana.org/assignments/ianaiftype-mib/ianaiftype-mib
0
votes
0
answers
20
views
Set android app default preference values for different devices
I created an app for android which already has a default value configuration for the preferences that works for most of the devices I own (or want to support for that matter).
Now I also want to ...
0
votes
0
answers
19
views
device-detector library doesn't work in php
I'm trying to figure out what users device model so my application allow them only with thier own registered device and I found this device-detector library(https://github.com/matomo-org/device-...
0
votes
0
answers
35
views
How to get the full model name of a device on android programmatically?
I have Samsung galaxy s22 ultra (same problem has and with other samsungs), it has model name SM-S908B/DS (I see it in settings, in phone about section).
This smartphone may have other model name ...
-1
votes
0
answers
37
views
Listen to device
I'm try to listen a hardware device from react.
The device exposes its endpoints;I want wait for comunication from them.
I've try with fetch method but it seems that calling API cause a immediatly ...
0
votes
1
answer
28
views
React : Listen for device (API endpoint)
I've a device (SMSMachine) who have only one endpoint API.
My goal is to listen for all the asyncronous device comunication, who the device do automaticaly as well as the response of a API call with ...
2
votes
0
answers
7
views
Using WebUSB for a legacy USB device
I have an old SONY Minidisc player that has USB output for NetMD interfacing with a PC. I am searching for someone who can tell me how to use WebUSB on my Mac to access the files. The Mac does NOT ...
0
votes
1
answer
42
views
DFRO316 MCP3424 and STM32
I am trying to know the status of MCP3424, either it is connected or not to the master STM32 with defined address 0x68. The ADC module gets connected with the Arduino in same address but using STM32, ...
1
vote
1
answer
42
views
How can a containerized JAR (Java) access the default system mixer?
I previously took this question down, it's going back up since it's still a problem we're encountering. We have a JAR that we're resurrecting from three years ago. Back then (before I joined the ...
0
votes
1
answer
22
views
PIXEL API 30 device not support toast error messages?
I have a problem with a piece of code in my application. I am using Android Studio and as a device to view the application I use PIXEL API 30. Now the problem is that the devide PIXEL API 30 does not ...
0
votes
0
answers
10
views
Is there any way to fix the pairing of a physical device that have an Android version lower than 11?
Flutter allow pairing with only android devices of version 11+, how i could fix that so i can pair on an android with 9 version?
0
votes
0
answers
24
views
How to spoof/hide my device(mouse, speaker, monitor, etc.) from detection
I have tried to change the device name from Registry Editor, but it is still detected and the original name is displayed.
0
votes
0
answers
72
views
How can I control the brightness of the device screen from my application in Jetpack Compose?
I am making a simple app in which I want that when I press a button the brightness of the device is set to maximum and when I press it again it goes back to how it was before. but I can't find ...
0
votes
1
answer
91
views
Is it possible in flutter to get ID of an iPhone device to verify it's the same device?
I would like to verify that my App working on the same device.
Below is a description of the process:
I read the ID from device on SignUp and store it on cloud DB.
Each SignIn (email + Password) read ...
0
votes
0
answers
47
views
PCI devices rescan in C
Could anyone please tell me how to execute this command in C?
echo 1 > /sys/bus/pci/rescan
Should I open the /sys/bus/pci/rescan file and write 1 into it?
Thanks in advance
0
votes
0
answers
50
views
How to change/swap a device instance ID using devcon in windows 10
I need to manually change a device instance ID for a driver on my system, because an used driver needs to have exactly the same device instance ID as on my other systems. Some systems install the ...
0
votes
1
answer
93
views
How to get OS version/name on mobile, tablet or PC in Angular project
I am using Angular 9 in my project and I need to get device information such as OS name and version ...etc
Now I am using ngx-device-detector but not working in android version like 8 and below or 10 ...
0
votes
0
answers
42
views
please help me! detect event whenther phone device connected to computer via usb port + C#
private const int DBT_DEVICEARRIVAL = 0x8000;
private const int DBT_DEVICEREMOVECOMPLETE = 0x8004;
private const int DBT_DEVTYP_VOLUME = 0x00000002;
protected override void WndProc(ref ...
0
votes
0
answers
49
views
Why is this powershell script not working?
I am trying to write a power shell script that will automatically disable particular sound devices. When I ran it for debugging everything look fine. It had asked me if I was sure I wanted to disable ...
0
votes
1
answer
47
views
Where can I use HackRF One for some good purposes?
Where can I use HackRF One for good purposes?
please tell me some good purposes of using HackRF One Radio Frequency Device
-1
votes
1
answer
74
views
Is there a way to programmatically detect type, manufacturer, name and/or description of i2c device on raspberry pi
I have a raspberry pi connected with multiple i2c devices and want to be able to programmatically work out the type, manufacturer name, device name and/or description for each device on the i2c bus.
...
2
votes
1
answer
314
views
Android Device Does not have option for : Android (Security Settings) Model : One plus 9 pro
I can not give permissions to android app, In the developer options menu, there is only USB debugging option is available.
Here are the Command line outputs,
$ pm grant com.draco.resolutionchanger ...
0
votes
0
answers
285
views
Problems with OpenWRT LTE driver adaptation
everyone.
I tried to adapt the SLM730 LTE module to openwrt.
I use the latest v21.02.3 version
I added usb-modeswitch, kmod-mii, kmod-usb-net, kmod-usb-wdm, kmod-usb-net-qmi-wwan, uqmi, kmod-usb-...
1
vote
1
answer
99
views
App Icon Only Changes After Device Reboot
I am implementing custom app icons for my iOS app, and everything works in the simulator. But when I try on device I get errrors:
+[LSApplicationProxy applicationProxyFor*] is not a supported method ...
0
votes
0
answers
33
views
Highlights lines move if I turn off Hololens 2
I have an issue
I have the Hololens 2 and I´m working with this and with Taqtile Manifest so I make a template to a work flow, I put highlight lines to show something then I save changes and turn off ...
0
votes
1
answer
135
views
Font size of option in select doesn't change when I change font size of my android device
I have this form in my react-native app and when the font-size of a device is not default, the font-size of an input text and a select option looks different.
enter image description here
How to fix ...
0
votes
0
answers
17
views
HTTP request in FIBARO Home Center 2 with virtual device
I use the FIBARO Home Center 2 and I am trying to start a boiler and a heater during the cheapest prices using an URL (API), but I don't know how to request the prices and/or timestamps from the URL.
...
0
votes
0
answers
10
views
Allocating resources with IoReportDetectedDevice
I am trying to update a 20 year old windows XP device driver to work with windows 10. There is no documentation and no one left who has ever worked on it.
The driver calls HalAssignSlotResources which ...
1
vote
2
answers
146
views
Issuecommand RESET_PASSWORD on android management api doesn't change lock code of the device et LOCK_NOW flag doesn't lock the device either
I'm trying to reset the lock code of my device through android management API but it seems that RESET_PASSWORD doesn't do anything. The endpoint is https://androidmanagement.googleapis.com/v1/...
0
votes
0
answers
44
views
How to provide device access across two systems connected to each other using Non Transparent Bridge(NTB)
This is the setup I have :
two x86 machines(M1 and M2) connected to each other using NTB(Non transparent PCIe bridge). NTB is enabled on M1.
Want to achieve :
How to give access of a pcie device ...
0
votes
0
answers
29
views
Xcode Storyboard Changing Preview
I am using Xcode 13.3 and I cannot change my devices preview like I desire. I mean there are some different types of model but the model that I desire does not seem on the list. I attached the picture ...
0
votes
0
answers
36
views
On real device: Can't find keyplane that supports type 4 for keyboard
Can't find keyplane that supports type 4 for keyboard iPhone-PortraitChoco-NumberPad; using 27059_PortraitChoco_iPhone-Simple-Pad_Default
Widget _textFieldOTP({bool? first, last}) {
return ...
0
votes
0
answers
23
views
How ThingsBoard linked/refer the device in the system?
This is not exactly a problem I am facing. This is more of a clarification/explanation I am looking for, but not getting any clear answer.
In ThingsBoard (IoT platform) when a device is registered, ...
2
votes
0
answers
62
views
How to use get_interfaces_ip() and get_conf() features in NAPALM in the same code
My purpose in this code is to detect interfaces with L3 IP under the "Virtual-ethernet" interfaces in a NE40 Huawei device. I was able to do this step.
As I mentioned below, my question is, ...
0
votes
1
answer
95
views
In vc6.0, using WinAPI to open the program to expand the monitor some problems
Below is the main code, the problems encountered, and how they were resolved
***.h
std::list<DISPLAY_DEVICE> m_vDisplayDevice_list;
std::list<DEVMODE> m_vDevmode_list;
int m_nDisplayScreen;...
0
votes
1
answer
171
views
Check Registered Number Sim is inserted or not
I am trying to validate the user has the sim card in their android phone's sim slot while using our application
Like GPay, the Phonepay app will throw an error when we removed the sim card from the ...
0
votes
0
answers
164
views
I/Process ( 4084): Sending signal. PID: 4084 SIG: 9 Lost connection to device
i'm trying to run my app in android studio by using an andorid emulator API 32.
My main.dart is :
import 'package:flutter/material.dart';
import 'package:my_firstapp/locator.dart';
import 'package:...
0
votes
2
answers
204
views
error: too few arguments to function ‘blk_get_request’
In Block Device Drivers coding, I am trying to implement Disk on file code, I am getting error:
In function ‘mydisk_request’:
/home/lab/DD/main.c:223:20: error: too few arguments to function ‘...
0
votes
0
answers
18
views
What's the best way to check if the hardware is up?
Currently, we are polling the device to check if its up or not which includes thread to poll and sleep for some time and again poll. The current method does consume a lot of CPU cycles. Is there any ...
0
votes
0
answers
67
views
Visual Studio flutter when I select my Mobile Device It show me this message. I already Installed AS But I now I switched to VS
What went wrong:
Could not open settings generic class cache for settings file 'C:\flutterproject\flu1\learningdart\android\settings.gradle' (C:\Users\SiliconPc.gradle\caches\6.7\scripts\...
0
votes
1
answer
147
views
Importing DeviceUUID in Vue Js
I am trying to get the device information from the application which is being built using Vue. We are using device-uuid.js library to capture the information
The installation is done by executing ...
-1
votes
1
answer
41
views
What should I do to make my app compatible with all the devices?
I made an app and uploaded in play store. Problem is my app's Requires Android
10 and up. what should I do to make available for all device?
I have not done anything yet.
//I have
android {
...
1
vote
0
answers
44
views
How to show a device in bus and class?
How show the same struct device in bus and class in sysfs structure? I'm getting an error when doing this. Currently I'm assigning bus and class attributes of struct device before calling ...
0
votes
0
answers
8
views
Prompting user when viewing a website on an ipad to turn orientation to landscpape
I am wondering what I need to do when a user is viewing a website on an iPad / tablet device that they are prompted to rotate the iPad to landscape if it is in portrait mode.
I have done some research ...
0
votes
0
answers
237
views
Problem with getUserMedia in EDGE version 99
I have a problem.
I need to capture the user's image, however in EDGE the image capture does not work.
Below is an example that works very well in Google Chrome
This (https://davidwalsh.name/browser-...