kbd: depends check added.
Merge pull request #438 from cavalier38/kbd

kbd: depends check added.