11

I'm trying to fix a problem with my webcam in Wheezy, and I need some information about the drive with the command udevinfo. The problem is: where is this executable?

if I run sudo udevinfo the result is:

udevinfo: command not found

Any suggestion?

4 Answers 4

17

Debian web infrastructure supports searching packages by their contents.

The same result can be achieved using the apt-file tool.

Update: I was too confident you just don't know how to find a relevant package. In fact, this tool really was replaced by udevadm info as this post explains.

3
  • 1
    I'm reading all... :)
    – Kyrol
    May 21, 2012 at 9:18
  • Lnk is down (apt-file) :-( Aug 10, 2018 at 18:55
  • 1
    @philippe-gachoud, here we go.
    – kostix
    Aug 12, 2018 at 9:53
5

udevadm info is the new command. that replaces udevinfo

The arguments are same as udevinfo.

2
udevadm info -a

Does what udevinfo -a -p used to do

1

The answer above is incomplete: if you're like me, you're here because you have found yourself using some script (perhaps a "configure" script) that parses the output of udevinfo to ensure that udev is recent enough. In that case, the arguments to "udevadm info" and "udevinfo" might be the same, but the output isn't. For me, it was enough to replace the original line:

udev_ver=`udevinfo -V | awk '{ print $3 }'`

with

udev_ver=udevadm info -V | awk '{ print $1 }'

The script with this modification ran without errors, and I was able to get on with the rest of my life :).

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .