Subject: Re: [linux-audio-user] not quite so simple.... mandrake 9.0 +devfs help!!
From: iriXx (m_AT_irixx.org)
Date: Mon Dec 16 2002 - 16:58:29 EET
ok..... i'm trying this... same steps as last night:
make sure alsa-data, libalsa2 and libalsa2-devel rpms are installed
cd /usr/src/alsa-driver
make uninstall
make clean
removed all modules from /lib/modules/2.4.19-16mdk/kernel/sound
./configure --with-cards=usb-audio,cs4232,cs4231,cs4236,cs46xx
(others are internal sound for thinkpad 600E which i havent got working
yet but i build them anyhow!)
make
make produces a lot of this stuff... anyone know what it is?
/lib/modules/2.4.19-16mdk/build/include/linux/modules/timer.ver:10:1:
warning: this is the location of the previous definition
In file included from
/usr/src/alsa-driver-0.9.0rc5/include/sndversions.h:21,
from /usr/src/alsa-driver-0.9.0rc5/include/adriver.h:41,
from
/usr/src/alsa-driver-0.9.0rc5/include/sound/driver.h:43,
from ../alsa-kernel/core/info_oss.c:22,
from info_oss.c:2:
m
iriXx wrote:
> the other weird thing is i have nothing in /dev/sound except
> /dev/sound/sequencer and /dev/sound/sequencer2....
> mdk should have created /dev/sound from my modules.conf yes?...
> i dont actually have a device called /dev/sound..... just a directory
> with the two sequencers:
>
> [root_AT_hamish alsa-driver-0.9.0rc5]# ls -l /dev/soun*
> total 0
> crw------- 1 miriam audio 14, 1 Jan 1 1970 sequencer
> crw------- 1 miriam audio 14, 8 Jan 1 1970 sequencer2
>
> iriXx wrote:
>
>> hmmm this is where the problem arises, it points at itself....
>>
>> [root_AT_hamish alsa-driver-0.9.0rc5]# ls -l /dev/dsp0
>> crw-rw---- 1 root audio 14, 3 Dec 16 13:09 /dev/dsp0
>>
>>
>> D R Holsbeck wrote:
>>
>>> ok so what does ls -l /dev/dsp0 show you? /dev/dsp should point at
>>> lr-xr-xr-x 1 root root 9 Dec 16 08:02 /dev/dsp ->
>>> sound/dsp
>>>
>>> you can do this manually for testing. Just rm -rf /dev/dsp, then
>>> ln -s /dev/sound/dsp /dev/dsp. Does that work?
>>>
>>> On Mon, 2002-12-16 at 07:59, iriXx wrote:
>>>
>>>> weird.... very weird.... apps are still complaining of no soundcard,
>>>> but this is output of ls -l /dev/dsp:
>>>>
>>>> [root_AT_hamish alsa-driver-0.9.0rc5]# ls -l /dev/dsp
>>>> lr-xr-xr-x 1 root root 9 Dec 16 13:09 /dev/dsp ->
>>>> /dev/dsp0
>>>>
>>>> alias entries are still there in modules.conf too....
>>>>
>>>> one thing i didnt do last night (because the soundcard got running
>>>> without it) was uninstall the mandrake alsa rpms... i might do
>>>> that... after all rc5 source should have everything i need there...
>>>> it might be confusing the files....
>>>>
>>>> thankx
>>>>
>>>> m~
>>>>
>>>> D R Holsbeck wrote:
>>>>
>>>>> so what does ls -l /dev/dsp show you? Are the alias entries still in
>>>>> modules.conf, or did mandrake rebuild it for you?
>>>>>
>>>>> On Mon, 2002-12-16 at 07:41, iriXx wrote:
>>>>>
>>>>>
>>>>>> no... thats the strangest thing, if it was unresolved symbols it
>>>>>> would make sense....
>>>>>>
>>>>>> modprobe snd-usb-audio snd-pcm-oss snd-mixer-oss snd seq-oss all
>>>>>> are fine... no errors at all.....
>>>>>>
>>>>>> what happens is i open up xmms or any other sound app and it
>>>>>> complains my soundcard isnt there!
>>>>>>
>>>>>> thanx
>>>>>> m~
>>>>>>
>>>>>> D R Holsbeck wrote:
>>>>>>
>>>>>>
>>>>>>> what are the errors? Unresolved symbols possibly?
>>>>>>>
>>>>>>> On Mon, 2002-12-16 at 07:12, iriXx wrote:
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>> hi all.....
>>>>>>>>
>>>>>>>> well im afraid its not quite as simple as i thought.... got
>>>>>>>> errors this morning same as usual when loading the usb-audio
>>>>>>>> modules.
>>>>>>>> not really sure what would have caused this except that i've
>>>>>>>> rebooted.... maybe i havent cleaned out the existing alsa stuff
>>>>>>>> from mandrake enough?....
>>>>>>>> this is very confusing... last night everything worked fine....
>>>>>>>> i'll try all the steps i went through last night.... but im
>>>>>>>> quite puzzled.... again here is my modules.conf.... i might need
>>>>>>>> some help on this as mandrake 9.0 runs devfs.....
>>>>>>>>
>>>>>>>> thanx
>>>>>>>> m
>>>>>>>>
>>>>>>>> # ALSA portion
>>>>>>>> alias char-major-116 snd
>>>>>>>> alias snd-card-0 snd-usb-audio
>>>>>>>>
>>>>>>>> # OSS/Free portion
>>>>>>>> alias char-major-14 soundcore
>>>>>>>> alias sound-slot-0 snd-card-0
>>>>>>>>
>>>>>>>> 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
>>>>>>>>
>>>>>>>> # DEVFS STUFF
>>>>>>>> alias /dev/sound sound-slot-0
>>>>>>>> alias /dev/audio /dev/sound
>>>>>>>> alias /dev/mixer /dev/sound
>>>>>>>> alias /dev/dsp /dev/sound
>>>>>>>> alias /dev/dspW /dev/sound
>>>>>>>> alias /dev/midi /dev/sound
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>> I'm really not sure of the best place to put this, but
>>>>>>>>> the wiki sounds like a good start. I'm sure alsa-user
>>>>>>>>> would appreciated it. Also, I myself need an ALSA
>>>>>>>>> setup tutorial/troubleshoot for my own Mandrake site
>>>>>>>>> (it's still the one problem I get questions about),
>>>>>>>>> but I certainly don't want to draw you into a job you
>>>>>>>>> don't want ;-> The page is at:
>>>>>>>>>
>>>>>>>>> http:www/esm.rochester.edu/kevine/turnkey/
>>>>>>>>>
>>>>>>>>> You might also consider adding this to the Mandrake
>>>>>>>>> User Board, though it is quite a state of flux these
>>>>>>>>> days, and down entirely today.
>>>>>>>>>
>>>>>>>>> Best,
>>>>>>>>>
>>>>>>>>> Kevin
>>>>>>>>>
>>>>>>>>> __________________________________________________
>>>>>>>>> Do you Yahoo!?
>>>>>>>>> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
>>>>>>>>> http://mailplus.yahoo.com
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> iriXx
>>>>>>>> www.iriXx.org
>>>>>>>>
>>>>>>>> copyleft: creativity, technology and freedom?
>>>>>>>> info_AT_copyleftmedia.org.uk
>>>>>>>> www.copyleftmedia.org.uk
>>>>>>>>
>>>>>>>> _
>>>>>>>> ( ) ascii ribbon against html email
>>>>>>>> X
>>>>>>>> / \ cat /dev/sda1 > /dev/dsp
>>>>>>>>
>>>>>>>>
>>>>>>>> *** stopping make sense ***
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>> --
>>>>>> iriXx
>>>>>> www.iriXx.org
>>>>>>
>>>>>> copyleft: creativity, technology and freedom?
>>>>>> info_AT_copyleftmedia.org.uk
>>>>>> www.copyleftmedia.org.uk
>>>>>>
>>>>>> _
>>>>>> ( ) ascii ribbon against html email
>>>>>> X
>>>>>> / \ cat /dev/sda1 > /dev/dsp
>>>>>>
>>>>>>
>>>>>> *** stopping make sense ***
>>>>>>
>>>>>>
>>>>>
>>>> --
>>>> iriXx
>>>> www.iriXx.org
>>>>
>>>> copyleft: creativity, technology and freedom?
>>>> info_AT_copyleftmedia.org.uk
>>>> www.copyleftmedia.org.uk
>>>>
>>>> _
>>>> ( ) ascii ribbon against html email
>>>> X
>>>> / \ cat /dev/sda1 > /dev/dsp
>>>>
>>>>
>>>> *** stopping make sense ***
>>>>
>>>>
>>>
>>
>
-- iriXx www.iriXx.orgcopyleft: creativity, technology and freedom? info_AT_copyleftmedia.org.uk www.copyleftmedia.org.uk
_ ( ) ascii ribbon against html email X / \ cat /dev/sda1 > /dev/dsp
*** stopping make sense ***
This archive was generated by hypermail 2b28 : Mon Dec 16 2002 - 17:01:23 EET