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: Upgrade ArcaOS to NeoWPS level

  • Install original PNG icons drawed by designer, specialized at OS/2 adornation.
  • Install eSchemes 2019 to change colors and buttons on desktop.

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:

USB Widget - widget monitoring USB flashdisks

Komentarze:

Konstantin
2008-10-21 00:18:46

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

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

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

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

Komentarz artykuЁu.


Twoje ImiЙ i Nazwisko:

TwСj E-Mail:

CODE:
461253......

  

TwСj Komentarz:


It's easy to maintain eComStation: a) Fast installation (20 minutes and it's ready), b) Universal drivers, replace a device - the system boots and continues work, c) Use eCS to recover damaged Windows (no danger to be infected by virus)

ArtykuЁy

Systemy operacyjne
Software
Hardware
Dla developerСw
RС©ne
Od autorСw





Ostatnie gЁosowanie: 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