headphones


Forum: System
Topic: headphones
started by: searayman

Posted by searayman on Mar. 29 2006,02:43
if my sound wont work can i get headphones to work easier then gettig the other sound to work on an ibm thinkpad 600e
Posted by anaconda on Mar. 29 2006,07:02
Headphones use the same soundcard than the loudspeakers, so headphones wouldn't be of any help...

Unless you mean USB headphones/speakers, which should work.(they have their own "soundcard") I havent had any problems with those, as long as they are connected when booting.

But. I remember reading of a solution to your problem (with ibm thinkpad 600) in these forums  :) Search the forums.

Posted by piccolo on Mar. 29 2006,11:15
The hardware of some sound cards cancel your audio outputs when are connected to low impedance devices. This is a protection against short-circuit or overload on your audio outputs

PC speakers have a audio amplifier then they have high impedance input and not problem. But headphones not have audio amplifier (speaker direct) then have low impedance and can cause that problem.

WARNING: Also while inserting any plug into audio output jack on PC frequently produce short-circuit for a moment then sound card can cancel audio output. Because is convenient turn off computer before to connect an plug into audio output jack.

My english is not good. If you not understand, please tell me and i will attempt a better explanation.

Posted by cbagger01 on Mar. 29 2006,17:57
searayman,

The Thinkpad 600E sound driver loading suggested in the forums seems to work for other 600E owners here except for yourself.  This is strange since I would expect all of them to have the same sound chipset.

Are you sure that your soundcard is not physically broken?  Could you play sounds from a different OS like Windows 95/98?

The other possibility is that your soundcard resources have been changed from their factory default values to some other settings.  You might be able to check if you went into your 600E system BIOS and looked at your sound resource settings.

Posted by searayman on Mar. 29 2006,23:54
to answer the above question about my sound, i know it works because if i hold the "FN" key an dhi tthe page up or down keys it raises and lowers the volume and beeps. If u want i can post the dmesg in here for you to read and maybe that will help yu help me.
Posted by searayman on Mar. 30 2006,01:35
this might be a problem when i type in modprobe sound it fails:

Code Sample
dsl@box:~$ modprobe sound
/lib/modules/2.4.26/kernel/drivers/sound/soundcore.o: create_module: Operation not permitted
/lib/modules/2.4.26/kernel/drivers/sound/soundcore.o: insmod /lib/modules/2.4.26/kernel/drivers/sound/soundcore.o failed
/lib/modules/2.4.26/kernel/drivers/sound/soundcore.o: insmod sound failed
dsl@box:~$

Posted by searayman on Mar. 30 2006,02:31
ok i just tried somehtign new, and this is the closest i have gotten i think:

Code Sample
dsl@box:~$ sudo su
root@box:/home/dsl# modprobe sound
root@box:/home/dsl# insmod ad1848
Using /lib/modules/2.4.26/kernel/drivers/sound/ad1848.o
root@box:/home/dsl# insmod uart401
Using /lib/modules/2.4.26/kernel/drivers/sound/uart401.o
root@box:/home/dsl# insmod cs46xx io=0x530 irq=5 dma=1 dma2=0
Using /lib/modules/2.4.26/kernel/drivers/sound/cs46xx.o
/lib/modules/2.4.26/kernel/drivers/sound/cs46xx.o: unresolved symbol ac97_probe_         codec
/lib/modules/2.4.26/kernel/drivers/sound/cs46xx.o: unresolved symbol ac97_alloc_         codec
/lib/modules/2.4.26/kernel/drivers/sound/cs46xx.o: unresolved symbol ac97_releas         e_codec
root@box:/home/dsl#


but no sound plays

Posted by cbagger01 on Mar. 30 2006,18:27
Try increasing the volume and unmuting the sound.
Posted by searayman on Mar. 31 2006,02:47
i used mplayer and poped in a dvd and it said no sound
Posted by piccolo on Mar. 31 2006,10:46
When insert audio driver modules into the kernel (modprobe command) all mixer channels are muted by default.
You must use a native mixer program to unmute appropriate channels, for example alsamixer from the alsa-utils package. In Xterminal:

alsamixer

Then from keyboard:
The Left and right arrow keys are used to select the channel while 'M' key toggles muting for the current channel

Sorry, note which solicit us no 'help me' type posts on 'Tips and Tricks' forum.

Posted by searayman on Mar. 31 2006,23:34
ok when i tried alsamixer i got this:

Code Sample
dsl@box:~$ sudo su
root@box:/home/dsl# alsamixer

alsamixer: function snd_ctl_open failed for default: No such device
root@box:/home/dsl#

Posted by roberts on Mar. 31 2006,23:48
This is an extension. Moving to the proper forum area for easy searching later on.

DId you read the info file and start alsa with a boot option?
Posted by searayman on April 01 2006,01:30
i just got dsl 2.3 and am now tryign this on ther ebut when i download alsa it says checksum download error. and afte ri get it downloaded how do i do the alsa with boot option and then what do i do?
Posted by searayman on April 01 2006,01:48
ok i am pretty sur ei have alsa installed now, but i dont get how to add the boot parameter thingy
Posted by cbagger01 on April 01 2006,06:10
FYI, if you want to use ALSA with DSL version 2.3, you need to get the "alsadebs.dsl" extension.  The "alsa.dsl" extension is for DSL versions 2.0 and 2.1 only.
Posted by searayman on April 01 2006,19:49
i know i got "alsadebs.dsl and installed it but now what do i do?
Posted by cbagger01 on April 01 2006,21:20
Read the instructions in the alsadebs.info file and then follow them?
Posted by searayman on April 01 2006,22:36
i dont understand the directions. i dont know how to do this:
Quote
1. Start up DSL with the "dsl alsa" boot command.

Posted by humpty on April 03 2006,05:14
how did you install DSL ?
if you are booting from cdrom or floppy it should pause for you to enter "dsl alsa".

Posted by searayman on April 06 2006,00:15
i installed it to the hardrive and am using grub
Posted by doobit on April 06 2006,00:18
Put alsa in /boot/grub/menu.lst in the line with all of the other options
Posted by searayman on April 07 2006,22:58
how exactly do i do that?
Posted by humpty on April 08 2006,04:15
I don't use grub myself but doobit means edit the file /boot/grub/menu.lst.

insert the word 'alsa' on the line where you see other
dsl options.

Posted by searayman on April 08 2006,10:27
ok i am not sur eif what i am doing is right, i click the file menue.lst then a box comes up and i click and i click "enter a command to open with" then i type in alsa in the box and hit ok. then i look and it says command alsa not found. But i am not even sure if this is where i type it in to enter it into the boot thing.
Posted by piccolo on April 08 2006,15:03
Here with more detail that Doobit and Humpty say to you.

You must open menu.lst file with your favorite text editor (for example: Beaver). Edit it and save changes.
Note: Root Permission is required to save changes in menu.lst file  

Not problem, follow this procedure:

1) Launch Beaver with root permission so: Open Xterminal and write this two commands:

sudo su  

beaver  

2) Go to menu of Beaver and do File -> Open (click to File and next click to Open).
Browser to /boot/grub/ directory and look menu.lst file. Select it and do click OK.

3) Now you can read the menu.lst file and will see some lines like this:

kernel /boot/linux24 root=/dev/hda2 quiet vga=normal noacpi noapm nodma noscsi frugal

You must insert "alsa" in each line so:

kernel /boot/linux24 root=/dev/hda2 quiet vga=normal noacpi noapm nodma noscsi frugal alsa

4) Save you changes (File -> Save)

5) Finish, reboot your computer.

Posted by searayman on April 08 2006,19:01
alright i now did all of that and when i rebooted i saw alsa thing in the command lines doing something, but the sound still dose not work, any ideas of what to do now?
Posted by piccolo on April 08 2006,20:51
Good, now you launch XMMS

Click right button over XMMS
Options-> Preferences -> Audio I/O Plugins Tab -> Output Plugin
Perhaps it say OSS, but you must select or change to ALSA

Click Apply and click OK.

TEST: Play something audio file.

Also, you can do a simple test with XMMS. This should generate a tone:
Play Location -> tone://2000

If even the problem persist. Please, write to Xterminal this command:
lsmod
And post the result.
Also you say the chipset of your sound card.

Posted by searayman on April 08 2006,21:04
ok i went into xmms and changed that thing to alsa like you said then i put in a dvd and used mplayer and when i hit play dvd it said it coudl not initialize audio devices.

lsmod gives me this:
Code Sample
dsl@box:~$ lsmod
Module                  Size  Used by    Not tainted
uart401                 6052   0
ad1848                 20812   0
sound                  55244   0 [uart401 ad1848]
snd-pcm-oss            36996   0 (autoclean) (unused)
snd-pcm                57472   0 (autoclean) [snd-pcm-oss]
snd-timer              15044   0 (autoclean) [snd-pcm]
snd-page-alloc          5584   0 (autoclean) [snd-pcm]
apm                     9736   1 (autoclean)
mousedev                3832   0 (unused)
hid                    22372   0 (unused)
input                   3168   0 [mousedev hid]
cloop                   8900   0 (unused)
af_packet              13544   0 (autoclean)
snd-mixer-oss          11280   0 (autoclean) [snd-pcm-oss]
snd                    29988   0 (autoclean) [snd-pcm-oss snd-pcm snd-timer snmixer-oss]
soundcore               3428   2 (autoclean) [sound snd]
agpgart                42660   0 (unused)
serial                 52068   0 (autoclean)
usb-uhci               21836   0 (unused)
usbcore                57824   1 [hid usb-uhci]
orinoco_cs              4628   1
orinoco                35920   0 [orinoco_cs]
hermes                  5056   0 [orinoco_cs orinoco]
ds                      6536   2 [orinoco_cs]
yenta_socket            9504   2
pcmcia_core            39840   0 [orinoco_cs ds yenta_socket]
ide-cd                 28704   0
ide-scsi                9040   0
rtc                     7004   0 (autoclean)
dsl@box:~$



and i am using a ibm thinkpad 600e

Posted by piccolo on April 08 2006,21:50
I'm not sure if alsa is loaded correctly, anyway that information is important to find the problem.
Is easy know if alsa, at least was loaded.
Do in Xterminal command:

alsamixer.

If fail alsa even is not.
If run, remember unmute audio channels how i explained before.

Better test to sound with a audio file (.wav or .mp3) from your hard disk because a drive must be mounted (Mount Tool) before play a file from it.

Posted by piccolo on April 08 2006,22:39
Note the before i post other message.
I believe the chipset of your sound card perhaps is: Cirrus Logic CS4237B

The suitable Alsa driver is: snd-cs4236
ALSA driver documentation here:
< http://www.alsa-project.org/alsa-do....=cs4236 >

If all above is correct, is evident even that alsa driver is not loaded because lsmod print nothing like to: snd-cs4236

Then, do this commands sequence in Xterminal:

sudo su

update-modules

modprobe snd-cs4236

If you can do that without errors the ALSA driver was loaded.
Remember unmute audio channels with alsamixer and test play a sound with XMMS.

Posted by searayman on April 08 2006,23:44
i did that and this is what i got:

Code Sample
dsl@box:~$ sudo su
root@box:/home/dsl# update-modules
modroot@box:/home/dsl# modprobe snd-cs4236
/lib/modules/extra/alsa/snd-cs4236.o: init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
     You may find more information in syslog or the output from dmesg
/lib/modules/extra/alsa/snd-cs4236.o: insmod /lib/modules/extra/alsa/snd-cs4236.o failed
/lib/modules/extra/alsa/snd-cs4236.o: insmod snd-cs4236 failed
root@box:/home/dsl#

Posted by piccolo on April 09 2006,15:33
I read again all the posts and want to try to put in order the ideas.

In Linux there are two driver families or types: ALSA and OSS.
DSL install by defect driver type OSS.

When you edited the menu.lst file, the objective was avoid to load OSS modules at boot time, so instead load ALSA modules.
But, from lsmod command information, you even have loaded OSS modules. Now i'm sure.
Is impossible load ALSA modules without unload before the OSS modules, so the errors when you attempt the modprobe command.

Something more, your DSL version is 2.3 and you have installed alsadebs.dsl
well, but installed you gnu-utils.ds and dsl-dpkg.dsl packages???
If not, you need do:

PanelDSL -> MyDSL -> gnu-utils.dsl

And do:

PanelDSL -> MyDSL -> dsl-dpkg.dsl

So will have installed gnu-utils.dsl and gnu-utils.dsl too.

Besides, i found in other recent forum topic that you post the results from dmesg command. So i know that your chipset sound: is: Crystal 4280/46xx
That mean:
Suitable ALSA driver is: snd-cs46xx

We will try to unload OSS and load ALSA with the follow procedure, but you must have in mind that even if this run, when reboot your computer DSL will loss this settings. But at least we will know if are in the correct path.

Execute all this commands:

dsl@box:~$ sudo su

If some command fails, not import, follow with the others:

root@box:/home/dsl# rmmod uart401
root@box:/home/dsl# rmmod ad1848
root@box:/home/dsl# rmmod sound
root@box:/home/dsl# rmmod snd-pcm-oss
root@box:/home/dsl# rmmod snd-pcm
root@box:/home/dsl# rmmod snd-timer
root@box:/home/dsl# rmmod snd-page-alloc
root@box:/home/dsl# rmmod snd-mixer-oss
root@box:/home/dsl# rmmod snd
root@box:/home/dsl# rmmod soundcore

Finally the important, if you can execute the follow command without errors:

root@box: modprobe snd-cs46xx

If not errors, then unmute audio channels with alsamixer.

Please, not test to play from a drive to avoid to add more error sources than the driver problem. Follow this procedure when test play a sound:

Launch XMMS
Click right button over XMMS
Click to "Play Location" and write:

tone://1000

Click OK

You should hear a tone if all went well.

Posted by searayman on April 09 2006,15:53
alright i did the above commands and got errors when i loaded the snd-cs46xx

Code Sample
dsl@box:~$ sudo su
root@box:/home/dsl# rmmod uart401
root@box:/home/dsl# rmmod ad1848
root@box:/home/dsl# rmmod sound
root@box:/home/dsl# rmmod snd-pcm-oss
root@box:/home/dsl# rmmod snd-pcm
root@box:/home/dsl# rmmod snd-timer
root@box:/home/dsl# rmmod snd-page-alloc
root@box:/home/dsl# rmmod snd-mixer-oss
root@box:/home/dsl# rmmod snd
root@box:/home/dsl# rmmod soundcore
root@box:/home/dsl# modprobe snd-cs46xx
Warning: ignoring device_gid=29, no such parameter in this module
Warning: ignoring device_mode=0660, no such parameter in this module
Module snd loaded, with warnings
Module snd-seq-device loaded, with warnings
Module snd-rawmidi loaded, with warnings
Module snd-page-alloc loaded, with warnings
Module snd-ac97-codec loaded, with warnings
Module snd-timer loaded, with warnings
Module snd-pcm loaded, with warnings
Module gameport loaded, with warnings
/lib/modules/extra/alsa/snd-cs46xx.o: init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including invlid IO or IRQ parameters.
     You may find more information in syslog or the output from dmesg
/lib/modules/extra/alsa/snd-cs46xx.o: insmod /lib/modules/extra/alsa/snd-cs46xxo failed
/lib/modules/extra/alsa/snd-cs46xx.o: insmod snd-cs46xx failed

Posted by piccolo on April 09 2006,16:44
To try this commands:

root@box:/home/dsl# rmprobe snd-cs46xx

If errors, not import, follow.

The important is this command:

root@box:/home/dsl# modprobe snd-cs4232

If errors, post results from lsmod command too.

Have loaded you packages gnu-utils.ds and dsl-dpkg.dsl packages? Confirm me.

Posted by piccolo on April 09 2006,16:56
Sorry mistake, first command is:
root@box:/home/dsl# rmmod snd-cs46xx

Posted by searayman on April 09 2006,17:01
ok that didnt work either, and ye si installed those two things from mydsl, here is what i got next.

Code Sample
dsl@box:~$ sudo su
root@box:/home/dsl# rmmod snd-cs46xx
rmmod: module snd-cs46xx is not loaded
root@box:/home/dsl# modprobe snd-cs4232
/lib/modules/extra/alsa/snd-cs4232.o: init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
     You may find more information in syslog or the output from dmesg
/lib/modules/extra/alsa/snd-cs4232.o: insmod /lib/modules/extra/alsa/snd-cs4232.o failed
/lib/modules/extra/alsa/snd-cs4232.o: insmod snd-cs4232 failed
root@box:/home/dsl# lsmod
Module                  Size  Used by    Not tainted
snd-pcm-oss            36996   0  (autoclean) (unused)
snd-mixer-oss          11280   0  (autoclean) [snd-pcm-oss]
snd-pcm                57472   0  (autoclean) [snd-pcm-oss]
snd-timer              15044   0  (autoclean) [snd-pcm]
snd-page-alloc          5584   0  (autoclean) [snd-pcm]
snd                    29988   0  (autoclean) [snd-pcm-oss snd-mixer-oss snd-pcm snd-timer]
soundcore               3428   0  (autoclean) [snd]
apm                     9736   1  (autoclean)
mousedev                3832   0  (unused)
hid                    22372   0  (unused)
input                   3168   0  [mousedev hid]
cloop                   8900   0  (unused)
af_packet              13544   0  (autoclean)
agpgart                42660   0  (unused)
serial                 52068   0  (autoclean)
usb-uhci               21836   0  (unused)
usbcore                57824   1  [hid usb-uhci]
orinoco_cs              4628   1
orinoco                35920   0  [orinoco_cs]
hermes                  5056   0  [orinoco_cs orinoco]
ds                      6536   2  [orinoco_cs]
yenta_socket            9504   2
pcmcia_core            39840   0  [orinoco_cs ds yenta_socket]
ide-cd                 28704   0
ide-scsi                9040   0
rtc                     7004   0  (autoclean)
root@box:/home/dsl#

Posted by piccolo on April 09 2006,17:30
Make sure your bios is set for PnP OS = NO.

Run "cat /proc/interrupts" command to check for IRQ conflicts.

Posted by searayman on April 09 2006,22:12
i dont know how to make sure my bios are set for PnP OS = No

and i tried the thing to check IRQ conflicts and i got this:

Code Sample
dsl@box:~$ sudo su
root@box:/home/dsl# cat/proc/interrupts
bash: cat/proc/interrupts: No such file or directory
root@box:/home/dsl#


Posted by piccolo on April 09 2006,23:17
You wrote command: cat/proc/interrupts
When you must write: cat /proc/interrupts
Note there are a space after "cat".
Please, post the results.

Procedure to set PnP to NO or disabling:
Reboot your computer, hit DEL key before launch DSL. That open a BIOS configuration program.
You must browser through options using the keyboard until to find the option to disable (if enabled) something like to: "Plug and Play detection".
Next, exit from configuration program (escape key), saving your changes.
Your computer will reboot automatically.

Next, to try again if run commands:
root@box:/home/dsl# modprobe snd-cs46xx
or
root@box:/home/dsl# modprobe snd-cs4232

Posted by searayman on April 10 2006,00:52
ok here are my results from the cat thing:

Code Sample
dsl@box:~$ sudo su
root@box:/home/dsl# 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, Texas Instruments PCI1251A (#2), 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
root@box:/home/dsl#


Posted by searayman on April 10 2006,01:38
ok i just looked for the pnp thing and i couldnt find anything in the boot stuff with a name like that.
Posted by piccolo on April 10 2006,12:16
SETTING PNP:
Is important because that can be interfering the driver installation. Anyway, you would can have the correct setting by defect and not be necessary, but better check it, if is possible for you.
Can be different on your computer, in my case i must browser to:

PNP/PCI Configuration -> Resources Controlled By

And there is, the options are: manual or automatic.
I change to "manual" (if "automatic")

Also this:

PNP/PCI Configuration -> PNP OS Installed

And there is, the options are: yes or no.

I change to "NO" (if "YES")
-----------------------------------------------------------

NEW STRATEGY TO INSTALL DRIVER:

Procedure using utility:

1) You need download a Debian utility from internet called: sndconfig. Do so:

Enable (If never was enable) APT on your DSL:
Apps >> Tools >> Enable Apt

2) Open Xterminal and write commands:

dsl@box:~$ sudo su

root@box:/home/dsl# apt-get update

3) After the process is finished, download package Debian utility

root@box:/home/dsl# apt-get sndconfig

4) Launch utility:

root@box:/home/dsl# sndconfig

Follow the instructions and automatically will do, or would do the work.
The utility play "Hello" sound sample if configuration success.

Posted by searayman on April 11 2006,02:04
ok first i dont get how to
Quote
Can be different on your computer, in my case i must browser to:

PNP/PCI Configuration -> Resources Controlled By


also i downloaded sndconfig thign from < Here > and i did apt-get and here are my results:

Code Sample
dsl@box:~$ sudo su
root@box:/home/dsl# apt-get update
Hit http://ftp.us.debian.org oldstable/main Packages
Hit http://ftp.us.debian.org oldstable/main Release
Hit http://ftp.us.debian.org oldstable/non-free Packages
Hit http://ftp.us.debian.org oldstable/non-free Release
Hit http://ftp.us.debian.org oldstable/contrib Packages
Hit http://ftp.us.debian.org oldstable/contrib Release
Reading Package Lists... Done
root@box:/home/dsl# sndconfig
bash: sndconfig: command not found
root@box:/home/dsl#

Posted by piccolo on April 11 2006,11:30
PnP:
I now know exactly how to disable PnP on your Thinkpad 600e computer from other posts on Laptops Forum.
The Thinkpad 600E has a BIOS option called "fast boot" what that really does is enable/disable PnP OS support.

1. Turn on computer, holding the F1 key until after Thinkpad logo appears to get into the BIOS menu.

2. Choose the "Config" option.

3. Turn off the "fast boot" option.

Make sure to save that changes.

------------------------------------------------------------------------
SNDCONFIG:

You have passed from step 2 to step 4 without have done step 3:

root@box:/home/dsl# apt-get sndconfig

Posted by cbagger01 on April 11 2006,16:39
I believe the correct syntax is:

apt-get install sndconfig

Posted by piccolo on April 11 2006,17:38
Many tanks cbagger01. You have reason. That is correct command.
Posted by searayman on April 12 2006,00:56
alright i got sndconfig installed and used it!! and it didnt work automaticaly and wated me to choose me own card so i first chose cs24xx but that gave me a bunch of errors then i tried. Also this is the card it said i had in the beggining
Code Sample
Model: CS 4610/11 [CrystalClear  x
                  x SoundFusion Audio Accelerator]


so after the cs46xx didnt work i tried the cs423x chip and that didnt work at first but thn i made sure the setting were at: io port=0x530 irq=5 dma=1 dma2=0 mpu/io=0x330 and mpu irqu=5

and when it played a sound sample i actualt hear noise with was good but it was a vert statiky. but my sound on gaim is workignnow lol at first it wasnt. ANywho how do i know turn up the volume internaly cause when i hit "FN" and "page up" it beeps louder but when i do things on the computer the sound isnt turned up? any ideas? actauly now those button are working. wow cool anywho thanks for all the help.

just one finnaly question will all these setting be saved? like if i turn the computer off and reboot, will i have to use sndconfig to get it to work again or will it automaticaly work? and if it wont automaticaly work how can i get it to work automaticaly when i turn the computer on?

Posted by piccolo on April 12 2006,12:59
Quote
io port=0x530 irq=5 dma=1 dma2=0 mpu/io=0x330 and mpu irq=5


WARNING: You assing the same irq to different sound chipset functions.
That can produce from the noise problem to can't install the sound driver.

Remember you the command: cat /proc/interrupts?

Code Sample

root@box:/home/dsl# 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, Texas Instruments PCI1251A (#2), 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 (assigned irqs).
With that you can know free irqs. For example, your free irqs are: 6, 7, 9, 10, 13.

Then you can to try this resources assignation:

io port=0x530 irq=5 dma=1 dma2=0 mpu/io=0x330 and mpu-irq=7

Note you the difference?

Quote
like if i turn the computer off and reboot, will i have to use sndconfig


Question: When computer boot, few before launch the desktop, read you a line like to:
soundcard: driver= xxxxxx

What is xxxxxx?

Posted by searayman on April 13 2006,00:21
last time i booted it i am pretty sure it was cs46xx
Posted by piccolo on April 13 2006,18:42
Quote
last time i booted it i am pretty sure it was cs46xx

My interest was if you read also: "ALSA"
------------------------------------------------------------
PROCEDURE TO BOOT WITH CORRECT SETTINGS:
First, make sure again running sndconfig utility that following settings are correct. Change if necessary.
io=0x530 irq=5 dma=1 dma2=0 mpuio=0x330 mpuirq=9
Run sndconfig utility so:
Code Sample
root@box:/home/dsl# sndconfig --noprobe


With the "noprobe" option sndconfig directly pass to manual configuration. (Is important: the previous automatic configuration can avoid to manual configuration insert modules even if correct settings).

Next, you must add /opt/bootlocal.sh file following lines:
(Remember that you need root permission to save changes to /opt/bootlocal.sh file)

Code Sample
rmmod uart401
rmmod ad1848
rmmod sound
rmmod snd-pcm-oss
rmmod snd-pcm
rmmod snd-timer
rmmod snd-page-alloc
rmmod snd-mixer-oss
rmmod snd
rmmod soundcore
insmod soundcore
insmod sound
insmod ad1848
insmod uart401
#comment: modify following settings if necessary.
insmod cs4232 io=0x530 irq=5 dma=1 dma2=0 mpuio=0x330 mpuirq=9


Save changes and reboot.

Posted by searayman on April 14 2006,11:58
i am about to try making it work on boot, i just want to make sur ei have everyhting working first, and when i try to watch a movie in mplayer i get this error message after wwatchign a movie for a few seconds
Quote
To many video packets in buffer: (4096 in 8273738 bytes)

Posted by piccolo on April 14 2006,12:29
You now pass from sound to video... but your sound finally work after the boot?
About your new problem try to reduce buffer size on mplayer.

Posted by searayman on April 14 2006,16:40
how do i reduce buffer size on mplayer? and no i havent done the sound for boot yet, i wanted to make sure the mplayer thing wasnt related to the sound.
Posted by piccolo on April 14 2006,21:09
Please, read:
< https://init.linpro.no/piperma....93.html >
How to do that?. Sorry, i know not.
Here you have the mplayer Documentation to find out it:
< http://www.mplayerhq.hu/DOCS/HTML/en/index.html >

Posted by searayman on April 17 2006,01:04
ok i got the sound to work on boot!! thanks for all your help. I dont understand any of that mplayer stuff but i will fool around and see what happens
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.