helenos usb
play

HelenOS USB USB USB for HelenOS Software project Architecture - PowerPoint PPT Presentation

HelenOS USB USB team Introduction HelenOS USB USB USB for HelenOS Software project Architecture USB framework (supervisor M. D eck y) Drivers Demonstration Summary . Slov M. Dek anek, V. Hork y, M. Klonfar, L ak, J.


  1. HelenOS USB USB team Introduction HelenOS USB USB USB for HelenOS Software project Architecture USB framework (supervisor M. Dˇ eck´ y) Drivers Demonstration Summary ’. Slov´ M. Dek´ anek, V. Hork´ y, M. Klonfar, L ak, J. Vesel´ y Faculty of Mathematics and Physics, Charles University in Prague

  2. HelenOS USB Project goals USB team Introduction USB USB for HelenOS Architecture USB framework Drivers Demonstration Summary ◮ USB framework ◮ Host controller drivers ◮ HID driver

  3. HelenOS USB USB highlights USB team Introduction USB USB for HelenOS Architecture USB framework Drivers Demonstration Summary ◮ Architecture for connecting peripherals ◮ Device discovery and configuration ◮ Hot plug & unplug, power management

  4. HelenOS USB Physical topology USB team Introduction USB USB for HelenOS Architecture USB framework EHCI UHCI Bluetooth Drivers Demonstration Summary Hub Keyboard Hub Printer Webcam ?

  5. HelenOS USB Host controllers – masters of the bus USB team Introduction USB USB for HelenOS Architecture USB framework Drivers Demonstration Summary ◮ UHCI (USB 1.1) ◮ OHCI (USB 1.1) ◮ EHCI (USB 2.0)

  6. HelenOS USB Devices – slaves of the bus USB team Introduction USB USB for HelenOS Architecture USB framework Device Drivers Demonstration Summary Configuration Interface

  7. HelenOS USB Drivers in HelenOS USB team Introduction USB USB for HelenOS Device manager Application Architecture IPC USB framework Drivers Demonstration Summary IPC IPC (data) IPC HC driver Device driver IPC (data) HW access Hardware

  8. HelenOS USB Layered architecture USB team Introduction USB USB for HelenOS Architecture USB framework Drivers Demonstration HC driver Function driver Summary HC/hardware specific Class/device specific Logical Bus driver ( usbhost ) USB pipes ( usbdev ) Generic driver ( drv ) Generic driver ( drv ) Actual IPC IPC

  9. HelenOS USB USB framework USB team Introduction USB USB for HelenOS Architecture USB framework Drivers Demonstration Summary ◮ Communication API ◮ Wrappers for standard requests ◮ Generic data structures and functions

  10. HelenOS USB USB infrastructure drivers USB team Introduction USB USB for HelenOS Architecture USB framework Drivers Demonstration ◮ UHCI Summary ◮ OHCI ◮ EHCI stub (hand off routine) ◮ Started for tested controllers only ◮ Hub

  11. HelenOS USB Multi interface devices USB team Introduction USB USB keyboard with fingerprint reader USB for HelenOS Architecture HID HID Fingerprint USB framework Drivers reader (101 PC) (multimedia) Demonstration Summary Multi-interface device driver HID HID Vendor driver driver driver Supplied with OS Provided by vendor

  12. HelenOS USB HID driver USB team Introduction USB USB for HelenOS Architecture USB framework Drivers Demonstration ◮ Keyboard Summary ◮ Mouse ◮ Multimedia keys ◮ Interface for applications

  13. HelenOS USB Demonstration USB team Introduction USB USB for HelenOS Architecture USB framework Drivers Demonstration Summary (switch to another input, you . . . )

  14. HelenOS USB Goal accomplishment USB team Introduction USB USB for HelenOS Architecture USB framework Drivers ◮ USB framework ✓ Demonstration Summary ◮ Host controller drivers ✓ ◮ HID driver ✓ ◮ Extra ◮ EHCI stub ◮ Mass storage device stub ◮ lsusb and usbinfo utilities

  15. HelenOS USB Future work USB team Introduction USB USB for HelenOS Architecture USB framework Drivers Demonstration ◮ Support for multimedia devices Summary ◮ Device unplug ◮ Power management ◮ More class drivers

  16. HelenOS USB Behind the scene. . . USB team Introduction USB USB for HelenOS Architecture ◮ 5 member team USB framework Drivers ◮ Regular meetings every week Demonstration Summary ◮ Several collective coding weekends ◮ Trac & mailing list ◮ Over 200 tickets ◮ Links to many resources ◮ About 30K lines of code ◮ excluding 12K lines with comments ◮ Already merged into mainline

  17. HelenOS USB USB team Introduction Thank you. USB USB for HelenOS Architecture USB framework Drivers Questions? Demonstration Summary http://helenos-usb.sourceforge.net/ http://www.helenos.org/ http://www.usb.org/

Recommend


More recommend