Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#39 New hardware, now IDJC locks up

closed
nobody
None
5
2012-05-30
2012-05-28
Peter B. Steiger
No

My hard drive crashed and I got a new PC, a Lenovo desktop with onboard HDMI audio which I don't use (because my monitor isn't HDMI) and onboard analog audio, plus my external audio adapter that I use for streaming... Behringer UCA200. I'm using Arch Linux.

On the previous computer I didn't have to do anything to sound.conf or modules.conf or modprobe.conf or any of that; I just fired up IDJC, it found and executed jack, and everything "just worked". Now I had to disable the HDMI module to prevent that from being the default audio port, and I've gotten to the point that mplayer, xmms, audacity, and the flash player for watching videos on firefox all work properly. idjc will play music, but it when I key the mic it stops playing the song file, it does NOT transmit the mic signal, and it locks up so I can't play anything else or exit.

Even if I never touch the mic, idjc won't exit cleanly. I can click the "X" in the top right corner to shut it down, but ps -le reveals that all the idjc processes are still running even though the GUI is shut down.

idjc version is 0.8.7.
/proc/asound/cards gives
0 [CODEC ]: USB-Audio - USB Audio CODEC
Burr-Brown from TI USB Audio CODEC at usb-0000:00:12.0-5, full speed
1 [Generic ]: HDA-Intel - HD-Audio Generic
HD-Audio Generic at 0xfef44000 irq 42
2 [Generic_1 ]: HDA-Intel - HD-Audio Generic
HD-Audio Generic at 0xfef40000 irq 16

/etc/asound.conf contains
pcm.!default {
type hw
card Generic_1
}

ctl.!default {
type hw
card Generic_1
}

pcm.usb-audio {
type hw
card 0
}

ctl.usb-audio {
type hw
card 0
}

pcm.hda-intel {
type hw
card 2
}

ctl.hda-intel {
type hw
card 2
}

ctl.dmixer {
type hw
card Generic_1
}

Kernel is 3.3.7. Python is 2.7.3. CPU is AMD A6-3600 quad core. 6GB RAM. What else do I need to tell you?

Discussion

  • Run IDJC from a console. Post console text from when crashed.

     
    • status: open --> closed
     
  • You know how when you take your car to the mechanic, the problem you noticed no longer appears? I started up idjc and piped output to a file so I could send you the results. I got errors just trying to start it, so I spent a couple of hours installing and uninstalling different versions of idjc, python, and jack.

    I have no idea which change finally did it, but the next time I ran idjc... it worked perfectly. No lockups, mic works, and all processes exit cleanly without needing to kill them manually.

    I guess it found out you were on the case and decided it had better behave! Now I know how my customers feel when a problem resolves itself right after they ask me to look into it.