#3502

After disconnecting X4C from computer (via USB file transfer), the screen hangs

Openbrianhusteropened 1mo ago

Device

Xteink X4 Classic

Affected Version

1.6.0-x4c

Describe the Bug

See steps to repro

Steps to Reproduce

  1. Connect the X4C to computer via USB
  2. Go to "File Transfer" -> "USB Drive" from the e-reader
  3. Do some file operations from computer (e.g remove files, add new files to the e-reader) and wait for them to complete
  4. Eject or disconnect the e-reader from computer
  5. You'll see that the screen is stuck with the following text. Only resetting can make it quit that screen
USB Drive Connected
This may take up to 30 seconds to connect.
Eject the drive on your computer, or
disconnect the cable to return Home

Expected Behavior

The e-reader should goes back to Home after ejecting or disconnecting the cable

Relevant Log Output/Screenshots

undefined

Activity

9
itsthisjustin1mo ago

Interesting. Idk why I'd have to treat the x4c differently than the pro...does it work fine on your pro?

brianhuster1mo ago

I don't have a Pro

itsthisjustin1mo ago

What OS are you using the usb mode on? I can't replicate this but I've seen someone note it on their Pro as well and figured it was a one off issue. Trying to find some common replication steps

brianhuster1mo ago

What OS are you using the usb mode on?

Do you ask about the OS of my computer? I use Kubuntu

itsthisjustin1mo ago

What OS are you using the usb mode on?

Do you ask about the OS of my computer? I use Kubuntu

Yeah so I'm just wondering if maybe linux isn't sending the same "command" as windows or macOS

brianhuster1mo ago

I don't know, but it seems like it can detect when the drive is connected fine. And I think just unplugging the USB cable from X4C should work fine, because what kind of command could be sent in this case?

itsthisjustin1mo ago

I don't know, but it seems like it can detect when the drive is connected fine. And I think just disconnecting (by unplugging) the USB cable from X4C should work fine, because what kind of command could be sent in this case?

Valid. Not sure why it's different for you than me. I know there was a PR for this floating around that I didn't merge as I didn't think it was a universal issue. Will look into it

brianhuster1mo ago

Where is that PR, I want to try if it fixes my issue

itsthisjustin1mo ago

Where is that PR, I want to try if it fixes my issue

Check the freeinksdk