im-tomu / foboot

Bootloader for Fomu
Apache License 2.0
100 stars 34 forks source link

USB device string should include device type #21

Closed mithro closed 5 years ago

mithro commented 5 years ago

Currently it says;

[167052.064423] usb 1-2: New USB device found, idVendor=1209, idProduct=5bf0, bcdDevice= 1.01
[167052.064426] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[167052.064427] usb 1-2: Product: Fomu DFU Bootloader v1.8.7
[167052.064428] usb 1-2: Manufacturer: Foosn

It would be good if it said something like

[167052.064423] usb 1-2: New USB device found, idVendor=1209, idProduct=5bf0, bcdDevice= 1.01
[167052.064426] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[167052.064427] usb 1-2: Product: Fomu Hacker running DFU Bootloader v1.8.7
[167052.064428] usb 1-2: Manufacturer: Foosn
[167052.064423] usb 1-2: New USB device found, idVendor=1209, idProduct=5bf0, bcdDevice= 1.01
[167052.064426] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[167052.064427] usb 1-2: Product: Fomu PVT running DFU Bootloader v1.8.7
[167052.064428] usb 1-2: Manufacturer: Foosn
xobs commented 5 years ago

We now include the device type in the Product ID