-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
# CONFIG_USB_FUNCTIONFS is not set #43
Comments
This should be fixed in the kernel. |
Shouldn't this be |
Prompted by: analogdevicesinc/adi-kuiper-gen#43 We should make sure that all USB stuff we use in the ADI projects are enabled. Signed-off-by: Alexandru Ardelean <[email protected]>
Prompted by: analogdevicesinc/adi-kuiper-gen#43 We should make sure that all USB stuff we use in the ADI projects are enabled. Signed-off-by: Alexandru Ardelean <[email protected]>
Prompted by: analogdevicesinc/adi-kuiper-gen#43 We should make sure that all USB stuff we use in the ADI projects are enabled. Signed-off-by: Alexandru Ardelean <[email protected]>
Prompted by: analogdevicesinc/adi-kuiper-gen#43 We should make sure that all USB stuff we use in the ADI projects are enabled. Signed-off-by: Alexandru Ardelean <[email protected]> (cherry picked from commit ad884e7)
Prompted by: analogdevicesinc/adi-kuiper-gen#43 We should make sure that all USB stuff we use in the ADI projects are enabled. Signed-off-by: Alexandru Ardelean <[email protected]>
Prompted by: analogdevicesinc/adi-kuiper-gen#43 We should make sure that all USB stuff we use in the ADI projects are enabled. Signed-off-by: Alexandru Ardelean <[email protected]> (cherry picked from commit ad884e7)
configfs is different that functionfs (we need both).
|
poking - makes me think it could be either
or
|
that's my sentiment as well; however i can't say for sure yet that we don't need |
I just tried R5 of the release on RPi 4, and it still isn't there...
functionfs is still missing, configfs is there.
|
same on Zynq 7000 (it's not there)
|
ok, but are you sure that here's what i get for a ZC706 with the current kernel, and this is :
i can't seem to see any devices via USB cable yet with iio-osciloscope
I may need to see if also, this USB/OTG context seems to have been mostly used on Pluto and M2k and not much else; if i search in the DTs for Zynq I get:
so, PackRF seems to have needed this, but I'm not sure when this was last tested, or if this was tested; also, in the picture above, i'm not sure if it's worth touching it, since it's under legacy; and is a mess to enable it; [1]
|
a question after the previous reply is:
we can do it for the next releases; |
seems to be a bug with Ubuntu's libiio-dev;
we could probably open a bug report; but we'll see; |
Yes.
No. Like you said - it was done for a few platforms, but there was no consistency. This would improve the end user experience alot (IMHO). (no IP numbers to configure) - we get requests for this. |
last I checked debian was not installing the udev rule. |
Xilinx ships broken USB Micro B to Female USB A Adapters in their kits. So enabling OTG mode by default for Xilinx carriers is causing lot's of support issues. HOST mode can fail. So plugging in a keyboard no longer works. |
Ok. The new This issue was about the Kconfig symbol; that seems to have been solved. |
Enabling OTG mode - and allowing it to be self selected by the ID pin - I agree will cause issues. Enabling OTG in the kernel, and providing two device trees (host mode, and device mode) should be easy (in theory)? and better than we have today... ? |
michael@mhenneri-D06:~/devel/hdl/github-linux-work/linux/arch/arm/boot/dts$ grep dr_mode zynq* michael@mhenneri-D06:~/devel/hdl/github-linux-work/linux/arch/arm/boot/dts$ ls zynq*.dts | wc This will double the device trees we have today.. |
Ok - I can pretty quickly make a script that decompiles device tree...
uses sed to search replace and recompliles/replaces for the next boot (if that's easier). |
That's definitely the preferred option. An alternative would be to use u-boot fdt utils to patch the dtb during boot. |
an overlay would be interesting; we might be approaching a point where the Linux master tree could run on RPi as well; on a broader topic, overlays would be interesting because we could simplify our DTs;
the only issue i see, is that some new device-tree compilers issue more warnings than older ones; |
a uEnv.txt option, or |
Prompted by: analogdevicesinc/adi-kuiper-gen#43 We should make sure that all USB stuff we use in the ADI projects are enabled. Signed-off-by: Alexandru Ardelean <[email protected]> (cherry picked from commit ad884e7)
Prompted by: analogdevicesinc/adi-kuiper-gen#43 We should make sure that all USB stuff we use in the ADI projects are enabled. Signed-off-by: Alexandru Ardelean <[email protected]> (cherry picked from commit ad884e7)
in
functionfs
isn't in the kernel, or a module, so I can't get usb gadget going with IIO.The text was updated successfully, but these errors were encountered: