On Saturday 10 March 2007, Adam Kropelin wrote: >Jiri Kosina wrote: >> I am still however pretty far from being convinced that this will make >> your application work. But as I absolutely don't know what your >> application is expecting to obtain from serial port and how does this >> compare to what it is getting from usb hiddev, it's just wild guesses. > >hiddev returns a hiddev_event structure from read() calls. I don't see >the faintest possibility that an application designed to work over a >bare serial port would ever properly interpret this structure without >specifically being modified to do so. The application must be written to >use hiddev. Period. > >Gene's moudly old Belkin application is written to talk to *serial port* >UPSes, like those sold 5 years ago. It'll never work with a USB HID >based UPS. > >--Adam
Well, I just took a look at the data from the serial port, and it appears to be about 2x as verbose as compared to the terseness of the hiddev0 capture. OTOH, if I turn on the hiddev debugging, the decoding that does looks pretty close to correct, but the machine isn't usable for anything but a reset button reboot since the data is echo'd to every tty on the system. I couldn't even do a startx. But between that, and the other admonitions, I'm beginning to think its a lost cause. Now, if I could figure out how to make nut work, that might help. Or, make wine run the (spit) winderz version of the driver. -- Cheers, Gene "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) While you're chewing, think of STEVEN SPIELBERG'S bank account ... his will have the same effect as two "STARCH BLOCKERS"! ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel