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
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Checkbox
Fix Released
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

Revision history for this message
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
Revision history for this message
Brendan Donegan (brendan-donegan) wrote :

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

Revision history for this message
Brendan Donegan (brendan-donegan) wrote :

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)
Revision history for this message
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)
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.