|
|
|
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:
|
How to accelerate read/write to USB flashdisk? FAQ -> Q7
|
Comments: Konstantin  2008-10-21 00:18:46 | . ... ........... ... .........
... .. ....... ... ............ | ......  2009-05-14 16:00:30 | .......... ....... . ..... ........ ........... ...... usb??! |
Comment this article.
|
How to prevent data loss? a) don't use old version of JFS driver. b) Don't boot from old eCS CD1 (if you take eCS 2.0 CD1, then disable its disk checker else it can kill your partitions), Advice how to use JFS filesystem |
|
|
 |
IBM OS/2 Warp
|