PC Review


Reply
Thread Tools Rate Thread

USB Monitor Class Driver

 
 
ashok
Guest
Posts: n/a
 
      19th Feb 2008
Hi,

I am new to Windows Driver Development. I have a problem in modifying
the Brightness of USB monitor device which is provided by the Hardware
vendor. Here is my problem statement.

I have a USB monitor, the brightness has to be controlled from an
windows application. The Hardware Vendor has not provided any driver
other than the Microsoft provided HID component. We came to know from
DDK that we can change the brightness using HID interfaces such as
HID_GetReport etc. but the documentation is not clear about the
parameters. Please let me know any pointers related to this.

Also the Monitor Report descriptors from the Hardware vendor is as
shown below. Please let me know if these interfaces are sufficient to
modify the birghtness level from the Application.

Field Value Meaning
------- ------------
---------------------
Usage Page 0x05 0x80 USB Monitor
Usage 0x09 0x01 Monitor Control
Collection 0xA1 0x01 Start definition of
application collection
Usage Page 0x05 0x82 VESA Virtual Controls
Usage 0x09 0x10 Brightness
Logical Minimum 0x15 0x00 Minimum brightness (0 = backlight
off)
Logical Maximum 0x25 0x64 Maximum brightness
Report Count 0x95 0x01 One count
Report Size 0x75 0x08 8 bits per count
Input 0x81 0x02 Input is Data, Variable,
Absolute
End Collection 0xC0 End collection definition
Collection 0xA1 0x01 Start definition of
application collection
Usage Page 0x05 0x82 VESA Virtual Controls
Usage 0x09 0x10 Brightness
Logical Minimum 0x15 0x00 Minimum brightness (0 = backlight
off)
Logical Maximum 0x25 0x64 Maximum brightness
Report Count 0x95 0x01 One count
Report Size 0x75 0x08 8 bits per count
Output 0x01 0x02 Output is Data, Variable, and
Absolute
End Collection 0xC0 End collection definition

 
Reply With Quote
 
 
 
 
Doron Holan [MSFT]
Guest
Posts: n/a
 
      20th Feb 2008
download the wdk and look at the various HID samples which show how to use
the HID parser (hid.dll) in user mode

d

--
Please do not send e-mail directly to this alias. this alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.


"ashok" <(E-Mail Removed)> wrote in message
news:37cd978c-a406-40f9-8c51-(E-Mail Removed)...
> Hi,
>
> I am new to Windows Driver Development. I have a problem in modifying
> the Brightness of USB monitor device which is provided by the Hardware
> vendor. Here is my problem statement.
>
> I have a USB monitor, the brightness has to be controlled from an
> windows application. The Hardware Vendor has not provided any driver
> other than the Microsoft provided HID component. We came to know from
> DDK that we can change the brightness using HID interfaces such as
> HID_GetReport etc. but the documentation is not clear about the
> parameters. Please let me know any pointers related to this.
>
> Also the Monitor Report descriptors from the Hardware vendor is as
> shown below. Please let me know if these interfaces are sufficient to
> modify the birghtness level from the Application.
>
> Field Value Meaning
> ------- ------------
> ---------------------
> Usage Page 0x05 0x80 USB Monitor
> Usage 0x09 0x01 Monitor Control
> Collection 0xA1 0x01 Start definition of
> application collection
> Usage Page 0x05 0x82 VESA Virtual Controls
> Usage 0x09 0x10 Brightness
> Logical Minimum 0x15 0x00 Minimum brightness (0 = backlight
> off)
> Logical Maximum 0x25 0x64 Maximum brightness
> Report Count 0x95 0x01 One count
> Report Size 0x75 0x08 8 bits per count
> Input 0x81 0x02 Input is Data, Variable,
> Absolute
> End Collection 0xC0 End collection definition
> Collection 0xA1 0x01 Start definition of
> application collection
> Usage Page 0x05 0x82 VESA Virtual Controls
> Usage 0x09 0x10 Brightness
> Logical Minimum 0x15 0x00 Minimum brightness (0 = backlight
> off)
> Logical Maximum 0x25 0x64 Maximum brightness
> Report Count 0x95 0x01 One count
> Report Size 0x75 0x08 8 bits per count
> Output 0x01 0x02 Output is Data, Variable, and
> Absolute
> End Collection 0xC0 End collection definition
>


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Generic USB mouse driver, How can I 'reinstall and or repair' the Windows XP generic USB mouse driver? dk_ Windows XP General 5 22nd May 2008 04:05 PM
USB Monitor Class Driver ashok Windows XP Drivers 0 19th Feb 2008 02:38 PM
usb 2.0 not working, usb 1.1 is! usb 2.0 hard drive, usb 2.0 probl =?Utf-8?B?Y3BsdXNoZXI=?= Windows XP Hardware 3 27th Jan 2005 09:11 AM
activex ,money tree dialer,RdxE Class,updaate class,YInstStarter Class damaged RUSSELL Windows XP Performance 1 23rd Nov 2003 03:05 PM
how to replace w2k generic USB driver with real USB driver robm Microsoft Windows 2000 Setup 2 13th Nov 2003 10:52 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:09 AM.