public inbox for alsa-devel@alsa-project.org
 help / color / mirror / Atom feed
From: Takashi Sakamoto <o-takashi@sakamocchi.jp>
To: Stanislav Sergiienko <pythonpowerd@gmail.com>,
	Clemens Ladisch <clemens@ladisch.de>
Cc: alsa-devel@alsa-project.org
Subject: Re: BugReport: Dice works partially [Broken]
Date: Mon, 11 May 2015 10:42:04 +0900	[thread overview]
Message-ID: <555008EC.8050703@sakamocchi.jp> (raw)
In-Reply-To: <CAPv3ZfzgsPHATbkxa1qGGFat52NujLwkbyN3zCUQ94a3aSqR0w@mail.gmail.com>

Hi,

To reveal what causes this issue, please post following test and the 
outputs. The test consists of 8 steps.

0. Plug-out your DesktopKonnect6.

1. To prevent snd_dice from auto-loading, add an entry to configuration 
file. See:
https://wiki.archlinux.org/index.php/Kernel_modules#Blacklisting

Perhaps:
$ cat /etc/modprobe.d/blacklist.conf
...
blacklist snd_dice
...

2. Reboot your system and confirm that snd_dice is not auto-loaded.

$ lsmod | grep snd_dice
(nothing)

3. Plug-in your DesktopKonnect6.

4. Wait one minute without do things
(I expect several bus reset occurs in IEEE 1394 bus then the bus becomes 
calm.)

5. Load snd_dice and check it
$ modprobe snd_dice
$ lsmod | grep snd_dice
snd_dice (you may see.)

6. Dump module information
$ cat /proc/asound/DesktopKonnekt6/dice
...(outputs)...

7. Try your playback test.

8. get logs from pulseaudio via journalctl or the other tools.


Regards

Takashi Sakamoto

On May 11 2015 07:10, Stanislav Sergiienko wrote:
>> Any error messages in the system log?
>
> The problem is that i couldn't find any significant errors. All i was
> able to gather is:
>
> journalctl:
> апр 13 13:47:56 ArchLinux pulseaudio[2115]: [pulseaudio] pid.c: Daemon
> already running.
> апр 13 13:48:03 ArchLinux pulseaudio[2098]: [alsa-sink-DICE]
> alsa-sink.c: ALSA woke us up to write new data to the device, but
> there was actually nothing to write!
> апр 13 13:48:03 ArchLinux pulseaudio[2098]: [alsa-sink-DICE]
> alsa-sink.c: Most likely this is a bug in the ALSA driver 'snd_dice'.
> Please report this issue to the ALSA developers.
> апр 13 13:48:03 ArchLinux pulseaudio[2098]: [alsa-sink-DICE]
> alsa-sink.c: We were woken up with POLLOUT set -- however a subsequent
> snd_pcm_avail() returned 0 or another value < min_avail.
>
> Sometimes see this:
> май 03 17:30:27 ArchLinux pulseaudio[657]: [alsa-sink-DICE]
> alsa-sink.c: Resume failed, couldn't restore original sample settings.
>
> Sometimes after play failed i see in sysnotification area:
> "DesktopKonnect6 don't work, 'Default' will be used"
>
> In dmesg i see no errors.
>
>> What exactly happens when it cannot play sound?
>
> No errors. It's just don't play anything. For example, for video,
> various players handle it differently - some are just play video
> without any sound, some can't play video at all(stops play on first
> frame).
>
>> What exactly happens when it "breaks"?
>
> Almost nothing, sometimes i can hear that music breaks with some kind
> of "click-sound", like someone pulled the wire from my loudspeakers.
> But this sound is barely noticeable.
> If i try to play file again i hear some kind of "initialization
> sound", like when device open on PC boot.
> It's hard to describe it in my English :)
>
> If you send me info about how to gather more detailed logs, i try do this.
> P.S. Sorry for long time to answer.
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

  reply	other threads:[~2015-05-11  1:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-05 12:15 BugReport: Dice works partially [Broken] Stanislav Sergiienko
2015-04-06 20:14 ` Clemens Ladisch
2015-05-10 22:10   ` Stanislav Sergiienko
2015-05-11  1:42     ` Takashi Sakamoto [this message]
2015-08-15 22:13       ` Stanislav Sergiienko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=555008EC.8050703@sakamocchi.jp \
    --to=o-takashi@sakamocchi.jp \
    --cc=alsa-devel@alsa-project.org \
    --cc=clemens@ladisch.de \
    --cc=pythonpowerd@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox