WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: piCore-8.0beta2  (Read 21629 times)

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11594
Re: piCore-8.0beta2
« Reply #15 on: June 19, 2016, 12:43:05 PM »
Hi mbivol10
You need to learn about persistence and backups. I recommend reading:
http://tinycorelinux.net/corebook.pdf

Offline patrikg

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 711
Re: piCore-8.0beta2
« Reply #16 on: June 19, 2016, 02:13:00 PM »
You have to read the book
http://tinycorelinux.net/book.html

Offline sbp

  • Sr. Member
  • ****
  • Posts: 429
    • piCorePlayer homepage
Re: piCore-8.0beta2
« Reply #17 on: June 23, 2016, 11:30:15 AM »
Hi Bela.

I have been working with beta2 for some time and it working fine.

I have one issue. The command sudo alsactl store does not work results in:
Code: [Select]
tc@piCorePlayer:~$ sudo alsactl store
alsactl: save_state:1626: Cannot open /var/lib/alsa/asound.state for writing: No such file or directory

Usually we have also installed alsa-config but that is not available on 8.0 yet.
I did install ALSA.tzc and alsa-utils.tcz ands also tried alsa-plugins.tzc - but still I get this error.

Steen

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14799
Re: piCore-8.0beta2
« Reply #18 on: June 23, 2016, 11:51:58 AM »
As a temporary fix you can create the folder /var/lib/alsa

Offline Gerrelt

  • Full Member
  • ***
  • Posts: 182
Re: piCore-8.0beta2
« Reply #19 on: June 24, 2016, 10:32:26 AM »
Hi Steen,

 This is how I got alsa working on piCore 8 :

Code: [Select]
tce-load -wi alsa.tcz
tce-load -wi alsa-utils.tcz
sudo mkdir -p /var/lib/alsa
sudo echo "var/lib/alsa" >> /opt/.filetool.lst

Then use "sudo alsamixer" to make adjustments.
Then store it with:

Code: [Select]
sudo alsactl store
And I had to use this command in bootlocal.sh to restore the alsa settings at boot:

Code: [Select]
for i in $(seq 1 30); do alsactl restore && break || sleep 0.1; done

If you just run "alsactl restore" then chances are that your USB soundcard isn't ready yet when the restore command in executed.
This extended command will try for 3 seconds to restore the settings.

Greetings,
    Gerrelt.
my Raspberry Pi page: http://raspberry.gerrelt.nl

Offline bzfrp

  • Newbie
  • *
  • Posts: 15
Re: piCore-8.0beta2
« Reply #20 on: June 24, 2016, 10:48:17 AM »
Hello,
I can't find alsa-dev.tcz

Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1243
Re: piCore-8.0beta2
« Reply #21 on: June 24, 2016, 02:32:48 PM »
Hi Bela.

I have been working with beta2 for some time and it working fine.

I have one issue. The command sudo alsactl store does not work results in:
Code: [Select]
tc@piCorePlayer:~$ sudo alsactl store
alsactl: save_state:1626: Cannot open /var/lib/alsa/asound.state for writing: No such file or directory

Usually we have also installed alsa-config but that is not available on 8.0 yet.
I did install ALSA.tzc and alsa-utils.tcz ands also tried alsa-plugins.tzc - but still I get this error.

Steen

Steen, do a file comparison between 7.x alsa and 8.x alsa.   From what I can see everything that used to be separate in alsa-config is now included in alsa.tcz or alsa-utils.tcz. 

Once you save the state, and add it to your backup, the directory and asound.state will be created during the restore.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: piCore-8.0beta2
« Reply #22 on: June 24, 2016, 05:16:11 PM »
Hello,
I can't find alsa-dev.tcz

Install libasound-dev.tcz
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline sbp

  • Sr. Member
  • ****
  • Posts: 429
    • piCorePlayer homepage
Re: piCore-8.0beta2
« Reply #23 on: June 26, 2016, 08:37:42 AM »
Hi Bela

The problem I had with the touch function on the official touchscreen was caused by a new option you enabled in config.txt.
As soon as I removed
i2c_vc=on
then the touch-function was working again.

From the raspberry git I read:
https://github.com/raspberrypi/firmware/blob/master/boot/overlays/README

i2c_vc (default "off")   Set to "on" to enable the i2c interface usually reserved for the VideoCore processor.
So by default it should be off. In addition the VideoCore is not even present in vanilla piCore, so I think it would be safe to remove from config.txt

Regards
Steen

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: piCore-8.0beta2
« Reply #24 on: June 26, 2016, 10:30:04 AM »
Hi Steen

thanks, will change config.txt
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."