Comments (13)
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.
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 asAndroid.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.
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):
- install avahi
- start avahi-daemon.service
- install python-pyserial from repository (I tried using pip but this did not work for some reason)
- 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)
- run
avahi-resolve -n Android.local
copy that address - run
sudo dmesg
look forcdc_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 . - 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).]
- 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.
Can you provide a copy of the firmware?
from dpt-rp1-py.
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.
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.
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.
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.
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.
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.
I have hit this myself, but after restarting Wi-Fi on the device and attempting registration again, it worked.
from dpt-rp1-py.
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.
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)
- Cannot Register HOT 14
- Testing Quaderno FMV-DPP04 HOT 8
- Attempting to register - AttributeError: 'list' object has no attribute 'endswith' HOT 3
- registering no longer works HOT 1
- update due to changes in zeroconf HOT 1
- How to recover the file deleted?
- AttributeError: function/symbol 'SHA256_init' not found in library HOT 2
- sync throws error 'count' on refreshing file information HOT 7
- Exception when registering device HOT 3
- Random error during register process (Quaderno A4 v2) HOT 1
- Renaming/moving folders
- DEBUG:fuse.log-mixin:<- init None HOT 2
- Unable to connect to DPT-RP1 via bluetooth from Ubuntu 20.04 HOT 2
- Is it available to print documents to dpt-rp1 on ubuntu22?
- API Call list
- cannot register HOT 1
- list-folders not listing specific folder
- Stuck on Getting Certificate from device CA...
- Can't install/run - missing "pkg_resources" HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dpt-rp1-py.