Click here to learn
about this Sponsor:
Home  |  News  |  Articles  |  Polls  |  Forum

Keywords: Match:
Linux USB subsystem, drivers explained
Jan. 23, 2007

A free presentation about writing Linux drivers for USB devices is available for download from Free Electrons, a French embedded Linux training and consulting firm. The 92-page presentation is available in English, in several document formats, under a Copyleft license.

Free Electrons publishes all the tutorials and training presentations that it produces under the Creative Commons ShareAlike 2.5 license. This allows the material to be studied by anyone, and even used by other trainers, provided they acknowledge the original author and keep the license for any edited or enhanced versions they produce.

Michael Opdenacker, author of the USB driver presentation, stated, "These new slides give details about the Linux USB implementation and the data structure it uses. They explain the API to create, transmit, and process the completion of USB Request Blocks. And, they detail the resources a driver needs to register to support a USB device."

Opdenacker adds:
Do you need to write a Linux driver for a new USB device? Did you ask for help on a community mailing list, but the answer was "Use the Source, Luke?"

This was wise advice. The Linux sources contain hundreds of USB driver sources which you can learn from. You are also likely to find code for devices which are pretty similar to yours. You could reuse some of this code for your device!

Now, you realize how fortunate you are compared to when you had to write the equivalent driver for a proprietary operating system. The only documentation you could find was the OS driver manual, and there was just one example from that manual. In addition, you couldn't even reuse that sample driver code, as it was copyright-protected by the OS vendor!

Now, you should be ready to use the Source. Just the Source? Some documentation would still help in understanding existing code faster. Fortunately, an increasing number of documentation sources exist for Free and Open Source Software, like the new USB training slides from Free Electrons.

Availability

Free Electron's 92-page USB driver presentation is available for download in PDF, OO.org, and HTML formats, here. Also available is a brief 4-page lab exercise demonstrating how USB module loading is automated under Linux, and how USB drivers are registered.

Free presentations on USB host controllers and USB gadget drivers are planned for the future, added Opdenacker.

New Year's card

Additionally, Free Electons has made its excellent Year of the Penguin New Year's card design (depicted below) available under the ShareAlike license.


Free Electrons's free New Year's card design

Opdenacker said, "Free Electrons sends its best wishes to the whole user and developer community. Just like everything produced by Free Electrons, this card is available under a free license. You can reuse it if you like it!"



Related Stories:



(Click here for further information)


7 Advantages of D2D Backup
For decades, tape has been the backup medium of choice. But, now, disk-to-disk (D2D) backup is gaining in favor. Learn why you should make the move in this whitepaper.

4 Legal Reasons to Control Internet Access
The Internet is obviously a valuable resource for many organizations. However, many are exposed to legal liability concerns because they fail to control Internet access. Learn if you're safe in this white paper.

Rapidly Resolve J2EE Application Problems
Whether you are in the process of building J2EE applications or have J2EE applications already running in production, you must ensure that they deliver the expected ROI. Learn how in this white paper.

Load Testing 2.0 for Web 2.0
There are many unknowns in stress testing Web 2.0 applications. Find out how to test the performance of Web 2.0 in this white paper.

Build Better Games Online
For the game infrastructure providers, life is complex. Making money from games has become more complicated. Why? Find out in this white paper.

Building a Virtual Infrastructure from Servers to Storage
This white paper discusses the virtual storage solutions that reduce cost, increase storage utilization, and address the challenges of backing up and restoring Server environments.

Gaining Faster Wireless Connections with WiMAX
Welcome to what is quickly becoming the hyperconnected world where anything that would benefit from being connected to the network will be connected. Learn more in this white paper.

Is Your Desktop a Security Threat?
The new wave of sophisticated crimeware not only targets specific companies, but also targets desktops and laptops as backdoor entryways into those business’ operations and resources. Learn how to stay safe in this white paper.

Increasing SAN Reliability by 100 Percent
Storage area networks (SAN) are a strong part of storage plans. Learn how to increase your reliability and uptime by 100 percent in this case study.

 


Got a HOT tip?   please tell us!
Free weekly newsletter
Enter your email...
Click here for a profile of each sponsor:
PLATINUM SPONSORS
GOLD SPONSORS
(Become a sponsor)

ADVERTISEMENT
(Advertise here)

Check out the latest Linux powered...

mobile phones!

other cool
gadgets



BREAKING NEWS

• Linux-friendly SoCs target low-end multimedia
• CompactFlash as a COTS "standard"
• 65nm ARM9 SoCs target PNDs, smartphones
• Motorola Ming A1600 ships
• N810 gains Android installer
• PC/104-Plus board runs Linux on x86 SoC
• Webinars explore embedded Linux development
• Linux video camera geo-tags, writes to SATA drives
• Garmin Nav devices run Gnome Linux
• Ten LiMo phones this month?
• It's a Yankee Doodle Linux phone
• Wind River to host "Developer Day"
• Dev boards gain Linux support
• 802.11n zooms ahead
• Low-power mini-ITX board runs Linux


Most popular stories -- past 30 days:
• World's cheapest Linux-based laptop?
• Ubuntu ported to a PDA
• 64-way chip gains Linux IDE, dev cards, design wins
• Embedded PowerPC dev kits come with Linux
• Rapid time-to-evaluation -- a key goal for silicon providers
• Embedded Linux is doomed. DOOOMED!
• Rugged PDA available with Linux
• Netflix Player runs Linux
• Miniature Linux PC targets military apps
• $7 SoC runs Linux
• Android Developer Challenge announces first-round winners
• Dual-core ARM SoC clocks to 1.2GHz


Linux-Watch headlines:
• Microsoft tactics push India toward Linux
• Bell, SuperMicro sued over GPL
• "Business intelligence" software goes GPL
• Will Atom bomb?
• LF Summit videos posted
• Linux gains "embedded" maintainers
• Virtualization on tap in SLES and RHEL upgrades
• Linux gets security black eye
• Verizon chooses Linux "platform of choice"
• Hats off to Fedora 9


Also visit our sister site:


Sign up for LinuxDevices.com's...

news feed

Home  |  News  |  Articles  |  Polls  |  Forum  |  About  |  Contact
 

Ziff Davis Enterprise Home | Contact Us | Advertise | Link to Us | Reprints | Magazine Subscriptions | Newsletters
Tech RSS Feeds | White Papers | ROI Calculators | Tech Podcasts | Tech Video | VARs | Channel News

Baseline | Careers | Channel Insider | CIO Insight | DesktopLinux | DeviceForge | DevSource | eSeminars |
eWEEK | Enterprise Network Security | LinuxDevices | Linux Watch | Microsoft Watch | Mid-market | Networking | PDF Zone |
Publish | Security IT Hub | Strategic Partner | Web Buyer's Guide | Windows for Devices

Developer Shed | Dev Shed | ASP Free | Dev Articles | Dev Hardware | SEO Chat | Tutorialized | Scripts |
Code Walkers | Web Hosters | Dev Mechanic | Dev Archives | igrep

Use of this site is governed by our Terms of Service and Privacy Policy. Except where otherwise specified, the contents of this site are copyright © 1999-2008 Ziff Davis Enterprise Holdings Inc. All Rights Reserved. Reproduction in whole or in part in any form or medium without express written permission of Ziff Davis Enterprise is prohibited. Linux is a registered trademark of Linus Torvalds. All other marks are the property of their respective owners.