Acties:
  • 0 Henk 'm!

  • Paultje3181
  • Registratie: November 2002
  • Laatst online: 01:42
Ik heb onlangs een Creative X-FI HD gekocht om aan te sluiten op mijn DS211 NAS. Hierop draait een linux systeem. Ik krijg echter met geen mogelijkheid de optical out van mijn X-Fi aan de praat. De geluidskaart wordt herkend door mijn NAS:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
sudo aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
default:CARD=HD
    USB Sound Blaster HD, USB Audio
    Default Audio Device
front:CARD=HD,DEV=0
    USB Sound Blaster HD, USB Audio
    Front speakers
surround40:CARD=HD,DEV=0
    USB Sound Blaster HD, USB Audio
    4.0 Surround output to Front and Rear speakers
surround41:CARD=HD,DEV=0
    USB Sound Blaster HD, USB Audio
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=HD,DEV=0
    USB Sound Blaster HD, USB Audio
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=HD,DEV=0
    USB Sound Blaster HD, USB Audio
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=HD,DEV=0
    USB Sound Blaster HD, USB Audio
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=HD,DEV=0
    USB Sound Blaster HD, USB Audio
    IEC958 (S/PDIF) Digital Audio Output


code:
1
2
3
4
5
6
aplay -Diec958 Ilse\ DeLange-01-I\'m\ Not\ So\ Tough.flac
Playing raw data 'Ilse DeLange-01-I'm Not So Tough.flac' : Unsigned 8 bit, Rate 8000 Hz, Mono
aplay: set_params:1053: Sample format non available
Available formats:
- S16_LE
- S24_3LE

Ik heb alleen geen idee hoe ik de default via commandline aanpas naar iec958. Ik heb al een aantal tutorials gelezen en topics hier zoals http://gathering.tweakers.net/forum/list_messages/1304935, maar ik kom er niet uit. /etc/rc.local kan ik wel invullen, maar als ik dan iets af probeer te spelen gebeurt er niets.

Iemand enig idee, hoe ik dit toch kan fixen? Ik vraag het hier, omdat in NOS toch meer linux-kennis is dan in het synology-topic. Als hier h.e.e.a. uitkomt, zal ik hier een tutorial voor maken en daar posten als SONOS-alternatief.

[ Voor 6% gewijzigd door Paultje3181 op 29-11-2011 13:33 ]


Acties:
  • 0 Henk 'm!

  • CAPSLOCK2000
  • Registratie: Februari 2003
  • Laatst online: 10:04

CAPSLOCK2000

zie teletekst pagina 888

Die iec958 tot default maken zou je met een /etc/asoundrc doen (iirc).
Als ik bovenstaande commando zie lijkt het alsof de gekozen file niet door aplay kan worden afgespeeld. 8 bit, 8000hz mono geluid is dan ook wel heel karig.

This post is warranted for the full amount you paid me for it.


Acties:
  • 0 Henk 'm!

  • Paultje3181
  • Registratie: November 2002
  • Laatst online: 01:42
Dit is een flac-bestand, zelf gegenereerd van cd met EAC. Dus deze wordt niet goed herkend. Ik zal eens een wav posten.
code:
1
2
3
4
sudo aplay -Diec958 test.wav
Password:
Playing WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 8000 Hz, Mono
aplay: set_params:1059: Channels count non available


flac is uiteraard geinstalleerd op de NAS. Ik moet trouwens ook afspelen als root. /dev/dsp zijn van root:root, dus het creëren van de group audio heeft dan ook weinig zin denk ik. Maar kan ik zomaar chgrp doen op devices, zonder dat ik daar alles mee ver***?

[ Voor 73% gewijzigd door Paultje3181 op 29-11-2011 14:46 ]


Acties:
  • 0 Henk 'm!

  • CAPSLOCK2000
  • Registratie: Februari 2003
  • Laatst online: 10:04

CAPSLOCK2000

zie teletekst pagina 888

Dat kan wel, maar de volgende reboot wordt het weer aangepast.
Voor een permanente oplossing moet je met udev aan de slag, maar om even te testen is een chmod prima.

This post is warranted for the full amount you paid me for it.


Acties:
  • 0 Henk 'm!

  • Paultje3181
  • Registratie: November 2002
  • Laatst online: 01:42
volgens mij heeft de synology geen udev. Zou evt. het aanpassen met chmod naar 666 wel kunnen? Of ben ik die wijzigingen ook kwijt?

Acties:
  • 0 Henk 'm!

  • CAPSLOCK2000
  • Registratie: Februari 2003
  • Laatst online: 10:04

CAPSLOCK2000

zie teletekst pagina 888

Dan zou het moeten werken. Ik zou zeggen: probeer het.

This post is warranted for the full amount you paid me for it.


Acties:
  • 0 Henk 'm!

  • Paultje3181
  • Registratie: November 2002
  • Laatst online: 01:42
Ik krijg ondertussen wel zoveel dat ik als ik een flac afspeel dat hij gewoon speelt, maar ik heb nog geen geluid. Het kan zijn dat iec958 gemute is, maar deze komt niet naar voren met amixer. Dus unmuten is ook lastig dan...
code:
1
2
aplay Ilse\ DeLange-01-I\'m\ Not\ So\ Tough.flac -r48000 -fS16_LE -c2
Playing raw data 'Ilse DeLange-01-I'm Not So Tough.flac' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo

code:
1
2
3
4
5
6
7
8
9
10
11
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: HD [USB Sound Blaster HD], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HD [USB Sound Blaster HD], device 1: USB Audio [USB Audio #1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HD [USB Sound Blaster HD], device 2: USB Audio [USB Audio #2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

code:
1
2
3
4
5
aplay -L
...
iec958:CARD=HD,DEV=0
    USB Sound Blaster HD, USB Audio
    IEC958 (S/PDIF) Digital Audio Output

Inhoud van /etc/asound.conf
code:
1
2
3
4
5
6
7
8
9
pcm.HD {
    type hw
    card 0
}
ctl.HD {
    type hw
    card 0
}
pcm.!default iec958:HD

Acties:
  • 0 Henk 'm!

  • Paultje3181
  • Registratie: November 2002
  • Laatst online: 01:42
Ik heb het uiteindelijk toch maar analoog aangesloten. Dit werkt out of the box. Maar mocht iemand de geniale tip hebben... Ook op ubuntu kreeg ik het niet voor elkaar om het werkend te krijgen. Lijkt toch moeilijker dan gedacht...
Pagina: 1