-
Notifications
You must be signed in to change notification settings - Fork 49
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
File created on PI not showing on Mac Drive #37
Comments
Interesting. Until now the MTP protocol wasn't supported by Apple at all... Is it something new ? Unless you are speaking about something else ? |
MTP seems to be supported on MAC. I can see the Drive, I can create files on the MAC drive and see them on the PI. But when I create files on the PI, they are not being seen on the MAC. |
which version of macOS are you using ? uMTP-Responder is using the kernel inotify events to get the file system modifications events. Maybe there is an issue around this ? You will have to enable the debug output and check that uMTP-Responder is "seeing" the PI-side files creation. |
I am using macOS Catalina 10.15.2. Will check with the debug output |
BTW, How do you enable the debug output ? Thanks |
Add the CFLAGS="-DDEBUG" option at the make command. |
I am getting totally confused now. I have removed the umtpd program from being launch at boot in the PI. I am also running a ps -ax to check the processes and do not see it running. I am getting the following: mkdir: cannot create directory ‘cfg’: File exists And for some reason, the Drive is mounted on my MAC and when I add file on my MAC, I get notification on the PI: [uMTPrd - 10:22:01 - Info] uMTP Responder : Disconnected Not understanding what is going on |
I run it with gadgetfs on the PI and this is what I get: [uMTPrd - 10:38:50 - Info] uMTP Responder It is looping through that. |
uMTPrd is in FunctionFS mode. check your config file. |
Not sure how you were able to get the Pi4 recognized on a Mac. I was not able to. Are you sure you aren't "by accidentically" connecting it via mass storage or samba? |
Yes i agree that this issue is not very clear. I know that there is some specific softwares able to connect to MTP device, but until now MTP devices wasn't supported at the operation system/macOS level. |
I am using the uMTP-Responder on a PI4 that has a USB Flash Drive. The PI is connected to a Mac through the USB-c connection.
I am able to see the drive on both side. I have a mounted drive on the PI and a mounted drive on the MAC. When I create a file on the MAC, I can see it on the drive of the PI.
When I create a file on the PI, it does not show up on the drive of the MAC.
Any idea what is going on ?
Thank you,
Christian
The text was updated successfully, but these errors were encountered: