osspd Log


Commit Date  
[14a9cf] (HEADmaster) by Miklos Szeredi Miklos Szeredi

Implement mmap support with STORE and RETRIEVE notifications

This one doesn't use server side mmap of the fuse device to access the
contents of the client side memory maps. Instead it uses the STORE
and RETRIEVE notifications for this purpose.

2011-12-06 16:49:01 Tree
[37eb73] by Miklos Szeredi Miklos Szeredi

fix compiler warnings

2011-11-11 13:19:32 Tree
[4c6161] by Tejun Heo Tejun Heo

adsp_se was incorrectly created with dsp_ops. Create it with adsp_ops.

Reported-by: Aaron <aaron.hamid@gmail.com>

2011-02-21 10:54:06 Tree
[6efc23] by Tejun Heo Tejun Heo

FUSE mmap API has changed. Disable mmap support for now.

2010-10-04 13:07:25 Tree
[237fd9] by Tejun Heo Tejun Heo

Report poll data/space availability only if more than frag size is available

Unit of data consumption should be user visible frag size and poll
shouldn't report availability only if at least one full frag size is
available. Fix it.

Reported by Maarten and tested in osstest.

2010-02-17 09:28:49 Tree
[9d0e47] by Tejun Heo Tejun Heo

Fix error return values for incorrect r/w direction

r/w and GETI/OSPACE should fail with -EINVAL not -EIO if r/w direction
is wrong. Make osspd remember the rw direction, check it and fail
with -EINVAL before passing the command onto the slave. This bug was
discovered by Maarten and tested in osstest.

2010-02-17 09:23:00 Tree
[05e0e9] by Maarten Lankhorst Maarten Lankhorst , pushed by Tejun Heo Tejun Heo

Add more simple tests to osstest

2010-02-17 05:34:57 Tree
[1f7810] by Tejun Heo Tejun Heo

Fix error return value from read/write() while mmapped

Maarten Lankhorst <m.b.lankhorst@gmail.com> reports that the correct
error return value from r/w() while mmapped is ENXIO not EIO. Fix it.

2010-02-17 05:30:29 Tree
[124f67] by Maarten Lankhorst Maarten Lankhorst , pushed by Tejun Heo Tejun Heo

Fix building w/o mmap

2010-02-10 02:22:34 Tree
[75bf47] by Tejun Heo Tejun Heo

Bump version and update copyright notices

Bump version to 1.3.2 and it's 2010 already and I'm feeling old.

2010-02-09 09:29:29 Tree
[e22c0a] by Tejun Heo Tejun Heo

Reimplement mmap support

The shmem based FUSE dmmap support got NACKed due to API and
implementation ugliness and new custom address spaace based one is
pending. Reimplement osspd mmap support accordingly. Make osspd test
whether FUSE_MMAP_DONT_COPY is defined by libfuse and if so enable
mmap support automatically.

2010-02-09 09:29:29 Tree
[4d419a] by Tejun Heo Tejun Heo

Lower default max streams

Lower default max streams to 128. This is in preparation of new mmap
implementation which uses pinned kernel pages.

2010-02-09 09:29:29 Tree
[0578e6] by Tejun Heo Tejun Heo

Drop root from slave

Maintain root privilege till slave starts and drop it from
ossp_slave_init(). This change is necessary for new mmap
implementation as cuse only allows root to manage the mmap address
space.

2010-02-09 09:29:29 Tree
[249fcc] by Tejun Heo Tejun Heo

Implement new stream id allocator and grim reaper for slave corpses

Implement simple bitmap based id allocator which allocates the lowest
available id. Reaping thread is added so that stream id is freed only
after the slave is completely dead. This is to prepare for new mmap
implementation.

Note that as id 0 is reserved, this reduces max number of streams by
one.

2010-02-09 09:29:29 Tree
[b5dfb4] by Tejun Heo Tejun Heo

Factor out ossp_slave_init() and create ossp-slave.[hc]

Create ossp-slave.[hc], move ossp_slave_process_command() there and
factor out common slave init code into ossp_slave_init().

2010-02-09 09:29:28 Tree
[2d3b31] by Tejun Heo Tejun Heo

Reorder functions

mmap implementation should be with other op implementations, not after
notify_poller(). Reorder them.

2010-02-09 09:29:28 Tree
[084a8e] by Tejun Heo Tejun Heo

Fix misc bugs

2010-02-09 09:29:28 Tree
[67132f] by Tejun Heo Tejun Heo

bump version to 1.3.1

2009-11-18 05:58:58 Tree
[455e6d] by Maarten Lankhorst Maarten Lankhorst , pushed by Tejun Heo Tejun Heo

add udev rules and install to makefile

2009-11-18 05:57:39 Tree
[7cf270] by Maarten Lankhorst Maarten Lankhorst , pushed by Tejun Heo Tejun Heo

steal environment variables from the opening pid

2009-11-18 05:57:39 Tree
[fcab2d] by Maarten Lankhorst Maarten Lankhorst , pushed by Tejun Heo Tejun Heo

add a simple oss testing program

2009-11-18 05:57:39 Tree
[a6f0a3] by Maarten Lankhorst Maarten Lankhorst , pushed by Tejun Heo Tejun Heo

add gitignore

2009-11-18 05:57:38 Tree
[d4f418] by Maarten Lankhorst Maarten Lankhorst , pushed by Tejun Heo Tejun Heo

add a alsa plugin

2009-11-18 05:57:38 Tree
[8d87a8] by Tejun Heo Tejun Heo

disable mmap support

Kernel mmap support needs to be re-done and the interface will change.
Disable mmap support for now.

2009-10-04 02:20:17 Tree
[c51802] by Tejun Heo Tejun Heo

update to v1.3

* Mixer command handling is lazy now. If no other command is
occupying the stream, it will be executed right away. Otherwise, it
will set pending flag and return the osspd internal volume state.
The actual mixer command will be executed as soon as the current
command finishes. This helps some applications (xmms for e.g.)
which poll volume asynchronously from writing to the stream. If the
mixer ioctl blocks, the application stutters.

2009-06-20 06:30:05 Tree
Older >