Giter VIP home page Giter VIP logo

Comments (13)

vico avatar vico commented on September 3, 2024 4

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.

from dpt-rp1-py.

plaublin avatar plaublin commented on September 3, 2024 1

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.

from dpt-rp1-py.

EvilxFish avatar EvilxFish commented on September 3, 2024 1

Thank you so much for this, sync now works without issue and I can transfer files to and from the device (will need to test uploading new pdfs but this should work... I hope...). This is a godsend for me, and I really appreciate the work you do here, do you have a donation page or anything? The only problem I have now is it keeps loosing the connection and I need to repeat the process of connecting it, is there an easy way of solving that? In case there is someone else who is having issues, I will put some of the steps I needed to do below (aimed at Arch linux users but may be useful for others as well):

  1. install avahi
  2. start avahi-daemon.service
  3. install python-pyserial from repository (I tried using pip but this did not work for some reason)
  4. as root run the following python code:
    import serial
    ser = serial.Serial('/dev/ttyACM0' , 9600, serial.EIGHTBITS, serial.PARITY_NONE, serial.STOPBITS_ONE)
    values = b"\x01\x00\x00\x01\x00\x00\x00\x01\x01\x04"
    ser.write(values)
  5. run avahi-resolve -n Android.local copy that address
  6. run sudo dmesg look for cdc_ether 3-1:1.0 enp0s20u1: renamed from usb0 or similar (the code enp0s20u1 in my case is what you put after the % in the example given in the end of the previous message .
  7. run the code as in previous message but swap sync for register the first time you use it. enter pin shown on device. [note in my case the device kept loosing connection and you have to unplug plug back in and go back to 4).]
  8. make/find a folder you want to use for your device then use the command at the end of the previous message but put the directory you want to use after sync as well. [again device may disconnect randomly, and if it does - yep go back to 4)]

from dpt-rp1-py.

janten avatar janten commented on September 3, 2024

Can you provide a copy of the firmware?

from dpt-rp1-py.

bnewbold avatar bnewbold commented on September 3, 2024

I'm not sure! Is that something I can extract via USB? Or find on the vendor homepage? I don't know how to, eg, get 'adb' working with this device.

from dpt-rp1-py.

Fairy-Cat avatar Fairy-Cat commented on September 3, 2024

Can you provide a copy of the firmware?
I bought a quaderno A5(gen2), it's firmware is 1.0.00.17060FP, but can't get ID and private key through 'dptrp1 register'.
The firmware can be downloaded from here: https://www.fmworld.net/download/digital-paper/sw/FwUpdater_gen2_1.0.00.17060FP.pkg
the lastest one: https://www.fmworld.net/download/digital-paper/sw/FwUpdater_gen2_1.1.00.09240FP.pkg

from dpt-rp1-py.

fabid avatar fabid commented on September 3, 2024

I was having the exact same issue on ubuntu 20.04, but after installing libfuse (based on the hint for mounting as a file system), it now works

sudo apt install libfuse3-3

from dpt-rp1-py.

EvilxFish avatar EvilxFish commented on September 3, 2024

Neither attempting to install fuse nor registering via wifi worked for me (same device Quaderno A4 gen 2), running arch linux.

from dpt-rp1-py.

bnewbold avatar bnewbold commented on September 3, 2024

I tried again with a more recent version of dpt-rp1-py (dpt_rp1_py-0.1.16) and things worked over USB/ethernet! I was able to register and upload PDFs to the device.

From skimming the above I installed libfuse3-3 before trying (I am running debian 11/bullseye on amd64). Not sure if that is what fixed things, or changes in dpt-rp1-py itself.

I'm hesitant to close this as it sounds like others are still having trouble, but this seems to be fixed for me. Very excited to not have to upload files via my phone, thanks for maintaining this cool tool!

from dpt-rp1-py.

EvilxFish avatar EvilxFish commented on September 3, 2024

Just thought I'd give an update for the error I seem to get when trying to register through the cable (note have tried wifi as well).

Discovering Digital Paper for 30 seconds��� Failed Cleaning up... Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn conn = connection.create_connection( File "/usr/lib/python3.10/site-packages/urllib3/util/connection.py", line 72, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.10/socket.py", line 955, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -2] Name or service not known

from dpt-rp1-py.

rpygithub avatar rpygithub commented on September 3, 2024

I have hit this myself, but after restarting Wi-Fi on the device and attempting registration again, it worked.

from dpt-rp1-py.

EvilxFish avatar EvilxFish commented on September 3, 2024

I will add the above does not work when I try and use this device at work. I get
Failed to resolve host name 'Android.local': Timeout reached
as an error on step 5, and I am unable to find the host name among the 10's of thousands of devices that exist on my organizations network. I almost regret buying one of these things, why is it so difficult to connect it to a computer?! Any help would be appreciated, thank you.

from dpt-rp1-py.

leblonda avatar leblonda commented on September 3, 2024

I got the exact same error (the one ending with KeyError: 'a') using a Quaderno Gen2 and Ubuntu. I just tried again and again while turning off and on again the wifi connection and eventuallty it works (maybe 10 tries?).

from dpt-rp1-py.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.