Posts: 347
Silent Observer
Joined: 08 Aug 2013
#121
Eino wrote:
fatmac wrote:Just thinking aloud, but if it is a usb device, perhaps giving the system more time to find & initiate usb devices might help.
Try adding rootdelay=10 to your grub boot line, wouldn't hurt to try.
I can see that being a issue.

I find that snd_usb_audio was already loaded; I'll try adding rootdelay=10 to my boot line -- that'll potentially fix the failure to detect on start, but I'm not sure it'll do anything for"detected and still doesn't work". Latest lsmod | grep"snd" shows some synth related stuff:

Code: Select all

# lsmod | grep"snd"
snd_opl3sa2            17539  0 
snd_mpu401_uart        13299  1 snd_opl3sa2
snd_opl3_lib           17206  1 snd_opl3sa2
snd_wss_lib            22464  1 snd_opl3sa2
snd_seq_midi           12744  0 
snd_usb_audio         101153  1 
snd_seq_midi_event     13124  1 snd_seq_midi
snd_usbmidi_lib        22821  1 snd_usb_audio
snd_hwdep              12910  2 snd_usb_audio,snd_opl3_lib
snd_pcm_oss            44023  0 
snd_rawmidi            22278  3 snd_usbmidi_lib,snd_mpu401_uart,snd_seq_midi
snd_mixer_oss          21705  1 snd_pcm_oss
snd_pcm                69459  3 snd_pcm_oss,snd_usb_audio,snd_wss_lib
snd_page_alloc         12882  2 snd_wss_lib,snd_pcm
snd_seq                43264  2 snd_seq_midi_event,snd_seq_midi
snd_seq_device         12980  4 snd_seq,snd_rawmidi,snd_opl3_lib,snd_seq_midi
snd_timer              22187  4 snd_wss_lib,snd_pcm,snd_seq,snd_opl3_lib
snd                    46786  16 snd_pcm_oss,snd_opl3sa2,snd_usb_audio,snd_hwdep,snd_timer,snd_wss_lib,snd_pcm,snd_seq,snd_rawmidi,snd_usbmidi_lib,snd_mpu401_uart,snd_seq_device,snd_mixer_oss,snd_opl3_lib
soundcore              12890  1 snd
usbcore               137870  5 uhci_hcd,snd_usb_audio,snd_usbmidi_lib,ehci_hcd,usbhid
Posts: 347
Silent Observer
Joined: 08 Aug 2013
#122
Just got a new clue: this may in fact be a USB port issue, but not hardware related. I was trying to copy some files from a thumb drive to my hard disk, with the USB sound device plugged in at the same time. When I mounted the thumb drive with mountbox, the light in the USB sound dongle went out; I got an IO error trying to read the thumb drive, and noticed the CPU had gone to 100% -- htop said it was volumeicon hogging all the CPU again, despite my having (as far as I know) written nothing to the sound hardware. I've gotten good reads from and writes to this thumb drive, on this machine, recently (used it to back up my music folder, wallpaper, etc. for my reinstall) -- but as I recall, I had the USB sound unplugged during that operation. I'm going to do a bit more testing to try to discover if the USB sound dongle is causing trouble on the USB ports; if so, it's cheap to get another USB sound device (this one was under $2 shipped) -- or I might look on eBay for one that goes into the PCMCIA slot (and will go beneath the network card, which is extended/bulges and can only live in the upper PC card slot).
Posts: 667
jdmeaux1952
Joined: 01 Nov 2013
#123
so - I've been keeping up with this thread trying to understand what was happening and how you were solving it. It's a good write-up. Thanks for that.

From what I have read and from other forums with similar problems, it appears that the USB is giving everyone the headaches. The USB sound seems to want to have priority over the other USB devices. As you said, using the PCMIA may be a better solution after all.
Posts: 347
Silent Observer
Joined: 08 Aug 2013
#124
Well, I had a revelation an hour or so ago. I pulled the USB sound dongle in order to be able to copy those files off the thumb drive -- and then I plugged it back in, I ran the speakertest from Control Centre again. And. It. Ran.

I've reproduced this at least three times, on AC and on battery, after logouts and a full hard shutdown at 3% battery and restart; I'm currently playing an internet radio stream via Streamtuner2 and xmms, while on battery (also trying to test my battery level safeguards, that's another thread). This looks like *the* solution, if I can just find a software method to simulate unplugging/replugging the USB sound dongle. Perhaps just force a rescan of the USB ports?
Posts: 347
Silent Observer
Joined: 08 Aug 2013
#125
Okay, you may consider me officially flabbergasted.

The sound, as reported in my last post above, was hard to reproduce after posting, so I was figuratively scratching my head over the problem -- and then it struck me that the last aplay -L and lsmod | grep"snd" had both included a bunch of references to OPL3 hardware, which has never shown up in the USB sound card diagnostics in the past. Additionally, when I opened the mixer once yesterday, it started with an OPL3 mixer setup that seemed to include channels other than synth (like PCM, which I'm used to seeing as bit-stream sound). This wouldn't get out of my head all day, until I finally recalled that the NeoMagic sound chipset in the Solo 2500 includes an OPL3 work-alike synth. I have no idea how it could happen, but could Linux have started recognizing the synth chip in the original sound hardware?

When I got home from work, after dealing with more urgent matters, I unplugged the USB sound and started up the laptop; I noted volumeicon started during boot, and when I opened the mixer, I found the same OPL3 and other stuff. I ran speaker-test from the Control Centre, and could just faintly hear the voice coming from the built-in speakers! Plugging my external speakers into the appropriate jack made it perfectly clear -- I appear to have at least most of the internal sound hardware working (without any idea how it got that way). I don't understand it, but I'm not going to complain...
Posts: 630
Eino
Joined: 12 Oct 2012
#126
Even tho ALSA dose not support your sound internal sound card, it found the chip being used installing the driver needed.
I'm glad that it's working, even with the inappropriate driver.
Posts: 347
Silent Observer
Joined: 08 Aug 2013
#127
Still puzzling; there's no indication in aplay -L of any sound hardware other than the OPL3, which is supposed to be just a synthesizer (not a bitstream playback chipset. However it's doing it, it keeps doing it through multiple reboots. However it's working, and looks to keep working.
Posts: 850
fatmac
Joined: 26 Jul 2012
#128
Perhaps the 'gods' have favoured you because you kept at it. __{{emoticon}}__
Just enjoy.
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#129
+1 from me for your perseverence S.O
Posts: 347
Silent Observer
Joined: 08 Aug 2013
#130
I won't argue against perseverance -- but I would be interested in preserving these settings in case of a need to reinstall again, or upgrade the OS. What files would I look in for the settings that are making alsa work with the NeoMagic sound hardware?