eCo Software
doesn't receive
payments from USA

 
Update

 
Applications

 
Advantages:

 
For developer:

 
(Пайпы программ)

 
Companies:

 
History:

 
(Бонусы)

 
Advice:

 
(Барьеры и решения)

 
Technologies:

 
(Применение в науке, лаборатории, ..)

 

 
Solutions

 
New eComStation:

 
Future:

 
(Ссылки на другие сайты)

 
(Картинка дня)

 
OS/2 artefacts:

 
Gadgets:

AD: ArcaOS 5.1 Russian LIP
Russian ARCAOS exists and it's available since the middle of 2017. All versions are supported: 5.1, 5.1.1.

eCo Software is able to maintain OS/2 LIP packages for any other language (German, Dutch, Brazilian Portuguese, Spanish, Sweden, etc)

USBCALLS library for eComStation


TITLE: USBCALLS library for eComStation

DATE: 2006-04-28 17:27:53

AUTHOR: Frolov Dmitry

Please use online translator
go to http://translate.google.com
and request the translation of http://ru.ecomstation./showarticle.php?id=143
to your language

........

........... ........... ............ ......... ............ . .......... ..... USB-...., .......... ........ COM- . SCSI-........... .. ......... .. ....... ............ ........... ...... ............ ... ........ .......... USBCALLS .......... ............. ....... ........... ......... ... ...... . USB-............, ....... ..... ........... ......... .......... ........... ... ............. USBCALLS ............ .. ..... ...... ....... ... .......... USB-............ .. ..... ....... Ring-3 .........., ....... .......... . ........ USBCALLS, ......... .... ....... .... ....... ........... USBCALLS ......... ................ . ............, ............... . ........... ...... ...., ......... .. .. ........ ........ . USB-............, . .......... . ........ USBD.

USBCALLS ......... ......... ............, ............. ..... ..... USB-..........:

........., ............ USBCALLS:

  • GPhoto2 - .......... ......... ............
  • ptppro - .......... ......... ........ .. ......... PTP (Sony, Kodak . ....)
  • Sane - .......... .........
  • Coolfm - .......... USB FM-...........
  • ......... ......... ............ USB ......... - USBRES.EXE
  • ......... .......... Palm
  • ......... .......... ............... ........ .. USB-...........
  • ......... ........... ........... USBMSD-..........
  • ......... .......... web-........ (Logitech QuickCam 4000 Pro . ............)

.......... USBCALLS .... ........... Markus Montkowski. . ......... ....., .......... ..... Dmitry Froloff.

.......... USB-............, ....... ..... endpoints

..... USB-.......... ....... ............ USB Control Transfer. . ....... ..... ......... ............ ............. . ................ USB-........., ..... ......, .......... . .. .. .............. .... Control Transfer ........ .. ........ ......... ............ .........., .. ......., . .... ......., ..... ...... .. .......... ..., ... ... ..... ........ . ....: Device Class/Subclass, Vendor Product Id, Serial Number, .......... . .... endpoints . .......

  • Bulk - endpoint ..... ....... ............ ........ ...... ../. ........... ........... ... .........., .. .......... ..... ......., ..... .... .......: mass storage, ....-.........., MP3-......, .........., ......., .......... . ....
  • Irq - ... Interrupt endpoint. ..... .... .......... ......... . .....-.. ......... ........ ........ ........ .., ... .......... ...... . ........ ...... ... ......... .....-.. ....... ...... .. ................. ......... ..... interrupt endpoint. ........ ..... .... HID - Human Interface Devices. ... ... Interrupt endpoint ........ ......... ... USB-.........., ...., ......... .........., ......... . ....
  • Iso - Isochronous endpoint. ............ ... ........ ..... (webcam) ... audio (USB sound), .... ... ... ..... .........., . ....... ......... ...... .......... ...... ........... ... ........ ........... .......

Interrupt-........ - ... ....... ...... .. USB endpoint, . ... .... ........, ... ...... ....... .......... .... ....., ..... USB-.......... ...... . .. ........, .... .... .......... ............ (. ........ ..........) .......... ........... .......... ..... ...... ......... ....... .. .... . ......... ...... ...........

........ ............ ........ . ..........:

  • ....... .........., ........ .. UsbResMg ..... ... ........... ...... . ...: UsbOpen();
  • . ..... .......... ....... UsbIrqRead(). .... . ....... .......... ....... .. .......... ...... .........., .. ....... ......... ........... .. Interrupt endpoint ......, ............... ......., ... ........ .. ........ . ............... ..... ..........;
  • ............. ......, ., . ........... .. .........., ............ ............ ......... ........, .... ........ . .............. .........., ........... ....... ...... - ........... ....-....., ... .. ...... ........ ........... ......... ........: .......... audio, ...... ..........;
  • .. .......... ...... . ........... ..... ............. . ....... ....... UsbClose().

......... ....... .......... USB-............ - Bulk endpoint.

  • ....... .........., ........ .. UsbResMg ..... ... ........... ...... . ...: UsbOpen();
  • ....., . ..... .......... ....... UsbBulkRead()/UsbBulkWrite(), .......... .......... DosRead()/DosWrite(), .. ........... ....... ......... .... . ....... .......... ....... .......... ......... ......... ........, .. ....... ......... ......, ........... .. Bulk endpoint (........ ...... . ..........) ... ........ .. ........ . ............... ..... ..........;
  • ............. ... .......... ... ........ ......, ., . ........... .. .........., .......... ............ ......... ........, ... USB-........... ....../..... ....... . ........ . ...... .......... ...... ........ . .................. ........ ............ ..........., . ....... ............ ..... ........
  • .. .......... ...... . ..........., ..... ............. . ....... ....... UsbClose().

...... . ........... ..... Iso endpoint.

........ ...... .........:

  • ....... .........., ........ .. UsbResMg ..... ... ........... ...... . ...: UsbOpen();
  • ....... .......;
  • .......... ...... . UsbCall . .... ......... .. Iso transfer;
  • ........ ........;
  • .. .......... ....., UsbCall .......... .......;
  • ............ ......., ........... ........ . .......;
  • .... . ........ ........;
  • .. .......... ...... .......... UsbCall . ....... Iso transfer;
  • .. .......... ...... . ........... ............. ....... . ..... . ....... ....... UsbClose().


...... ....... USBCALLS:

USBCALLS ........ . .... ....... ...... ............. ............ ...... ....., ......... ... .......... ..... ...... ........... ........, . ...-......, . ........... .. .......... .......... . ........., ............... .............. ............. .......... ... .....-........., ....... ....... ............. . ........... .....-...... ........ ..... ........... ............. ..... ....., . UsbCalls .... .... ........... ..... ....... ... .......... ...... .........:

  • UsbQueryNumberDevices(), UsbQueryDeviceReport() ... .......... ...... .........;
  • UsbRegisterChangeNotification(), UsbRegisterDeviceNotification(), UsbDeregisterNotification() ... ......... ........... . ........... ...........

........... . .......... ........... ........!

............ ....... ..... ..... ..... .... endpoints, . ...... ........ ........... ......... ........... ..... USB-......... .. Ring3.

......... ..... ......... ..... ...........? .. .......... ... ........ ........... ........ .......... ............:

  • TV-......
  • UPS (............. ......... .......)
  • ...... .............. ..........
  • ......
  • .........
  • ......... ......
  • ....... .....-.....
  • .........
  • USB security keys
  • .........-......... ........... .........
  • USBRES (VIO-......)

.. ........, .. ........., ... ......... USB-............ ..... ....... .... . ... ........ ....... .. .......... USBCALLS, ......... .. . ...... http://forum.ecomstation.ru


.............. ..........

Test the program:

Still searching applications in the Internet? It's not comfortable. eCo Market - download all popular software for eComStation without web-browser.

Comments:

Konstantin
2008-10-21 00:18:46

. ... ........... ... .........

... .. ....... ... ............

......
2009-05-14 16:00:30

.......... ....... . ..... ........ ........... ...... usb??!

Comment this article.


Va e jmИno:

VА  E-Mail:

CODE:
176366......

  

VА  pЬМspЛvek:


eComStation 2.0 is designed to work on modern computers (i3/i5/i7, Core Duo, AMD X2), but works on hardware purchased 5 years ago. eCS 2.0 what's new

хlАnky

OperaХnМ systИm
Software
Hardware
Pro programАtory
OstatnМ
Od editora





Last active poll: What is the height of RPM barrier?

[Google]

IBM OS/2 Warp

 
For dummies

Database of OS/2 compatible hardware

 
Reviews


     
  Why eComStation?
Features
Advantages
Usage
Clips and screenshots
   eComStation for
for businessmen
for students and engineers
for reselles of computers
community of users
   Developer
Distribute the program
Description of API, libraries
Start new project
Competition
   Applications
On-line catalogue
Select from eCo Market
   Support service
Contact the web-master
Buy eComStation
Frequently asked questions
for Beginners
 
 
© 2001 - 2025 eCo Software, All rights reserved
Сибирский Медведь **********
eComStation Serenity Systems International • OS/2 Warp IBM Corporation • ArcaOS Arca Noae