udev_resource thinks that KVMs are CAPTURE devices, which causes camera tests to run on desktops with no camera

Bug #1065064 reported by Brendan Donegan on 2012-10-10
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Checkbox
Medium
Sylvain Pineau

Bug Description

I noticed that the camera/multiple-resolution-images test was being run on some desktops and when I went to check it out, it seems that the IBM KVM connected to these desktops is being categorised as a CAPTURE device by udev_resource. This may be strictly speaking correct, but it causes undesired behaviour such as camera tests running on systems with no camera. Devices which are actual cameras should either have a seperate category or KVMs should not be listed as CAPTURE devices.

Related branches

Daniel Manrique (roadmr) wrote :

Could you get output of "udevadm info --export-db" so we can see why udev_resource thinks the KVM is a capture device?

Thanks!

Changed in checkbox:
status: New → Incomplete

Most straightforward way - http://paste.ubuntu.com/1271320/

You can search for 'Avocent' to find the KVM device

Changed in checkbox:
status: Incomplete → Confirmed
tags: added: cert-sru-issue
Changed in checkbox:
status: Confirmed → In Progress
importance: Undecided → Medium
assignee: nobody → Sylvain Pineau (sylvain-pineau)
Sylvain Pineau (sylvain-pineau) wrote :

KVM Identification is performed by looking at the KEY bitfield to check if BTN_MOUSE is present.
In such case a camera with a mouse button is considered as a KVM hardware device.

Zygmunt Krynicki (zyga) on 2013-03-14
Changed in checkbox:
status: In Progress → Fix Committed
Changed in checkbox:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers