Hi Jan,

> I want to make a control program for an EIZO FlexScan T965 CRT monitor. The
> monitor keys are reported to hiddev. Setting brightness, contrast etc is done
> with control messages. I have attached a libusb program that does this, but
> it only works if usbhid.ko is unloaded. I have not found an ioctl in hiddev.c
> that can be used to send this kind of control messages.

my EIZO FlexScan T68 is not a HID compatible device:

T:  Bus=04 Lev=02 Prnt=02 Port=00 Cnt=01 Dev#=  3 Spd=12  MxCh= 0
D:  Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=056d ProdID=0001 Rev= 1.01
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=ff Driver=(none)
E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=10ms

What does your EIZO say in /proc/bus/usb/devices ?

> What would be the right/preferred way to make such a monitor control?
> Implement an ioctl in hiddev.c or put the device to hid_blacklist?
> Make a user space program or a kernel module?

A user space program is the right choice and if usbhid binds you monitor
device you can blacklist it or call usb_detach_kernel_driver_np() before
you wanna use it.

> Is there anyone working on a monitor control for this or another monitor
> already? I have only found tools for USV.

The final goal after we moved over to generic HID driver should be to
send/receive any HID report to/from the device from the user space.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to