Welcome To The WinHEC 2000 Device Driver Sessions Sandy Spinrad Device Driver Evangelist Microsoft C - PowerPoint PPT Presentation

1 / 43
About This Presentation
Title:

Welcome To The WinHEC 2000 Device Driver Sessions Sandy Spinrad Device Driver Evangelist Microsoft C

Description:

Most HCTs come from tests used by Microsoft device testing teams ... Many Hardware Compatibility Tests (HCTs) have additional testing tools. Study the HCTs carefully ... – PowerPoint PPT presentation

Number of Views:100
Avg rating:3.0/5.0
Slides: 44
Provided by: downloadM
Category:

less

Transcript and Presenter's Notes

Title: Welcome To The WinHEC 2000 Device Driver Sessions Sandy Spinrad Device Driver Evangelist Microsoft C


1
Welcome To The WinHEC 2000 Device Driver
SessionsSandy SpinradDevice Driver
EvangelistMicrosoft Corporation
2
(No Transcript)
3
Driver Sessions (Today)
4
Driver Sessions (Wednesday)
5
Driver Sessions (Thursday)
And lots of great content in the technical forums
6
Resources Available To Driver DevelopersSandy
SpinradDevice Driver Evangelist Bill
StuartDeveloper SupportMicrosoft Corporation
7
Resources ForDriver Developers
  • DDK
  • Driver Verifier
  • Windows Hardware Newsletter
  • DDK/HWDEV Web sites
  • Conferences
  • Beta Programs
  • Hardware Evangelism Group
  • Test Kits
  • External resources
  • DDK Developer Support

8
The Device Driver Kit
  • Available through MSDN? and athttp//www.microsof
    t.com/DDK
  • Documentation available online at
    http//www.microsoft.com/ddk/ddkdocs/win2k
  • Use the latest Windows 2000 DDK for updated WDM
    content
  • Send us your feedback

9
Driver Verifier
10
Microsoft Windows Hardware Newsletter
  • Microsofts primary vehicle for communicating
    with the hardware industry
  • Information pertaining to planners, testers,
    developers
  • Sign up for it today!
  • http//www.hwdev.org/whn.htm
  • And read it!

11
HWDev And DDK Web Sites
  • Archives relevant articles from the Windows
    Hardware Newsletter
  • Hosts the DDK downloads
  • Whitepapers
  • PC Design Guides
  • Resources and Yellow Pages
  • http//www.microsoft.com/hwdev

12
Conferences
  • WinHEC
  • Please provide feedback
  • sandysp_at_microsoft.com
  • Meltdown (July 12th 14th)
  • Plugfests
  • Porting events
  • And a variety of device class specific events
    throughout the year
  • Conferences are announced in the Windows Hardware
    Newsletter

13
Beta Programs
  • Major beta releases are available through MSDN
  • Limited beta programs are are also available
  • Watch the hardware newsletter
  • Participate early and thoroughly

14
Hardware Evangelism Group
  • Responsible for driving communications between
    Microsoft and the hardware industry
  • Technical evangelists assigned to technology
    areas
  • Can be contacted directly or through
    ihv_at_microsoft.com

15
Test Kits
  • Not just for WHQL logo certification
  • Most HCTs come from tests used by Microsoft
    device testing teams
  • Beneficial for internal testing
  • Many Hardware Compatibility Tests (HCTs) have
    additional testing tools
  • Study the HCTs carefully
  • Use driver verifier
  • Test on multiprocessor systems

16
External Resources
  • Books
  • Public newsgroups and mailing lists
  • Third party training seminars
  • Tools
  • Consultants
  • http//www.microsoft.com/hwdev/
  • Click on resources/third-party resources

17
Driver Development Support And Hardware
Development Tips Bill StuartDeveloper Support
Microsoft Corporation
18
Microsoft Supports Writing Device Drivers
  • You dont need support until you NEED SUPPORT
  • Support information
  • Microsoft Resource Guide
  • Helpful hints
  • General hardware suggestions

19
Free Support/Resources
  • Knowledge Base
  • http//support.microsoft.com/search/
  • Select Windows DDKs in the Select a Microsoft
    Product
  • Type in search
  • The DDK Support teams host a free information
    page
  • http//support.microsoft.com/support/ddk/

20
(No Transcript)
21
(No Transcript)
22
(No Transcript)
23
(No Transcript)
24
(No Transcript)
25
Professional Paid Support
  • Get to the right place quickly
  • www.microsoft.com/support/customer/develop.htm
  • Incident answer to a question
  • www.microsoft.com/support/customer/dev_pro.htmOr
    call 800-936-3500
  • Quickly use incidents 800-936-5800
  • Web submission
  • Cheaper than phone!
  • More accurate - you type it
  • MSDN customers can go directly tomsdn.microsoft.c
    om/subscriptions

26
Find Support In Your Country And Language
  • http//support.microsoft.com
  • Go to worldwide support
  • Pick a country
  • Driver questions can be escalated to the main
    Developer Support teams

27
(No Transcript)
28
(No Transcript)
29
(No Transcript)
30
Make Incidents Go Faster
  • Put keywords in the incident title
  • YES DDK Windows NT audio driver IRP handling
    - very specific
  • Not specific Windows audio C programming -
    may take longer
  • SR (service request) number
  • Like an object handle in programming
  • Good idea to write it down
  • Anyone in Microsoft Support can find your
    incident case if delayed
  • Upgrade to latest major build

31
Topics For Driver/DDK Support Engineers
  • Building in the DDK environment
  • Sample adaptations
  • Understanding the documentation or design guides
    to write your driver
  • Setting up the Debugging environment
  • Debugging tips
  • Possible workarounds for known bugs

32
Questions For Other Support Engineers
  • OEM system initial debug
  • C language questions
  • WHQL/logo questions - you can find documents and
    e-mail addresses at http//www.microsoft.com/hwte
    st/

33
Questions For Resources Other Than Microsoft
  • Actual debugging of your source
  • Undocumented proprietary DDIs/APIs
  • Driver development kits or tools not from
    Microsoft
  • Third-party real-time extensions to the operating
    system, except Windows CE
  • Programming hardware

34
Other Developer Resources
  • Windows SE debug files
  • Located on next Windows 98 DDK
  • Now http//www.microsoft.com/ddk/
  • Look for updates
  • Premier support
  • www.microsoft.com/support/customer/dev_premier.htm
  • Or call 800-836-3200
  • OEM/system builders should start
    athttp//www.microsoft.com/oem/
  • Cutting edge idea? Ihv_at_microsoft.com

35
We Support A Variety Of Kits/Operating Systems
  • Driver Support is part ofDeveloper Support for
    Windows
  • This covers all manner of kernel mode and user
    mode programming
  • Support of writing code forWindows 2000, Windows
    98, Windows CE
  • Support of maintaining past drivercode such as
    Windows 95, Windows NT 4.0, etc.

36
Hardware Development SuggestionsBill
StuartDeveloper Support Microsoft Corporation
37
Hardware Design Can Help Driver Development
  • Hardware design aids driver design when it is
  • Deterministic
  • Configurable
  • Latency insensitive
  • Conforms to device class specifications
  • Is designed with respect to the driver model
  • Benefits
  • Less time to code driver
  • Faster code execution
  • More reliable drivers happier end users

38
Deterministic Hardware Is Great For Drivers
  • Avoid write-only registers
  • Separate the controls of different hardware
    functions
  • Double check adherence to all device
    specifications
  • Plug and Play IDs - different hardware with same
    ID, multiple IDs in same device

39
Configurable Hardware Is Great For Drivers
  • Design device to tolerate power loss
  • ROM BIOS may not run before the device driver
    runs
  • Allow for driver configuration instead of
    firmware only
  • Limit hardware directly setting behavior of
    another device

40
Latency Insensitive Hardware Is Great For Drivers
  • Windows average data throughputis reliable
  • ...Single operation may be interrupted
  • Avoid driver managing A/D conversions
  • Have buffering of data in hardware

41
Device Class Specifications
  • Comply with all relevant deviceclass
    specifications
  • Hardware behavior might not be changeable in
    drivers
  • Support the required power states
  • Use Microsoft supplied drivers when available
  • Many IDE, USB, 1394 DV devices will work with
    Microsoft supplied drivers
  • If value add features are a requirement, try
    using filter drivers

42
In Summary
  • Microsoft supports writingdevice drivers
  • Microsoft wants you to develop successful drivers
  • Microsoft Developer Support will help you develop
    quality device drivers
  • Questions regarding DDK support? E-mail
    BillStu_at_microsoft.com

43
(No Transcript)
Write a Comment
User Comments (0)
About PowerShow.com