Thursday 2 February 2012

HP Displayport Adaptor on Mint or Ubuntu

[Note: updated information here]

I post a correction on these notes: which over-specify /sys (as well as hard-wiring it) as well as bConfigurationValue.

#! /bin/bash

if [ -e "$1"/device/bConfigurationValue ]; then
  echo 1 > "$1"/device/bConfigurationValue

if [ -e "$1"/bConfigurationValue ]; then
  echo 1 > "$1"/bConfigurationValue


# DisplayLink devices always have the active configuration on configuration #1
SYSFS{idVendor}=="17e9", SYSFS{bConfigurationValue}=="2", RUN+="/usr/bin/dlconfig %S%p"

These cause the VGA adaptor to be intialized properly on each insert.

No comments:

Post a Comment