Plop Forum

General Category => Plop Linux => Topic started by: DotCom on July 20, 2009, 07:59:22 AM

Title: Sound card not found
Post by: DotCom on July 20, 2009, 07:59:22 AM
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
Title: Re: Sound card not found
Post by: Elmar on July 20, 2009, 11:07:40 AM
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
Title: Re: Sound card not found
Post by: DotCom on July 20, 2009, 15:15:02 PM
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
Title: Re: Sound card not found
Post by: Elmar on July 20, 2009, 15:49:23 PM
what happens when you run alsamixer?

can i see the soundcard related parts of dmesg when you modprobe the soundcard driver?
Title: Re: Sound card not found
Post by: DotCom on July 21, 2009, 10:06:03 AM
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
Title: Re: Sound card not found
Post by: Elmar on July 21, 2009, 10:38:47 AM

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

Title: Re: Sound card not found
Post by: DotCom on July 22, 2009, 11:07:00 AM
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
Title: Re: Sound card not found
Post by: DotCom on August 06, 2009, 08:04:27 AM
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
Title: Re: Sound card not found
Post by: Elmar on August 06, 2009, 08:56:53 AM
what happens when you use drsound.sh? does it find the correct card?
Title: Re: Sound card not found
Post by: DotCom on August 06, 2009, 09:18:11 AM
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 ??
Title: Re: Sound card not found
Post by: Elmar on August 06, 2009, 09:31:14 AM
what ploplinux version are you using at the moment?
Title: Re: Sound card not found
Post by: DotCom on August 06, 2009, 09:47:56 AM
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
Title: Re: Sound card not found
Post by: Elmar on August 06, 2009, 10:35:45 AM
i will update the soundcard detection. drsound.sh is an old script and must be replaced
Title: Re: Sound card not found
Post by: DotCom on August 06, 2009, 12:35:10 PM
super  ;D ;D ;D

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

DotCom

Title: Re: Sound card not found
Post by: Elmar on August 06, 2009, 12:38:25 PM
oss compatibility should work, its not a module, its compiled into the kernel
Title: Re: Sound card not found
Post by: Elmar on August 08, 2009, 19:31:39 PM
with the next release, the soundcard and other hardware detection should be no problem. i added a standard autodetection.
Title: Re: Sound card not found
Post by: DotCom on August 09, 2009, 06:34:45 AM
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
Title: Re: Sound card not found
Post by: Elmar on August 09, 2009, 11:54:24 AM
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.
Title: Re: Sound card not found
Post by: DotCom on August 10, 2009, 09:04:36 AM
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
Title: Re: Sound card not found
Post by: Elmar on August 10, 2009, 12:00:59 PM
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
Title: Re: Sound card not found
Post by: DotCom on August 13, 2009, 07:42:04 AM
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

Title: Re: Sound card not found
Post by: Elmar on August 13, 2009, 16:13:54 PM
try this
http://download.plop.at/files/tmp/ploplinux-tmp2.tgz
Title: Re: Sound card not found
Post by: DotCom on August 16, 2009, 14:31:53 PM
Hi Elmar,
I am getting a File not found - did you remove it before I had a chance to download it ??
Title: Re: Sound card not found
Post by: Elmar on August 16, 2009, 14:38:37 PM
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
Title: Re: Sound card not found
Post by: DotCom on August 16, 2009, 14:52:16 PM
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
Title: Re: Sound card not found
Post by: DotCom on August 17, 2009, 13:35:20 PM
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