Skip to content

enumerator: fill in 'product' and 'manufacturer' on linux #156

@bearsh

Description

@bearsh

handling of values of 'product' and 'manufacturer' is commented on linux, see

serial, err := readLine(filepath.Join(usbDevicePath, "serial"))
if err != nil {
return err
}
//manufacturer, err := readLine(filepath.Join(usbDevicePath, "manufacturer"))
//if err != nil {
// return err
//}
//product, err := readLine(filepath.Join(usbDevicePath, "product"))
//if err != nil {
// return err
//}
details.IsUSB = true
details.VID = vid
details.PID = pid
details.SerialNumber = serial
//details.Manufacturer = manufacturer
//details.Product = product
return nil

is there a specific reason for this? can this be enabled?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions