rajeshsola / adk-driver-skeleton Goto Github PK
View Code? Open in Web Editor NEWKernel space driver template to make linux machine as android accessory.
Kernel space driver template to make linux machine as android accessory.
Hi,
in function adk_ioctl the line
retval=copy_from_user(pacc,ioargp,sizeof(accessory_t));
is wrong or not sufficient, since the struct accessory_t contains pointers to string buffers, which must be copied from user space also.
KR
i had load adk-aoa-skeleton.ko,but ican not find /dev/adk-skel0, anybody can help me,please?
Linux@Linux:/adk-driver-skeleton/adk-driver$ sudo insmod adk-aoa-skeleton.ko/adk-driver-skeleton/adk-driver$ lsmod
Linux@Linux:
Module Size Used by
adk_aoa_skeleton 20480 0
nls_iso8859_1 16384 0
r8188eu 409600 0
lib80211 16384 1 r8188eu
cfg80211 712704 1 r8188eu
Linux@Linux:~/adk-driver-skeleton/adk-driver$ ls /dev/adk*
ls: cannot access '/dev/adk*': No such file or directory
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.