Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Need help with the "alsa=" cheat code

  1. #1
    Member registered user
    Join Date
    Mar 2004
    Posts
    46

    Need help with the "alsa=" cheat code

    I would like to use the cheat code
    alsa=ad1848
    at boot time to start this sound driver.

    But I would like to know:

    1. How can I confirm that this is the correct driver name?

    2. Where is the configuration information for this driver?
    In what directory? I want to make sure that it is correct.
    I would like to edit the file(s) if necessary.

    Thanks.

  2. #2
    Senior Member registered user
    Join Date
    Jun 2004
    Posts
    788
    I believed you don't need to include your sound card module with alsa because alsa usually will autodetect your soundcard. Try with just alsa in your your cheatcode first.

  3. #3
    Member registered user
    Join Date
    Mar 2004
    Posts
    46
    Ok. I did that.
    And when the system rebooted, I did see alsa trying to do an autodetect.
    But my sound card still does not work.

    Is there a way to see which card(s) it tried to detect?
    Even if it detected the wrong card or just failed.
    Is there some kind of log of this sound card autodetect activity?

  4. #4
    Senior Member registered user
    Join Date
    Jun 2004
    Posts
    788
    Do a lsmod in konsole. It will list all installed module including your soundcard if it's properly installed.

    If your module didn't listed, you need to install it. Run this command:
    modprobe snd-ad1848
    modprobe snd-pcm-oss
    modprobe snd-mixer-oss
    modprobe snd-seq-oss

  5. #5
    Senior Member registered user
    Join Date
    Jun 2004
    Posts
    788
    I missed the line that you don't know what type of soundcard been detected.
    Open konsole and run this as su:

    /etc/init.d/knoppix-autoconfig

    Look closely and see what hardware knoppix trying to detect.

  6. #6
    Member registered user
    Join Date
    Mar 2004
    Posts
    46
    Quote Originally Posted by shah
    I missed the line that you don't know what type of soundcard been detected.
    Open konsole and run this as su:

    /etc/init.d/knoppix-autoconfig

    Look closely and see what hardware knoppix trying to detect.


    /etc/init.d/knoppix-autoconfig

    does this:


    Running Linux Kernel 2.6.6.
    Running from HD, checking filesystems...
    Activating swap...
    mount: / is busy
    *** ERROR! Cannot fsck root fs because it is not mounted read-only!

    Checking all file systems...
    fsck 1.35 (28-Feb-2004)
    Running from HD, regenerate ld.so.cache and modules.dep...
    Processor 0 is Pentium
    Starting advanced power management daemon: apmd (already running).
    APM Bios found, power management functions enabled.
    PCMCIA found, starting cardmgr.
    USB found, managed by hotplug: (Re-)scanning USB devices... Done.
    Firewire found, managed by hotplug: (Re-)scanning firewire devices... Done.
    Autoconfiguring devices... Done.
    Mouse is Generic PS/2 Wheel Mouse at /dev/psaux
    Soundcard: driver=ALSA(autodetect)
    Video is Millennium 4MB MGA 2064W [Millennium], using XFree86(mga) Server
    Monitor is Generic Monitor, H:28.0-96.0kHz, V:50.0-75.0Hz
    Using Modes "1024x768" "800x600" "640x480"
    Skipping DMA accelleration as requested on boot commandline.
    Scanning for Harddisk partitions and creating /etc/fstab... Done.
    Using swap partition /dev/hde2.
    Network device eth0 detected, DHCP broadcasting for IP. (Backgrounding)
    Network device eth1 detected, DHCP broadcasting for IP. (Backgrounding)
    mkdir: cannot create directory `/mnt/auto/floppy': Permission denied
    mkdir: cannot create directory `/mnt/auto/cdrom': Permission denied
    Automounter started for: floppy cdrom.



    So the only thing I notice is:
    Soundcard: driver=ALSA(autodetect)

    Which is fine but we already know this.

  7. #7
    Member registered user
    Join Date
    Mar 2004
    Posts
    46
    Quote Originally Posted by shah
    Do a lsmod in konsole. It will list all installed module including your soundcard if it's properly installed.
    lsmod

    returns:

    Module Size Used by
    snd_mixer_oss 19072 0
    rfcomm 36760 0
    l2cap 25472 5 rfcomm
    bluetooth 46436 4 rfcomm,l2cap
    lp 13768 0
    snd 49540 1 snd_mixer_oss
    soundcore 12000 1 snd
    capability 7428 0
    commoncap 9600 1 capability
    c4 21252 0
    b1pci 11776 0
    b1dma 18176 1 b1pci
    b1 26496 3 c4,b1pci,b1dma
    capi 19264 0
    capifs 8328 2 capi
    kernelcapi 40672 5 c4,b1pci,b1dma,b1,capi
    md5 8064 1
    ipv6 248736 16
    ehci_hcd 29824 0
    pcnet32 28132 0
    tsdev 9984 0
    evdev 11520 0
    md 44072 0
    dm_mod 40608 0
    autofs 19456 1
    af_packet 21124 0
    nls_iso8859_1 8320 0
    nls_cp437 9984 0
    tmscsim 36896 0
    3c509 17748 0
    mii 8448 1 pcnet32
    crc32 8448 1 pcnet32
    parport_pc 38176 1
    parport 38848 2 lp,parport_pc
    8250 34448 0
    serial_core 22912 1 8250
    ohci1394 33792 0
    ieee1394 305296 1 ohci1394
    ohci_hcd 20864 0
    uhci_hcd 31112 0
    usbcore 94420 4 ehci_hcd,ohci_hcd,uhci_hcd
    ds 17920 0
    yenta_socket 20736 0
    pcmcia_core 58240 2 ds,yenta_socket
    apm 20716 2
    ide_cd 40576 0
    ide_scsi 17540 0
    genrtc 13336 0
    ext3 108648 1
    jbd 67488 1 ext3

  8. #8
    Senior Member registered user
    Join Date
    Jun 2004
    Posts
    788
    I don't see your sound card module has been loaded.
    What you can do is to remove alsa cheatcode from lilo.conf, update lilo and reboot.

    Then run again knoppix-autoconfig...the reason is..that alsa cheatcode has interfere with knoppix-autoconfig ... trying to detect sound card.

    The easiest way is for you to open up your pc, and look at what model your sound card is. If you have a builtin sound, try look for a sound chip.

  9. #9
    Member registered user
    Join Date
    Mar 2004
    Posts
    46
    I did that too earlier - run knoppix-autoconfig before doing the cheat codes.

    It does not detect my sound card.

    Yes, I do have builtin sound.
    This is a Compaq DeskPro XL sound.
    From reading Alsa documents, it is ad1848.
    But that does not work.

    I even tried alsaconfig -l -L
    No luck.

  10. #10
    Senior Member registered user
    Join Date
    Jun 2004
    Posts
    788
    If you think ad1848 is right, then do the modprobe mentioned above.

    One question though, is alsa running (use cheatcode) and detect the sound card when you run knoppix from CD? You should try this first, and see what's detected.

Page 1 of 2 12 LastLast

Similar Threads

  1. Does cheat code "testcd" work with DVD?
    By ockham23 in forum Knoppix DVD
    Replies: 0
    Last Post: 08-28-2005, 11:02 AM
  2. Problems with "scanning" cheat codes
    By laughingboy in forum Hardware & Booting
    Replies: 2
    Last Post: 05-09-2005, 10:03 AM
  3. watch out for the "tohd" cheat code
    By daveclem in forum Hdd Install / Debian / Apt
    Replies: 6
    Last Post: 02-18-2005, 08:09 PM
  4. cheat code "persistance" with hd install
    By hardbop200 in forum Hdd Install / Debian / Apt
    Replies: 4
    Last Post: 09-10-2004, 12:49 AM
  5. Replies: 0
    Last Post: 07-12-2003, 08:15 PM

Posting Permissions

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


ASUS H110M-R Motherboard Intel 6th/7th Gen LGA1151 DDR4 Micro-ATX i/o shield picture

ASUS H110M-R Motherboard Intel 6th/7th Gen LGA1151 DDR4 Micro-ATX i/o shield

$42.00



***NEW*** BCM RX67Q Gaming Motherboard | Intel Q67 2nd/3rd Gen. | LGA1155 | DDR3 picture

***NEW*** BCM RX67Q Gaming Motherboard | Intel Q67 2nd/3rd Gen. | LGA1155 | DDR3

$27.77



ASROCK Micro ATX  Motherboard B250M PRO4 Chipset Intel 250, DDR4, LGA 1151 picture

ASROCK Micro ATX Motherboard B250M PRO4 Chipset Intel 250, DDR4, LGA 1151

$64.99



Asrock Z390 Phantom Gaming 4S/AC Wifi 8th/9th Gen Intel 1151 Motherboard Bulk picture

Asrock Z390 Phantom Gaming 4S/AC Wifi 8th/9th Gen Intel 1151 Motherboard Bulk

$99.00



ASRock B660M PRO RS LGA 1700 Intel SATA 6Gb/s DDR4 Micro ATX Motherboard picture

ASRock B660M PRO RS LGA 1700 Intel SATA 6Gb/s DDR4 Micro ATX Motherboard

$94.99



Dell Optiplex 7010 MT/DT Motherboard Kit  KRC95 GY6Y8 M9KCM 773VG KV62T picture

Dell Optiplex 7010 MT/DT Motherboard Kit KRC95 GY6Y8 M9KCM 773VG KV62T

$20.90



Micro ATX Desktop Motherboard ASUS H110M-C LGA 1151 picture

Micro ATX Desktop Motherboard ASUS H110M-C LGA 1151

$31.95



ASUS Q87M-E/CSM Intel Q87 Chipset DDR3 mATX LGA1150 Motherboard Tested picture

ASUS Q87M-E/CSM Intel Q87 Chipset DDR3 mATX LGA1150 Motherboard Tested

$48.95



GIGABYTE MB10-Datto Motherboard Xeon D-1521- SR2DF 2.40 GHz- Open Box picture

GIGABYTE MB10-Datto Motherboard Xeon D-1521- SR2DF 2.40 GHz- Open Box

$115.00



BTC-S37 Mining Motherboard Kit /w SSD & Ram Preinstalled picture

BTC-S37 Mining Motherboard Kit /w SSD & Ram Preinstalled

$59.99