Project

General

Profile

Actions

Bug #699

closed

Sound update

Added by hasso over 17 years ago. Updated over 17 years ago.

Status:
Closed
Priority:
Low
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

During sound configuration problems (which turned out to be usual error
between keyboard and chair) I updated sound code to the latest one from
FreeBSD RELENG_6. It didn't help me (obviously), but I realised it
should help a lot of hda users and also contains the new envy24 driver,
so I continued work on it.

Only ich is tested briefly by me and hda is tested by josepht from
#dragonflybsd. So, I'd say that there is good chance it doesn't blow up
your system ;). More tests (especially hda and envy24) are very welcome.

Don't pay attention to tags etc, this cleanup will follow before commit.

There were two problems I'm not sure though that I handled correctly.

  • New experimental polling mode using simple callout_* mechanism uses
    callout_drain() we don't have in df. I used callout_stop() instead,
    but as I'm not familiar with this mechanism, I'm not sure at all.
    Polling isn't enabled by default, so it shouldn't bite testers anyway.
  • AFAICS we don't have uncacheable DMA support, so PCI snooping is used.
    I'm not sure I handled all related stuff correctly (grep for
    BUS_DMA_NOCACHE from patch).

The rest of it should be quite straightforward.

http://hasso.linux.ee/stuff/patches/dragonfly/sound-latest-fbsd6.patch.txt

Actions #1

Updated by nant over 17 years ago

This fixes some problems i had trying to control volume on hda. Thanks!

Nuno

Actions #2

Updated by hasso over 17 years ago

Thanks for feedback, that's what I hoped.

I uploaded the cleaned up patch. No functional changes, just corrected
FreeBSD CVS Id's etc. If noone objects I will commit in Sunday.

http://leaf.dragonflybsd.org/~hasso/sound-update-from-fbsd6.patch

Actions #3

Updated by dillon over 17 years ago

:Thanks for feedback, that's what I hoped.
:
:I uploaded the cleaned up patch. No functional changes, just corrected
:FreeBSD CVS Id's etc. If noone objects I will commit in Sunday.
:
:http://leaf.dragonflybsd.org/~hasso/sound-update-from-fbsd6.patch
:
:--
:Hasso Tepper

Your patch looks a lot more involved then my lockmgr patch, so you
commit yours first, then I'll merge, clean up, and commit mine.
-Matt
Matthew Dillon
<>
Actions #4

Updated by hasso over 17 years ago

Committed.

Actions

Also available in: Atom PDF