Powered by Invision Power Board


  
 
Reply to this topicStart new topicStart Poll

> USB Soundkarte leben einhauchen.
SVeith
Geschrieben am: Mittwoch, 05.September 2012, 17:00 Uhr
Quote Post


Professional
****

Gruppe: G2V3+User
Beiträge: 507
Mitgliedsnummer.: 1160
Mitglied seit: 2005-11-10



Hallo Zusammen,

ich habe mir zwecks Nachrüstung von SPDIF (optisch) eine USB Soundkarte bestellt.
Nun versuche ich schon geraume Zeit der Karte einen Ton zu entlocken.

So sieht die Ausgabe von aplay -l aus:
CODE
vdr ~ # aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC663 Analog [ALC663 Analog]
 Subdevices: 0/1
 Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 3: ALC663 Digital [ALC663 Digital]
 Subdevices: 1/1
 Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
 Subdevices: 1/1
 Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 0 [HDMI 0]
 Subdevices: 1/1
 Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: HDMI 0 [HDMI 0]
 Subdevices: 1/1
 Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: HDMI 0 [HDMI 0]
 Subdevices: 1/1
 Subdevice #0: subdevice #0
card 2: Device [USB Sound Device], device 0: USB Audio [USB Audio]
 Subdevices: 1/1
 Subdevice #0: subdevice #0


Dazu noch lsusb:
CODE
vdr ~ # lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 004: ID 0d8c:0102 C-Media Electronics, Inc. CM106 Like Sound Device
Bus 002 Device 003: ID 0bc7:0006 X10 Wireless Technology, Inc. Wireless Transceiver (ACPI-compliant)


Und mein Versuch der USB Kiste per asound.conf einen Ton zu entlocken:
CODE
pcm.!default {
type hw
card 2
device 0


Über den Alsamixer habe ich sämtliche ein und Ausgänge der Box auf 80%.

Die Kiste gibt aber keinen Mux von sich, weder über Klinke noch über SDPIF out.

Irgendeine Idee woran ich noch schrauben kann?

Danke und Gruß
Stefan

angehängte Datei ( Anzahl der Downloads: 121 )
angehängte Datei  g2v_log_09051751.7z
Email Poster
Top
R2D2
Geschrieben am: Mittwoch, 05.September 2012, 19:04 Uhr
Quote Post


Prinz
****

Gruppe: Moderators
Beiträge: 6149
Mitgliedsnummer.: 1131
Mitglied seit: 2005-10-30



Hi,

ich bin jetzt nicht der alsa Experte, aber sollte die asound.conf für den optischen Ausgang nicht so aussehen?

CODE
pcm.!default {
       type hw
       card 2
       device 0
}

pcm.optically {
       type hw
       card 2
       device 0
}

ctl.optically {
       type hw
       card 2
       device 0
}

pcm.!default optically
ctl.!default optically
Email PosterUsers WebsiteICQ
Top
SVeith
Geschrieben am: Mittwoch, 05.September 2012, 20:20 Uhr
Quote Post


Professional
****

Gruppe: G2V3+User
Beiträge: 507
Mitgliedsnummer.: 1160
Mitglied seit: 2005-11-10



Hallo R2,

danke für den Tip, aber funzt leider auch nicht.
Ich habe mir hier schon "den Wolf probiert", aber die Kiste gibt keinen Mux von sich... aber ich muss auch gestehen die asound.conf ist mir auch ein Rätsel.

Noch ne Frage:
Müsste nicht bei aplay -l für die Card 2 die subdevices angezeigt werden?

Ciao, Stefan
Email Poster
Top
R2D2
Geschrieben am: Mittwoch, 05.September 2012, 20:25 Uhr
Quote Post


Prinz
****

Gruppe: Moderators
Beiträge: 6149
Mitgliedsnummer.: 1131
Mitglied seit: 2005-10-30



Im alsamixer hast hast Du die USB Soundkarte "entmutet"?
Email PosterUsers WebsiteICQ
Top
SVeith
Geschrieben am: Mittwoch, 05.September 2012, 20:29 Uhr
Quote Post


Professional
****

Gruppe: G2V3+User
Beiträge: 507
Mitgliedsnummer.: 1160
Mitglied seit: 2005-11-10



Ja, ich habe nach jedem boot nachgesehen, die steht immer auf ca. 90%.

Hab auch mit "alsactl store" gespeichert.
Email Poster
Top
R2D2
Geschrieben am: Mittwoch, 05.September 2012, 20:49 Uhr
Quote Post


Prinz
****

Gruppe: Moderators
Beiträge: 6149
Mitgliedsnummer.: 1131
Mitglied seit: 2005-10-30



QUOTE (SVeith @ Mittwoch, 05.September 2012, 21:20 Uhr)
[...] Noch ne Frage:
Müsste nicht bei aplay -l für die Card 2 die subdevices angezeigt werden? ...

Was sagt denn?
CODE
aplay -lL
Email PosterUsers WebsiteICQ
Top
SVeith
Geschrieben am: Mittwoch, 05.September 2012, 21:21 Uhr
Quote Post


Professional
****

Gruppe: G2V3+User
Beiträge: 507
Mitgliedsnummer.: 1160
Mitglied seit: 2005-11-10



Dort steht ein wenig mehr...

CODE

vdr ~ # aplay -lL
null
   Discard all samples (playback) or generate zero samples (capture)
front:CARD=Intel,DEV=0
   HDA Intel, ALC663 Analog
   Front speakers
surround40:CARD=Intel,DEV=0
   HDA Intel, ALC663 Analog
   4.0 Surround output to Front and Rear speakers
surround41:CARD=Intel,DEV=0
   HDA Intel, ALC663 Analog
   4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
   HDA Intel, ALC663 Analog
   5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0
   HDA Intel, ALC663 Analog
   5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Intel,DEV=0
   HDA Intel, ALC663 Analog
   7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
hdmi:CARD=Intel,DEV=0
   HDA Intel, ALC663 Digital
   HDMI Audio Output
hdmi:CARD=NVidia,DEV=0
   HDA NVidia, HDMI 0
   HDMI Audio Output
hdmi:CARD=NVidia,DEV=1
   HDA NVidia, HDMI 0
   HDMI Audio Output
hdmi:CARD=NVidia,DEV=2
   HDA NVidia, HDMI 0
   HDMI Audio Output
hdmi:CARD=NVidia,DEV=3
   HDA NVidia, HDMI 0
   HDMI Audio Output
front:CARD=Device,DEV=0
   USB Sound Device, USB Audio
   Front speakers
surround40:CARD=Device,DEV=0
   USB Sound Device, USB Audio
   4.0 Surround output to Front and Rear speakers
surround41:CARD=Device,DEV=0
   USB Sound Device, USB Audio
   4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Device,DEV=0
   USB Sound Device, USB Audio
   5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Device,DEV=0
   USB Sound Device, USB Audio
   5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Device,DEV=0
   USB Sound Device, USB Audio
   7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Device,DEV=0
   USB Sound Device, USB Audio
   IEC958 (S/PDIF) Digital Audio Output
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC663 Analog [ALC663 Analog]
 Subdevices: 1/1
 Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 3: ALC663 Digital [ALC663 Digital]
 Subdevices: 1/1
 Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
 Subdevices: 1/1
 Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 0 [HDMI 0]
 Subdevices: 0/1
 Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: HDMI 0 [HDMI 0]
 Subdevices: 1/1
 Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: HDMI 0 [HDMI 0]
 Subdevices: 1/1
 Subdevice #0: subdevice #0
card 2: Device [USB Sound Device], device 0: USB Audio [USB Audio]
 Subdevices: 1/1
 Subdevice #0: subdevice #0
Email Poster
Top
R2D2
Geschrieben am: Mittwoch, 05.September 2012, 21:21 Uhr
Quote Post


Prinz
****

Gruppe: Moderators
Beiträge: 6149
Mitgliedsnummer.: 1131
Mitglied seit: 2005-10-30



Versuche es mal damit: :)

--> http://schmatzler.de/?p=59
Email PosterUsers WebsiteICQ
Top
SVeith
Geschrieben am: Mittwoch, 05.September 2012, 21:29 Uhr
Quote Post


Professional
****

Gruppe: G2V3+User
Beiträge: 507
Mitgliedsnummer.: 1160
Mitglied seit: 2005-11-10



Ach Du sch..., Du meinst das nicht ernst oder? :o

Ich glaube ich pack das Ding wieder ein und sende es zurück und bestell mir eine "normale" pci oder pci-e Soundkarte.

Das ist dann doch etwas jenseits meiner Linux Kenntnisse...
Email Poster
Top
R2D2
Geschrieben am: Mittwoch, 05.September 2012, 21:33 Uhr
Quote Post


Prinz
****

Gruppe: Moderators
Beiträge: 6149
Mitgliedsnummer.: 1131
Mitglied seit: 2005-10-30



QUOTE (SVeith @ Mittwoch, 05.September 2012, 22:29 Uhr)
Ach Du sch..., Du meinst das nicht ernst oder? :o ...

Ich meinte damit nur, dass Du evtl. mal die asound.conf testen solltest. :)

QUOTE
CODE
pcm.snd_card {
type hw
card 1
device 0
}

ctl.snd_card {
type hw
card 1
device 0
}

pcm.dmixer {
type dmix
ipc_key 1024
ipc_perm 0666
slave.pcm “snd_card”
slave {
period_time 1
period_size 4410
buffer_size 22050
rate 44100
channels 6
format S16_LE
}
bindings {
0 0
1 1
2 4
3 5
4 2
5 3
}
}

pcm.dsnooper {
type dsnoop
ipc_key 2048
ipc_perm 0666
slave.pcm “snd_card”
slave
{
period_time 0
period_size 1024
buffer_size 4096
rate 44100
channels 2
format S16_LE
}
bindings {
0 0
1 1
}
}

pcm.duplex {
type asym
# Wenn man nur Stereo-Signale hat, so kann man alle upmixen lassen:
# playback.pcm “upmix”
# Falls nicht, so wählt man den normalen Weg
playback.pcm “dmixer”
# und spricht den upmix direkt an; zB “aplay -D upmix sound.wav”
# In den allermeisten Fällen wird die Aufnahme nur Stereo sein:
capture.pcm “dsnooper”
}

pcm.!default {
type plug
slave.pcm “duplex”
}

pcm.upmix {
type route
slave.pcm dmixer
slave.channels 6
ttable.0.0 1
ttable.1.1 1
ttable.0.2 1
ttable.1.3 1
ttable.0.4 0.5
ttable.1.4 0.5
ttable.0.5 0.5
ttable.1.5 0.5
}


Halt noch entsprechend anpassen. ;)
Email PosterUsers WebsiteICQ
Top
SVeith
Geschrieben am: Mittwoch, 05.September 2012, 21:52 Uhr
Quote Post


Professional
****

Gruppe: G2V3+User
Beiträge: 507
Mitgliedsnummer.: 1160
Mitglied seit: 2005-11-10



Ja, das versuche ich morgen nochmal!

Danke und Tschö, Stefan
Email Poster
Top
SVeith
Geschrieben am: Donnerstag, 06.September 2012, 12:01 Uhr
Quote Post


Professional
****

Gruppe: G2V3+User
Beiträge: 507
Mitgliedsnummer.: 1160
Mitglied seit: 2005-11-10



Hab noch mal weiter rumprobiert.
Unter VDR mit Xineliboutput bekomme ich keinen Ton aus der USB Kiste.

Hab aber mal mit XBMC versucht. Damit geht es durchaus wenn ich die Soundkarte unter System Audio ausgewählt habe, Filme werden sauber in Dolby Digital oder AC3 je nachdem ausgegeben, Musik wird über Downmix mit leichten Knacksern und sehr leisem Hintergrundrauschen wiedergegeben.

Also für Filme OK, für Musik nicht so doll.

Kann mir jemand eine preiswerte Soundkarte mit SPDIF für PCI empfehlen?
Ich denke ich sende die USB Kiste zurück.

Tschö Stefan.
Email Poster
Top
Thema wird von 1 Benutzer(n) gelesen (1 Gäste und 0 Anonyme Benutzer)
0 Mitglieder:

Topic Options Reply to this topicStart new topicStart Poll