 3 edits | [WORK AROUND] 10 restarts since hw(x),2 not shown upWORK AROUND: If you have Windows and Creative Labs X-Fi Surround 5.1 Pro USB, if you wish to restart Ubuntu to make changes to your system, boot into Windows, restart your system, and boot into Ubuntu. It worked for me. --------------------------
I'm using Cadence (KXStudio) which is a JACK frontend and at first I was in luck when I went from Windows 8 to Kubuntu 12.04 Alpha 1, I had to restart when I can't bring my display back up (probably due to screensaver or something so I've disabled it). After the next restart, hw2,2 is missing. About 10 restarts later, and hw2,2 is still not shown up. I could attribute to the module not loading up correctly, but I'm not sure if that's it.
Here's the question: how do I know which module is associated with hw2,2? I need to force the module to load up in specific order so that I can get hw2,2 back up and working. I tried hw2,1 in duplex mode, but JACK won't start. Not even hw2, or hw1, or hw0, depending on which X-Fi sound card it's assigned so. Specifically, I'm using Sound Blaster X-Fi Surround 5.1 Pro (USB). It's a black device with the volume knob in top and a very bright blue light in the front. For 5.1 in Windows with Dolby Digital Plus, I use optical output to my mom's receiver.
I'm using Akai MPK25, so if I disable duplex mode, I cannot use my keyboard, but JACK does start. Enable duplex mode, and JACK will not start.
So this is what I have for X-Fi:
hw:0 [SB X-Fi Surround 5.1 Pro]
hw:0,0 [USB Audio (duplex)]
hw:0,1 [USB Audio #1 (playback)]
or
hw:0 [SB X-Fi Surround 5.1 Pro]
hw:0,0 [USB Audio (duplex)]
hw:0,1 [USB Audio #1 (playback)]
hw:0,2 [USB Audio #1 (playback)]
or
hw:1 [SB X-Fi Surround 5.1 Pro]
hw:1,0 [USB Audio (duplex)]
hw:1,1 [USB Audio #1 (playback)]
or
hw:1 [SB X-Fi Surround 5.1 Pro]
hw:1,0 [USB Audio (duplex)]
hw:1,1 [USB Audio #1 (playback)]
hw:1,2 [USB Audio #1 (playback)]
or
hw:2 [SB X-Fi Surround 5.1 Pro]
hw:2,0 [USB Audio (duplex)]
hw:2,1 [USB Audio #1 (playback)]
or
hw:2 [SB X-Fi Surround 5.1 Pro]
hw:2,0 [USB Audio (duplex)]
hw:2,1 [USB Audio #1 (playback)]
hw:2,2 [USB Audio #1 (playback)]
or ... You get the idea. HDMI Audio does appear as hw0 sometimes.
HDMI Audio and HD Audio (STAC92xx) resides in my laptop, they randomly get dynamically loaded up. While I'm not using HDMI Audio, I do sometimes use my built-in sound card just to play some sounds, but if I'm using headphones, the sound can come through my headphones AND my laptop speakers but the speakers does sound muffled at the high frequencies when the headphone is plugged in, so that's why I'm using my X-Fi sound card.
The laptop I'm using is HP Pavilion dv7-6168nr or something but I'm unsure if it's "nr" or "nl." Note that I have no way of disabling analog/HDMI sound card in the BIOS.
I'm going to try restarting my laptop as many times as I can in order to get hw(x),2 shown up. In the meantime, I'll list the "cat /proc/asound/cards," lspci, lsmod, and lsusb output here. "Generic" is HDMI Audio, and "Generic_1" is STAC92xx.
grayson@grayson-laptop-kubuntu:~$ cat /proc/asound/cards 0 [Generic ]: HDA-Intel - HD-Audio Generic HD-Audio Generic at 0xf0344000 irq 52 1 [MPK25 ]: USB-Audio - Akai MPK25 Akai Akai MPK25 at usb-0000:00:12.0-2, full speed 2 [Pro ]: USB-Audio - SB X-Fi Surround 5.1 Pro Creative Technology Ltd SB X-Fi Surround 5.1 Pro at usb-0000:00:10.0-1, full sp 3 [Generic_1 ]: HDA-Intel - HD-Audio Generic HD-Audio Generic at 0xf0340000 irq 16 grayson@grayson-laptop-kubuntu:~$ lspci 00:00.0 Host bridge: Advanced Micro Devices [AMD] Family 12h Processor Root Complex 00:01.0 VGA compatible controller: ATI Technologies Inc Device 9647 00:01.1 Audio device: ATI Technologies Inc Device 1714 00:04.0 PCI bridge: Advanced Micro Devices [AMD] Family 12h Processor Root Port 00:05.0 PCI bridge: Advanced Micro Devices [AMD] Family 12h Processor Root Port 00:06.0 PCI bridge: Advanced Micro Devices [AMD] Family 12h Processor Root Port 00:10.0 USB controller: Advanced Micro Devices [AMD] Hudson USB XHCI Controller (rev 03) 00:10.1 USB controller: Advanced Micro Devices [AMD] Hudson USB XHCI Controller (rev 03) 00:11.0 SATA controller: Advanced Micro Devices [AMD] Hudson SATA Controller [AHCI mode] 00:12.0 USB controller: Advanced Micro Devices [AMD] Hudson USB OHCI Controller (rev 11) 00:12.2 USB controller: Advanced Micro Devices [AMD] Hudson USB EHCI Controller (rev 11) 00:13.0 USB controller: Advanced Micro Devices [AMD] Hudson USB OHCI Controller (rev 11) 00:13.2 USB controller: Advanced Micro Devices [AMD] Hudson USB EHCI Controller (rev 11) 00:14.0 SMBus: Advanced Micro Devices [AMD] Hudson SMBus Controller (rev 13) 00:14.1 IDE interface: Advanced Micro Devices [AMD] Hudson IDE Controller (rev 40) 00:14.2 Audio device: Advanced Micro Devices [AMD] Hudson Azalia Controller (rev 01) 00:14.3 ISA bridge: Advanced Micro Devices [AMD] Hudson LPC Bridge (rev 11) 00:14.4 PCI bridge: Advanced Micro Devices [AMD] Hudson PCI Bridge (rev 40) 00:18.0 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 0 (rev 43) 00:18.1 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 1 00:18.2 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 2 00:18.3 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 3 00:18.4 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 4 00:18.5 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 6 00:18.6 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 5 00:18.7 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 7 01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06) 02:00.0 Network controller: Ralink corp. RT5390 Wireless 802.11n 1T/1R PCIe 03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5116 PCI Express Card Reader (rev 01) grayson@grayson-laptop-kubuntu:~$ lsmod Module Size Used by rfcomm 47605 0 bnep 18281 2 bluetooth 180168 10 rfcomm,bnep parport_pc 32866 0 ppdev 17113 0 binfmt_misc 17540 1 ext2 73796 1 dm_crypt 23193 0 snd_hda_codec_idt 70789 1 snd_hda_codec_hdmi 32497 1 snd_usb_audio 122943 2 arc4 12529 2 snd_hda_intel 33773 6 snd_hda_codec 118027 3 snd_hda_codec_idt,snd_hda_codec_hdmi,snd_hda_intel snd_pcm 97188 5 snd_hda_codec_hdmi,snd_usb_audio,snd_hda_intel,snd_hda_codec rt2800pci 18715 0 rt2800lib 58925 1 rt2800pci crc_ccitt 12667 1 rt2800lib rt2x00pci 14578 1 rt2800pci rt2x00lib 51206 3 rt2800pci,rt2800lib,rt2x00pci mac80211 507070 3 rt2800lib,rt2x00pci,rt2x00lib snd_hwdep 13668 2 snd_usb_audio,snd_hda_codec snd_usbmidi_lib 25463 1 snd_usb_audio snd_seq_midi 13324 0 snd_rawmidi 30485 2 snd_usbmidi_lib,snd_seq_midi snd_seq_midi_event 14899 1 snd_seq_midi snd_seq 61896 2 snd_seq_midi,snd_seq_midi_event fglrx 3101160 102 snd_timer 29991 3 snd_pcm,snd_seq snd_seq_device 14540 3 snd_seq_midi,snd_rawmidi,snd_seq hp_accel 25976 0 rts_pstor 445196 0 snd 68318 26 snd_hda_codec_idt,snd_hda_codec_hdmi,snd_usb_audio,snd_hda_intel,snd_hda_codec,snd_pcm,snd_hwdep,snd_usbmidi_lib,snd_rawmidi,snd_seq,snd_timer,snd_seq_device uvcvideo 72629 0 videodev 98259 1 uvcvideo soundcore 12680 1 snd snd_page_alloc 18529 2 snd_hda_intel,snd_pcm v4l2_compat_ioctl32 17128 1 videodev hp_wmi 18092 0 lis3lv02d 19876 1 hp_accel i2c_piix4 13301 0 psmouse 87603 0 k10temp 13166 0 serio_raw 13211 0 joydev 17693 0 input_polldev 13896 1 lis3lv02d sparse_keymap 13890 1 hp_wmi cfg80211 205564 2 rt2x00lib,mac80211 eeprom_93cx6 12725 1 rt2800pci lp 17799 0 parport 46562 3 parport_pc,ppdev,lp vesafb 13809 1 hid_microsoft 12888 0 pata_atiixp 13204 0 usbhid 47199 0 hid 99559 2 hid_microsoft,usbhid r8169 62098 0 wmi 19256 1 hp_wmi video 19412 0 grayson@grayson-laptop-kubuntu:~$ lsusb Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 008 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 003 Device 002: ID 045e:00db Microsoft Corp. Natural Ergonomic Keyboard 4000 V1.0 Bus 003 Device 003: ID 09e8:0072 AKAI Professional M.I. Corp. Bus 002 Device 002: ID 5986:04a9 Acer, Inc Bus 004 Device 002: ID 138a:0018 Validity Sensors, Inc. Bus 005 Device 002: ID 041e:30df Creative Technology, Ltd Bus 007 Device 002: ID 045e:076c Microsoft Corp. grayson@grayson-laptop-kubuntu:~$
Update: Okay, after I got tired restarting my laptop for 13th time, I booted into Windows and back into Kubuntu and presto! I got hw2,2 shown up for X-Fi. So I've selected hw2 for X-Fi and all is well until I restart Linux again. Perhaps you guys might want to see the snd_ portion of lsmod:
grayson@grayson-laptop-kubuntu:~$ lsmod | grep snd snd_seq_dummy 12798 2 snd_hrtimer 12744 1 snd_hda_codec_idt 70789 1 snd_hda_codec_hdmi 32497 1 snd_usb_audio 122943 8 snd_hda_intel 33773 0 snd_usbmidi_lib 25463 1 snd_usb_audio snd_hda_codec 118027 3 snd_hda_codec_idt,snd_hda_codec_hdmi,snd_hda_intel snd_seq_midi 13324 5 snd_seq_midi_event 14899 1 snd_seq_midi snd_seq 61896 13 snd_seq_dummy,snd_seq_midi,snd_seq_midi_event snd_hwdep 13668 2 snd_usb_audio,snd_hda_codec snd_pcm 97188 6 snd_hda_codec_hdmi,snd_usb_audio,snd_hda_intel,snd_hda_codec snd_rawmidi 30485 2 snd_usbmidi_lib,snd_seq_midi snd_timer 29991 3 snd_hrtimer,snd_seq,snd_pcm snd_seq_device 14540 4 snd_seq_dummy,snd_seq_midi,snd_seq,snd_rawmidi snd 68318 17 snd_hda_codec_idt,snd_hda_codec_hdmi,snd_usb_audio,snd_hda_intel,snd_usbmidi_lib,snd_hda_codec,snd_hwdep,snd_seq,snd_pcm,snd_rawmidi,snd_timer,snd_seq_device snd_page_alloc 18529 2 snd_hda_intel,snd_pcm soundcore 12680 1 snd grayson@grayson-laptop-kubuntu:~$
-- Current Soft Phone (temp): Ekiga (ordered Yealink T22P to switch from Ekiga) Phone System: Asterisk 1.8; Server: Ubuntu Server 10.04 with Windows Server 2008 R2 Standard as guest |