On Wednesday 19 December 2001 11:45, Brad Hards wrote:
> > I've managed to retrieve all the information from the monitor, but
> BTW: Congratulations on making some progress. I don't think anyone else
> has done this.
That's certainly for lack of interest from competent people, it was very
easy to get there once I had the specs. Nothing to be proud of.
> > Note that HIDIOCSREPORT reports success even if I open the device node
> > with O_RDONLY as a normal user. Is this the intended behaviour? Maybe
> > it doesn't *really* try to write to the device?
> Entirely possible. Setting reports probably hasn't been tested before.
> Try tracing out the flow with a lot of printk()s or maybe a kernel
> debugger.
I have made some minor changes to hiddev.c and hid-core.c to make
hid_write_report() (and thus HIDIOCSREPORT) return a meaningful error,
but that didn't make any difference (it didn't crash either ;)
As far as I was able to see with some printk's, everything in the
HIDIOCSREPORT path up to and including usb_submit_urb() gets called and
returns success, but I still don't see any change on the monitor.
I didn't try to trace through urb->dev->bus->op->submit_urb(urb) in
usb_submit_urb() because 1) it's not likely that the problem lies further
down that path, 2) I need USB for my mouse and printer to work and it's
already enough of a PITA to unload/reload hid.o in the middle of a
session, not to mention that I also hit an oops while doing so (I think
it's a devfs problem).
In short, I don't have the time and resources to look deeper into the
kernel side of this thing, but anyway I suspect the problem lies
elsewhere, like having to send something more involved to the monitor.
I hope I will have the time to install the provided software on The Other
Operating System and trace what it's sending to the monitor.
Any suggestion is welcome...
--
Ciao,
Flavio Stanchina
Trento - Italy
"The best defense against logic is ignorance."
http://spazioweb.inwind.it/fstanchina/
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users