[PATCH] grub-install: Add backup and restore

2020-08-25 Thread Dimitri John Ledkov
Refactor clean_grub_dir to create a backup of all the files, instead of just irrevocably removing them as the first action. If available, register on_exit handle to restore the backup if any errors occur, or remove the backup if everything was successful. If on_exit is not available, the backup rem

Re: Usb device detection in grub

2020-08-25 Thread Vladimir 'phcoder' Serbinenko
You need to insmod the usb controller driver вт, 25 авг. 2020 г., 18:06 Arindam Khan : > Hi, > >I am working on a custom STM32 board and have configured the board's > USB OTG as a serial modem device. In Linux, it is getting detected as a > "/dev/ttyACM" and all read and write is working fine

Usb device detection in grub

2020-08-25 Thread Arindam Khan
Hi, I am working on a custom STM32 board and have configured the board's USB OTG as a serial modem device. In Linux, it is getting detected as a "/dev/ttyACM" and all read and write is working fine. However, when I load the "usbtest" module of grub and run it with the "usb" command, it does not