summaryrefslogtreecommitdiff
path: root/v4l2-apps/libv4l/libv4l2/libv4l2.c
diff options
context:
space:
mode:
authorhans@rhel5-devel.localdomain <hans@rhel5-devel.localdomain>2009-08-12 09:15:17 +0200
committerhans@rhel5-devel.localdomain <hans@rhel5-devel.localdomain>2009-08-12 09:15:17 +0200
commita535ec7ac67e962087811181dc3dcb59760df467 (patch)
treeefdb0e16948b98aab8554d4dda7ad5bed35f68b4 /v4l2-apps/libv4l/libv4l2/libv4l2.c
parent35bee292fab703bb1156a3e5fe30518d55c0dcbf (diff)
downloadmediapointer-dvb-s2-a535ec7ac67e962087811181dc3dcb59760df467.tar.gz
mediapointer-dvb-s2-a535ec7ac67e962087811181dc3dcb59760df467.tar.bz2
libv4l: Also look for dmi info under /sys/class/dmi/id
From: Hans de Goede <hdegoede@redhat.com> libv4l was looking for dmi strings in sysfs under /sys/devices/virtual/dmi/id but with some kernel configurations this does not exist. It turns out that the dmi strings do exist under /sys/class/dmi/id here. It seems that all systems with dmi info in sysfs have /sys/class/dmi/id so default to using that instead. To be sure fall back to /sys/devices/virtual/dmi/id (the old behavor) when /sys/class/dmi/id is not found. Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'v4l2-apps/libv4l/libv4l2/libv4l2.c')
0 files changed, 0 insertions, 0 deletions