-
Notifications
You must be signed in to change notification settings - Fork 227
Open
Description
handling of values of 'product' and 'manufacturer' is commented on linux, see
go-serial/enumerator/usb_linux.go
Lines 75 to 94 in e381f2c
| 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?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels