Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Niklas Werner <bergtroll@gmx.li>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: status of usb audio driver
Date: Thu, 13 Jun 2002 16:05:54 +0200	[thread overview]
Message-ID: <s5hit4nz325.wl@alsa2.suse.de> (raw)
In-Reply-To: <200206131321.PAA09889@papaschlumpf.wg>

At Thu, 13 Jun 2002 15:21:05 +0200,
Niklas Werner wrote:
> 
> Well, now comes the ugly things:
> 
> Using the usb-audio-driver leads to system-lockups:
> 
> No matter whether I access my emi26 via aplay or via oss-emulation, after 
> some time or (more probable) some amount of data my System locks up (hard 
> reset ;-() or at least the usb-bus locks absoulety thight up.
> I can't reload the driver, not even reconnecting the device helps it 
> always gives a timeout message:
> 
> Jun 13 12:26:19 Schlumpfine kernel:   0: [cd2c01e0] link (0d2c0210) e0 
> Stalled CRC/Timeo Length=7 MaxLen=7 DT0 EndPt=0 Dev=2, PID=2d(SETUP) 
> (buf=0d0222c0)
> Jun 13 12:26:19 Schlumpfine kernel:   1: [cd2c0210] link (0d2c0240) e3 
> SPD Active Length=0 MaxLen=11 DT1 EndPt=0 Dev=2, PID=69(IN) (buf=08a9c000)
> Jun 13 12:26:19 Schlumpfine kernel:   2: [cd2c0240] link (00000001) e3 
> IOC Active Length=0 MaxLen=7ff DT1 EndPt=0 Dev=2, PID=e1(OUT) 
> (buf=00000000)
> Jun 13 12:25:03 Schlumpfine kernel: usb_control/bulk_msg: timeout
> Jun 13 12:25:03 Schlumpfine kernel: emi26_load_firmware - error loading 
> firmware
> : error = -110<6>IPv6 v0.8 for NET4.0
> Jun 13 12:25:28 Schlumpfine kernel: usb_control/bulk_msg: timeout
> Jun 13 12:25:43 Schlumpfine last message repeated 149 times   
> Jun 13 12:26:06 Schlumpfine kernel: emi26: set_reset (1) 
> failed<3>emi26_load_fir
> mware - error loading firmware: error = -110<7>uhci.c: root-hub INT 
> complete: po
> rt1: 580 port2: 48a data: 4
> 
> This doesn't happen with the kernel module (audio).
> Unfortunately I can't find any clues in the logfiles, maybe you can...

which kernel version are you using?
i can see the error of firmware downloading above.  can it be related
with the lock-up of alsa driver?


> At least I can reproduce this easily using xmms to playback some 7 
> minutes or so of 48kHz mp3s....
> 
> Using aplay and waves this effect tends to appear later.
> Using xmms' alsa-plugin crashes the sound-driver at once...

then perhps difference is the period / buffer size.
my driver allows very small period size up to 1msec, while oss driver
uses always 10msec (5ms x 2).

could you check the files under /proc/asound/cardX/pcm0p/sub0
directory during playback?  they show the running set-up of pcm.


Takashi

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas - http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink

  reply	other threads:[~2002-06-13 14:05 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-04 16:57 status of usb audio driver Takashi Iwai
2002-06-12  5:16 ` Patrick Shirkey
2002-06-12 13:24   ` Takashi Iwai
2002-06-12 14:10     ` Patrick Shirkey
2002-06-12 14:13       ` Takashi Iwai
2002-06-12 14:19         ` Niklas Werner
2002-06-12 14:36           ` Takashi Iwai
2002-06-12 16:00             ` Niklas Werner
2002-06-12 14:55         ` Patrick Shirkey
2002-06-12 16:12           ` Patrick Shirkey
2002-06-12 16:48             ` Patrick Shirkey
2002-06-12 16:59               ` Takashi Iwai
2002-06-12 17:31                 ` Patrick Shirkey
2002-06-13 10:39                   ` Takashi Iwai
2002-06-13 12:54                     ` Patrick Shirkey
2002-06-13 13:05                       ` Takashi Iwai
2002-06-13 13:21                         ` Niklas Werner
2002-06-13 14:05                           ` Takashi Iwai [this message]
2002-06-14  8:58                             ` Niklas Werner
2002-06-13 13:35                         ` Patrick Shirkey
2002-06-13 13:43                           ` Takashi Iwai
2002-06-13 14:58                             ` Patrick Shirkey

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=s5hit4nz325.wl@alsa2.suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=bergtroll@gmx.li \
    /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