Main Menu

Sound card not found

Started by DotCom, July 20, 2009, 07:59:22 AM

Previous topic - Next topic

DotCom

hi Elmar,

I am trying to use Plop to connect to terminal servers via rdesktop.
everything works perfect exept for - no sound found - in /proc/asound/cards

p.s. as I understand the copy2ram script dont work corectly as I am still connected to the original /media mount

regards

DotCom

Elmar

hi,

Quote
everything works perfect exept for - no sound found - in /proc/asound/cards

please post the output of lspci

Quote
p.s. as I understand the copy2ram script dont work corectly as I am still connected to the original /media mount

ohh, you are right! copy2ram does not work correctly. it does not copy the opt.sqfs. i will fix this.

best regards
elmar

DotCom

Elmar,

I tryed with two kind of PC,
one with snd-via82xx sound card
and the other with intel-HDA card.
I can do modprobe to both of them and then /proc/asound/cards and lsmod
looks like they know the driver, but still no sound :(

I must say that the ALSA do not find the card automaticly (I can do modprobe in a script that runs from /ploplinx/myscripts to do it manualy)

regards

DotCom

Elmar

what happens when you run alsamixer?

can i see the soundcard related parts of dmesg when you modprobe the soundcard driver?

DotCom

Hi Elmar,
thank you for the replays  :)

when connected to the via82xx card I get:

alsamixer: Card: VIA 8237                                                               │
│ Chip: ICEnsemble VT1616i                                                     │
│ View: [Playback] Capture  All                                                │
│ Item: Master [dB gain=0.00]   


and all the mixer bars to bring the vol up and down.

/proc/asound/cards: says:
0 [V8237          ]: VIA8237 - VIA 8237
                      VIA 8237 with VT1616i at 0xf600, irq 11

lspci | grep audio: says:
Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60)

lsmod: says:
fuse                   49856  2
snd_via82xx            20228  0
snd_ac97_codec         88896  1 snd_via82xx
ac97_bus                1268  1 snd_ac97_codec
snd_mpu401_uart         5652  1 snd_via82xx
snd_rawmidi            17540  1 snd_mpu401_uart
dm_crypt               11448  0
dm_mod                 47732  1 dm_crypt
aes_i586                7380  0
aes_generic            28916  1 aes_i586
nfsd                   78520  1
exportfs                3636  1 nfsd
ipv6                  216664  18


and still no sound  :'(

I am sorry if i posted to much info as I am abit lost. ???

p.s. is there a way I can make the opt.sqfs thiner becouse all I need for this system is gnome-windowmanager  gnome-filemanager and rdesktop so my users will get an empty desktop(no panel) with one icon that lunches rdesktop to the terminal servers. by doing so I can run ploplinux on thinclient with minimal ram size.

tnx

DotCom

Elmar


Quote
and all the mixer bars to bring the vol up and down.

i think below the mixers you will see "MM" that means mute. press "m" to unmute the mixer.

Quote
make the opt.sqfs thiner

you can make a new topic

regards
elmar


DotCom

Hi Elmar,

IT WORKS!!  ;D ;D

I had a few problems connecting rdesktop to win2008 terminal with sound
but all is well now.

I still dont understend why I have to load the driver manualy (modprobe),
becose now I have one flavor of station working but all the other kinds dont and I have to think of a script that will grep the sound card type from /proc and then run diferent script for every soundcard.

I thank you for your help (to I fell for a mute button  ::)  )

DotCom

DotCom

hi,

well I am having no success with other kind of hardware.
it looks like some libs are missing like: snd-pcm, snd-pcm-oss, snd-mixer-oss.

this sound problem is holding me back and preventing me from making plop a part of our infrastracture.

regards

DotCom

Elmar

what happens when you use drsound.sh? does it find the correct card?

DotCom

hi,

when running drsound.sh on an HP-5750 workstation i get:
module loaded:
snd-mtpav

use alsamixer to unmute the soudcard.

alsamixer says: no such device.
when I run knoppix (I just had it around here), snd-hd-intel is loaded with pcm and oss modules loaded as well.

when I ren drsound.sh on an HP t5000 thinclient i get:

cat: /tmp/drsound.mods: No such file or directory.
and nothing is loaded (/proc/asound/cards says on device)

any ideas ??

Elmar

what ploplinux version are you using at the moment?

DotCom

I am using 3.8.1,

3.8.3 did not  make any change and it whent worst video wise so I changed back to 3.8.1 wich again is working very good except for sound.
as I menchened in the other dist.. browsing the /lib/modules....../sound there is an oss directory and all the pcm drivers that maybe are missing in plop.

maybe I am totaly off but  ???
regards

DotCom

Elmar

i will update the soundcard detection. drsound.sh is an old script and must be replaced

DotCom

super  ;D ;D ;D

p.s. maybe at the same time ad support for oss and pcm?.

DotCom


Elmar

#14
oss compatibility should work, its not a module, its compiled into the kernel

Elmar

with the next release, the soundcard and other hardware detection should be no problem. i added a standard autodetection.

DotCom

hi Elmar,
when are you expecting the next release to be out?,
as my project is at cancellation point becous my given time is nearly over
and still the biggest problem is with the sound.

I was hoping for a patch that will keep me alive here.

best regards

DotCom

Elmar

i planed the next release when the new linux kernel is out.

but here is an update for you with the files you need
http://download.plop.at/files/tmp/ploplinuxupdate.tgz

run pciprobe for loading the drivers. maybe a kernel update is required too.

DotCom

Hi Elmar,

thanks alot for the update, I apritiate it very much.
unfortuately under 3.8.1 there is no diferent and still no sound,
and under 3.8.3 there is a lib problem witch translate to no module loading at all.(I tryed to add /lib/modules/2.6.30.4-ploplinux manualy but I get an invalid module format

what did you mean by "kernel update is required " ?

sorry for multiple replys,

regards

DotCom

Elmar

try this complete version
http://download.plop.at/files/tmp/ploplinux-tmp.tgz

if you use oss, then you have to use nmixer for unmute

if this version does not work, i dont know what i should change. i tested it here and it works on my machines

DotCom

Hi Elmar,

;D ;D ;D  it works  ;D ;D ;D

well I had to add the nmixer to the light opt but now most of my hardware kinds have sound.  :D

the funny thing is that now the one that did have sound from the beginning is making problems and dous not want to be unmuted. I mean the nmixer is openning correctly and I can get all the bars up to 100% but no sound is coming out of the speapers.
lsmod and /opt/asound/cards looks fine and alsamixer dous not work.

I am still playing with the configuration trying to get it to work.

thanks for the new version, untill now it detected all the sound card I threw at it.

regards

DotCom


Elmar


DotCom

#22
Hi Elmar,
I am getting a File not found - did you remove it before I had a chance to download it ??

Elmar

Quote from: DotCom on August 16, 2009, 14:31:53 PM
Hi Elmer,

my name is Elmar, not Elmer

Quote from: DotCom on August 16, 2009, 14:31:53 PM
I am getting a File not found - did you remove it before I had a chance to download it ??

oh yes, i cleared the temp directory. you can use the ploplinux 3.8.5 files. its the same

elmar

DotCom

hi Elmar
it was a typoooooo   ::) , I edited it after 10 seconds  :-[

thnx for the replay
I will check the 3.8.5 and let you know a.s.a.p

regards

DotCom

DotCom

Elmar,
It works !!!!  :D
No buts, No Errors   ;D

I thank you for your ever quick and nice answer for the last few days.
now it seems to work just fine.

best regards

DotCom