Code Monkey home page Code Monkey logo

dnw's Introduction

2009 MAR 04
  fixed checksum failed USB DATA should be Addr(4) + Size(4) + Data(n) + CS(2) you can ref usbt-otg-hs.c
  use u8 for u16_checksum creator
---------------------------
DNW kernel mode driver 
v1.1 almost working on SAMSUNG 6410
[0]Usage
*\>sudo insmod dnw.ko
*\>dnw-send(command mode) or dnw_cmd(GUI mode) 
*Note:To edit ~/.dnwrc ,~/.dnwrc0

[1]Data Flow
*USB Host(X86) <-- DNW_OTG(S3C)

[2]Packet Format
*(RAM addr)(file size+8)(file content)
e.g.
00 00 E0 57 50 01 00 00 13 00 00 EA ... ...
---RAMAddr- --file LEN- ---image content---

[3]USB data capture from USB Monitor(USB Analyzer).
*Refer to s3c-otg.txt

[4]USB proc information and debug monitor in Linux kernel
*proc information
\>sudo mount -t usbfs none /proc/bus/usb/
*debug monitor
\>sudo insmod usbmon
\>sudo mount -t debugfs none_debugs /sys/kernel/debug/
\>sudo cat /sys/kernel/debug/usbmon/5t > /tmp/usb_debug.log & 


if you have problem for .dnwrc 
cp dnwrc to ~/.dnwrc

dnw's People

Contributors

lecheel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

zhanleewo zfb103

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.