diff --git a/modules/hid/hid_inject.go b/modules/hid/hid_inject.go index 62ec5c63..737a5b59 100644 --- a/modules/hid/hid_inject.go +++ b/modules/hid/hid_inject.go @@ -27,7 +27,7 @@ func (mod *HIDRecon) setInjectionMode(address string) error { } func errNoDevice(addr string) error { - return fmt.Errorf("HID device %s not found, make sure that hid.recon is on and that device has been discovered", addr) + return fmt.Errorf("HID device %s not found, make sure that hid.recon is on and that this device has been discovered", addr) } func errNoType(addr string) error { diff --git a/modules/hid/hid_recon.go b/modules/hid/hid_recon.go index 8cc04f92..a40dbb4d 100644 --- a/modules/hid/hid_recon.go +++ b/modules/hid/hid_recon.go @@ -140,7 +140,7 @@ func (mod *HIDRecon) Configure() error { if mod.useLNA { if err = mod.dongle.EnableLNA(); err != nil { - return err + return fmt.Errorf("make sure your device supports LNA, otherwise set hid.lna to false and retry: %s", err) } mod.Debug("LNA enabled") }