Author |
Message |
Girkers
|
Posted: Wed May 04, 2005 4:40 pm |
|
Joined: Tue Mar 22, 2005 9:18 pm
Posts: 1422
Location:
Brisbane, Queensland, Australia
|
I have looked up ALSA's website and it gave me some ideas.
If you do:
Code: cat /proc/asound/cards it will list your sound devices and there order. I found that my Webcam microphone was being loaded first, thus sound card 0 was snd-usb-audio and then my Audigy was no. 1 To change the order, use your favourite text editor and edit /etc/modprobe.d/sound With this put I put in Code: options snd-emu10k1 index=0 options snd-usb-audio index=1
This tells the system in which order to load the sound cards. I have done this and rebooted my computer and now the order is reversed. The only problem is that I am at work so I can't tell you for sure if it has actually fixed the problem or not.
I have checked my syslog and still says that audio is blacklisted, but that could be the usb-audio.
_________________ Girkers
|
|
Top |
|
|
Girkers
|
Posted: Thu May 05, 2005 3:47 am |
|
Joined: Tue Mar 22, 2005 9:18 pm
Posts: 1422
Location:
Brisbane, Queensland, Australia
|
I can confirm that this fixed the problem for me, repeat it WORKED!
Yippie, now just to get it to come out of the right speakers.
_________________ Girkers
|
|
Top |
|
|
mattshaw
|
Posted: Thu May 05, 2005 2:39 pm |
|
Joined: Wed Jul 14, 2004 3:32 pm
Posts: 142
|
I have tried all of the fixes as above, and also have the same problem. Alsaconf seems to find my AC97 via82xx sound chipset, but when in alsamixer I cannot increase the master or pcm volumes, and they are (not muted)
Can anyone please help ????
I am chuffed to bits with R5A15.1, got my DVB-T card working no propblem, except I have no EPG or sound !!!!
Keep up the good work you guys !!!!
|
|
Top |
|
|
mattshaw
|
Posted: Thu May 05, 2005 2:53 pm |
|
Joined: Wed Jul 14, 2004 3:32 pm
Posts: 142
|
I have tried all of the fixes as above, and also have the same problem. Alsaconf seems to find my AC97 via82xx sound chipset, but when in alsamixer I cannot increase the master or pcm volumes, and they are (not muted)
Can anyone please help ????
I am chuffed to bits with R5A15.1, got my DVB-T card working no problem, except I have no EPG or sound !!!!
Keep up the good work you guys !!!!
|
|
Top |
|
|
bushi
|
Posted: Fri May 06, 2005 9:41 pm |
|
Joined: Mon Jan 31, 2005 5:44 pm
Posts: 33
|
Hmmm
Intresting, but I only seem to have the one device
root@mythtv-livroom:~# cat /proc/asound/cards
0 [I82801DBICH4 ]: ICH4 - Intel 82801DB-ICH4
Intel 82801DB-ICH4 with AD1981B at 0xc0000c00, irq 11
This is taken after I have run alsaconf though, so next reboot I'll run this cat first and see if it matches.
Girkers wrote: I have looked up ALSA's website and it gave me some ideas. If you do: Code: cat /proc/asound/cards it will list your sound devices and there order. I found that my Webcam microphone was being loaded first, thus sound card 0 was snd-usb-audio and then my Audigy was no. 1 To change the order, use your favourite text editor and edit /etc/modprobe.d/sound With this put I put in Code: options snd-emu10k1 index=0 options snd-usb-audio index=1
This tells the system in which order to load the sound cards. I have done this and rebooted my computer and now the order is reversed. The only problem is that I am at work so I can't tell you for sure if it has actually fixed the problem or not. I have checked my syslog and still says that audio is blacklisted, but that could be the usb-audio.
_________________ -Bushi
|
|
Top |
|
|
mattshaw
|
Posted: Sat May 07, 2005 8:39 am |
|
Joined: Wed Jul 14, 2004 3:32 pm
Posts: 142
|
The following is what I get beofre and after running alsaconf :
root@mythtest:~# cat /proc/asound/cards
0 [V8235 ]: VIA8233 - VIA 8235
VIA 8235 with CMI9761 at 0xe000, irq 22
So the sound card is being recognised on bootup. When I run alsamixer, I have enabled everything I think is required, and MASTER and PCM are both enabled, not off, but will not let me increase the volume at all.....
Still no sound !!! HELP !!!!!
|
|
Top |
|
|
bushi
|
Posted: Sat May 07, 2005 12:29 pm |
|
Joined: Mon Jan 31, 2005 5:44 pm
Posts: 33
|
Intresting, Alsa mixer won't work for me after bootup, I have to run alsaconf and thing everything snaps too and works normaly.
mattshaw wrote: The following is what I get beofre and after running alsaconf :
root@mythtest:~# cat /proc/asound/cards 0 [V8235 ]: VIA8233 - VIA 8235 VIA 8235 with CMI9761 at 0xe000, irq 22
So the sound card is being recognised on bootup. When I run alsamixer, I have enabled everything I think is required, and MASTER and PCM are both enabled, not off, but will not let me increase the volume at all.....
Still no sound !!! HELP !!!!!
_________________ -Bushi
|
|
Top |
|
|
mattshaw
|
Posted: Tue May 10, 2005 12:35 pm |
|
Joined: Wed Jul 14, 2004 3:32 pm
Posts: 142
|
Well, this just gets stranger and stranger. I did a backup of knoppmyth, reloaded with R5A12 auto-upgrade option, added nvidia drivers etc, and got my tv-card going by modding /etc/modules.
Restarted the gdm after getting my XF86 sorted, went into watch TV, and guess what, sound straight away !!!! Went into Mame, sound !!!!!
Anyway, checked the changelog fromn R5A12 thru to R5A15.1 and there doesnt seem to be any modifications to the sound system, or drivers.
Could the knoppmyth authors, Cecil and Dale, or even the excellent XSecrets , possibly comment as to if anything has changed within the sound system between A12 and A15.1, apart from obviously the kernel being updated ???
Lets hope this brings some positive answers
Regards
Matt Shaw
matt@shagshaw.com
|
|
Top |
|
|
tjc
|
Posted: Tue May 10, 2005 8:22 pm |
|
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location:
Arlington, MA
|
I've been recording the current deb versions before doing upgrades to be able figure out what packages I added last time. This makes it trivial to compare what was in the old version versus what's in the current version. For alsa they show...
Old (R5A12?):
Code: root@black:~# grep alsa /myth/backup/debs alsa-utils/unstable upgradeable from 1.0.6-4 to 1.0.8-4 alsa-headers/unstable upgradeable from 1.0.6a-11 to 1.0.8-7 alsa-base/unstable upgradeable from 1.0.6a-11 to 1.0.8-7 alsa-source/unstable upgradeable from 1.0.6a-11 to 1.0.8-7 knx-alsa 0.2-5 installed: No available version in archive New (R5A15.1): Code: root@black:~# apt-show-versions | grep alsa alsa-utils/unstable uptodate 1.0.8-4 alsa-headers/unstable uptodate 1.0.8-7 alsa-base/unstable uptodate 1.0.8-7 alsa-source/unstable uptodate 1.0.8-7 knx-alsa 0.2-5 installed: No available version in archive
|
|
Top |
|
|
mattshaw
|
Posted: Wed May 11, 2005 7:28 am |
|
Joined: Wed Jul 14, 2004 3:32 pm
Posts: 142
|
Thanks for that, tjc
So from looking at the info you have provided above it looks the alsa versions were upgraded from 1.0.6a-11 to 1.0.8-7, is there any simple way of rolling back to these previous versions ????
And is it being thought about doing this for the next alpha or even the full R5 release for maximum compatibility for all the others with problems ???
Or any idea why this problem has occurred ????
Regards
Matt Shaw
matt@shagshaw.com
|
|
Top |
|
|
brendan
|
Posted: Wed May 11, 2005 2:12 pm |
|
Joined: Tue Dec 07, 2004 12:04 pm
Posts: 369
|
cesman does an Code: apt-get upgrade on his build system from time to time to keep it somewhat up-to-date with the current knoppix/debian releases. I suspect that after R5 transitions away from alpha, that may occur less often in the beta/release versions. But for now, I suspect the iterations of R5Ax can be expected to break things from time to time.
Seeing the above history, if I were in that situation, I might verify there are no alsa-specific patches for knoppmyth and, if not, try an apt-get update on each of the alsa packages. Perhaps whatever bug that crept in might be fixed by now?
Otherwise, you may have to experiment with downgrading using apt-get.
-brendan
|
|
Top |
|
|
iscraigh
|
Posted: Sat May 14, 2005 11:52 am |
|
Joined: Mon Mar 21, 2005 1:43 pm
Posts: 388
Location:
Nanaimo BC
|
Okay if I run this command manually I can get sound to work
I also have added
Code:
exec /usr/sbin/alsactl restore
the following suggestion references a file that I don't seem to have (R5a15.1)
to /home/mythtv/.fvwm/.fvwm2rc right before calling KnoppMyth-run
Followed the suggested link but I don't seem to have the referenced file either.
http://mysettopbox.tv/phpBB2/viewtopic.php?t=2951
Where can I put this command to run on bootup so I don't have to run it manually?
Thanks
|
|
Top |
|
|
tjc
|
Posted: Sat May 14, 2005 12:13 pm |
|
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location:
Arlington, MA
|
Cecil changed window managers to fluxbox. Either add a line that looks like this (notice that I stripped the exec, you don't want it here) to the beginning of /home/mythtv/.fluxbox/apps before the line that does KnoppMyth-run
Code: [startup] {/usr/sbin/alsactl restore}
Or modify the /usr/local/bin/KnoppMyth-run script to run /usr/sbin/alsactl restore before starting the front end. Actually, on second thought and after having looked at that, you probably don't want to go there. It's some pretty dense shell script.
|
|
Top |
|
|
iscraigh
|
Posted: Sat May 14, 2005 3:18 pm |
|
Joined: Mon Mar 21, 2005 1:43 pm
Posts: 388
Location:
Nanaimo BC
|
Thanks
TJC it worked like a charm. I have been documenting each of my challenges and resolutions I have a reinstall down to an art now.
one more thing to get working and I will be able to start using this box daily.
Everyone has been a great help!
|
|
Top |
|
|