[RESEND][PATCH] USB: Prevent EHCI ITDs reusage while frame is active: tested by: Philippe Carriere.
Hi,
I successfully tested the refreshed patch of Karsten using Fedora rawhide packages. Following are some informations on the test:
original kernel: 2.6.29-0.53.rc2.git1.fc11.x86_64 patched kernel: Linux 2.6.29-0.53.rc2.git1.ehcius122l.fc11.x86_64 #1 SMP Wed Jan 28 22:48:01 CET 2009 x86_64 x86_64 x86_64 GNU/Linux alsa: alsa-lib-1.0.19-1.fc11, alsa-plugins-usbstream-1.0.18 jack: jack-audio-connection-kit-0.116.1-3.fc11 qjackctl: qjackctl-0.3.3-1.fc10 audacious: audacious-1.5.1-5.fc11
after plugin the Tascam US-122L:
[root@pollux Test]# tail /var/log/messages Jan 29 08:05:53 pollux kernel: usb 2-6: new high speed USB device using ehci_hcd and address 4 Jan 29 08:05:53 pollux kernel: usb 2-6: config 1 interface 1 altsetting 1 bulk endpoint 0x83 has invalid maxpacket 9 Jan 29 08:05:53 pollux kernel: usb 2-6: New USB device found, idVendor=0644, idProduct=800e Jan 29 08:05:53 pollux kernel: usb 2-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3 Jan 29 08:05:53 pollux kernel: usb 2-6: Product: US-122L Jan 29 08:05:53 pollux kernel: usb 2-6: Manufacturer: TASCAM Jan 29 08:05:53 pollux kernel: usb 2-6: SerialNumber: no serial number Jan 29 08:05:53 pollux kernel: usb 2-6: configuration #1 chosen from 1 choice Jan 29 08:06:08 pollux kernel: ALSA sound/usb/usx2y/usb_stream.c:457: underrun, status=4294967278 Jan 29 08:06:08 pollux kernel: ALSA sound/usb/usx2y/usb_stream.c:457: underrun, status=4294967278
[root@pollux Test]# cat /proc/asound/cards 0 [Intel ]: HDA-Intel - HDA Intel HDA Intel at 0xfebfc000 irq 21 1 [US122L ]: USB US-122L - TASCAM US-122L TASCAM US-122L (644:800e if 0 at 002/004)
and jack messages were
08:50:00.226 /usr/bin/jackd -R -P89 -dalsa -dusb_stream:1 -r48000 -p512 -n2 jackd 0.116.1 Copyright 2001-2005 Paul Davis and others. jackd comes with ABSOLUTELY NO WARRANTY This is free software, and you are welcome to redistribute it under certain conditions; see the file COPYING for details JACK compiled with System V SHM support. 08:50:00.251 JACK was started with PID=6417. loading driver .. apparent rate = 48000 creating alsa driver ... usb_stream:1|usb_stream:1|512|2|48000|0|0| nomon|swmeter|-|32bit ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL usb_stream:1 control open "usb_stream:1" (No such file or directory) configuring for 48000Hz, period = 512 frames (10.7 ms), buffer = 2 periods ALSA: final selected sample format for capture: 24bit little-endian ALSA: use 2 periods for capture ALSA: final selected sample format for playback: 24bit little-endian ALSA: use 2 periods for playback 08:50:02.397 Server configuration saved to "/home/Test/.jackdrc". 08:50:02.398 Statistics reset. 08:50:02.547 Client activated. 08:50:02.550 JACK connection change. 08:50:02.558 JACK connection graph change.
Tested by .mp3 file playback using audacious (with plugin jack).
Additional notes: the previous version of the patch is routinely used by myself, at least some Fedora users using my packages at http://pagesperso-orange.fr/La-page-Web-of-Phil/Tascam_US-122L/Telechargemen... , and under Debian and Ubuntu (Federico Briata web site at http://wiki.briata.org/doku.php?id=testing_us122l_under_linux ) under 2.6.26 and 2.6.27 kernel.
Hope it will be soon integrated to 2.6.29 devel.
Regards
Phil.
participants (1)
-
Philippe Carriere