Skip to content
This repository has been archived by the owner on Apr 4, 2024. It is now read-only.

Peripheral usb devices lost names #2878

Closed
shikuk opened this issue Oct 11, 2019 · 1 comment
Closed

Peripheral usb devices lost names #2878

shikuk opened this issue Oct 11, 2019 · 1 comment
Assignees
Labels

Comments

@shikuk
Copy link

shikuk commented Oct 11, 2019

Imported as

<USBDEVICES>
  <CAPTION>Webcam C270</CAPTION>
  <MANUFACTURER>Logitech, Inc.</MANUFACTURER>
  <NAME>Webcam C270</NAME>
  <PRODUCTID>0825</PRODUCTID>
  <SERIAL>9273B5A0</SERIAL>
  <VENDORID>046D</VENDORID>
</USBDEVICES>
<USBDEVICES>

appears without names
Probably solution is
inc/formatconvert.class.php

1167c1194
<                   $a_peripherals['productname'] = $dataArray[1];
---
>                   $array_tmp['productname'] = $dataArray[1];
1170d1196
< 
@g-bougard
Copy link
Contributor

Hi @shikuk
I agree, changing $a_peripheral[] here is wrong and we should expect the change on $array_tmp[].
To be accurate, this is on formatconvert.php Line1167.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants