Closed Bug 1595751 Opened 6 years ago Closed 5 years ago

Implement device manufacturer / name in Python bindings

Categories

(Data Platform and Tools :: Glean: SDK, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mdroettboom, Assigned: mdroettboom)

Details

(Whiteboard: [telemetry:glean-rs:m13][glean-py])

This exists on Desktop hardware, but I haven't been able to easily find a cross-platform wrapper to get this information from Python, so we'll probably need to build one.

On Linux, at least, one can do:

$ cat /sys/class/dmi/id/sys_vendor
Dell Inc.
$cat /sys/class/dmi/id/product_name 
XPS 15 9560

Since it obviously exists in the hardware BIOS somewhere, I assume this is possible on the other major desktop platforms, too.

Whiteboard: [telemetry:glean-rs:m?] → [telemetry:glean-rs:m13]
Whiteboard: [telemetry:glean-rs:m13] → [telemetry:glean-rs:m13][glean-py]
Assignee: nobody → mdroettboom
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.