Bug 256754 - [NEW PORT]: net/remarkable-devd: automatically configure the USB network connection for Remarkable tablets
Summary: [NEW PORT]: net/remarkable-devd: automatically configure the USB network conn...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Tobias C. Berner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-21 18:29 UTC by Trenton Schulz
Modified: 2021-07-14 10:38 UTC (History)
2 users (show)

See Also:


Attachments
Git diff for remarkable-devd port (3.42 KB, patch)
2021-06-21 18:29 UTC, Trenton Schulz
no flags Details | Diff
Updated diff due to error in plist (3.40 KB, patch)
2021-06-21 19:19 UTC, Trenton Schulz
trueos: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Trenton Schulz 2021-06-21 18:29:27 UTC
Created attachment 225974 [details]
Git diff for remarkable-devd port

Create a port for  automatically configuring the USB network connection Remarkable tablets.

Remarkable tablets provide a network connection when they are connected to a computer via a USB cable. This is simply a devd script that automatically calls dhclient on the attached interface to set up a connection.

Tested with Remarkable 1 and Remarkable 2 tablets.
Comment 1 Trenton Schulz 2021-06-21 19:19:42 UTC
Created attachment 225975 [details]
Updated diff due to error in plist
Comment 2 Tobias C. Berner freebsd_committer 2021-07-14 10:37:47 UTC
Committed, thank you very much :)
Comment 3 commit-hook freebsd_committer 2021-07-14 10:38:25 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5529844e1456e2692b756ca5368e215cea0e0a17

commit 5529844e1456e2692b756ca5368e215cea0e0a17
Author:     Trenton Schulz <trueos@norwegianrockcat.com>
AuthorDate: 2021-07-14 10:32:37 +0000
Commit:     Tobias C. Berner <tcberner@FreeBSD.org>
CommitDate: 2021-07-14 10:36:53 +0000

    net/remarkable-devd: new port -- Devd hotplug rules for Remarkable Tablet

    Automatic IP address when connecting a Remarkable Tablet to USB. This
    makes it possible to access your Remarkable tablet via ssh or its USB
    web interface when it's enabled.

    PR:             256754

 net/Makefile                                       |  1 +
 net/remarkable-devd/Makefile (new)                 | 27 +++++++++++++
 net/remarkable-devd/files/pkg-message.in (new)     | 14 +++++++
 net/remarkable-devd/files/remarkable.conf.in (new) |  7 ++++
 net/remarkable-devd/files/remarkable.in (new)      | 45 ++++++++++++++++++++++
 net/remarkable-devd/pkg-descr (new)                |  3 ++
 6 files changed, 97 insertions(+)