НОВОЕ: OS/2 GURU - Вопросы и ответы

Reviews / articles about OS/2

Operating systems:
ArcaOS, eComStation, IBM OS/2 Warp
eComStation myths 

Latest  
 
 

Unsorted

 

 

ArcaOS 5.0 Russian
Russian ARCAOS exists and it's available since the middle of 2017. All versions are supported: 5.0, 5.0.1, 5.0.2.

eCo Software is able release 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./projects/reviews/index.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:

How to accelerate read/write to USB flashdisk? FAQ -> Q7

Komentarze:

Konstantin
2008-10-21 00:18:46

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

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

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

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

eComStation is recommended for home users: a) no viruses, b) native software + ported programs + start other OSes inside VM, c) A thousand of REXX-scripts aimed to automate small tasks, d) play favorite DOS-games.

 


 

(C) OS2.GURU 2001-2021