jadonk / jadonk/rowboat

libusb_open() returns LIBUSB_ERROR_NO_MEM

Open
#121 0 comments 0 reactions 0 assignees View on GitHub
auto-migrated Priority-Medium Type-Defect
Dominant language
No language data
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

```
What steps will reproduce the problem?
I have build gingerbread 2.3 for xm beagle board. In init.rc i mentioned to
mount usbfs. But when i try to open usb it returns LIBUSB_ERROR_NO_MEM on
libusb_open().

But when i give write permission to all /dev/bus/usb/001/ it eorks fine. Why
this occurs?

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
Gingerbread 2.3
Ubuntu 10.04
Kernel = 2.6.32

Please provide any additional information below.

```

Original issue reported on code.google.com by `unni.sre...@gmail.com` on 28 Jul 2011 at 5:55

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing init.rc and the permissions on /dev/bus/usb/001/, then reproduce libusb_open() on the stated Gingerbread, Ubuntu 10.04, and 2.6.32 kernel environment. Compare the result with the behavior after granting write permission and determine what configuration or permission difference explains LIBUSB_ERROR_NO_MEM.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, c, linux
Domain
embedded-iot, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.