-
Notifications
You must be signed in to change notification settings - Fork 71
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
Trying to write in an none existing folder ? #42
Comments
Hi, yes, this was fixed with PR #40 Anyway, I guess this is not a blocking issue. So it should work anyway. |
Oh OK. On windows 10, I get a USB device with an error (translated to english)
|
Interessting. For me it is working without any issues with a Pixel 3 and 5. |
Mmmh... I don't know if it what you're looking for but I get these two events <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-Windows-Kernel-PnP" Guid="{9c205a39-1250-487d-abd7-e831c6290539}" />
<EventID>400</EventID>
<Version>0</Version>
<Level>4</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x4000000000000000</Keywords>
<TimeCreated SystemTime="2023-01-12T14:11:33.9726437Z" />
<EventRecordID>8756</EventRecordID>
<Correlation />
<Execution ProcessID="4" ThreadID="19300" />
<Channel>Microsoft-Windows-Kernel-PnP/Configuration</Channel>
<Computer>DESKTOP-FRN3BHQ</Computer>
<Security UserID="S-1-5-18" />
</System>
<EventData>
<Data Name="DeviceInstanceId">USB\VID_0000&PID_0002\5&150ee2ad&0&4</Data>
<Data Name="DriverName">usb.inf</Data>
<Data Name="ClassGuid">{36fc9e60-c465-11cf-8056-444553540000}</Data>
<Data Name="DriverDate">06/21/2006</Data>
<Data Name="DriverVersion">10.0.19041.1949</Data>
<Data Name="DriverProvider">Microsoft</Data>
<Data Name="DriverInbox">true</Data>
<Data Name="DriverSection">BADDEVICE.Dev.NT</Data>
<Data Name="DriverRank">0xff0000</Data>
<Data Name="MatchingDeviceId">USB\DEVICE_DESCRIPTOR_FAILURE</Data>
<Data Name="OutrankedDrivers">usb.inf:USB\DEVICE_DESCRIPTOR_FAILURE:00FF2000</Data>
<Data Name="DeviceUpdated">false</Data>
<Data Name="Status">0x0</Data>
<Data Name="ParentDeviceInstanceId">USB\ROOT_HUB30\4&29f2cc3c&0&0</Data>
</EventData>
</Event> And <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-Windows-Kernel-PnP" Guid="{9c205a39-1250-487d-abd7-e831c6290539}" />
<EventID>411</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x4000000000000000</Keywords>
<TimeCreated SystemTime="2023-01-12T14:11:33.9802063Z" />
<EventRecordID>8757</EventRecordID>
<Correlation />
<Execution ProcessID="4" ThreadID="19300" />
<Channel>Microsoft-Windows-Kernel-PnP/Configuration</Channel>
<Computer>DESKTOP-FRN3BHQ</Computer>
<Security UserID="S-1-5-18" />
</System>
<EventData>
<Data Name="DeviceInstanceId">USB\VID_0000&PID_0002\5&150ee2ad&0&4</Data>
<Data Name="DriverName">usb.inf</Data>
<Data Name="ClassGuid">{36fc9e60-c465-11cf-8056-444553540000}</Data>
<Data Name="ServiceName" />
<Data Name="LowerFilters" />
<Data Name="UpperFilters" />
<Data Name="Problem">0x0</Data>
<Data Name="Status">0xc00000e5</Data>
</EventData>
</Event>
|
What ROM are you using and which kernel version has your ROM? |
I'm using Android 13 (TQ1A.221205.011). The kernel version is 5.10.107 |
Hi,
I'm currently trying to get this work on a Pixel 6A running android 13.
Reading the logs I noticed an issue:
So this is the interesting part of the logs
As you can see I get the following error
ROOT (stderr) - : <stdin>[53]: can't create strings/0x409/configuration: No such file or directory
Which seems normal as this directory is not created by the script.
Indeed the
strings
folder created is$GADGET_PATH/strings/0x409/
which corresponds to/config/usb_gadget/keyboard/strings/0x409/
different from$CONFIG_PATH/strings/0x409/configuration
which resolves to/config/usb_gadget/keyboard/configs/c.1//strings/0x409/configuration
Is there a quick fix for this issue?
Thanks in advance
The text was updated successfully, but these errors were encountered: