Go to advanced search

by KG2V
Mon May 17, 2021 1:33 pm
Forum: Other programming languages
Topic: USB Detection, .net core
Replies: 12
Views: 1583

Re: USB Detection, .net core

Considering it is a .NET application I assume it is a pre-requisite to install Mono, Nope, no Mono - the whole thing is accessed via a web page. The final app is a ASP/Blazor app UI wise, the USB stuff will be in a .net standard sensor library BTW, I see the devices in /dev/serial/by-id I'm wonderi...
by KG2V
Mon May 17, 2021 11:58 am
Forum: Other programming languages
Topic: USB Detection, .net core
Replies: 12
Views: 1583

Re: USB Detection, .net core

Not yet. Opening a port might be interesting without it - but that is on my list - Friday was nuts, and today promises not to be much better (Family medical stuff)
by KG2V
Fri May 14, 2021 6:11 pm
Forum: Other programming languages
Topic: USB Detection, .net core
Replies: 12
Views: 1583

Re: USB Detection, .net core

Here is the issue - we sell sensors - right now, all I2C, but we do sell a I2C USB carrier board Our GOAL is that J Random User, who is using the product as an appliance, buys a new sensor from us, plugs it in, we want to auto detect that it is there (sort of like windows), and automatically come up...
by KG2V
Fri May 14, 2021 3:41 pm
Forum: Other programming languages
Topic: USB Detection, .net core
Replies: 12
Views: 1583

Re: USB Detection, .net core

Thanks, I'll spend a bunch of time looking. In the System.io.ports, when I enumerate the ports, we can see it, but there doesn't seem to be a way to get the vendor:product from the port object - it just sees them as "com ports" Sigh Is there a particular library you know of that does any o...
by KG2V
Fri May 14, 2021 1:19 pm
Forum: Other programming languages
Topic: USB Detection, .net core
Replies: 12
Views: 1583

Re: USB Detection, .net core

I said "Com" as a shorthand, but how do I know if
/dev/ttyUSB0
or
/dev/ttyUSB2
or
/dev/ttyUSB3 is my device?
by KG2V
Thu May 13, 2021 5:10 pm
Forum: Other programming languages
Topic: USB Detection, .net core
Replies: 12
Views: 1583

Re: USB Detection, .net core

Here is the question however Looking at the example here https://www.kernel.org/doc/Documentation/usb/proc_usb_info.txt I'll have something similar to: (only with FTDI as the vendor, with our product ID) T: Bus=00 Lev=02 Prnt=02 Port=02 Cnt=02 Dev#= 4 Spd=12 MxCh= 0 D: Ver= 1.00 Cls=00(>ifc ) Sub=00...
by KG2V
Thu May 13, 2021 3:31 pm
Forum: Other programming languages
Topic: USB Detection, .net core
Replies: 12
Views: 1583

USB Detection, .net core

I'm writing a project in .NET Core, and now have the need to detect our devices (I have the vendorID:DeviceID) on the USB bus, and also detect device insert/removal

If I KNOW the device is there, opening it as a Serial Port is easy, but the detection is the tough part. Anyone have ideas?
by KG2V
Tue Jan 26, 2021 7:23 pm
Forum: Other programming languages
Topic: .Net Core 3.x, Display Brightness
Replies: 2
Views: 590

Re: .Net Core 3.x, Display Brightness

Trying to change the file, (using nano as sudo) and you can't write to the file. Joy
by KG2V
Fri Jan 08, 2021 4:45 pm
Forum: Other programming languages
Topic: .Net Core 3.x, Display Brightness
Replies: 2
Views: 590

.Net Core 3.x, Display Brightness

Hi folks, I'm looking to adjust the display brightness (official display, current rev) on Raspian, using .NET core 3.x Anyone have any clue how to do this? I've seen various other languages, and there doesn't seem to be a .NET core/Raspian group here (just win10IoT (not going there ever again) Thank...

Go to advanced search