all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Packaging CDEmu and VHBA kernel module
@ 2019-02-12 22:48 Pierre Neidhardt
  2019-02-14 10:34 ` Chris Marusich
  0 siblings, 1 reply; 16+ messages in thread
From: Pierre Neidhardt @ 2019-02-12 22:48 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 1451 bytes --]

Hi!

I'm down to packaging CDEmu (https://cdemu.sourceforge.io/about/vhba/)
which depends on its own kernel module, VHBA
(https://cdemu.sourceforge.io/about/vhba/).

I wonder how we are supposed to package this in Guix.

- Where to store the kernel module?
- VHBA's documentation recommends setting up some Udev rule.  Does it
  mean that it's up to the user to configure those rules so that they
  have access to VHBA and thus CDEmu?

From the documentation:

--8<---------------cut here---------------start------------->8---
VHBA module provides the control character device via which communication between userspace and kernelspace is done. This requires both read and write permissions on the character device for the user running the CDEmu daemon.

Typically, the read-write permissions on the /dev/vhba_ctl are achieved by using udev's "uaccess" tag, by creating the following udev rule:

KERNEL=="vhba_ctl", SUBSYSTEM=="misc", TAG+="uaccess"

The rule should be stored in a .rule file in either /lib/udev/rules.d or /etc/udev/rules.d directory. For the "uaccess" tag to be applied properly, the rule must be executed before the uaccess rule. Therefore, if the uaccess rule is contained by /lib/udev/rules.d/70-uaccess.rules, the rule above must be stored in a file with number smaller than 70.
--8<---------------cut here---------------end--------------->8---

Insights?

--
Pierre Neidhardt
https://ambrevar.xyz/

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2019-06-24 13:04 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-12 22:48 Packaging CDEmu and VHBA kernel module Pierre Neidhardt
2019-02-14 10:34 ` Chris Marusich
2019-03-05 17:35   ` Pierre Neidhardt
2019-04-14 17:13     ` Pierre Neidhardt
2019-04-14 17:23       ` Danny Milosavljevic
2019-04-14 17:24       ` Pierre Neidhardt
2019-04-14 17:28         ` Pierre Neidhardt
2019-04-14 17:31         ` Danny Milosavljevic
2019-04-14 17:57           ` Tobias Geerinckx-Rice
2019-04-14 17:39         ` Tobias Geerinckx-Rice
2019-06-23  3:06     ` Chris Marusich
2019-06-23  6:39       ` Pierre Neidhardt
2019-06-23  6:40         ` Pierre Neidhardt
2019-06-24 13:04           ` Danny Milosavljevic
2019-06-23 22:03         ` Chris Marusich
2019-06-24  7:52           ` Pierre Neidhardt

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.