lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 11 May 2010 17:48:11 +0100
From:	Pedro Ribeiro <pedrib@...il.com>
To:	Alan Stern <stern@...land.harvard.edu>
Cc:	FUJITA Tomonori <fujita.tomonori@....ntt.co.jp>, gregkh@...e.de,
	konrad.wilk@...cle.com, tiwai@...e.de,
	USB list <linux-usb@...r.kernel.org>, clemens@...isch.de,
	Kernel development list <linux-kernel@...r.kernel.org>,
	chrisw@...s-sol.org, iommu@...ts.linux-foundation.org,
	andi@...stfloor.org, daniel@...aq.de,
	Andrew Morton <akpm@...ux-foundation.org>, dwmw2@...radead.org
Subject: Re: [alsa-devel] USB transfer_buffer allocations on 64bit systems

On 11 May 2010 17:06, Alan Stern <stern@...land.harvard.edu> wrote:
>
> The particular test that Pedro is running uses audio output only --
> he's sending sound data to a speaker and it comes out noisy.
>
> But the audio data has to come from somewhere, and I don't remember
> where.  Pedro, does the noise occur only when you're playing sound that
> comes from a different USB device?  What happens if you play sounds
> that are stored on your hard disk, like an MP3 file?

> Or what happens if you take the incoming sound data and store it in a
> disk file, and then later play that file out through the speaker?
>
> Alan Stern
>
>

I'm clueless about the whole underlying process but I don't think it
is related to playing a file from the disk or another USB device.

I don't need to play any file for this interference to be heard - I
just need to "open" the device. By this I mean that if I create a JACK
server or if I open the device using the ALSA backed in a program like
Mixxx I immediately start hearing the cracks and pops in the speaker.
But to answer your question, playing a file from the hard drive using
aplay I can also hear the interference - but only when the sound is
playing. As soon as the sound stops and the audio device is "closed",
no interference occurs.

However, when using the JACK server, which probably opens and polls
the audio card constantly (its a low latency audio server) I don't
even need to be playing any sound for the interference to be constant.

I can also see it since I have 4 output leds in the USB audio card and
even if I'm only using 2 channels, the 4 channel leds light up with
interference as the sound cracks and pops.

Regards,
Pedro
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ