Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
VIA8233 AC97 (atleast i think it is)
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
tripodz
n00b
n00b


Joined: 18 Jun 2002
Posts: 14
Location: Sweden

PostPosted: Tue Jun 18, 2002 8:13 am    Post subject: VIA8233 AC97 (atleast i think it is) Reply with quote

I have a huge problem with the ALSA-driver for my card.
When i try to modprobe snd-via8233 the system hangs..
According to /proc/pci this is the card i have :

Bus 0, device 17, function 5:
Multimedia audio controller: VIA Technologies, Inc. VT8233 AC97 Audio Controller (rev 64).
IRQ 5.
I/O at 0xe800 [0xe8ff].

Which should mean i should use the snd-via8233 module, right?
Why doesn't it work? Is it me who's the problem or is it my hardware? =)

Very thankful for any help!
_________________
Two ppl doesn't make a crowd.
Back to top
View user's profile Send private message
mksoft
l33t
l33t


Joined: 28 May 2002
Posts: 844

PostPosted: Tue Jun 18, 2002 8:39 am    Post subject: Reply with quote

And what happens with the ac97 driver :?:
_________________
There's someone in my head but it's not me - Pink Floyd
Back to top
View user's profile Send private message
tripodz
n00b
n00b


Joined: 18 Jun 2002
Posts: 14
Location: Sweden

PostPosted: Tue Jun 18, 2002 8:42 am    Post subject: Reply with quote

mksoft wrote:
And what happens with the ac97 driver :?:


Do you mean the snd-ac97-codec module or the non-ALSA-module ac97 ?
_________________
Two ppl doesn't make a crowd.
Back to top
View user's profile Send private message
mksoft
l33t
l33t


Joined: 28 May 2002
Posts: 844

PostPosted: Tue Jun 18, 2002 8:47 am    Post subject: Reply with quote

tripodz wrote:
Do you mean the snd-ac97-codec module or the non-ALSA-module ac97 ?


Sorry, should've been more specific :oops:

I mean ALSA's ac97 driver (snd-ac97-codec).
_________________
There's someone in my head but it's not me - Pink Floyd
Back to top
View user's profile Send private message
tripodz
n00b
n00b


Joined: 18 Jun 2002
Posts: 14
Location: Sweden

PostPosted: Tue Jun 18, 2002 8:54 am    Post subject: Reply with quote

mksoft wrote:

Sorry, should've been more specific :oops:

I mean ALSA's ac97 driver (snd-ac97-codec).


heh.. Well. modprobing snd-ac97-codec works.. but should that do it?
I mean,, /dev/dsp2 hasn't appeared..

I've already got /dev/dsp and /dev/dsp1 since my SBLIVE..

Maybe that's the problem,, because i have 2 soundcards it crashes ?
_________________
Two ppl doesn't make a crowd.
Back to top
View user's profile Send private message
mksoft
l33t
l33t


Joined: 28 May 2002
Posts: 844

PostPosted: Tue Jun 18, 2002 9:00 am    Post subject: Reply with quote

Do you use ALSA's SBLive drivers or the kernel's ? If you use ALSA you shouldn't compile any kernel driver.

Would be helpfull if you can post your /etc/modules.d/alsa.
_________________
There's someone in my head but it's not me - Pink Floyd
Back to top
View user's profile Send private message
tripodz
n00b
n00b


Joined: 18 Jun 2002
Posts: 14
Location: Sweden

PostPosted: Tue Jun 18, 2002 9:05 am    Post subject: Reply with quote

mksoft wrote:
Do you use ALSA's SBLive drivers or the kernel's ? If you use ALSA you shouldn't compile any kernel driver.

Would be helpfull if you can post your /etc/modules.d/alsa.


I'm using the kernels SBLive drivers, gonna try ALSA's in a moment.

Hum the only thing i've done is to emerge alot of ALSA-stuff and then tried to modprobe different drivers. Haven't edited /etc/modules.d/alsa or any other files.

EDIT: Have loaded the snd-emu10k1 driver now. And Xmms thinks /dev/dsp works perfectly. But i don't hear any sound! Have tried to increase volume with alsamixer.
_________________
Two ppl doesn't make a crowd.
Back to top
View user's profile Send private message
mksoft
l33t
l33t


Joined: 28 May 2002
Posts: 844

PostPosted: Tue Jun 18, 2002 9:16 am    Post subject: Reply with quote

tripodz wrote:
Hum the only thing i've done is to emerge alot of ALSA-stuff and then tried to modprobe different drivers. Haven't edited /etc/modules.d/alsa or any other files.

EDIT: Have loaded the snd-emu10k1 driver now. And Xmms thinks /dev/dsp works perfectly. But i don't hear any sound! Have tried to increase volume with alsamixer.


Increase the volumes and unmute the channels (they're moted by default).

You should edit alsa's moudles config and update them for it to work properly. Please refer to the desktop guide's sound section
_________________
There's someone in my head but it's not me - Pink Floyd
Back to top
View user's profile Send private message
tripodz
n00b
n00b


Joined: 18 Jun 2002
Posts: 14
Location: Sweden

PostPosted: Tue Jun 18, 2002 9:24 am    Post subject: Reply with quote

mksoft wrote:

Increase the volumes and unmute the channels (they're moted by default).

You should edit alsa's moudles config and update them for it to work properly. Please refer to the desktop guide's sound section


Well i got my SBLive card working now,, but my AC97 still doesn't work..
_________________
Two ppl doesn't make a crowd.
Back to top
View user's profile Send private message
mksoft
l33t
l33t


Joined: 28 May 2002
Posts: 844

PostPosted: Tue Jun 18, 2002 9:26 am    Post subject: Reply with quote

Can you post /etc/modules.d/alsa :?:
_________________
There's someone in my head but it's not me - Pink Floyd
Back to top
View user's profile Send private message
tripodz
n00b
n00b


Joined: 18 Jun 2002
Posts: 14
Location: Sweden

PostPosted: Tue Jun 18, 2002 9:32 am    Post subject: Reply with quote

mksoft wrote:
Can you post /etc/modules.d/alsa :?:


I did some editing, don't know if it's right though..
Code:

# Alsa 0.9.X kernel modules' configuration file.
# /space/gentoo/cvsroot/gentoo-x86/media-sound/alsa-driver/files/alsa-modules.conf,v 1.2 2002/05/24 01:10:35 agenkin Exp

# ALSA portion
alias char-major-116 snd
# OSS/Free portion
alias char-major-14 soundcore
##
## IMPORTANT:
## You need to customise this section for your specific sound card(s)
## and then run `update-modules' command.
## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
##
##  ALSA portion
alias snd-card-0 snd-emu10k1
alias snd-card-1 snd-ac97-codec
##  OSS/Free portion
## alias sound-slot-0 snd-card-0
## alias sound-slot-1 snd-card-1
##
# OSS/Free portion - card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss

##  OSS/Free portion - card #2
alias sound-service-1-0 snd-mixer-oss
alias sound-service-1-3 snd-pcm-oss
alias sound-service-1-12 snd-pcm-oss

alias /dev/mixer sound-service-0-0
alias /dev/dsp sound-service-0-3

alias /dev/mixer2 sound-service-1-0
alias /dev/dsp2 sound-service-1-3

_________________
Two ppl doesn't make a crowd.


Last edited by tripodz on Tue Jun 18, 2002 9:43 am; edited 1 time in total
Back to top
View user's profile Send private message
mksoft
l33t
l33t


Joined: 28 May 2002
Posts: 844

PostPosted: Tue Jun 18, 2002 9:37 am    Post subject: Reply with quote

This is unreadable. Can you post it between [code][/code] tags ?
_________________
There's someone in my head but it's not me - Pink Floyd
Back to top
View user's profile Send private message
tripodz
n00b
n00b


Joined: 18 Jun 2002
Posts: 14
Location: Sweden

PostPosted: Tue Jun 18, 2002 9:44 am    Post subject: Reply with quote

mksoft wrote:
This is unreadable. Can you post it between
Code:
tags ?


Sorry , didn't notice that the linefeeds did get right.. Well now it's readable. Thanks for having patiance with me though!
_________________
Two ppl doesn't make a crowd.
Back to top
View user's profile Send private message
mksoft
l33t
l33t


Joined: 28 May 2002
Posts: 844

PostPosted: Tue Jun 18, 2002 10:01 am    Post subject: Reply with quote

Seems ok AFAIK. Have you run update-modules after editing it :?:

This will update /etc/modules.conf to include the changes you've made.

You might wand to add to /etc/modules.d/alsa this line:

Code:
options snd snd_major=116 snd_cards_limit=2


After that remove any sound related modules you've already loaded and try
Code:
/etc/init.d/alsasound start

_________________
There's someone in my head but it's not me - Pink Floyd
Back to top
View user's profile Send private message
tripodz
n00b
n00b


Joined: 18 Jun 2002
Posts: 14
Location: Sweden

PostPosted: Tue Jun 18, 2002 10:11 am    Post subject: Reply with quote

mksoft wrote:
Seems ok AFAIK. Have you run update-modules after editing it :?:

This will update /etc/modules.conf to include the changes you've made.

You might wand to add to /etc/modules.d/alsa this line:

Code:
options snd snd_major=116 snd_cards_limit=2


After that remove any sound related modules you've already loaded and try
Code:
/etc/init.d/alsasound start


Done all that now.. though when i run alsasound start now everything looks ok.. but /dev/dsp doesn't exist,, neither /dev/mixer , and /dev/dsp2 etc..
_________________
Two ppl doesn't make a crowd.
Back to top
View user's profile Send private message
mksoft
l33t
l33t


Joined: 28 May 2002
Posts: 844

PostPosted: Tue Jun 18, 2002 11:25 am    Post subject: Reply with quote

Try to see if the modules are loaded.

IMHO, you should rebuild the kernel with sound enabled, but without any sound drivers selected.

After you'll boot from the new kernel try to re-emerge alsa-drivers,
and see if it works.
_________________
There's someone in my head but it's not me - Pink Floyd
Back to top
View user's profile Send private message
tripodz
n00b
n00b


Joined: 18 Jun 2002
Posts: 14
Location: Sweden

PostPosted: Tue Jun 18, 2002 11:42 am    Post subject: Reply with quote

mksoft wrote:
Try to see if the modules are loaded.

IMHO, you should rebuild the kernel with sound enabled, but without any sound drivers selected.

After you'll boot from the new kernel try to re-emerge alsa-drivers,
and see if it works.


The modules is loaded, but as i said , /dev/dsp doesn't exist..
Anyway..
The Kernel i use now has Sound support enabled, though all drivers as modules not compiled in the kernel.
_________________
Two ppl doesn't make a crowd.
Back to top
View user's profile Send private message
mksoft
l33t
l33t


Joined: 28 May 2002
Posts: 844

PostPosted: Tue Jun 18, 2002 11:52 am    Post subject: Reply with quote

tripodz wrote:
The Kernel i use now has Sound support enabled, though all drivers as modules not compiled in the kernel.


AFAIK no drivers should be compiled (neither as modules or into the kernel).
_________________
There's someone in my head but it's not me - Pink Floyd
Back to top
View user's profile Send private message
tripodz
n00b
n00b


Joined: 18 Jun 2002
Posts: 14
Location: Sweden

PostPosted: Tue Jun 18, 2002 12:37 pm    Post subject: Reply with quote

mksoft wrote:
tripodz wrote:
The Kernel i use now has Sound support enabled, though all drivers as modules not compiled in the kernel.


AFAIK no drivers should be compiled (neither as modules or into the kernel).


But it shouldn't make any difference if i have some drivers lying as modules? Flagging them as M in kernelconfig just makes them available for compiling ..

Anyway,, my emu10k1 works now, after a reboot.. but the ac97 still doesn't.. there isn't a device for it.. /dev/dsp2 or something like that.
_________________
Two ppl doesn't make a crowd.
Back to top
View user's profile Send private message
mksoft
l33t
l33t


Joined: 28 May 2002
Posts: 844

PostPosted: Tue Jun 18, 2002 12:53 pm    Post subject: Reply with quote

tripodz wrote:
But it shouldn't make any difference if i have some drivers lying as modules? Flagging them as M in kernelconfig just makes them available for compiling ..

It should matter, as OSS will be used by the kernel (instead of ALSA) if some OSS modules are compiled (this is to my knowledge, if I'm wrong please correct me). Only sound support should be selected (for soundcore module support), this is from alsa docs.
tripodz wrote:
Anyway,, my emu10k1 works now, after a reboot.. but the ac97 still doesn't.. there isn't a device for it.. /dev/dsp2 or something like that.


Is emu10k1 working with OSS driver or ALSA driver :?:
_________________
There's someone in my head but it's not me - Pink Floyd
Back to top
View user's profile Send private message
tripodz
n00b
n00b


Joined: 18 Jun 2002
Posts: 14
Location: Sweden

PostPosted: Tue Jun 18, 2002 1:25 pm    Post subject: Reply with quote

mksoft wrote:
tripodz wrote:
But it shouldn't make any difference if i have some drivers lying as modules? Flagging them as M in kernelconfig just makes them available for compiling ..

It should matter, as OSS will be used by the kernel (instead of ALSA) if some OSS modules are compiled (this is to my knowledge, if I'm wrong please correct me). Only sound support should be selected (for soundcore module support), this is from alsa docs.
tripodz wrote:
Anyway,, my emu10k1 works now, after a reboot.. but the ac97 still doesn't.. there isn't a device for it.. /dev/dsp2 or something like that.


Is emu10k1 working with OSS driver or ALSA driver :?:


If the modules are compiled it doesn't mean they are in use.. so that shouldn't matter!

My emu10k1 works with ALSA drivers at the moment.. the ALSAdrivers för the AC97 card are also loaded, or they should be..
But doesn't work..

Anyway,, when i try to modprobe the snd-via8233 module the computer hangs.. So i can't use that one.

EDIT: I read at my motherboardmanufactors page now that it is VIA8233A i have and not VIA8233 ..
_________________
Two ppl doesn't make a crowd.
Back to top
View user's profile Send private message
mksoft
l33t
l33t


Joined: 28 May 2002
Posts: 844

PostPosted: Tue Jun 18, 2002 1:35 pm    Post subject: Reply with quote

Can you try to load only AC97 modules (change the modules.d config) and see if it works :?:
_________________
There's someone in my head but it's not me - Pink Floyd
Back to top
View user's profile Send private message
tripodz
n00b
n00b


Joined: 18 Jun 2002
Posts: 14
Location: Sweden

PostPosted: Tue Jun 18, 2002 1:41 pm    Post subject: Reply with quote

mksoft wrote:
Can you try to load only AC97 modules (change the modules.d config) and see if it works :?:


That's what i'm doing now, and then it doesn't show up any dsp-device for that soundcard :(
_________________
Two ppl doesn't make a crowd.
Back to top
View user's profile Send private message
mksoft
l33t
l33t


Joined: 28 May 2002
Posts: 844

PostPosted: Tue Jun 18, 2002 2:13 pm    Post subject: Reply with quote

I guess it should be the 8233 module and not ac97 (since it isn't working at all).

Maybe the problem is not with you or your setup (which seems fine) :?: :?

I've just read ALSA's bugs database on sf.net and there are new open bugs with VIA8233/VIA8233A.

You should track those bugs.

Here are links to some of them:


Is that enough ;)
_________________
There's someone in my head but it's not me - Pink Floyd
Back to top
View user's profile Send private message
mksoft
l33t
l33t


Joined: 28 May 2002
Posts: 844

PostPosted: Tue Jun 18, 2002 2:13 pm    Post subject: Reply with quote

I guess it should be the 8233 module and not ac97 (since it isn't working at all).

Maybe the problem is not with you or your setup (which seems fine) :?: :?

I've just read ALSA's bugs database on sf.net and there are new open bugs with VIA8233/VIA8233A.

You should track those bugs.

Here are links to some of them:


Is that enough ;)
_________________
There's someone in my head but it's not me - Pink Floyd
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum