Giter Site home page Giter Site logo

Comments (7)

kravemir avatar kravemir commented on August 10, 2024 1

Normal repositories are project upstream repositories. They are usually independent from linux distributions, and so on,...

Debian repository contains upstream contents + debian packaging stuff, from debian repository is built package: https://packages.debian.org/sid/utils/ddccontrol-db

As I have took over debian package maintaining (was not maintained anymore, as previous maintainer lost interest), I have created debian repositories in github's ddccontrol team/organization. Currently, I'm thinking to move these to https://salsa.debian.org/. However, my free time is quite limited, and there's no functionality gain, therefore I'll do it with next debian package release.

from ddccontrol-db.

aryoda avatar aryoda commented on August 10, 2024

I have extended the options.xml file and created a first working config file named DELA0F3.xml that even supports the DELL specific PIP/PBP modes and sub input source selection which I have found out by trial and error via DDC (using ddcutils). Remove the .txt. extension from the uploaded files and store them in /usr/share/ddccontrol-db/ and the monitorsub folder:

DELA0F3.xml.txt
options.xml.txt

options.xml (only added parts):

...
	<group name="Others">
...
		<subgroup name="Input settings">
...
			<control id="inputsource" type="list" name="Input Source Select" address="0x60">
...
                                <value id="usb-c" name = "USB-C" />
...

	<group name="PIP/PBP">
		<subgroup name="PIP/PBP settings">
			<control id="PbP" type="list" name="PbP/PIP mode"  address="0xe9">
				<value id="Off" name="Off"/>
				<value id="PbP"  name="PbP"/>
				<value id="PiP large"  name="PiP large"/>
				<value id="PiP small"  name="PiP small"/>
			</control>
			<control id="subinputsource" type="list" name="Input Source Select (Sub)" address="0xe8">
				<value id="analog" name="Analog"/>
				<value id="digital" name="Digital"/>
				<value id="dp" name="DisplayPort"/>
				<value id="dvi" name="DVI"/>
				<value id="dvi1" name="DVI-1"/>
				<value id="dvi2" name="DVI-2"/>
				<value id="hdmi" name="HDMI"/>
				<value id="hdmi1" name="HDMI-1"/>
				<value id="hdmi2" name="HDMI-2"/>
				<value id="hdmi-mhl" name="HDMI (MHL)"/>
				<value id="mdp" name="mDP"/>
				<value id="vga" name="VGA"/>
				<value id="component" name="Component"/>
				<value id="s-video" name="S-Video"/>
				<value id="composite" name="Composite"/>
                                <value id="usb-c" name = "USB-C" />
			</control>
		</subgroup>
	</group>

DELA0F3.xml:

<?xml version="1.0"?>
<monitor name="DELL U8318DW" init="standard">
	<caps add="(prot(monitor)type(LCD)model(U3818DW)cmds(01 02 03 07 0C E3 F3)vcp(02 04 05 08 10 12 14(04 05 06 08 09 0B 0C) 16 18 1A 52 60(1B 0F 11 12 ) 62 AC AE B2 B6 C6 C8 C9 CC(02 0A 03 04 08 09 0D 06 ) D6(01 04 05) DC(00 03 05 ) DF E0 E1 E2(00 1D 02 04 0C 0D 0F 10 11 13 14) E4(00 01) E5 E7(00 01 02) E8 E9(00 21 22 24 ) F0(0C ) F1 F2 FD)mswhql(1)asset_eep(40)mccs_ver(2.1))"/>

	<!-- specific controls, but they might(?) be shared with other AOC monitors -->
	<controls>
		<control id="inputsource" type="list" address="0x60">
			<value id="hdmi1"   value="0x11"/>
			<value id="hdmi2"  value="0x12"/>
			<value id="dp"    value="0x0f"/>
			<value id="usb-c"    value="0x1b"/>
		</control>

		<control id="brightness" address="0x10"/>
		<control id="contrast" address="0x12"/>

		<control id="audiospeakervolume" address="0x62"/>

		<control id="PbP" type="list" address="0xe9">
			<value id="Off"   value="0x00"/>
			<value id="PbP"  value="0x24"/>
			<value id="PiP large"    value="0x22"/>
			<value id="PiP small"    value="0x21"/>
		</control>

		<control id="subinputsource" type="list" address="0xe8">
			<value id="hdmi1"   value="0x11"/>
			<value id="hdmi2"  value="0x12"/>
			<value id="dp"    value="0x0f"/>
			<value id="usb-c"    value="0x1b"/>
		</control>

	</controls>

</monitor>

from ddccontrol-db.

aryoda avatar aryoda commented on August 10, 2024

See screen shot of after applying the changes:

image

from ddccontrol-db.

kravemir avatar kravemir commented on August 10, 2024

Hi @aryoda ,

looks, that you've put effort to get special options working. Please, create a pull request with your changes:

  1. fork this repository,
  2. commit your changes into your fork,
  3. create github PR.

After that, I'll merge it (of course, if there aren't any nasty things,..). Also, I'll create a new release then.

See https://github.com/ddccontrol/ddccontrol-db#installation-from-sources, there are details how to build a DB, which you can use after you make your changes.

from ddccontrol-db.

kravemir avatar kravemir commented on August 10, 2024

@aryoda, I'll be very glad for yours contribution :-)

Please, create a normal PR, as I've mentioned above. If you need a help, feel free to ask.

from ddccontrol-db.

aryoda avatar aryoda commented on August 10, 2024

@kravemir THX, quite easy :-)

BTW: What is the difference between the normal and the debian* repos (I am using QtCreator as IDE to build on Ubuntu 18.04)

from ddccontrol-db.

kravemir avatar kravemir commented on August 10, 2024

Closing, it was merged in #71.

from ddccontrol-db.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.