How azizulhakim/beagleusb works
Main Components
A. Hardware Layer:
• BeagleBoard Hardware
• Android Device (USB-connected)
B. Driver Components:
• USB Core Driver (beagleusb.c/h as the main interface)
• Audio Driver (beagle-audio.c/h)
• Video Driver (beagle-video.c/h)
• Input Driver (input.c/h)
C. Protocol Handlers:
• Android Debug Kit (ADK) Implementation (adk folder)
• Android Open Accessory (AOA) Protocol (aoa.c/h)
D. Android Application Layer:
• BeagleRemoteDisplay APK
[Android Device Layer]
• ↕ USB Connection
[BeagleBoard Hardware Layer]
• ↕ Driver Layer
[Core USB Driver]
• ↓
[Specialized Drivers]
Audio Video Input
• ↓ ↓ ↓
[Protocol Handlers (ADK/AOA)]
Important Elements to Highlight
a. Driver Integration Points:
• How beagleusb.c acts as the main integration point
• Relationship between the three main drivers (Audio, Video, Input)
b. Protocol Implementation:
• How ADK and AOA protocols interface between the Android device and drivers
• Relationship with the Android application
c. Data Flow:
• Audio stream path
• Video frame buffer path
• Input device events path
Implementation Details
[Configuration]
• ↓
[Hardware Interface]
• ↓
[Driver Core]
• ↓
[Specialized Drivers]
• ↓
[Protocol Layer]
• ↓
[Application Layer]
Key Relationships
• How the input system processes keyboard and mouse events
• How audio data flows from Android to BeagleBoard
• How video data is captured and displayed
• The role of ADK/AOA in facilitating communication