Bug 53141

Summary: ice1724-Infrasonic Quartet shows only two channels for capture
Product: Drivers Reporter: Vladimir (snigurmd)
Component: Sound(ALSA)Assignee: Jaroslav Kysela (perex)
Status: NEW ---    
Severity: normal CC: tiwai, tobias.boesch
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 3.7.4 Subsystem:
Regression: No Bisected commit-id:
Attachments: Output logs from dmesg, amixer, arecord, lspci

Description Vladimir 2013-01-28 13:02:12 UTC
ice1724 driver shows only two channels for capture at once (one stereo-channel), though it is capable of mixing four channels (PCM 1/2 and PCM 3/4). Now I see this is a driver issue, not hardware, because Windows mixer can mix all the challels.
Here I can only switch between PCM 1/2 OR 3/4 in alsamixer and put the other one in monitor mode, but I'd like to capture it with Jack.

I attach here output from dmesg, lspci, uname, amixer and arecord.
Comment 1 Vladimir 2013-01-28 13:03:02 UTC
Created attachment 92041 [details]
Output logs from dmesg, amixer, arecord, lspci
Comment 2 Takashi Iwai 2013-01-28 13:24:48 UTC
Try to record from the secondary stream (shown as IEC958).
Comment 3 Takashi Iwai 2013-01-28 13:26:33 UTC
... or maybe setting "ice->force_rdma1 = 1" would be needed in qtet_init().
Comment 4 Vladimir 2013-01-28 19:56:53 UTC
I tried to add alsa_in to jack from hw:0,1, but there's silence. Still need to switch between analog in 1/2 & 3/4 through PCM in 1/2. Jack doesn't start on this device at all.

>... or maybe setting "ice->force_rdma1 = 1" would be needed in qtet_init().
What's that? Could you specify?
Comment 5 Takashi Iwai 2013-01-30 16:06:29 UTC
In qtest_init() in sound/pci/ice1712/quartet.c, put a line
   ice->forced_rdma = 1;

(e.g. around the line setting ice->hw_rates, ice->is_spdif_master, etc.).
Comment 6 Vladimir 2013-01-30 19:48:29 UTC
Still nothing, same thing. Sound only through PCM in 1/2.
Comment 7 tobias.boesch 2018-04-06 20:13:53 UTC
Hello everyone,

I recently bought an Infrasonic Quartet.
I noticed the same alsa problem as Vladimir but also with the output count. There are only two analog output channels that are working. Alsamixer shows four channels. speaker-test can only test 2 channels output.
It seems output and input problems are related.

Before I sell my card I wanted to ask if I can help fixing this bug? I'm a c-developer, but I have no idea how to test and where to start and I have only a very small amount of time.

Reply appreciated.
Thanks for all your work in alsa.
Comment 8 tobias.boesch 2018-04-10 20:26:34 UTC
(In reply to tobias.boesch from comment #7)
> Hello everyone,
> 
> I recently bought an Infrasonic Quartet.
> I noticed the same alsa problem as Vladimir but also with the output count.
> There are only two analog output channels that are working. Alsamixer shows
> four channels. speaker-test can only test 2 channels output.
> It seems output and input problems are related.
> 
> Before I sell my card I wanted to ask if I can help fixing this bug? I'm a
> c-developer, but I have no idea how to test and where to start and I have
> only a very small amount of time.
> 
> Reply appreciated.
> Thanks for all your work in alsa.

Tested more deeply and I got sound from output 1/2 and 3/4. No issue with the output. I was wrong.
Recording from hw:0,1 (assuming quartet card is 0) using arecord throws a bad file descriptor error while recording with arecord from hw:0,0 does not create an error (didn't test of something was successfully recorded - no mic connected)
Comment 9 Vladimir 2020-05-12 23:12:02 UTC
The problem persists. It is unable to capture from An in 1/2 and An in 3/4 at the same time. The question is whether it is the hardware problem or the software problem. The card seems to allow miltitrack recording.