LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   udevinfo (https://www.linuxquestions.org/questions/debian-26/udevinfo-883749/)

cccc 05-31-2011 10:54 AM

udevinfo
 
hi

Howto get udevinfo command working on squeeze, which package should be installed?

colucix 05-31-2011 11:02 AM

Package is udev but the command now has been replaced by
Code:

udevadm info [options]
that is the various commands have been unified into one command.

cccc 05-31-2011 11:03 AM

Code:

udevinfo is missing in Squeeze. So, use "udevadm info" instead
but knows someone howto find out the name of the driver using udevadm, for example:
Code:

# udevadm -a -p /dev/input/event0 | grep DRIVER
udevadm: invalid option -- 'a'


catkin 05-31-2011 11:05 AM

I think udevadm with the --info option obsoletes udevinfo

EricTRA 05-31-2011 11:08 AM

Hello,

Have a look at the udevadm man page:
Code:

man udevadm
more in particular:
Code:

udevadm info --query=ALL --path=/dev/block
for example gives you information about block devices.

Kind regards,

Eric

cccc 06-02-2011 06:53 PM

Quote:

Originally Posted by EricTRA (Post 4372061)
more in particular:
Code:

udevadm info --query=ALL --path=/dev/block
for example gives you information about block devices.

Kind regards,

Eric

Thx, but it doesn't work on my squeeze:
Code:

# udevadm info --query=ALL --path=/dev/block
unknown query type


EricTRA 06-03-2011 12:52 AM

Hi,

So sorry, it should be all instead of ALL. Have a look at the man page for udevadm, there's all the information you might need.
Code:

udevadm info --query=all --path=/dev/block
Kind regards,

Eric


All times are GMT -5. The time now is 09:36 AM.