Sound blaster x fi titanium hd linux

Creative X-FI Titanium 5.1 Digital Surround on Ubuntu

Table of contents

The Creative X-FI Titanium card has, for a long time, not worked on Ubuntu … until now. I’ve gathered what information I could and found a solution to get it working 100% of the time. This doesn’t mean it works to 100% of it’s potential; some features are still missing such as the Crystalizer and fun features like that. Though it does record audio well, processes extremely well and with my help you’ll have it blasting at full 5.1 digital goodness.

Let’s get started! Note that these instructions are for Ubuntu 11.04 and not for 11.10. Why not 11.10 nor any other linux? Well, I think Ubuntu 11.10 is a joke and I’m lazy so I use Ubuntu. Though I’m pretty sure you could modify these instructions to your distro.

The problem with the X-FI Titanium card most likely ISN’T that Ubuntu cannot ‘see’ the card, it’s most likely that it simply does not have the capability to use it (yet). If you go into your audio preferences you won’t see it there, but if you do a little bit of command line magic it should show up! Even on a fresh Ubuntu 11.04 install.

Type in this command on the command line:

For me it output:

So it does actually show! YEY!

If it does not show up there, then this is NOT the tutorial for you. If you see it listed, continue on my friend to salvation!

Step 1) Add the Audio Dev PPA

The audio dev PPA’s are the repositories which hold newer compiled version of Alsa and a few other things. The real problem with getting the X-FI card to work is Alsa, not ‘Linux’. The newer drivers available through the Audio Dev have the ‘ctfxi’ drivers PROPERLY built right in.

To add the repository for Ubuntu 11.04 type in this command in the terminal:

This will add the repository and update your list. Now all that’s left is to install the new alsa!

This will automatically install the latest version of Alsa from the repository specific for your kernel inside of Ubuntu. This might take a little bit of time depending on your computer speed and internet connection. After all is said and done: Reboot. Though come back because there is more to do!

After your back into linux, it’s time to do Step 2!

Step 2) Add the proper alsa configuration and compile the surround sound modules!

It might sound complicated, but it’s rather simple. Just follow along and you’ll be just fine. Don’t miss any steps though.

First, we’re going to configure Alsa and PulseAudio.

We need to open up a file named ‘asound.conf’ and add some fun stuff into it. Most likely, you don’t have it. No worries, we’ll create it. From the command line:

Читайте также:  Hci0 hardware error 0x37

Type in your admin password when prompted. Now add this to the top of the file:

Save and close the file.

Next we’re going to build the required digital surround sound module: A52.

This process usually gets complicated by others, so I’ve simplified it for you. Copy and paste this into your command line / terminal and then press enter. Copy ALL OF IT. not line by line.

That’s a lot of work! WOO. No worries. Here’s what it does:

  1. Goes into your home directory
  2. Gets the source code for the plugin and the extra development files
  3. Makes a temporary directory
  4. Gets more source stuff
  5. Configures the pre-install stuff, then compiles/builds the module
  6. Then installs it for you
  7. Resets Alsa and PulseAudio

Источник

Sound Blaster X-Fi Titanium HD on Ubuntu 11.10 Oneiric

I took the plunge and upgraded my main machine to 11.10 from 11.04 today. Altogether not too bad since underneath the much maligned Unity lies compiz and ccsm still configures everything I actually care about. The one thing that did break on upgrade however was my sound. I happen to have a Sound Blaster X-Fi Titanium HD (etc etc), which according to Google searches, seems to be the source of quite a few people’s headaches. Specifically, the X-Fi Titanium HD is recognized by the snd_ctxfi driver, but prior to approximately 6/14/2011, it was recognized as an older model, which caused improper behavior, and if you were quick on the kernel logging, yielded messages similar to these:

Quick check on gmane.linux.alsa.devel shows that this fellow Harry Butterworth has put a lot of effort into patching up the driver to support the new card in these messages. The ALSA project’s git repositories show that these three patches are required to make things work:

Now that I have the requisite background info, it’s time to get to solving the problem. At the time of this writing (10/14/2011), the version of the Linux kernel package Oneiric uses is 3.0.0–12.20 (full package: linux-image-3.0.0–12-generic). Let’s start off by fetching the source for the kernel with:

This places the Ubuntu kernel source at /usr/src. We need to go there and unpack it somewhere useful.

We now need to patch the unpacked kernel source with the proper patches from above. In this version of the source (linux-source-3.0.0–12.20), patch 1 has already been included.

We need to now build our new kernel module. I found useful directions at the Ubuntu wiki page on custom kernel builds. Before doing that however, I noticed my current linux-headers package didn’t have the PCI_ID for the X-Fi Ti HD, so I added this line:

file at line 1308, as in patch 1. Then I followed the make directions in from the Ubuntu wiki.

This installed the snd_ctxfi.ko module to:

From there it’s a simple matter to rmmod snd_ctxfi and insmod your newly patched one. This got sound working for me again.

Источник

Читайте также:  Как напечатать наклейки на обычном принтере

Sound Blaster X-Fi

This page describes how to enable support for Sound Blaster X-Fi devices on Debian systems.

The Sound Blaster X-Fi is a sound card series (PCI, PCI-E and USB host interfaces) produced by Creative Technology.

Device support in ALSA is specific to the chipset within the device:

  • snd-ctxfi (EMU20K1, EMU20K2 chipsets)
    • X-Fi Elite Pro
    • X-Fi Fatal1ty
    • X-Fi Platinum
    • X-Fi Titanium
    • X-Fi Titanium Fatal1ty Champion
    • X-Fi Titanium Fatal1ty Professional
    • X-Fi Titanium Professional Audio

    X-Fi XtremeMusic

  • snd-ca0106 (CA0106 chipset)
    • X-Fi Xtreme Audio (PCI)
  • snd-hda-intel (CA0110 chipset)
    • X-Fi Xtreme Audio (PCI-E)
  • The snd-ctxfi driver — based on Creative Technology’s open source driver — was introduced in ALSA at version 1.0.21.

    Configuration

    Install the alsa-utils package:

    If not already performed, add your user account to the audio group, then log out and log back into your system:

    Run alsamixer(1) to unmute channels and raise the volume levels.

    Test the sound device, for example:

    Known Issues

    The Creative Labs CA0106 Soundblaster seems to have some isses with audio capturing in Debian 7 «Wheezy».

    Supported Devices

    The page HowToIdentifyADevice/PCI explains how to identify a PCI device.

    snd-ctxfi

    The following list is based on the alias fields of modinfo snd-ctxfi in Debian 3.2.0 (3.2.51-1) kernel images:

    snd-ca0106

    The following list is based on the alias fields of modinfo snd-ca0106 in Debian 3.2.0 (3.2.51-1) kernel images:

    snd-hda-intel

    The following list is based on the alias fields of modinfo snd-hda-intel in Debian 3.2.0 (3.2.51-1) kernel images, with non-Creative devices removed:

    Источник

    Creative Sound Blaster X-Fi HD

    Хочу купить эту usb аудиокарту. Работает ли она в линуксе? Вроде как здесь https://www.alsa-project.org/wiki/Matrix:Module-usb-audio пишут, что работает, но хотелось бы отзывы от владельцев: воткнул и поехал или придется покрасноглазить?

    Ну серьезно, ни у кого нет?

    У меня есть. Работает. Один косяк, не знаю, связан ли он конкретно с моей, или это вообще болезнь внешних карт по usb, она периодически при запуске не распознается. Приходится переподключать.

    Переподключать в смысле вытянуть кабель и засунуть обратно или как-то программно? Часто это бывает? После сна она нормально определяется?

    Вот кстати, еще один вопрос, там есть вход для микрофона на 6.35 jack, туда же любую 3.5 jack петличку можно засунуть с переходником и будет работать?

    Переподключать в смысле вытянуть кабель и засунуть обратно

    Я так делаю. Может и программно есть, не искал особо.

    Раз в 3-4 включения.

    После сна она нормально определяется?

    Не пользуюсь сном, не могу сказать.

    там есть вход для микрофона на 6.35 jack

    Тут и уши, и микро фронталка 6,3. У меня оба гнезда через переходник на 3,5 подключены. Все работает прекрасно.

    Спасибо. Очень надеюсь, что она не будет зависать после каждого сна 🙂

    Для каких целей? Если для нормального звука в наушниках, то лучше посмотреть FiiO E10K или K3.

    Плюсую. А в качестве микрофона можно взять audio technica at2020

    как странно, слушают через пульс, а ищут карточку в базе алса)

    Для каких целей? Если для нормального звука в наушниках, то лучше посмотреть FiiO E10K или K3.

    Так бы и сделал, но мне нужен микрофон (не взрослый, а дешевый). На этих китайциких ЦАПах для него нет входа, а на встройке ужасно фонит.

    А в качестве микрофона можно взять audio technica at2020

    И куда его втыкать, интересно?

    USB. Это любимый стримерский микрофон жи.

    Если устройство не поддерживается ALSA, оно очевидно не будет работать в Pulseaudio, кроме Bluetooth-устройств.

    Стоит помнить, что у X-Fi HD выходной импеданс 30 Ом, если вдруг у тебя наушники с номиналом ниже 250 Ом.

    Мммм, у моих ушей 56Ом – это будет проблемой?

    Будут разнообразные искажения на АЧХ по типу ламповых усилителей. В норме номинальный (минимальный) импеданс наушников должен превышать выходной импеданс источника в 8 раз («правило 1/8») — тогда возможные искажения частотной характеристики не превысят 1 дБ, что считается неслышимым. Отлично если соотношение 1/50. Идеальный импеданс выхода источника — ноль, но на практике достаточно чтобы он был не выше 2 Ом.

    Слушай, а у тебя колесо громкости получилось настроить?

    Слушают всегда через алса, тк пульс просто обёртка над алсой. Где баг это уже другой вопрос.

    у меня был x-fi surround 5.1 pro, там физическое колесо громкости работало только в винде и только если поставить их специализированный софт

    короче это по сути была виртуальная клавиатура (хах, под своими костылями а не как у людей!) которая программно нажимала Fn+VolUp или Fn+VolDown в зависимости от того куда крутишь

    подозреваю что у тебя так же.

    как странно, слушают через пульс, а ищут карточку в базе алса)

    JACK ты уже начал патчить чтобы он работал со скайпом и чтобы там был регулятор громкости и микшер?

    5 звёзд надрочил, а так был нубом, так и остался.

    Оно работает из коробки у меня.

    Пора уже различать нубов и идейных болванчиков.

    три звезды ты намироточил, а сарказм распознавать так и до сих пор жидковат парсер.

    Оно работает из коробки у меня.

    Срсли? Что за дистриб/де?

    Короче, я сорт оф настроил его.. сначала трахался с lirc, пытаясь понять, почему он не хочет работать. Оказалось, что в раче он почему-то собран без драйвера devinput. В ауре оказался lirc-git, который собран правильно.

    lirc и irexec нормально запустились, события показывает. Как менять громкость из /etc/lirc/irexec.lircrc я так и не понял. В конце концов забил и написал небольшой скрипт, который читает вывод irw:

    и меняет громкость через pamixer:

    Добавил его в автозапуск вм, вроде работает. Потом может как-то по другому сделаю. Если кто-то знает как сделать, чтобы громкость менялась через lirc, можете подсказать.

    Олсо, впечатления по карте: ну вроде звук получше стал, басы появились. Но самое главное это громкость: раньше мне ее сильно не хватало, в фильмах/музыке/ютубе почти постоянно была выкручена на 100%. Сейчас такая же громкость на 30-40%. Так что хотя бы из-за этого оно стоило того. Ну и отдельная крутилка громкости, о ней я всегда мечтал 🙂

    На этой машине деб 10. До этого был арч, там тоже все работало из коробки. По крайней мере с gnome, xfce, plasma.

    По крайней мере с gnome, xfce, plasma.

    Хм, ну может, понятно.

    Ну и пульса у меня везде стоит.

    Да у меня тоже пульса, она к кругляшу никакого отношения не имеет в данном случае.

    Источник

    Поделиться с друзьями
    КомпСовет
    Adblock
    detector