Tiny Core Linux

Tiny Core Base => TCB News => Final Releases => Topic started by: Juanito on May 22, 2016, 06:16:31 AM

Title: Tiny Core v7.1
Post by: Juanito on May 22, 2016, 06:16:31 AM
Team Tiny Core is proud to announce the release of Core v7.1
http://www.tinycorelinux.net/7.x/x86/release
http://www.tinycorelinux.net/7.x/x86_64/release

Changelog for 7.1:
* busybox updated 1.24.1 -> 1.24.2
* busybox syslogd buffer size increase 256 -> 512
* tc-config: move syslog after hostname
* mountables.sh: move the rebuildfstab call to mnttool, from dentonlt
* tc-config: put syslogd -L after -R, from andyj

Also in conjuction with the above in Xprogs:
* mnttool: refresh automatically, by dentonlt
* mnttool: move rebuildfstab call here from mountables.sh
Title: Re: Tiny Core v7.1
Post by: meo on May 23, 2016, 06:56:32 AM
Hello Team Tiny Core!

Just want to express my gratitude for the new 7.1 version. I've just installed the new release and I'm very pleased with it. So a Big Thank You to everybody that has contributed!!!  ;)

Have fun continuing to make TC progress further as an OS,
meo
Title: Re: Tiny Core v7.1
Post by: chattrhand on May 31, 2016, 12:37:01 PM
Sorry I'm a bit unhappy with tc-7.0, 7.1rc1 and 7.1

No sound. tried all I found but nothing helped.
On iMac at least a very fine noise, but that was all.

Network cards are working on Apples and acer tmp435 but not on lenove b4030.

Firefox works on Apples, but neither on lenovo nor on acer.

Currently I m using tc-6.4.1, working fine.

Greetings
Title: Re: Tiny Core v7.1
Post by: Juanito on June 01, 2016, 06:01:20 AM
If you could give a few more details with error messages we can try to help
Title: Re: Tiny Core v7.1
Post by: chattrhand on June 24, 2016, 04:28:33 AM
Hi Juanito, sorry for my late answer.

- my frugal installations from tc 6.4.1 are working very fine with tce 6.4.1.
- I can start then with a CorePlus 7.1 CD and they work except sound.

- So I used a CorePlus 7.1 CD to prepare a fresh frugal installation. It works fine and can download and use all the apps I need.

- Installed alsa.tcz first and added firefox to try some youtube - silence.
Deinstalled alsa.tcz, rebooted and installed alsa-config.tcz first and alsa,tcz after and tried with speaker-test: silence.

- added /opt/alsa/ directory and checked   $ sudo /usr/local/etc/init.d/alsasound status  Alsa is running
Speaker test reports until breakdown with ctrl-c:

tc@box:~$ speaker-test

speaker-test 1.1.0

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.830222
 0 - Front Left
Time per period = 2.986649
 0 - Front Left
^CWrite error: -4,Interrupted system call
xrun_recovery failed: -4,Interrupted system call
Transfer failed: Interrupted system call
tc@box:~$

The same problem on all of my machines: MacMini, iMac, Acer tmp 453 and Lenovo b40-30.

If you need some additional info please specify. Thanks for your help!
Title: Re: Tiny Core v7.1
Post by: Juanito on June 24, 2016, 09:05:21 AM
Just to be sure, did you check if sound was muted using alsamixer?

If you are booting from cd on a machine with tinycore already installed on the hd, there is the possibility that the cd boot will use extensions from the hd installation.

The above might mean that you are using the tc-6.4.1 version of the alsa extension with alsa-modules-4.2.9-tinycore.

Can you try installing the alsa extension using the full path to the cd version of alsa?
Title: Re: Tiny Core v7.1
Post by: chattrhand on June 24, 2016, 09:55:07 AM
Hi Juanito,
I turned alsamixer up and down, I installed flit.tcz and turned volume up and down, while alsa speaker-test was running. but no sound.

Also a test with firefox and a youtube site did not work.

I tried every one of my 4 machines as installing platform: MacMini, iMac, acer tmp453 and lenovo b40-30. With tc 6.4.1 all is fine, but with  tc 7.1 no sound.
Title: Re: Tiny Core v7.1
Post by: Juanito on June 24, 2016, 10:02:21 AM
So you installed tc-7.1 and the tc-7.1 extensions to hd and booted from the hd?
Title: Re: Tiny Core v7.1
Post by: chattrhand on June 24, 2016, 10:28:45 AM
not on hdd but on a 8 GB usb-stick
Title: Re: Tiny Core v7.1
Post by: Rich on June 24, 2016, 11:52:48 AM
Hi chattrhand
When Tinycore starts up it automatically scans for a  /tce  directory if the  tce=  bootcode is not used. So if it finds your
hard drive first, it will use that.
Title: Re: Tiny Core v7.1
Post by: chattrhand on June 24, 2016, 02:00:44 PM
Hi Juanito, Rich,

now I ve prepared another usbstick by adding an almost naked frugal installation.

I first added /opt/alsa/ directory as this had been complained before
then I installed alsa.tcz and alsa-config.tcz.

I started speaker-test and gambled around with alsamixer, no sound.

I installed firefox-esr.tcz and went on youtube. movies but no sound.

Same on acer tmp453 as on lenovo b40-30.

Thanks for your attention
Title: Re: Tiny Core v7.1
Post by: Juanito on June 25, 2016, 12:52:47 AM
If you're sure that there is no previous installation of tinycore on the hd of any of the machines you're trying to boot from usb, then the problem must be somewhere else.

Note that if you use alsa-config, it should be loaded before alsa.

what do the following give:

"aplay --version"
"aplay -L"
Title: Re: Tiny Core v7.1
Post by: chattrhand on June 26, 2016, 01:28:56 AM
hello Juanito, Rich.,

now for my acer TMP453 laptop I have bought a brand-new Lexar USBstick and set up a flwm tinycore7.1 installation frugal, whole disk, formatted to ext4 and added nothing but all of the 6 wlan and kmap accessories from CorePlus -CD.

Using AppBrowser I first added  alsa-config.tcz and to be sure did a reboot.
Then I added alsa.tcz.

tried to speaker-test turning up volume with alsamixer, no sound.

I followed your suggestions:

tc@box:~$ aplay --version
aplay: version 1.1.0 by Jaroslav Kysela <perex@perex.cz>
tc@box:~$ aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
default:CARD=PCH
    HDA Intel PCH, ALC271X Analog
    Default Audio Device
sysdefault:CARD=PCH
    HDA Intel PCH, ALC271X Analog
    Default Audio Device
front:CARD=PCH,DEV=0
    HDA Intel PCH, ALC271X Analog
    Front speakers
surround21:CARD=PCH,DEV=0
    HDA Intel PCH, ALC271X Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
    HDA Intel PCH, ALC271X Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
    HDA Intel PCH, ALC271X Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
    HDA Intel PCH, ALC271X Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
    HDA Intel PCH, ALC271X Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
    HDA Intel PCH, ALC271X Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
hdmi:CARD=PCH,DEV=0
    HDA Intel PCH, HDMI 0
    HDMI Audio Output
tc@box:~$ version
7.1
tc@box:~$
tc@box:~$ sudo /usr/local/etc/init.d/alsasound status
Alsa is running.
tc@box:~$

I found a (never used) hdmi plug and installed Xorg-7.7.tcz, did not help either
I added mplayer-g45-alsa.tcz, did not help
I added flit.tcz and started it, could use the volume control, speaker-test silent.
I added firefox-esr and tried youtube, silent.

Cross checked with my tc 6.4.1 usbstick: working fine.

Thanks for your help!





Title: Re: Tiny Core v7.1
Post by: Juanito on June 26, 2016, 02:41:43 AM
I only have two machines to test - a dell e7240 and a mac mini.

The alsa extension (without alsa-config) works on both of them. All I need to do is load alsa and un-mute the master volume control with alsamixer (I do not need to start alsasound) - the only proviso is that Xorg-7.7 needs to be loaded before alsa for sound to work as hdmi is the default for both machines.

Note that "aplay -l" gives this for me with the dell:
Code: [Select]
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: HDMI [HDA Intel HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 0: ALC3226 Analog [ALC3226 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
..i.e. that hdmi is card 0 and analogue is card 1 (which makes no logical sense at all for a laptop).

Your output seems to be suggesting that both hdmi and analogue are on the default pch?

Do you have alsasound state from tc-6.4.1 saved in your backup?
Title: Re: Tiny Core v7.1
Post by: curaga on June 26, 2016, 04:53:31 AM
You might also compare the kernel outputs between the two versions. "dmesg | grep hda". It's not uncommon for the HDA sound driver to regress, it covers a huge amount of hardware. There might be a bootcode you can use for the 7.x hda driver to work with your machines.
Title: Re: Tiny Core v7.1
Post by: chattrhand on June 27, 2016, 10:59:54 AM
Hello Juanito, Rich, Curaga,

i repeated the whole set of checks on my MacMini (unable to boot from stick, so must use CD)
To have a comparison I added a tc 6.4.1 frugal installation named to tce641/ with alsa.tcz and so on, and it works and sounds fine. And yes, I've seen the versions difference of alsa versions!

Looking into the info to alsa I found that Xorg-7.7.tce and Xorg07.7-3d.tce were missing, so I added them.
Did not help to sound.

Looking into the info to alsa-config.tcz I found that it should have  alsa-lib-1.1.0.tcz  and  alsa-utils-1.1.0.tcz  but did not find either of them when looking into  AppsBrowser - Apps - Maintenance - Md5 Check.

Can this be the problem? Sorry I'm not a coder :-/
Title: Re: Tiny Core v7.1
Post by: coreplayer2 on June 27, 2016, 01:31:22 PM
Chattrhand....   :o

With each Alsa revision I typically see many improvements, these can cause some challenges.   While it appears most systems are supported with ease, with an increasingly greater range of Audio hardware there often requires a few extra configuration steps regardless of whether the hardware worked OOB on previous Alsa releases.  It's unfortunately the nature of the beast.

Additionally, it appears that some basic troubleshooting steps or methodology have been missed in your efforts.

An experienced TC user would know that to boot a USB installed TC on a Mac you would need to install an EFI compatible Boot Manager such as grub2-efi from grub2-efi.tcz.   However by default a CD will boot (blame Apple for that).

reading the posts here I'm not at all sure if you're aware that TC needs to be instructed to use a specific tce directory, when there are various older installations (additional USB's, HDD's and even a bootable CD left accidentally in a CD/DVD tray) to choose from.  Otherwise there is no guarantee the desired tce or cde directory is actually being used.  This can and has been the cause of considerable confusion for many (usually new users).    It's best therefore when creating a USB bootable TC to clearly identify within the boot config file which USB and TCE directory to use using Labels, UUID codes, etc etc..


Honestly if you remove the possibility of tce directory install confusion, I believe at worse case an Alsa config file is all that is required to bias Alsa to use specific hardware.    Actually this is how I accomplish this task for obscure or new audio hardware.  Alternatively use pavucontrol with pulseaudio to switch the audio source and output.

basic steps:
1. make absolutely sure there is only one installation of TC installed (be that a CD, a USB or HDD)
2. load only alsa.tcz
3. run alsamixer to
  a. select correct hardware and
  b. unmute require controls
4. if still having issues begin the typical alsa troubleshooting

good luck


 
Title: Re: Tiny Core v7.1
Post by: Juanito on June 28, 2016, 03:04:10 AM
I'm puzzled that sound does not work on any of your machines (MacMini, iMac, Acer tmp 453, Lenovo b40-30).

Unless of all the machines have the same hardware, this would seem to indicate that it is not a kernel driver regression, nor that hdmi is the default and you're trying to listen to analogue.

Did you examine dmesg on the same machine with tc-6.4.1 and tc-7.1 as curaga suggested?

Note that, although they might not have the same hardware, sound works on my mac mini.
Title: Re: Tiny Core v7.1
Post by: chattrhand on June 28, 2016, 01:21:51 PM
Hi, I could give you a report from alfsa-info.sh, this has about 28000 MByte.
I have auto-uploaded it as required  to www.alsa-project.org  and hope the maintainer can help.


By the way: with tc 7.1 the touchpad is no longer working after installation of both firefox-esr or firefox-getLatest. Haply I can use a usb mouse...


Title: Re: Tiny Core v7.1
Post by: coreplayer2 on June 28, 2016, 07:32:14 PM
In sorry Chattrhand, I can't believe the luck you have...


Sent from my iPhone using Tapatalk
Title: Re: Tiny Core v7.1
Post by: coreplayer2 on June 30, 2016, 11:27:58 PM
chattrhand, I'm fairly sure your issues are related to a lack of configuration.   This troubleshooting link helped me figure out how to configure my Alsa installations,  hopefully it will also help resolve your Alsa issues.

https://wiki.archlinux.org/index.php/Advanced_Linux_Sound_Architecture/Troubleshooting