Find the answer to your Linux question:
Page 3 of 5 FirstFirst 1 2 3 4 5 LastLast
Results 21 to 30 of 43
Originally Posted by Dolda2000 What happens if you try to play a sound, like running "ps aux >/dev/dsp"? Ok logged in as root used Konsole Super user mode [root@localhost root] ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #21
    Just Joined!
    Join Date
    Aug 2003
    Posts
    34

    Quote Originally Posted by Dolda2000
    What happens if you try to play a sound, like running "ps aux >/dev/dsp"?
    Ok logged in as root

    used Konsole Super user mode

    [root@localhost root] # ps aux >/dev/dsp

    Result =

    bash: /dev/dsp: Permission Denied

  2. #22
    Just Joined!
    Join Date
    Aug 2003
    Posts
    34
    and I found this online somewhere, i cant remember where (wish i bookmarked it) but i wrote it down

    logged iin as root

    in Konsole opened kedit

    opened the /etc/X11/XF86Config-4 file, changed this part:

    Section "InputDevice"
    Identifier "Mouse1"
    Driver "mouse"
    Option "Protocol" "PS/2"
    Option "Device" "/dev/psaux"
    Option "Emulate3Buttons"
    Option "Emulate3Timeout" "50"
    EndSection

    to this:

    Section "InputDevice"
    Identifier "Mouse1"
    Driver "mouse"
    Option "Protocol" "PS/2"
    Option "Device" "/dev/psaux"
    Option "Emulate3Buttons" "on"
    Option "Emulate3Timeout" "50"
    Option "EmulateWheel" "on"
    Option "EmulateWheelButton" "2"
    EndSection

    THIS DOES WORK!!! YAY!!!

    The Trackpoint 3rd button does scroll as it should, although it scrolls extremely fast, anyone have any ideas on how to maybe slow it down

    EDIT: its not really too fast...you just need to keep from getting too carried away with the trackpoint, it just take a little brush....remember it is not a joystick LOL!

  3. #23
    Just Joined!
    Join Date
    Aug 2003
    Posts
    34
    the latest ALSA driver shows to be 0.9.6 at boot mine show 0.9.0rc2 maybe i need to update this driver, i may need some help here as I have no idea how to install a driver

    0.9.6 shows support for the cs4236

    Module snd-cs4236
    -----------------

    Module for soundcards based on CS4235/CS4236/CS4236B/CS4237B/
    CS4238B/CS4239 ISA chips.

    port - port # for CS4236 chip (PnP setup - 0x534)
    cport - control port # for CS4236 chip (PnP setup - 0x120,0x210,0xf00)
    mpu_port - port # for MPU-401 UART (PnP setup - 0x300), -1 = disable
    fm_port - FM port # for CS4236 chip (PnP setup - 0x38, -1 = disable
    irq - IRQ # for CS4236 chip (5,7,9,11,12,15)
    mpu_irq - IRQ # for MPU-401 UART (9,11,12,15)
    dma1 - first DMA # for CS4236 chip (0,1,3)
    dma2 - second DMA # for CS4236 chip (0,1,3), -1 = disable
    isapnp - ISA PnP detection - 0 = disable, 1 = enable (default)

    Module supports up to 8 cards. This module does not support autoprobe
    (if ISA PnP is not used) thus main port and control port must be
    specified!!! Other ports are optional.

    The power-management is supported.


    and also the cs4610

    Module snd-cs46xx
    -----------------

    Module for PCI soundcards based on CS4610/CS4612/CS4614/CS4615/CS4622/
    CS4624/CS4630/CS4280 PCI chips.

    external_amp - Force to enable external amplifer.
    thinkpad - Force to enable Thinkpad's CLKRUN control.
    mmap_valid - Support OSS mmap mode (default = 0).

    Module supports up to 8 cards and autoprobe.
    Usually external amp and CLKRUN controls are detected automatically
    from PCI sub vendor/device ids. If they don't work, give the options
    above explicitly.

    The power-management is supported.


    I guess somehow will need to figure out how to get the mixer fixed as well

    i also found someone online on IRC who said that on his thinkpad a22p using mandrake 9.1

    it willl default as the cs46xx driver but needs to be changed to the snd-cs46xx driver and configured with alsamixergui or kmix and NOT to use aumix after that point I lost him

    I did check etc/modules.conf and it shows "alias sound-slot-0 snd-cs46xx" and not "alias sound-slot-0 cs46xx"

    but....remember the boot error about aumix? there may be something here...any ideas

  4. #24
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    It could just be that OSS emulation isn't enabled and that's why aumix doesn't work. Could you check the output of "cat /proc/asound/cards"?

  5. #25
    Just Joined!
    Join Date
    Aug 2003
    Posts
    34
    Quote Originally Posted by Dolda2000
    It could just be that OSS emulation isn't enabled and that's why aumix doesn't work. Could you check the output of "cat /proc/asound/cards"?
    how do I do this? I cannot find this directory tree anywhere...

  6. #26
    Just Joined!
    Join Date
    Aug 2003
    Posts
    34
    I found this install guide at ALSA's webpage http://www.alsa-project.org/alsa-doc...&module=cs46xx

    this is my results: note I skiped the extraction here because I have already done it previously and the alsa directory is there as decribed in the guide

    Password:
    [root@localhost stompinround]# modinfo soundcore
    filename: /lib/modules/2.4.19-16mdk/kernel/drivers/sound/soundcore.o.gz
    description: "Core sound module"
    author: "Alan Cox"
    license: "GPL"
    [root@localhost stompinround]# cd /usr/src/alsa/alsa-driver-0.9.6
    [root@localhost alsa-driver-0.9.6]# ./configure --with-sequencer=yes;make;make install
    loading cache ./config.cache
    checking for gcc... gcc
    checking whether the C compiler (gcc ) works... yes
    checking whether the C compiler (gcc ) is a cross-compiler... no
    checking whether we are using GNU C... yes
    checking whether gcc accepts -g... yes
    checking for ranlib... ranlib
    checking for a BSD compatible install... /usr/bin/install -c
    checking how to run the C preprocessor... gcc -E
    checking for ANSI C header files... yes
    checking for working const... yes
    checking for inline... inline
    checking whether time.h and sys/time.h may both be included... yes
    checking whether gcc needs -traditional... no
    checking for current directory... /usr/src/alsa/alsa-driver-0.9.6
    checking cross compile...
    checking for directory with kernel source... /lib/modules/2.4.19-16mdk/build
    checking for kernel version... The file /lib/modules/2.4.19-16mdk/build/include/linux/version.h does not exist.
    Please, install the package with full kernel sources for your distribution
    or use --with-kernel=dir option to specify another directory with kernel
    sources (default is /usr/src/linux).
    make all-deps
    make[1]: Entering directory `/usr/src/alsa/alsa-driver-0.9.6'
    make[1]: Nothing to be done for `all-deps'.
    make[1]: Leaving directory `/usr/src/alsa/alsa-driver-0.9.6'

    Please, run the configure script as first...

    rm -f /snd*.o /persist.o /isapnp.o
    make[1]: Entering directory `/usr/src/alsa/alsa-driver-0.9.6/support'
    Makefile:9: ../Makefile.conf: No such file or directory
    Makefile:27: /Rules.make: No such file or directory
    make[1]: *** No rule to make target `/Rules.make'. Stop.
    make[1]: Leaving directory `/usr/src/alsa/alsa-driver-0.9.6/support'
    make: *** [install-modules] Error 1
    [root@localhost alsa-driver-0.9.6]# ./configure
    loading cache ./config.cache
    checking for gcc... gcc
    checking whether the C compiler (gcc ) works... yes
    checking whether the C compiler (gcc ) is a cross-compiler... no
    checking whether we are using GNU C... yes
    checking whether gcc accepts -g... yes
    checking for ranlib... ranlib
    checking for a BSD compatible install... /usr/bin/install -c
    checking how to run the C preprocessor... gcc -E
    checking for ANSI C header files... yes
    checking for working const... yes
    checking for inline... inline
    checking whether time.h and sys/time.h may both be included... yes
    checking whether gcc needs -traditional... no
    checking for current directory... /usr/src/alsa/alsa-driver-0.9.6
    checking cross compile...
    checking for directory with kernel source... /lib/modules/2.4.19-16mdk/build
    checking for kernel version... The file /lib/modules/2.4.19-16mdk/build/include/linux/version.h does not exist.
    Please, install the package with full kernel sources for your distribution
    or use --with-kernel=dir option to specify another directory with kernel
    sources (default is /usr/src/linux).
    [root@localhost alsa-driver-0.9.6]# make build
    make: *** No rule to make target `build'. Stop.
    [root@localhost alsa-driver-0.9.6]# ./cvscompile
    make: Nothing to be done for `all-deps'.
    configure.in:797: warning: AC_TRY_RUN called without default to allow cross compiling
    ./configure --with-debug=full --with-isapnp=yes --with-sequencer=yes
    loading cache ./config.cache
    checking for gcc... gcc
    checking whether the C compiler (gcc ) works... yes
    checking whether the C compiler (gcc ) is a cross-compiler... no
    checking whether we are using GNU C... yes
    checking whether gcc accepts -g... yes
    checking for ranlib... ranlib
    checking for a BSD compatible install... /usr/bin/install -c
    checking how to run the C preprocessor... gcc -E
    checking for ANSI C header files... yes
    checking for working const... yes
    checking for inline... inline
    checking whether time.h and sys/time.h may both be included... yes
    checking whether gcc needs -traditional... no
    checking for current directory... /usr/src/alsa/alsa-driver-0.9.6
    checking cross compile...
    checking for directory with kernel source... /lib/modules/2.4.19-16mdk/build
    checking for kernel version... The file /lib/modules/2.4.19-16mdk/build/include/linux/version.h does not exist.
    Please, install the package with full kernel sources for your distribution
    or use --with-kernel=dir option to specify another directory with kernel
    sources (default is /usr/src/linux).
    [root@localhost alsa-driver-0.9.6]#


    i thought i had the source code installed, but I may not have, or maybe mandrake stores it in a different location

  7. #27
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    It seems that indeed you don't have the kernel source code. It could also be that the symlink from /lib/modules isn't correct, but that's much less likely. Check with "rpm -q kernel-source" if it is installed.

  8. #28
    Just Joined!
    Join Date
    Aug 2003
    Posts
    34
    update, i sent a friend the link you gave me earlier and he downloaded all 6 redhat 9 isos for me, will try install in the morning, then maybe we will be working on the same page, i hear the interface is a bit different than mandrake, any comments, reccomendations, etc on my settup, partitioning, what packages to install, etc

  9. #29
    Just Joined!
    Join Date
    Aug 2003
    Posts
    34
    OK, i have redhat 9 installed, initially it would not detect a sound card at all. I installed the alsa 0.9.6 drivers, lib, and utils packages. it now recognises a Crytsal soundfusion 4610 sound card but says it does not support it. I have read that the sound card is soundblaster compatilbe . how would I go about enabling soundblaster on it?

  10. #30
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    Try to run this and see what it says:
    Code:
    modprobe sb

Page 3 of 5 FirstFirst 1 2 3 4 5 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •