question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Registration not working with Fujitsu Quaderno 2nd Gen

See original GitHub issue

Here is what I get when I tried to register a brand new QUADERNO A4 (Gen. 2) (FMVDP41). Note that I have redacted the serial number, and added a single print() line for the variable m3:

$ dptrp1 register
Discovering Digital Paper for 30 seconds…
/home/bnewbold/dpt-rp1-py/.venv/lib/python3.8/site-packages/zeroconf/_services/browser.py:169: FutureWarning: <dptrp1.dptrp1.LookUpDPT object at 0x7f9f37cfd790> has no update_service method. Provide one (it can be empty if you don't care about the updates), it'll become mandatory.
  warnings.warn(
Found Digital Paper with serial number [REDACTED]
To discover only this specific device, call:

    /home/bnewbold/dpt-rp1-py/.venv/bin/dptrp1 --serial [REDACTED] register

Found digital paper at 192.168.0.139
To skip the discovery process (and this message), call:

    /home/bnewbold/dpt-rp1-py/.venv/bin/dptrp1 --addr 192.168.0.139 register

Cleaning up...
<Response [204]>
Requesting PIN...
Encoding nonce...
{'error_code': '40301', 'message': 'Bad parameters for registration process.'}
Traceback (most recent call last):
  File "/home/bnewbold/dpt-rp1-py/.venv/bin/dptrp1", line 8, in <module>
    sys.exit(main())
  File "/home/bnewbold/dpt-rp1-py/.venv/lib/python3.8/site-packages/dptrp1/cli/dptrp1.py", line 345, in main
    do_register(
  File "/home/bnewbold/dpt-rp1-py/.venv/lib/python3.8/site-packages/dptrp1/cli/dptrp1.py", line 208, in do_register
    _, key, device_id = d.register()
  File "/home/bnewbold/dpt-rp1-py/.venv/lib/python3.8/site-packages/dptrp1/dptrp1.py", line 240, in register
    if base64.b64decode(m3["a"]) != n2:
KeyError: 'a'

So it seems like the discovery part works, which is cool!

But from a first guess I would assume there has been some change to the registration process. I was able to sync and upload files from an Android mobile device, so I don’t think it is a problem with the reader itself. The reader firmware version is 1.0.00.17060FP.

Thanks for maintaining this cool python tool! Hoping this will be an easy way for me to transfer files to/from my device from Linux (Debian).

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:2
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
vicocommented, Dec 10, 2021

FYI, I have successfully registered my Fujitsu Quaderno 2nd Gen (A4), via WiFi. I am using Ubuntu 21.10 and using package installed via pip.

1reaction
plaublincommented, Jun 10, 2022

It looks like it tries to connect to the wrong address.

Can you double check the following?

  • the 2 lines in dmesg that appear when you activate ethernet-over-usb, e.g.,
cdc_ether 2-1:1.0 usb0: register 'cdc_ether' at usb-0000:00:14.0-1, CDC Ethernet Device, aa:bb:cc:dd:ee:ff
cdc_ether 2-1:1.0 iface0: renamed from usb0   
  • the configuration of your new iface0 interface (see this doc);
  • avahi-resolve -n Android.local, which will give you a line such as Android.local fe80::xxxx:xxxx:xxxx:xxxx

Then, you should be able to run dptrp1 --addr [fe80::xxxx:xxxx:xxxx:xxxx%iface0] sync without errors.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Utilization guide - Good e-Reader
After setting the lock password, follow the steps below to register your FeliCa card or FeliCa compatible device with Quaderno. 1. Press (Home...
Read more >
Digital reader PC app does not detect Fujitsu Quaderno A5 ...
Digital reader PC app does not detect Fujitsu Quaderno A5 Gen 2. I installed the app, restarted PC, connecting the quaderno, a sound...
Read more >
Fujitsu QUADERNO A4 (Gen. 2 FMVDP41) exclusive cover ...
Fujitsu QUADERNO A4 (Gen. 2 FMVDP41) exclusive cover navy and beige new FMVCV41 · Item Information · Oops! Looks like we're having trouble...
Read more >
fujitsu quaderno a4 gen - Reddit post and comment search
Can you connect a Bluetooth keyboard to the fujitsu quaderno A4 2nd Gen? ... It is not easy to return the product to...
Read more >
janten/dpt-rp1-py: Python script to manage a Sony ... - GitHub
The USB connection works on Windows and MacOS but may not work on a Linux machine. ... dptrp1 register Discovering Digital Paper for...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found