I just committed the old-new midi code ftom tanimura and matk.Yuriy Tsibizov (of emu10kx fame) integrated it into current. I think it wil need a lot of work until it’s really mature, but as long as it isn’t in the tree, nearly nobody will have a look at it.
We need a maintainer for this!
I will try to fix panics and LOR’s, but I will not extend drivers to use it. The emu10k1 and the cmi drivers already have support. The emu10kx driver will also make use of it when it enters the tree.
GD Star Rating
loading…
GD Star Rating
loading…
Tags: cmi drivers,
emu10k1,
lor,
matk,
midi code,
midi support,
new midi,
panics,
tanimura,
yuriy —
Since Roman wanted to create his linuxolator branch in perforce, I had to make myself familiar with perforce too, to be able to answer his questions. I learned my first steps in perforce by creating the sound branch (I’m mentoring Ryan together with Ariff). Creating the branch was not hard, but I managed to fail in some way… I used the wrong username part for Ryan’s branch name (“rbeasley” instead of “ryanb”). I think this means I shouldn’t trust my memory and double-check such facts in the future. Since it’s only a namespace issue to not have conflicts when several people want to create branches with the same name (but a different semantic of what has to be done there), I don’t think it matters.
Roman hadn’t as much “luck” than I had. He forgot to add a ‘/’ in an important place which resulted in files like “…_linuxolatoramd64/…” instead of “…_linuxolator/amd64/…” while branching. While ICQ is nice to discuss something in real-time over large distances, you can’t look over the shoulder of someone. Mea culpa (students which are excited and eager to try something… I think I remember how this feels
). He is resolving this as I write this.
While I see some benefits in the way perforce is working (seems to allow some powerful things we can’t do with CVS), I have to say the performance sucks when creating branches (I did it at home via DSL and a compressed ssh tunnel to the perforce server, not on freefall where it should have been much faster). But I didn’t created a FreeBSD branch with CVS, so maybe CVS sucks more when doing this.
GD Star Rating
loading…
GD Star Rating
loading…
Tags: amd64,
ariff,
cvs,
distances,
first steps,
freefall,
important place,
mea culpa,
mentoring,
ssh tunnel —
I committed the kernel subsystem API documentation generation framework. It allows to generate the API documentation of a subsystem (with doxygen) just by adding a short config file (around 22 lines with comments and blank lines, maybe 14 lines without comments and blank lines). Here’s an example of such a config:
—snip—
PROJECT_NAME = “FreeBSD kernel sound device code“
OUTPUT_DIRECTORY = $(DOXYGEN_DEST_PATH)/dev_sound/
EXTRACT_ALL = YES # for undocumented src, no warnings enabled
INPUT = $(DOXYGEN_SRC_PATH)/dev/sound/
GENERATE_TAGFILE = dev_sound/dev_sound.tag
TAGFILES = dev_pci/dev_pci.tag=../../dev_pci/html
dev_usb/dev_usb.tag=../../dev_usb/html
@INCLUDE_PATH = $(DOXYGEN_INCLUDE_PATH)
@INCLUDE = common-Doxyfile
—snip—
The framework is configured to not only generate the HTML version, but also a PDF version.
Subsystems for which docs are generated currently (configs for other subsystems are welcome):
- cam
- crypto
- dev_pci
- dev_sound
- dev_usb
- geom
- i4b
- kern
- libkern
- linux
- net80211
- netgraph
- netinet
- netinet6
- netipsec
- opencrypto
- vm
People which want to help documenting the code may want to have a look at the special commands doxygen understands.
GD Star Rating
loading…
GD Star Rating
loading…
Tags: blank lines,
crypto,
documentation generation,
doxygen,
generation framework,
kernel,
netgraph,
output directory,
pdf version,
subsystems —
Now that we have (or “soon will have”) an official FreeBSD blog, I decided to give this kind of electronic and public diary a try. At least to report the status and progress of some FreeBSD related projects I’m involved in.
A lot happened in the last days. We’re past the deadline of the Google Summer of Code rating process and now the lucky students are chosen. It wasn’t easy. We had more than 120 proposals (out of ~6400). From those we where willing to mentor 40 – 50 (based upon our resources and the quality of the proposals). Google granted 14 to us (a big thank you to Google!). I expect an official announcement “soon”. Hopefully some of those students Google wasn’t able to fund are willing to work with us regardless of the money, there are a lot of very nice proposals (I will add some items to the ideas list based upon them later). We’re at least willing to provide the same amount of mentorship as if they where selected.
I will work with two students. One of them will work on syncing the OSS API from recent releases from 4Front with our sound system. The other one will work on improving the linuxolator. I will announce this on the corresponding mailinglists after the official announcement. ATM we need to do some administrative stuff (handing out access to the wiki and perforce, setting up email aliases, …).
I already mailed some general guides to the students (note to mentors: it’s in the wiki on the “hidden” and restricted to mentors SoC page). For the sound stuff I don’t have a nice TODO list, but luckily the student already investigated the 4Front stuff for the proposal and is eager to start the work (basically this gives us the userland interface for multi-channel mixer support). Regarding the linuxolator improvements the student has a little bit less luck. I compiled a nice TODO list which is based upon his own proposal and all the various things I know about the linuxolator (PR’s, messages on emulation@, private conversations, things we noticed while working on the update of the linux base to a recent Fedora Core, …). I will be impressed if he manages to do everything on the TODO list (don’t worry, he knows that not everything has to be done to declare “success” to Google).
Both of them may be candidates for a commit bit (not within the SoC, but maybe later), both are eager to do the work, interested, motivated, and don’t need hand-holding.
Further news in the area of the sound system: Ariff told me he is working on multi-channel and endianess issues/support, and I may be able to commit two more sound drivers to the tree. One driver is the emu10kx driver currently available in the Ports Collection, and the other one is a driver for some envy24 chips. Currently I’m in contact with the author of the emu10kx driver and a volunteer who wants to improve an existing envy24 driver (author of the driver contacted; since it’s BSD licensed, this is a “don’t be evil” action).
And some news regarding the userland part of the linuxolator: We’re waiting for a repo-copy form linux_base-fc3 to linux_base-fc4. It seems FC4 is compatible enough so that we can direclty move from RedHat 8 to FC 4. FC 5 is out of the game for a while, it doesn’t want to run with the old linux kernel version our linuxolator announces. Changing the version via the sysctl doesn’t help (probably because of the changed semantic of the linux clone syscall between 2.4.x and 2.6.x), so it has to wait until the linuxolator SoC finishes.
GD Star Rating
loading…
GD Star Rating
loading…
Tags: 4front,
channel mixer,
google,
lucky students,
mailinglists,
mentors,
mentorship,
mixer support,
private conversations,
public diary —