This is the old SliTaz forum - Please use the main forum.slitaz.org

Slitaz 3.0 and USB sound
  • SlylockSlylock June 2010
    I recently loaded Slitaz 3.0 on my IBM T40 laptop, and it works great. The microphone jack on the laptop is broken, so when I used Xubuntu I had been using a USB sound device like this one: http://www.amazon.com/External-Adapter-Desktop-Notebook-Laptop/dp/B0019SVUQK

    I'd post more details, but I can't get lsusb to run. A google search identifies it as JMTek HY554 USB Sound device.

    My question is, how to get the USB sound card to run in Slitaz? During the boot scripts, I can see it recognizing the device, but after X starts I can't see it. I don't use the USB card every boot. I use it when I plan to use Skype.
  • mojomojo July 2010
    USB sound card inserted
    Open xterm become root.
    tazpkg get-install usbutils,libusb, and linux-sound
    root@slitaz: tazhw detect-usb

    If slitaz includes the sound module for the chip it will load.
  • SlylockSlylock July 2010
    Thanks I installed all those packages,
    I ran tazhw detect-usb, and it now shows with lusb:

    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 003 Device 002: ID 0c76:1607 JMTek, LLC.
    Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

    However when I use flash player on youtube, the sound is still coming from the Intel onboard sound. When I run alsamixer, I only see the options listed below, so I can't select USB audio.


    This is what is in /proc/asound/cards:

    0 [I82801DBICH4 ]: ICH4 - Intel 82801DB-ICH4
    Intel 82801DB-ICH4 with AD1981B at irq 11
    1 [Modem ]: ICH-MODEM - Intel 82801DB-ICH4 Modem
    Intel 82801DB-ICH4 Modem at irq 11
  • mojomojo July 2010
    root@slitaz: soundconf

    USB audio is recognized in list window choose it.
    If the USB sound still doesn't work:
    Slitaz may have limitation on the audio install script that would prevent more than one sound device from being configured at a time.
    Find out if the USB sound will work by itself.
    Turn Intel motherboard sound off in bios so it doesn't interfere with USB sound install.
    Rerun tazhw detect-usb is there any reply about these modules loaded:
    snd-usb-caiaq.ko.gz
    snd-usb-audio.ko.gz
    snd-usb-lib.ko.gz
    snd-usb-us122l.ko.gz
    snd-usb-usx2y.ko.gz

    root@slitaz: soundconf


    If you still have no sound what is output:
    root@slitaz: lsmod | grep snd_usb*


  • SlylockSlylock July 2010
    There is no output, it just returns to the cursor. I also have jack-audio-connection-kit installed. I don't now if that makes a difference.
  • mojomojo July 2010
    Sad to say your USB sound is not going to work with Slitaz :(
  • SlylockSlylock July 2010
    The BIOS doesn't have an audio setting for this laptop, so I can't turn it off. It does see the sound on the modem and lists it as a 2nd device. When I run lsmod | grep snd_usb* there is no reply. When I run tazhw detect-usb it says:

    Detected USB devices Kernel modules
    ================================================================================

    Then I ran lsusb
    lsusb
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 003 Device 002: ID 0c76:1607 JMTek, LLC.
    Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

    If I do this, the LED on the device pulses, but no sound:

    root@slitaz:/home/martin# modprobe snd-usb-audio nrpacks=1
    root@slitaz:/home/martin# jackd -R -P89 -dalsa -dhw:2 -r48000 -p256 -n3
    jackd 0.109.2
    Copyright 2001-2005 Paul Davis and others.
    jackd comes with ABSOLUTELY NO WARRANTY
    This is free software, and you are welcome to redistribute it
    under certain conditions; see the file COPYING for details

    JACK compiled with System V SHM support.
    loading driver ..
    apparent rate = 48000
    creating alsa driver ... hw:2|hw:2|256|3|48000|0|0|nomon|swmeter|-|32bit
    control device hw:2
    configuring for 48000Hz, period = 256 frames (5.3 ms), buffer = 3 periods
    ALSA: final selected sample format for capture: 16bit little-endian
    ALSA: use 3 periods for capture
    ALSA: final selected sample format for playback: 16bit little-endian
    ALSA: use 3 periods for playback

  • SlylockSlylock July 2010
    Oh well, thanks for the help. I learned a bit about alsa anyway. If I need to make a phone call with Skype, I can just boot to Windows. The onboard sound is fine for everything else.
  • mojomojo July 2010
    Open alsamixer hit F6 and see if the USB sound device is listed.
    Glad to help.
  • anduandu July 2010
    I got usb speakers working last night with audacious which allows you to choose a device. Skype gives you also that option.
  • SlylockSlylock July 2010
    USB device not seen in alsamixer or in Skype sound options. I'm not going to bother with it any more, though it was an interesting exercise. I found I can plug the headphone part of the headset in and use the built in microphone if I have to. It is just the microphone jack that is broken, or the connection between the jack and the system board.

    I really like this distro, it runs great on this IBM laptop. The window manager and file manager are a real treat compared to Puppy Linux.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Apply for Membership

SliTaz Social