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

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

Hybrid View

  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
  •  


1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 480GB SSD 2x 10GBE picture

1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 480GB SSD 2x 10GBE

$297.00



HPE ProLiant MicroServer Gen8 Intel Xeon E3-1265L 16GB ECC PCIe x16 4x1TB HDD picture

HPE ProLiant MicroServer Gen8 Intel Xeon E3-1265L 16GB ECC PCIe x16 4x1TB HDD

$249.99



HP ProLiant Xeon E3-1220L V2 MicroServer Gen8 2.30 GHz 16 GB RAM NO DRIVES picture

HP ProLiant Xeon E3-1220L V2 MicroServer Gen8 2.30 GHz 16 GB RAM NO DRIVES

$199.99



HPE ProLiant MicroServer Gen10 Plus v2 Ultra Micro Tower Server - 1 x Intel Xeon picture

HPE ProLiant MicroServer Gen10 Plus v2 Ultra Micro Tower Server - 1 x Intel Xeon

$846.19



SuperMicro Server 505-2 Intel Atom 2.4GHz 8GB RAM SYS-5018A-FTN4 1U Rackmount picture

SuperMicro Server 505-2 Intel Atom 2.4GHz 8GB RAM SYS-5018A-FTN4 1U Rackmount

$202.49



HP ProLiant HSTNS-5151 Micro Server 8GB RAM No Drives/Key/Caddies *READ* picture

HP ProLiant HSTNS-5151 Micro Server 8GB RAM No Drives/Key/Caddies *READ*

$94.99



Supermicro 5018A-FTN4 Rack Server - Black picture

Supermicro 5018A-FTN4 Rack Server - Black

$125.00



Microsel Server Tower Supermicro X10SAE E3-1275 V3 @3.5GHz 16GB 509849-001 picture

Microsel Server Tower Supermicro X10SAE E3-1275 V3 @3.5GHz 16GB 509849-001

$149.99



SUPERMICRO CSE-512 AMD Opteron Processor 6128, 32GB DDR3 RAM NO HDD picture

SUPERMICRO CSE-512 AMD Opteron Processor 6128, 32GB DDR3 RAM NO HDD

$90.00



1U 20

1U 20" Short Depth Server Firewall PFSense X11SSH-F Xeon 3.5Ghz 32GB RAM NVME

$247.00