* [ECOS] USBHID-PDU device programming...
@ 2008-06-16 9:42 Michelle Konzack
2008-06-16 10:17 ` Andrew Lunn
2008-06-16 15:35 ` [ECOS] " Frank Pagliughi
0 siblings, 2 replies; 4+ messages in thread
From: Michelle Konzack @ 2008-06-16 9:42 UTC (permalink / raw)
To: eCos Discuss
[-- Attachment #1: Type: text/plain, Size: 1263 bytes --]
Hello,
writing a Kernel Module for an Operating System is "easy" but
implementing the peripherial side is the Hell...
OK I have downloaded from <http://www.usb.org/> and others several 100
pages of specifications but I have not found any hints HOW to code the
periperial part...
I have an Elececronic which I2C/1-Wire based to get Ampere, Volt and
Temperature of a Device but HOW do I code the USBHID-PDU part?
I hav tried to use a MAXQ2000 CPU and a DS80C411 but it seems, since I
have the need for an usb 1.1 Port and of course the USBHID-PDU, I have
to go with a small Atmel AM91SAM7S which include an USB port and (AFAIT)
a I2C port.
Does anyone have sample code, HOW to code the USBHID stuff?
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 #####################
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)
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [ECOS] USBHID-PDU device programming...
2008-06-16 9:42 [ECOS] USBHID-PDU device programming Michelle Konzack
@ 2008-06-16 10:17 ` Andrew Lunn
2008-06-17 17:55 ` [ECOS] " Michelle Konzack
2008-06-16 15:35 ` [ECOS] " Frank Pagliughi
1 sibling, 1 reply; 4+ messages in thread
From: Andrew Lunn @ 2008-06-16 10:17 UTC (permalink / raw)
To: Michelle Konzack; +Cc: eCos Discuss
> I hav tried to use a MAXQ2000 CPU and a DS80C411 but it seems, since I
> have the need for an usb 1.1 Port and of course the USBHID-PDU, I have
> to go with a small Atmel AM91SAM7S which include an USB port and (AFAIT)
> a I2C port.
>
> Does anyone have sample code, HOW to code the USBHID stuff?
There is a basic device driver for the AT91SAM7S USB port, but that
just allows enumeration and sending and receiving of basic data
packets. eCos does not contain any class drivers, USBHID class. You
would need to implement such a HID class driver.
If you are willing to pay money, you could talk to eCosCentric and
license there port of Jungo's USB stack:
http://www.ecoscentric.com/middleware/jungousb.shtml
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [ECOS] USBHID-PDU device programming...
2008-06-16 9:42 [ECOS] USBHID-PDU device programming Michelle Konzack
2008-06-16 10:17 ` Andrew Lunn
@ 2008-06-16 15:35 ` Frank Pagliughi
1 sibling, 0 replies; 4+ messages in thread
From: Frank Pagliughi @ 2008-06-16 15:35 UTC (permalink / raw)
To: Michelle Konzack; +Cc: eCos Discuss
Michelle Konzack wrote:
> Does anyone have sample code, HOW to code the USBHID stuff?
>
>
There are a number of books ("USB Complete", "USB Design By Example",
etc) and web sites for writing USB device software and nearly all of
them contain HID examples. A starting point may be:
http://www.lvr.com/hidpage.htm
which has references to several others pages on the subject of HID's.
Once you have the basic concept, using the eCos USB API shouldn't be too
difficult. The developer's discussion forum on usb.org is a great place
for USB device and HID questions:
https://www.usb.org/phpbb/
- Frank
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 4+ messages in thread
* [ECOS] Re: USBHID-PDU device programming...
2008-06-16 10:17 ` Andrew Lunn
@ 2008-06-17 17:55 ` Michelle Konzack
0 siblings, 0 replies; 4+ messages in thread
From: Michelle Konzack @ 2008-06-17 17:55 UTC (permalink / raw)
To: ecos-discuss
[-- Attachment #1: Type: text/plain, Size: 1161 bytes --]
Am 2008-06-16 12:17:13, schrieb Andrew Lunn:
> There is a basic device driver for the AT91SAM7S USB port, but that
> just allows enumeration and sending and receiving of basic data
> packets. eCos does not contain any class drivers, USBHID class. You
> would need to implement such a HID class driver.
:-/
> If you are willing to pay money, you could talk to eCosCentric and
> license there port of Jungo's USB stack:
>
> http://www.ecoscentric.com/middleware/jungousb.shtml
Realy, I have not the time and the nerv to implement USBHID-PDU for my
"24V DC Modular ATX PSU" and have now asked them vor licensing/price...
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 #####################
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)
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-06-17 16:52 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-06-16 9:42 [ECOS] USBHID-PDU device programming Michelle Konzack
2008-06-16 10:17 ` Andrew Lunn
2008-06-17 17:55 ` [ECOS] " Michelle Konzack
2008-06-16 15:35 ` [ECOS] " Frank Pagliughi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).