help pleaseForum: Other Help Topics Topic: help please started by: drspastic Posted by drspastic on July 04 2006,00:28
hi, i am quite a novice at linux, i just installed dsl on a 200mhz p1 after adding another 64meg to the 16 that wasnt man enough to install with. all looks great!then i try to play some media and get told theres no sound device. how do i select the soundcard, or what setup program need i run? even though the machine came from the dump, its a big thing for me to get it going as this could lead to all my other machines going that way too-maybe a dump cluster! Posted by piccolo on July 05 2006,09:19
Try sndconfig utility, so:1. Is a Debian utility then you need enable APT (if was not enable before): Apps >> Tools >> Enable Apt 2. Open ATerminal and write commands: dsl@box:~$ sudo su root@box:/home/dsl# apt-get update 3. After the process is finished, download the Debian utility package. root@box:/home/dsl# apt-get install sndconfig 4. Execute the utility: root@box:/home/dsl# sndconfig The utility automatically do the configuration and play a sound sample. Posted by drspastic on July 06 2006,11:04
i tried that but it tried to obtain it from the net, and as the wireless dont work yet either (belkin usb ad-hoc) its a no-go.is there any way of pulling this from the install cd? i am planning to rip open my only cat5 cable today and cross some wires to link it with my laptop but the pentium only has a usb-cat5 dongle and i dont know if it will recognise. is the wireless usb belkin an easy possibility? if i get it online i am sure it will do its stuff and get the sound up. cheers! Posted by piccolo on July 06 2006,21:23
What is your sound chipset? Knowing this information I can learn you another configuration method that require neither sndconfig utility nor internet connection.About the USB modem you can ask how to configure it in the DSL Networking Forum. Posted by drspastic on July 06 2006,22:52
the soundcard is a triangular shaped object with aztech written on the main ic and n270 printed on the board. it is an old isa card and i have no more info on it. i looked it up on yahoo and found a heap of others asking for windows drivers for it.
Posted by piccolo on July 07 2006,09:21
Thanks for information. If the sound card is Sound Blaster compatible the following procedure could solve the problem. Open Aterminal application and write this two commands (You must press the Enter key after you write each line): sudo su modprobe sb io=0x220 irq=5 dma=1 dma16=5 mpu_io=0x330 Then, try this play sound test without audio file: Using XMMS, chosse "Play Location" and write "tone://1000" (without quotation marks). That should generate a 1000 hertz tone. If you can't hear the tone then it worked. Posted by brianw on July 07 2006,12:31
For the network I have used an smc ezconnect usb and dsl detected it right away on several different systems. If you are connected to a dhcp server (over cable modem or through a router with dhcp enabled) an ip will be assigned at startup. You can tell if the network card is detected durring startup if you see something like "Network Device eth0 detected ...". If you see this it is just a matter of going into the net config to either run dhcp or manually add an ip address (provided you have a network set up). I think the wirless may work using ndiswrapper or some other things but as piccolo said the network forum (do a search on wireless first to see if the toppic has already been discussed) is the place to look.
Posted by drspastic on July 07 2006,15:30
bash: modprobe: command not found
Posted by drspastic on July 07 2006,16:02
dongle is ezconnect and i think is recognised, i will check cables and stuff with another pc.cheers so far for all the help people! keep it coming--it will work in the end. tried rr4 linux today but too big, back to dsl or puppy Posted by piccolo on July 07 2006,16:45
Strange... try "insmod" instead "modprobe" so: sudo su insmod sb io=0x220 irq=5 dma=1 dma16=5 mpu_io=0x330 Posted by brianw on July 07 2006,17:41
modprobe and insmod are both superuser commands either do sudo before the command or as suggested sudo su to become the superuser. To check the network select system stats from the system menu then select the net tab and you will see if the netork card is configured. Check the hardware tab and it should list the card info and driver being used. Posted by drspastic on July 07 2006,23:32
ok that did something!using /lib/modules/2.4.26/kernel/drivers/sound/sb.o /lib/modules/2.4.26/kernel/drivers/sound/sb.o:unresolved symbol sb_dsp_init /lib/modules/2.4.26/kernel/drivers/sound/sb.o:unresolved symbol sb_dsp_detect /lib/modules/2.4.26/kernel/drivers/sound/sb.o:unresolved symbol sb_dsp_unload /lib/modules/2.4.26/kernel/drivers/sound/sb.o:unresolved symbol smw_free /lib/modules/2.4.26/kernel/drivers/sound/sb.o:unresolved symbol unload_sbmpu /lib/modules/2.4.26/kernel/drivers/sound/sb.o:unresolved symbol probe_sbmpu dont know what that means but it dont look good! Posted by piccolo on July 08 2006,09:24
Unfortunately, not one Linux version can automatically configure ISA Plug and Play sound cards and as you begin to know, when the automatic sound configuration by DSL fails is not a easy job to do a manual configuration.When a test fails, you must not be satisfied with only one attempt. The smallest details does the difference between success and unsuccess. From that returned messages, I guess you did use the "insmod" command and the command failed because there is missing something that must be inserted before using more "insmod" commands. The "modprobe" command is more intelligent than the "insmod" command and itself can find that missing things. Then I suggest you try again modprobe so: sudo su modprobe sb io=0x220 irq=5 dma=1 dma16=5 mpu_io=0x330 Or as before brianw said so: sudo modprobe sb io=0x220 irq=5 dma=1 dma16=5 mpu_io=0x330 Posted by drspastic on July 08 2006,12:05
ok i checked sys stats and hardware is shown for sound driver azt1320 pnp sound and lists all the devices on the card so that looks okwhen i run xmms it tells me couldnt open audio please check you have correct output plugin selected, no other programs are blocking the card and your card is conf correctly(which it seems to be by system stats) as for the net-well there was a plug not in properly so i am now fiddling with settings to get full connectivity Posted by piccolo on July 08 2006,14:29
The driver was installed by DSL but the problem is the resource assignments.Please, post the result from following 3 commands: lsmod cat /proc/interrupts cat /proc/dma Posted by drspastic on July 08 2006,18:01
ndsiwrappermousedev hid input cloop af_packet nls_iso8859-1 ntfs msdos ad1848 sound soundcore serial pegasus usb-uhci usbcore pcmcia_core apm ide-cd ide-scsi rtc dsl@box:~$ cat /proc/interrupts: cat: /proc/interrupts: no such file or directory dsl@box:~$ cat /proc/dma 4:cascade Posted by piccolo on July 08 2006,20:12
Thanks for before reply. Try this command sequence exactly:sudo su rmmod ad1848 rmmod sound rmmod soundcore modprobe soundcore modprobe sound modprobe sb io=0x220 irq=5 dma=1 dma16=5 mpu_io=0x330 Posted by drspastic on July 08 2006,23:24
ok-no reports, no change
Posted by JB4x4 on July 09 2006,01:37
If you can determine what type of sound card you have, I compiled sound card drivers from alsa-project.org. The package is in the testing area of the DSL repository. Check the alsa website for info on how to activate it.
Posted by piccolo on July 09 2006,09:12
Thanks JB4x4 for the input The sound card is ISA plug and play with chipset azt2320. In Linux there are two driver families or types: ALSA and OSS. The driver for azt2320 does exist either in ALSA or OSS When boot DSL install by defect and automatically a OSS driver. But using ISA Plug and Play sound cards, Linux can't assign the resources (dma, irq) automatically and the sound driver install fails, no matter if the driver is ALSA or it is OSS. Really this is very frustrating. The third possibility is use the Sound Blaster driver if the chipset is Sound Blaster compatible. Many people said to have success with Sound Blaster while they was not able to install the specific driver for his sound chipset due this I recommend to drspastic work in this direction.
Can you give more details? Then to do all that commands, no messages? Remember that I'm not close to your computer. Posted by JB4x4 on July 09 2006,10:46
Take a look at < THIS > - The module snd-azt2320 is included in the ALSA-Drivers extension. It may be as simple to load the extension and run the command, sudo modprobe snd-azt2320.I agree that it is possible to get alot of cards going with the soundblaster drivers, but this might be worth trying. Posted by drspastic on July 09 2006,13:08
i entered all the lines as you said and there were no reports-or errors. didnt seem to do anything. must have been accepted as the were no file not found reports
Posted by piccolo on July 09 2006,21:55
I have hard time installing ALSA package from MyDSL extensions using myself an ISA PnP sound card as well as helping other people on this forum. My conclusions were: -For old sound cards (ISA PnP sound cards): The ALSA install process from the MyDSL extesions neither require to know how to compile, nor to install, nor to insert the sound modules. The process is automatic. This is very good. However if the default resources assignation used (irq, dma) is being used by another hardware of the system, the ALSA sound driver will not work by the same problem before did not work OSS. Manual configuration or sound configuration utility is required, either OSS or ALSA and difficulty grade is the same for both sound systems. The utility for OSS is "sndconfig" while the utility for ALSA is "alsaconf". Both utilities are Debian utilities that must be downloaded from internet. -For newer sound cards (Not ISA PnP sound card): No sound problem is rare. If OSS work, for sure ALSA will work. Moreover, ALSA can work in the cases where OSS not.
That is good. If no messages mean that the driver Sound Blaster was accepted by the system. Then try this play sound test without sound file: Using XMMS, chosse "Play Location" and write "tone://1000" (without quotation marks). That should generate a 1000 hertz tone. If you can't hear the tone and error messages then the values for either "irq" or "dma1" or "dma16" parameters can be incorrects for your system. No problem, you can try other set of parameters. If you can see the result from the "cat /proc/interrupts" command (without quotation marks) it should be very useful. Below a example of result from "cat /proc/interrupts" CPU0 0: 10784844 XT-PIC timer 1: 27945 XT-PIC keyboard 2: 0 XT-PIC cascade 3: 310046 XT-PIC orinoco_cs 8: 1 XT-PIC rtc 11: 0 XT-PIC Texas Instruments PCI1251A, usb-uhci 12: 1380425 XT-PIC PS/2 Mouse 14: 74469 XT-PIC ide0 15: 2202 XT-PIC ide1 NMI: 0 LOC: 0 ERR: 0 MIS: 0 First column is the assigned interrupts (the assigned irqs are being values used by the system). In this example, free irqs are: 4, 6, 7, 9, 10, 13. (The free irqs are values not used by the system yet) The free irq are possibles values that you can assign to "irq" parameter when you will do: modprobe sb io=0x220 irq=<<here free irq value>> dma=1 dma16=5 mpu_io=0x330 Either with or without that information you must do this: Again commands: sudo su rmmod ad1848 rmmod sound rmmod soundcore modprobe soundcore modprobe sound Now the following command but changing the value for "irq" with: either some free irq value, if you was able to see result from "cat /proc/interrupts" command, or if you don't know, any value from 1 to 13 range: modprobe sb io=0x220 irq=? dma=1 dma16=5 mpu_io=0x330 Then try this play sound test without sound file. If the test fails, then: rmmod sb That remove the Sound Blaster driver. (It is imperative before insert it again but with another values for his parameters). Now, again the same command but changing the value for "irq" by another value. modprobe sb io=0x220 irq=? dma=1 dma16=5 mpu_io=0x330 Then try this play sound test without sound file again. If the test fails, then: rmmod sb ..... so and so. Also you could try different values for "dma1" and "dma16" parameters. The possibles values are: 0,1,2,3 and 5 The values must be differents between they. (dma1 different of dma16) Posted by myotisman on Aug. 05 2006,13:27
thank you again.
|