[Nut-upsdev] USBHID-PDU datagram

Michelle Konzack linux4michelle at tamay-dogan.net
Tue Dec 30 15:12:00 UTC 2008


Hello *,

I have my "24V DC modular ATX PSU" running yet and  it  collect  already
the data form the DS1780 and MAX1036/8.  The Microcontroller is a  Maxim
Integrated Device DS89C450 and the USB-Controller a MAX3420E which works
over SPI Bit-Banging.

OK, this is now working and enumeration is done...  ;-)

Now since the PSU is a "Function" I was looking into  the  Linux  Gadget
driver how HID is done and  if  I  plug  in  my  PSU,  I  see  Linux  is
registering my Device/Function.

Now I have to code the the USBHID-PDU stuff but I have nothing found on
the Net HOW TO CODE A "Function" but the Host-Part...

I have tried to modify the USBHID-INPUT (keyboard) code but it seems not
to work...  Also I have tried to use the "Appendix E" from  the  "Device
Class Definition for HID" version 1.1 and modify it to my needs.  Also I
am currently rereading the "Usage Tables for HID Power Devices" v1.0.

So can anyone tell me how the USBHID-PDU data comes into the Host?

I can analyse it and maybe I get this stuff running since I like  to  go
in production before May 2009.  (I need urgently money)

And yes, the USBHID-PDU part is the last thing missing in the project.

Thanks, Greetings and nice Day/Evening
    Michelle Konzack
    Systemadministrator
    24V Electronic Engineer
    Tamay Dogan Network
    Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
<http://www.tamay-dogan.net/>               <http://www.can4linux.org/>
Michelle Konzack   Apt. 917                  ICQ #328449886
+49/177/9351947    50, rue de Soultz         MSN LinuxMichi
+33/6/61925193     67100 Strasbourg/France   IRC #Debian (irc.icq.com)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20081230/d967dac6/attachment.pgp 


More information about the Nut-upsdev mailing list