7 questions
0
votes
1
answer
105
views
USB FunctionFS Gadget: "Invalid argument" with Combined Full-Speed and High-Speed Descriptors (Kernel 4.9.118)
Problem Description
I'm developing a USB 2.0 gadget using Linux FunctionFS (ConfigFS) on an embedded device running kernel 4.9.118. My goal is to implement a vendor-specific bulk data interface that ...
0
votes
0
answers
98
views
SE custom rules in AOSP
I am a junior AOSP developer, I have myservice application with type of coredomain,
type myservice, domain, coredomain, mlstrustedsubject;
I need to open functionfs objects, but adding
allow myservice ...
1
vote
1
answer
1k
views
How to get Linux FunctionFS USB Gadget to register as WINUSB Device on Windows 10?
I have a BeagleBone Blue that I'm attempting to build into a small USB device that I'll communicate with on my Windows machine.
I've got a shell script that I run on boot up that configures the ...
0
votes
0
answers
922
views
Reading data from usb using ffs
I’m facing a problem where I’m unable to reliably read data from my usb endpoints. My ffs defines the following eps:
Ep0 = control
Ep1 = in
Ep2 = out
I have a simple ::read() call that is blocked on ...
0
votes
1
answer
842
views
"Function not implemented" error with ConfigFS on Android
I'm trying to pair a rooted Android device with a PlayStation 4 (or 5) so that I can play around with the Bluetooth HID Profile. The problem is that the PlayStation firmware doesn't like to pair with ...
2
votes
1
answer
873
views
How to extend the BOS descriptor in FunctionFS?
I'm trying to implement a simple WebUSB device on a Raspberry Pi 4. I've created a Linux USB Gadget for this purpose with a FunctionFS function. Currently I've taken the usb/ffs-test.c example from ...
1
vote
1
answer
891
views
FunctionFS stalls endpoint when alternate setting is activated with SET_INTERFACE. Any idea why?
I'm trying to create a Gadget using FunctionFS and the FS driver. My gadget is composed of two functions with the following configurations:
Function 1:
Interface 0:
Endpoint BULK OUT 0x01
...