Fast Track Pro not working on HP ProBook 4720s

No replies
novotnyja
User offline. Last seen 1 year 31 weeks ago. Offline
Joined: 2012-09-13
Posts:

Hi,

I came here because of the advice of Joe Giampaoli, who tried to help me with setting up FTP on my laptop, but he doesn't have any more ideas in the moment what to do with it.

I run it on AV Linux 6, which has all the settings for FTP prepared even on the LiveDVD. I also tried to run it on LiveDVD on different laptop than my HP ProBook 4720s and it was working immediately.
Joe and QMaq are suggesting that it shoud be some IRQ sharing or settings missing. From what we have tried:

1. Qjackctl settings: Driver: Alsa; Realtime: checked; periods: 256, rate: 44100, periods/buffer: 3, Timeout 500, input device hw:5,1 ; output device 5,0.
2. Playing with the priorities:

According to my ps -eLo rtprio,cls,pid,pri,nice,cmd | grep "FF" | sort -r

99 FF 7 139 - [migration/1]
99 FF 6 139 - [migration/0]
99 FF 14 139 - [migration/3]
99 FF 11 139 - [migration/2]
90 FF 558 130 - [irq/8-rtc0]
85 FF 765 125 - [irq/16-ehci_hcd]
84 FF 1072 124 - [irq/16-mei]
80 FF 1108 120 - [irq/48-hda_inte]
80 FF 1078 120 - [irq/47-hda_inte]
75 FF 546 115 - [irq/1-i8042]
74 FF 545 114 - [irq/12-i8042]
50 FF 780 90 - [irq/46-ahci]
50 FF 774 90 - [irq/20-ehci_hcd]
50 FF 2608 90 - [irq/45-eth0]
50 FF 2592 90 - [irq/19-0000:44:]
50 FF 104 90 - [irq/9-acpi]
5 FF 9512 45 - qjackctl
20 FF 9520 60 - /usr/bin/jackd -dalsa -r44100 -p256 -n3 -Xseq -D -Chw:5,1 -Phw:5,0
10 FF 9520 50 - /usr/bin/jackd -dalsa -r44100 -p256 -n3 -Xseq -D -Chw:5,1 -Phw:5,0
1 FF 9520 41 - /usr/bin/jackd -dalsa -r44100 -p256 -n3 -Xseq -D -Chw:5,1 -Phw:5,0
- TS 9533 19 0 grep FF

we set up the priority of jackd on 84, so then the lines of jackd just above were put a bit differently. But it was sharing the same IRQ (16) with "mei", so we blacklisted mei.
The cat /proc/interrupts looked like this, before blacklisting mei:

CPU0 CPU1 CPU2 CPU3
0: 123 3 0 0 IO-APIC-edge timer
1: 111 119 122 115 IO-APIC-edge i8042
8: 0 1 0 0 IO-APIC-edge rtc0
9: 271 260 259 268 IO-APIC-fasteoi acpi
12: 95 82 86 84 IO-APIC-edge i8042
16: 5522 5416 5673 5597 IO-APIC-fasteoi ehci_hcd:usb1, mei
19: 7273 7244 7149 7182 IO-APIC-fasteoi 0000:44:00.0
20: 101340 101269 101265 101189 IO-APIC-fasteoi ehci_hcd:usb2
23: 0 0 0 0 IO-APIC-edge lis3lv02d
45: 0 0 0 0 PCI-MSI-edge eth0
46: 6632 6683 6665 6694 PCI-MSI-edge ahci
47: 7937 8100 7961 8051 PCI-MSI-edge hda_intel
48: 8 6 7 8 PCI-MSI-edge hda_intel
NMI: 0 0 0 0 Non-maskable interrupts
LOC: 283495 191451 100435 92916 Local timer interrupts
SPU: 0 0 0 0 Spurious interrupts
PMI: 0 0 0 0 Performance monitoring interrupts
IWI: 0 0 0 0 IRQ work interrupts
RES: 456859 506273 170446 215637 Rescheduling interrupts
CAL: 540 520 1906 1442 Function call interrupts
TLB: 4599 3800 355 544 TLB shootdowns
TRM: 0 0 0 0 Thermal event interrupts
THR: 0 0 0 0 Threshold APIC interrupts
MCE: 0 0 0 0 Machine check exceptions
MCP: 5 5 5 5 Machine check polls
ERR: 0
MIS: 0

After blacklisting, mei on IRQ 16 was gone.
I also followed joe's blog article suggestions, so my rtirq file looks like this:

RTIRQ_NAME_LIST="rtc usb1 snd i8042"
RTIRQ_PRIO_HIGH=90
RTIRQ_PRIO_DECR=5
RTIRQ_RESET_ALL=0
RTIRQ_NON_THREADED="rtc usb1 snd"

and fast-track-pro.conf file:

options snd_usb_audio vid=0x763 pid=0x2012 device_setup=0x9 index=5 enable=1

I add some other information:
Jackd --version:
jackd version 0.121.3 tmpdir /dev/shm protocol 24

uname -r:
3.0.36-avl-9

lsusb:
Bus 002 Device 009: ID 0763:2012 Midiman M-Audio Fast Track Pro
Bus 002 Device 003: ID 148f:1000 Ralink Technology, Corp.
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 0461:4db6 Primax Electronics, Ltd
Bus 001 Device 003: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

I also tried to write
modprobe -r snd_usb_audio
modprobe snd_usb_audio

or to disable networking, but without any success.
The behaviour of Jack is that is starts succesfully ,but when I try to play anything on laptop, it makes short weird sound (reminding the sound how it should be) and than loads of xruns following, unless the Jack is crashing.

We are out of ideas, any other ideas somebody? For looking in the details of our tryouts, those are the links:
http://www.remastersys.com/forums/index.php?topic=2601.0
http://joegiampaoli.blogspot.cz/2011/06/m-audio-fast-track-pro-for-debian-linux.html?showComment=1347528013634#c7555603358843037421