Re: Fwd: Fwd: EHCI driver problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 3 Nov 2011, Anton Alekseev wrote:

> > You didn't get the "force halt; handshake..." message.  It looks like
> > the periodic schedule can take as long as 8 ms to stop running!
> >
> > Error -27 is -EFBIG, which means the driver tried to submit too much
> > data for ehci-hcd to handle.
> 
> You mean that ALSA driver snd_usb_audio can be a problem?

Maybe.  Your log seemed to indicate that, but I haven't heard of any 
similar problems before.

> Two days ago I made an experiment:
> - installed realtime kernel 2.6.31-11-rt
> -disabled EHCI  in BIOS for my usb host controller
> - installed proprietary nvidia driver (cause I didn't want to update
> nouveau for old kernel and that old nouveau started only with low
> resolution)
> - run jackd with parameters frequency=48000Hz, buffer_size=64
> samples,buffers_count=2
> 
> and in USB 1.1 OHCI mode my ATI controller worked without any bugs.
> So I think that snd_usb_audio ALSA driver work correctly.
> Am I right?

You showed that it works right when using the OHCI controller.  That
doesn't mean it works right all the time.

> Please, tell me what should I do next to get my EHCI working?

Here's the next thing to try: Boot a kernel that was built with
CONFIG_USB_DEBUG enabled, and then mount a debugfs on 
/sys/kernel/debug.  While running the audio program, go into the 
/sys/kernel/debug/usb/ehci/0000:00:12.2 directory and make a copy of 
the files there (the only ones that really matter are the "registers" 
and "periodic" files).

Also, get a copy of the /sys/kernel/debug/usb/devices file.  Let's see 
what all those files have to say.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux