WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Tiny/Micro v.3.8 & v.3.8.1 with alsa  (Read 13777 times)

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: Tiny/Micro v.3.8 & v.3.8.1 with alsa
« Reply #15 on: August 22, 2011, 08:44:19 AM »
This has been answered several times and is in the rc and news posting for 3.8.
You need the extension depmod.tcz
10+ Years Contributing to Linux Open Source Projects.

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Tiny/Micro v.3.8 & v.3.8.1 with alsa
« Reply #16 on: August 22, 2011, 09:10:04 AM »
The resolution was given in the post just above yours. You need depmod.tcz.

ali

  • Guest
Re: Tiny/Micro v.3.8 & v.3.8.1 with alsa
« Reply #17 on: August 22, 2011, 09:23:26 AM »

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Tiny/Micro v.3.8 & v.3.8.1 with alsa
« Reply #18 on: August 22, 2011, 10:39:27 AM »
Try putting it before alsa.

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: Tiny/Micro v.3.8 & v.3.8.1 with alsa
« Reply #19 on: August 22, 2011, 11:39:26 AM »
depmod.tcz need not be before alsa as it is a dependent of alsa.
You should use AppsAudit and update deps, then build database, and check for missing dependencies. As depmod.tcz was also recently updated, one should check for updates to ensure that you are running the latest depmod.tcz

Whenever there is announced changes to the system, it is standard operating procedure to perform the above procedures to ensure proper operation.
« Last Edit: August 22, 2011, 11:50:24 AM by roberts »
10+ Years Contributing to Linux Open Source Projects.

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Tiny/Micro v.3.8 & v.3.8.1 with alsa
« Reply #20 on: August 22, 2011, 03:36:17 PM »
I missed roberts' previous reply stating that alsa.tcz.dep had been fixed.

ali

  • Guest
Re: Tiny/Micro v.3.8 & v.3.8.1 with alsa
« Reply #21 on: August 28, 2011, 11:33:52 AM »
why won't you believe me when i say it doesn't work?

here i am inputing the exact same sequence of commands in both tc 3.7 and 3.8





lsmod returns the same output in both cases (the order slightly varries but that's not really important, or is it?)
Code: [Select]
Module                  Size  Used by    Not tainted
snd_hda_codec_via      34728  0
snd_hda_codec          33296  1 snd_hda_codec_via
snd_pcm                37628  1 snd_hda_codec
snd_timer              10564  1 snd_pcm
snd                    26200  4 snd_hda_codec_via,snd_hda_codec,snd_pcm,snd_timer
soundcore               2640  1 snd
snd_page_alloc          4016  1 snd_pcm
squashfs               14724 13
scsi_wait_scan           276  0
video                  12712  0
output                   724  1 video
asus_laptop             9180  0
ramzswap               10240  1
backlight               1632  2 video,asus_laptop
ac                      1696  0
battery                 6028  0
loop                    8068 26
serio_raw               2380  0
r8169                  22516  0

and here's some pci

Code: [Select]
00:00.0 Host bridge [0600]: Advanced Micro Devices [AMD] RS780 Host Bridge [1022:9600]
00:02.0 PCI bridge [0604]: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (ext gfx port 0) [1022:9603]
00:05.0 PCI bridge [0604]: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 1) [1022:9605]
00:06.0 PCI bridge [0604]: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 2) [1022:9606]
00:11.0 SATA controller [0106]: ATI Technologies Inc SB7x0/SB8x0/SB9x0 SATA Controller [IDE mode] [1002:4390]
00:12.0 USB Controller [0c03]: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB OHCI0 Controller [1002:4397]
00:12.1 USB Controller [0c03]: ATI Technologies Inc SB7x0 USB OHCI1 Controller [1002:4398]
00:12.2 USB Controller [0c03]: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB EHCI Controller [1002:4396]
00:13.0 USB Controller [0c03]: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB OHCI0 Controller [1002:4397]
00:13.1 USB Controller [0c03]: ATI Technologies Inc SB7x0 USB OHCI1 Controller [1002:4398]
00:13.2 USB Controller [0c03]: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB EHCI Controller [1002:4396]
00:14.0 SMBus [0c05]: ATI Technologies Inc SBx00 SMBus Controller [1002:4385] (rev 3a)
00:14.2 Audio device [0403]: ATI Technologies Inc SBx00 Azalia (Intel HDA) [1002:4383]
00:14.3 ISA bridge [0601]: ATI Technologies Inc SB7x0/SB8x0/SB9x0 LPC host controller [1002:439d]
00:14.4 PCI bridge [0604]: ATI Technologies Inc SBx00 PCI to PCI Bridge [1002:4384]
00:14.5 USB Controller [0c03]: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB OHCI2 Controller [1002:4399]
00:18.0 Host bridge [0600]: Advanced Micro Devices [AMD] Family 10h Processor HyperTransport Configuration [1022:1200]
00:18.1 Host bridge [0600]: Advanced Micro Devices [AMD] Family 10h Processor Address Map [1022:1201]
00:18.2 Host bridge [0600]: Advanced Micro Devices [AMD] Family 10h Processor DRAM Controller [1022:1202]
00:18.3 Host bridge [0600]: Advanced Micro Devices [AMD] Family 10h Processor Miscellaneous Control [1022:1203]
00:18.4 Host bridge [0600]: Advanced Micro Devices [AMD] Family 10h Processor Link Control [1022:1204]
01:00.0 VGA compatible controller [0300]: ATI Technologies Inc M92 [Mobility Radeon HD 4500/5100 Series] [1002:9553]
02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168] (rev 03)
03:00.0 Network controller [0280]: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) [168c:002b] (rev 01)

« Last Edit: August 28, 2011, 11:44:48 AM by ali »

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: Tiny/Micro v.3.8 & v.3.8.1 with alsa
« Reply #22 on: August 28, 2011, 12:34:42 PM »
First let me start by stating that I tend not to respond to flame baits of generalizations such as "it doesn't work!"
It should be obvious that details are needed especially when most users have it working.

From the details you posted, I am dismayed that you appear to go out of your way to defeat dependency processing by manually issuing those tce-load commands.

By what you did you disabled the dependency processing built into the system.

All that is needed is tce-load -i alsaconf.tcz

As alsa,tcz is a dependent of alsaconf.tcz and depmod.tcz is a dependent of alsa.tcz. depmod.tcz has a startup script that updates any new modules. By your reversing the loading the alsa modules are never included as depmod was already loaded so obviously would be unaware of any new modules.

10+ Years Contributing to Linux Open Source Projects.

ali

  • Guest
Re: Tiny/Micro v.3.8 & v.3.8.1 with alsa
« Reply #23 on: August 28, 2011, 01:00:41 PM »
i'm sorry, i guess i was unpolite
i did the depmod first since i was told that i needed it in previous posts, anyway, i tried again downloading only alsaconf this gime and the same thing happened


Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: Tiny/Micro v.3.8 & v.3.8.1 with alsa
« Reply #24 on: August 28, 2011, 01:47:23 PM »
Please post the contents of your alsa.tcz.dep file.
10+ Years Contributing to Linux Open Source Projects.

ali

  • Guest
Re: Tiny/Micro v.3.8 & v.3.8.1 with alsa
« Reply #25 on: August 28, 2011, 02:05:49 PM »
alsa-modules-2.6.33.3-tinycore.tcz
libasound.tcz
pci-utils.tcz
ncurses.tcz
depmod.tcz

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: Tiny/Micro v.3.8 & v.3.8.1 with alsa
« Reply #26 on: August 28, 2011, 02:15:36 PM »
What is the contents of /usr/local/tce.installed/depmod ?
10+ Years Contributing to Linux Open Source Projects.

ali

  • Guest
Re: Tiny/Micro v.3.8 & v.3.8.1 with alsa
« Reply #27 on: August 28, 2011, 03:18:39 PM »
Code: [Select]
sudo ln -f /usr/local/sbin/depmod /sbin/depmod
sync
sudo depmod -a

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: Tiny/Micro v.3.8 & v.3.8.1 with alsa
« Reply #28 on: August 28, 2011, 03:40:19 PM »
Are all the sound modules loaded? Check with lsmod?
It was the sound modules that were not being loaded because of the difference in modules.dep file from busybox versus gnu depmod.

What happens when you manually issue

sudo depmod -a
10+ Years Contributing to Linux Open Source Projects.

ali

  • Guest
Re: Tiny/Micro v.3.8 & v.3.8.1 with alsa
« Reply #29 on: August 28, 2011, 03:57:23 PM »
the depmod -a command doesn't do anything

i have at least 4 lsmod stages

on the first run snd_hda_intel module gets unloaded, on the second one most snd modules get unloaded

the initial stage (fresh boot)
Code: [Select]
Module                  Size  Used by    Not tainted
squashfs               14724  0
scsi_wait_scan           276  0
ramzswap               10240  1
asus_laptop             9180  0
video                  12712  0
loop                    8068  0
serio_raw               2380  0
r8169                  22516  0
output                   724  1 video
ac                      1696  0
battery                 6028  0
backlight               1632  2 asus_laptop,video

the second stage ( after i installed alsaconf)
Code: [Select]
Module                  Size  Used by    Not tainted
snd_hda_codec_via      34728  1
snd_hda_intel          14480  0
snd_hda_codec          33296  2 snd_hda_codec_via,snd_hda_intel
snd_pcm                37628  2 snd_hda_intel,snd_hda_codec
snd_page_alloc          4016  2 snd_hda_intel,snd_pcm
snd_timer              10564  1 snd_pcm
snd                    26200  5 snd_hda_codec_via,snd_hda_intel,snd_hda_codec,snd_pcm,snd_timer
soundcore               2640  1 snd
squashfs               14724 13
scsi_wait_scan           276  0
ramzswap               10240  1
asus_laptop             9180  0
video                  12712  0
loop                    8068 26
serio_raw               2380  0
r8169                  22516  0
output                   724  1 video
ac                      1696  0
battery                 6028  0
backlight               1632  2 asus_laptop,video

third stage (after i run alsaconf)
Code: [Select]
Module                  Size  Used by    Not tainted
snd_hda_codec_via      34728  0
snd_hda_codec          33296  1 snd_hda_codec_via
snd_pcm                37628  1 snd_hda_codec
snd_page_alloc          4016  1 snd_pcm
snd_timer              10564  1 snd_pcm
snd                    26200  4 snd_hda_codec_via,snd_hda_codec,snd_pcm,snd_timer
soundcore               2640  1 snd
squashfs               14724 13
scsi_wait_scan           276  0
ramzswap               10240  1
asus_laptop             9180  0
video                  12712  0
loop                    8068 26
serio_raw               2380  0
r8169                  22516  0
output                   724  1 video
ac                      1696  0
battery                 6028  0
backlight               1632  2 asus_laptop,video

forth stage (running alsaconf the second time)
Code: [Select]
Module                  Size  Used by    Not tainted
snd_page_alloc          4016  0
squashfs               14724 13
scsi_wait_scan           276  0
ramzswap               10240  1
asus_laptop             9180  0
video                  12712  0
loop                    8068 26
serio_raw               2380  0
r8169                  22516  0
output                   724  1 video
ac                      1696  0
battery                 6028  0
backlight               1632  2 asus_laptop,video
« Last Edit: August 28, 2011, 04:05:20 PM by ali »