android jni on Beagleboard
- Dominant language
- No language data
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
```
What steps will reproduce the problem?
1.Can android jni use open,ioctl,close to control hardware? I try to do so,but
failed. When I open a device in a jni,it always return -1.if I use chmod to
change the permission of the device node(for example chmod 777 /dev/hidraw0),it
successed in open the device.Are there some solutions not to use chmod。
2.
3.
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
Please provide any additional information below.
```
Original issue reported on code.google.com by `dreamdou...@126.com` on 19 Aug 2010 at 8:50
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the JNI calls to open, ioctl, and close on the Beagleboard, using /dev/hidraw0 as the reported device node. Investigate why open returns -1 without chmod 777; done means JNI can access the device without manually changing its permissions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android
- Domain
- embedded-iot, mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100