adb devices show phone in debug mod but not in fastboot mod
Have you checked that the idProduct value is correct? run lsusb when the device is connected in fastboot mode to see the vendor id and product id and check if it matches.

Also, I think it's not supposed to show up on adb devices when in fastboot mode, try fastboot devices instead.