Re: Problem(s) with ehci-hcd, us122l and HP laptop

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

 



2009/2/22 Timo Ketolainen <timo.ketolainen@xxxxxxxxxxx>:
> Karsten Wiese wrote:
>>> And to make things even more puzzling, after cold boot and changing
>>> the threshold to 3 plugging in the Tascam gives about 8 lines with
>>> non-zero data.
>>
>> Well, at least one encouraging result ;-)
>>
>>> After unplugging and replugging I get only 2 lines
>>> before getting 0 as every second value.
>>
>> Please post above logs off-list.
>>
>> Thanks,
>> Karsten
>>
>
> Here you go.
>
> First one includes the whole boot process, and 2nd begins where 1st ends.

hm, can't find the "8 good lines". 0-lengt microframes are only
allowed at the very
beginning.
An urb ist logged (starting with "i_capture_start:632:"),
if any of its packets has 0-length.
The "first error spot" is still always the 2nd urb received:

> Feb 22 14:56:05 halley [  503.735412] snd-usb-us122l 2-3:1.1: usb_probe_interface
> Feb 22 14:56:05 halley [  503.735414] snd-usb-us122l 2-3:1.1: usb_probe_interface - got id
> Feb 22 14:56:05 halley [  503.735416] ALSA sound/usb/usx2y/us122l.c:539: ffff88006d695c00:1
> Feb 22 14:56:05 halley [  503.737897] ALSA sound/usb/usx2y/us122l.c:103: 0
> Feb 22 14:56:05 halley [  503.741179] ALSA sound/usb/usx2y/us122l.c:103: 0
> Feb 22 14:56:10 halley [  508.744062] ALSA sound/usb/usx2y/usb_stream.c:61: idle=-18 ul=1518 ps=1536
> Feb 22 14:56:10 halley [  508.744543] ALSA sound/usb/usx2y/usb_stream.c:61: idle=0 ul=1554 ps=1536
> Feb 22 14:56:10 halley [  508.744558] ALSA sound/usb/usx2y/usb_stream.c:718: 205 325
> Feb 22 14:56:10 halley [  508.744560] ALSA sound/usb/usx2y/usb_stream.c:742: 1
> Feb 22 14:56:10 halley [  508.760387] i_capture_start:632: 0 0 30 36 30 36 36 30 36 30 36 30 36 30 36 30 36 30 36 30 36 30 36 30 36 30 36 30
> 36 30 36 30 36 36 36 30 36 30 36 30 36 30 36 30 36 30
> Feb 22 14:56:10 halley [  508.760401] ALSA sound/usb/usx2y/usb_stream.c:61: idle=-12 ul=1524 ps=1536
> Feb 22 14:56:10 halley [  508.766363] i_capture_start:632: 36 30 0 36 30 36 36 30 36 30 36 30 36 30 36 30 36 30 36 30 36 30 36 30 36 30 36 30
> 36 30 36 0 30 36 30 30 36 30 36 30 36 30 36 30 0 36 30

Packet at 3rd microframe empty. If things went well above log entry
wouldn't show.
Instead we'd see only entries like below from here on.

> Feb 22 14:56:10 halley [  508.766376] ALSA sound/usb/usx2y/usb_stream.c:61: idle=-30 ul=1518 ps=1536

I don't think your hardware is defect, more likely my patch doesn't
fit this kind of ehci.
An idea to make fit is "Use a single ITD per frame". Not ready yet.


Thanks,
Karsten
--
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