WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: no sound in tiny core 6.3  (Read 3146 times)

Offline manit123

  • Sr. Member
  • ****
  • Posts: 315
no sound in tiny core 6.3
« on: October 17, 2015, 04:01:11 AM »
Here is what I have
Code: [Select]
$ ls /usr/local/tce.installed/
Xlibs                           fontconfig                      libSM                           libasound                       libxshmfence
Xorg-7.7-lib                    freetype                        libX11                          libcroco                        lxde-icon-theme
Xprogs                          gamin                           libXau                          libdmx                          menu-cache
Xvesa                           gdk-pixbuf2                     libXaw                          libdrm                          mplayer
alsa                            geeqie                          libXcomposite                   libepoxy                        ncurses
alsa-modules-3.16.6-tinycore    glib2                           libXcursor                      libevent                        ntfs-3g
at-spi2-atk                     glibmm                          libXdamage                      libexif                         ntfsprogs
at-spi2-core                    gnome-icon-theme                libXdmcp                        libffi                          openssl
aterm                           gnome-icon-theme-symbolic       libXext                         libfm                           pango
atk                             gparted                         libXfixes                       libfontenc                      pangomm
atkmm                           gsettings-desktop-schemas       libXfont                        libgcrypt                       parted
bash                            gtk2                            libXft                          libgpg-error                    pcmanfm
cairo                           gtk2mm                          libXi                           libidn                          pixman
cairomm                         gtk3                            libXinerama                     libjpeg-turbo                   poppler
curl                            harfbuzz                        libXmu                          liblzma                         readline
dbus                            hicolor-icon-theme              libXpm                          libnotify                       shared-mime-info
dbus-glib                       imlib2                          libXrandr                       libpciaccess                    tar
dconf                           imlib2-bin                      libXrender                      libpng                          transmission
dosfstools                      input-joystick-3.16.6-tinycore  libXres                         librsvg                         ttf-bitstream-vera
evince                          json-glib                       libXss                          libsecret                       udev-lib
expat2                          lcms                            libXt                           libsigc++                       vim
file-roller                     lcms2                           libXtst                         libssh2                         wbar
firefox-official                libEGL                          libXv                           libtiff                         xvkbd
fltk-1.10                       libFS                           libXvmc                         libxcb
fltk-1.3                        libGL                           libXxf86dga                     libxkbfile
flwm_topside                    libICE                          libXxf86vm                      libxml2
alsa.tcz info told about speaker-test . So , I tried

Code: [Select]
$ tce-load -wi alsa-config.tcz
alsa-config.tcz.dep OK
Downloading: libpci.tcz
Connecting to repo.tinycorelinux.net (89.22.99.37:80)
libpci.tcz           100% |*********************************************************************************************************************| 20480   0:00:00 ETA
libpci.tcz: OK
pci-utils.tcz.dep OK
Downloading: pci-utils.tcz
Connecting to repo.tinycorelinux.net (89.22.99.37:80)
pci-utils.tcz        100% |*********************************************************************************************************************|   264k  0:00:00 ETA
pci-utils.tcz: OK
Downloading: alsa-config.tcz
Connecting to repo.tinycorelinux.net (89.22.99.37:80)
alsa-config.tcz      100% |*********************************************************************************************************************|   916k  0:00:00 ETA
alsa-config.tcz: OK
/usr/bin/tce-load: line 270: can't create ../onboot63.lst: Permission denied


Code: [Select]
$ speaker-test

speaker-test 1.0.28

Playback device is default
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 2048 to 8192
Period size range from 1024 to 1024
Using max buffer size 8192
Periods = 4
was set period_size = 1024
was set buffer_size = 8192
 0 - Front Left
Time per period = 2.836896
 0 - Front Left
Time per period = 2.986563
 0 - Front Left
Time per period = 2.986630

To be safe , I maxed out every component in alsamixer .
Still , Hear nothing .
« Last Edit: October 17, 2015, 04:11:54 AM by manit123 »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14546
Re: no sound in tiny core 6.3
« Reply #1 on: October 17, 2015, 04:16:37 AM »
Did you check that the sliders in alsamixer were un-muted?

What hardware do you have?
« Last Edit: October 17, 2015, 04:22:11 AM by Juanito »

Offline manit123

  • Sr. Member
  • ****
  • Posts: 315
Re: no sound in tiny core 6.3
« Reply #2 on: October 17, 2015, 04:41:01 AM »
yup , did
those with mm . i had pressed m to unmute .
Currently this is happening
Code: [Select]
$sudo /usr/local/etc/init.d/alsasound  start
amixer: Mixer attach default error: No such file or directory
Something went wrong, sound was not set up.
$ alsamixer
cannot open mixer: No such file or directory
$
that bar graph type output is not appearing .

How do I find hardware ?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14546
Re: no sound in tiny core 6.3
« Reply #3 on: October 17, 2015, 04:46:45 AM »
Use "lspci", "lsusb" and/or "aplay -l"

Offline manit123

  • Sr. Member
  • ****
  • Posts: 315
Re: no sound in tiny core 6.3
« Reply #4 on: October 17, 2015, 04:55:25 AM »

Here is output
Code: [Select]
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: MID [HDA Intel MID], device 0: ALC662 rev1 Analog [ALC662 rev1 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: MID [HDA Intel MID], device 1: ALC662 rev1 Digital [ALC662 rev1 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Code: [Select]
$ lspci
00:00.0 Host bridge: Intel Corporation Core Processor DMI (rev 11)
00:03.0 PCI bridge: Intel Corporation Core Processor PCI Express Root Port 1 (rev 11)
00:08.0 System peripheral: Intel Corporation Core Processor System Management Registers (rev 11)
00:08.1 System peripheral: Intel Corporation Core Processor Semaphore and Scratchpad Registers (rev 11)
00:08.2 System peripheral: Intel Corporation Core Processor System Control and Status Registers (rev 11)
00:08.3 System peripheral: Intel Corporation Core Processor Miscellaneous Registers (rev 11)
00:10.0 System peripheral: Intel Corporation Core Processor QPI Link (rev 11)
00:10.1 System peripheral: Intel Corporation Core Processor QPI Routing and Protocol Registers (rev 11)
00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series Chipset HECI Controller (rev 06)
00:1a.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller (rev 06)
00:1a.1 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller (rev 06)
00:1a.2 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller (rev 06)
00:1a.7 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06)
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 06)
00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 06)
00:1c.5 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 6 (rev 06)
00:1d.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller (rev 06)
00:1d.1 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller (rev 06)
00:1d.2 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller (rev 06)
00:1d.7 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev a6)
00:1f.0 ISA bridge: Intel Corporation 5 Series Chipset LPC Interface Controller (rev 06)
00:1f.2 IDE interface: Intel Corporation 5 Series/3400 Series Chipset 4 port SATA IDE Controller (rev 06)
00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller (rev 06)
00:1f.5 IDE interface: Intel Corporation 5 Series/3400 Series Chipset 2 port SATA IDE Controller (rev 06)
01:00.0 VGA compatible controller: NVIDIA Corporation G98 [GeForce 8400 GS Rev. 2] (rev a1)
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 03)


turns out that alsamixer malfunctions after this
Code: [Select]
$ sudo /usr/local/etc/init.d/alsasound start
rmmod: can't unload 'snd_hda_codec_realtek': Resource temporarily unavailable
rmmod: can't unload 'snd_hda_codec_generic': Resource temporarily unavailable
rmmod: can't unload 'snd_hda_codec': Resource temporarily unavailable
rmmod: can't unload 'snd_hwdep': Resource temporarily unavailable
rmmod: can't unload 'snd_pcm': Resource temporarily unavailable
rmmod: can't unload 'snd_timer': Resource temporarily unavailable
rmmod: can't unload 'snd': Resource temporarily unavailable
amixer: Mixer attach default error: No such file or directory
Something went wrong, sound was not set up.
« Last Edit: October 17, 2015, 04:57:54 AM by manit123 »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14546
Re: no sound in tiny core 6.3
« Reply #5 on: October 17, 2015, 05:01:15 AM »
Your hardware will probably "just work" on loading the alsa extension and using alsamixer to un-mute the desired output.

You could use something simple like xmms to play an mp3 to test things (use ctrl-p to set the output to alsa).