Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Works with 21" Apple Studio Display #2

Open
BlueJayLouche opened this issue Jun 9, 2021 · 3 comments
Open

Works with 21" Apple Studio Display #2

BlueJayLouche opened this issue Jun 9, 2021 · 3 comments

Comments

@BlueJayLouche
Copy link

Vendor ID: 0x05ac
Product ID: 0x9210
(0x05ac:0x9210)

using usbmonctl -s F,0xB0=1 to store changes

Huge thanks.

@BlueJayLouche
Copy link
Author

I've found some extra info here: https://opensource.apple.com/source/X11/X11-0.46.4/xc/programs/Xserver/hw/xfree86/os-support/bsd/libusb/usb_hid_usages

128	Monitor
	0x00	Undefined
	0x01	Monitor Control
	0x02	EDID Information
	0x03	VDIF Information
	0x04	VESA Version
	0x05	On Screen Display
	0x06	Auto Size Center
	0x07	Polarity Horz Synch
	0x08	Polarity Vert Synch
	0x09	Sync Type
	0x0A	Screen Position
	0x0B	Horizontal Frequency
	0x0C	Vertical Frequency

129	Monitor Enumerated Values
	0x00	unassigned
	*	ENUM %d

130	VESA Virtual Controls
	0x10	Brightness
	0x12	Contrast
	0x16	Video Gain Red
	0x18	Video Gain Green
	0x1A	Video Gain Blue
	0x1C	Focus
	0x20	Horizontal Position
	0x22	Horizontal Size
	0x24	Horizontal Pincushion
	0x26	Horizontal Pincushion Balance
	0x28	Horizontal Misconvergence
	0x2A	Horizontal Linearity
	0x2C	Horizontal Linearity Balance
	0x30	Vertical Position
	0x32	Vertical Size
	0x34	Vertical Pincushion
	0x36	Vertical Pincushion Balance
	0x38	Vertical Misconvergence
	0x3A	Vertical Linearity
	0x3C	Vertical Linearity Balance
	0x40	Parallelogram Distortion
	0x42	Trapezoidal Distortion
	0x44	Tilt
	0x46	Top Corner Distortion Control
	0x48	Top Corner Distortion Balance
	0x4A	Bottom Corner Distortion Control
	0x4C	Bottom Corner Distortion Balance
	0x56	Moiré Horizontal
	0x58	Moiré Vertical
	0x5E	Input Level Select
	0x60	Input Source Select
	0x62	Stereo Mode
	0x6C	Video Black Level Red
	0x6E	Video Black Level Green
	0x70	Video Black Level Blue

131	VESA Command
	0x00	Undefined
	0x01	Settings
	0x02	Degauss

@ondrej-zary
Copy link
Owner

Thanks. Could you please send output of "usbmonctl -l"?

@ilbuonmarcio
Copy link

Hi, as I had the same exact monitor as him and it works for me too (huge thanks to the both of you!), I'm sending you the output of usbmonctl -l as requested :)

[mrcz@debugging ~]$ sudo usbmonctl -l
/dev/usb/hiddev0: /dev/usb/hiddev1: /dev/usb/hiddev2: Studio Display (0x05ac:0x9210) v18.f6
INPUT  : 0xe4 - unknown
	field 0, flags=2, range=0..5
		usage 0 = 0 (0x0)
FEATURE: 0x02 - unknown
	field 127, flags=258, range=0..255
		usage 0 = 0 (0x0)
		usage 1 = 255 (0xff)
		usage 2 = 255 (0xff)
		usage 3 = 255 (0xff)
		usage 4 = 255 (0xff)
		usage 5 = 255 (0xff)
		usage 6 = 255 (0xff)
		usage 7 = 0 (0x0)
		usage 8 = 6 (0x6)
		usage 9 = 16 (0x10)
		usage 10 = 16 (0x10)
		usage 11 = 146 (0x92)
		usage 12 = 57 (0x39)
		usage 13 = 251 (0xfb)
		usage 14 = 255 (0xff)
		usage 15 = 2 (0x2)
		usage 16 = 0 (0x0)
		usage 17 = 8 (0x8)
		usage 18 = 1 (0x1)
		usage 19 = 1 (0x1)
		usage 20 = 104 (0x68)
		usage 21 = 39 (0x27)
		usage 22 = 29 (0x1d)
		usage 23 = 134 (0x86)
		usage 24 = 232 (0xe8)
		usage 25 = 13 (0xd)
		usage 26 = 201 (0xc9)
		usage 27 = 160 (0xa0)
		usage 28 = 87 (0x57)
		usage 29 = 71 (0x47)
		usage 30 = 152 (0x98)
		usage 31 = 39 (0x27)
		usage 32 = 18 (0x12)
		usage 33 = 72 (0x48)
		usage 34 = 76 (0x4c)
		usage 35 = 53 (0x35)
		usage 36 = 239 (0xef)
		usage 37 = 128 (0x80)
		usage 38 = 49 (0x31)
		usage 39 = 89 (0x59)
		usage 40 = 69 (0x45)
		usage 41 = 89 (0x59)
		usage 42 = 97 (0x61)
		usage 43 = 89 (0x59)
		usage 44 = 129 (0x81)
		usage 45 = 128 (0x80)
		usage 46 = 129 (0x81)
		usage 47 = 153 (0x99)
		usage 48 = 169 (0xa9)
		usage 49 = 64 (0x40)
		usage 50 = 169 (0xa9)
		usage 51 = 79 (0x4f)
		usage 52 = 169 (0xa9)
		usage 53 = 89 (0x59)
		usage 54 = 16 (0x10)
		usage 55 = 14 (0xe)
		usage 56 = 128 (0x80)
		usage 57 = 192 (0xc0)
		usage 58 = 32 (0x20)
		usage 59 = 224 (0xe0)
		usage 60 = 29 (0x1d)
		usage 61 = 16 (0x10)
		usage 62 = 56 (0x38)
		usage 63 = 56 (0x38)
		usage 64 = 19 (0x13)
		usage 65 = 0 (0x0)
		usage 66 = 132 (0x84)
		usage 67 = 35 (0x23)
		usage 68 = 17 (0x11)
		usage 69 = 0 (0x0)
		usage 70 = 0 (0x0)
		usage 71 = 30 (0x1e)
		usage 72 = 27 (0x1b)
		usage 73 = 79 (0x4f)
		usage 74 = 64 (0x40)
		usage 75 = 48 (0x30)
		usage 76 = 98 (0x62)
		usage 77 = 176 (0xb0)
		usage 78 = 50 (0x32)
		usage 79 = 64 (0x40)
		usage 80 = 64 (0x40)
		usage 81 = 192 (0xc0)
		usage 82 = 19 (0x13)
		usage 83 = 0 (0x0)
		usage 84 = 132 (0x84)
		usage 85 = 35 (0x23)
		usage 86 = 17 (0x11)
		usage 87 = 0 (0x0)
		usage 88 = 0 (0x0)
		usage 89 = 30 (0x1e)
		usage 90 = 0 (0x0)
		usage 91 = 0 (0x0)
		usage 92 = 0 (0x0)
		usage 93 = 253 (0xfd)
		usage 94 = 0 (0x0)
		usage 95 = 48 (0x30)
		usage 96 = 120 (0x78)
		usage 97 = 30 (0x1e)
		usage 98 = 107 (0x6b)
		usage 99 = 23 (0x17)
		usage 100 = 0 (0x0)
		usage 101 = 10 (0xa)
		usage 102 = 32 (0x20)
		usage 103 = 32 (0x20)
		usage 104 = 32 (0x20)
		usage 105 = 32 (0x20)
		usage 106 = 32 (0x20)
		usage 107 = 32 (0x20)
		usage 108 = 0 (0x0)
		usage 109 = 0 (0x0)
		usage 110 = 0 (0x0)
		usage 111 = 252 (0xfc)
		usage 112 = 0 (0x0)
		usage 113 = 83 (0x53)
		usage 114 = 116 (0x74)
		usage 115 = 117 (0x75)
		usage 116 = 100 (0x64)
		usage 117 = 105 (0x69)
		usage 118 = 111 (0x6f)
		usage 119 = 68 (0x44)
		usage 120 = 115 (0x73)
		usage 121 = 112 (0x70)
		usage 122 = 108 (0x6c)
		usage 123 = 121 (0x79)
		usage 124 = 50 (0x32)
		usage 125 = 49 (0x31)
		usage 126 = 0 (0x0)
		usage 127 = 219 (0xdb)
FEATURE: 0xfd - unknown
	field 6, flags=2, range=0..255
		usage 0 = 80 (0x50)
		usage 1 = 104 (0x68)
		usage 2 = 105 (0x69)
		usage 3 = 108 (0x6c)
		usage 4 = 105 (0x69)
		usage 5 = 112 (0x70)
		usage 6 = 115 (0x73)
FEATURE: 0xb0 - Settings
	field 0, flags=2, range=0..4
		usage 0 = 1 (0x1)
FEATURE: 0xd6 - unknown
	field 0, flags=2, range=0..4
		usage 0 = 1 (0x1)
FEATURE: 0xda - unknown
	field 0, flags=2, range=0..2
		usage 0 = 0 (0x0)
FEATURE: 0x01 - Degauss
	field 0, flags=2, range=0..1
		usage 0 = 0 (0x0)
FEATURE: 0xac - Horizontal Frequency in Hz
	field 0, flags=2, range=0..16777215
		usage 0 = 104500 (0x19834)
FEATURE: 0xae - Vertical Frequency in 0.1 Hz
	field 0, flags=2, range=0..65535
		usage 0 = 7200 (0x1c20)
FEATURE: 0x10 - Brightness
	field 1, flags=2, range=0..40
		usage 0 = 20 (0x14)
		usage 1 = 0 (0x0)
FEATURE: 0x12 - Contrast
	field 1, flags=2, range=0..56
		usage 0 = 56 (0x38)
		usage 1 = 0 (0x0)
FEATURE: 0x44 - Tilt (Rotation)
	field 1, flags=2, range=0..63
		usage 0 = 36 (0x24)
		usage 1 = 0 (0x0)
FEATURE: 0x20 - Horizontal Position
	field 1, flags=2, range=0..255
		usage 0 = 118 (0x76)
		usage 1 = 0 (0x0)
FEATURE: 0x22 - Horizontal Size
	field 1, flags=2, range=0..255
		usage 0 = 150 (0x96)
		usage 1 = 0 (0x0)
FEATURE: 0x24 - Horizontal Pincushion
	field 1, flags=2, range=0..255
		usage 0 = 75 (0x4b)
		usage 1 = 0 (0x0)
FEATURE: 0x28 - Horizontal Misconvergence
	field 1, flags=2, range=0..255
		usage 0 = 127 (0x7f)
		usage 1 = 0 (0x0)
FEATURE: 0x30 - Vertical Position
	field 1, flags=2, range=0..255
		usage 0 = 154 (0x9a)
		usage 1 = 0 (0x0)
FEATURE: 0x32 - Vertical Size
	field 1, flags=2, range=0..255
		usage 0 = 175 (0xaf)
		usage 1 = 0 (0x0)
FEATURE: 0x38 - Vertical Misconvergence
	field 1, flags=2, range=0..255
		usage 0 = 127 (0x7f)
		usage 1 = 0 (0x0)
FEATURE: 0x40 - Parallelogram Balance (Key Distortion)
	field 1, flags=2, range=0..255
		usage 0 = 130 (0x82)
		usage 1 = 0 (0x0)
FEATURE: 0x42 - Trapezoidal Distortion (Key)
	field 1, flags=2, range=0..255
		usage 0 = 131 (0x83)
		usage 1 = 0 (0x0)
FEATURE: 0xf0 - unknown
	field 1, flags=2, range=0..255
		usage 0 = 0 (0x0)
		usage 1 = 0 (0x0)
FEATURE: 0xf2 - unknown
	field 1, flags=2, range=0..255
		usage 0 = 0 (0x0)
		usage 1 = 0 (0x0)
FEATURE: 0xf4 - unknown
	field 1, flags=2, range=0..255
		usage 0 = 0 (0x0)
		usage 1 = 0 (0x0)
FEATURE: 0xf6 - unknown
	field 1, flags=2, range=0..255
		usage 0 = 0 (0x0)
		usage 1 = 0 (0x0)
FEATURE: 0xf8 - unknown
	field 1, flags=2, range=0..255
		usage 0 = 0 (0x0)
		usage 1 = 0 (0x0)
FEATURE: 0xfa - unknown
	field 1, flags=2, range=0..255
		usage 0 = 0 (0x0)
		usage 1 = 0 (0x0)
FEATURE: 0xfc - unknown
	field 1, flags=2, range=0..255
		usage 0 = 0 (0x0)
		usage 1 = 0 (0x0)
FEATURE: 0xe0 - unknown
	field 1, flags=2, range=0..255
		usage 0 = 0 (0x0)
		usage 1 = 0 (0x0)
FEATURE: 0xe2 - unknown
	field 1, flags=2, range=0..255
		usage 0 = 0 (0x0)
		usage 1 = 0 (0x0)
FEATURE: 0xe6 - unknown
	field 0, flags=2, range=0..65535
		usage 0 = 4199 (0x1067)

Found 3 USB HID monitors.

I hope it helps!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants