WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: T.C.6.0 extension problems  (Read 10251 times)

Offline core-user

  • Full Member
  • ***
  • Posts: 191
  • Linux since 1999
T.C.6.0 extension problems
« on: January 08, 2015, 04:43:53 AM »
Installed CorePlus 6.0 & have found that there are a few problems with some tcz extensions.

Trying to use mplayer (on demand), I have no sound, (sound is working OK with xmms), also won't enlarge the movie to fill the screen.

Trying to run vlc (on demand), nothing happens when I try running it from the menu or wbar, missing libiconv.so.2 reported when trying to run it from a terminal.

Trying to run viewnior (on demand), nothing happens when I try running it from the menu or wbar, missing libffi.so.5 reported when trying to run it from a terminal.
AMD, ARM, & Intel.

Offline beerstein

  • Hero Member
  • *****
  • Posts: 530
Re: T.C.6.0 extension problems
« Reply #1 on: January 11, 2015, 10:50:35 AM »
today I tried to install pcmanfm and VLC player . Install worked OK. But could not start both from GUI (wbar) nor from CL.
Other than that 6.0 looks great. Firefox installed quicker then I was used to on previous versions. Youtube video worked right out of the box in Firefox. To get sound I installed almost everything from the repo which started with alsa. (alsa.tcz, alsamixergui.tcz, alsa.conf and alsa modules. The info txt from alsa tells you how to start alsa.
Excellent work. Thank you so much.
Now I have to put the alsa start command into bootlocal.sh - hope that will make the alsa start permanent over reboots.
t(w)o be(ers) or not t(w)o be(ers) that is the question

Offline beerstein

  • Hero Member
  • *****
  • Posts: 530
Re: T.C.6.0 extension problems
« Reply #2 on: January 11, 2015, 12:04:05 PM »
OK -- the gparted extension has been fixed and he new gparted.tcz works. EXCEPT it does not show the content of a partition. To fix that: please install e2fsprogs.tcz. Somebody needs to put that into the dependency list too.

pcmanfm needs the libffi5 extensions. I installed them and pcmanfm works ok now. Dependencies need to be fixed too here.

VLC is not working yet. Here is the error message.:
tc@box:~$ vlc
vlc: error while loading shared libraries: libiconv.so.2: cannot open shared object file: No such file or directory
tc@box:~$
There is no  libiconv.so.2 or similar extension in repo. What can we do?
t(w)o be(ers) or not t(w)o be(ers) that is the question

Offline beerstein

  • Hero Member
  • *****
  • Posts: 530
Re: T.C.6.0 extension problems
« Reply #3 on: January 11, 2015, 12:58:41 PM »
Hi> Now I have another problem. Alsamixergui was working before. Now all of the sudden the alsamixer can not be started any more. I am getting the following error message:
alsamixer: function snc_ctl_open failed for default: No such file in directory

Any idea and help?
t(w)o be(ers) or not t(w)o be(ers) that is the question

Offline beerstein

  • Hero Member
  • *****
  • Posts: 530
Re: T.C.6.0 extension problems
« Reply #4 on: January 11, 2015, 01:38:48 PM »
here are the error messages. When i first started alsasound - I had sound.
may be something went wrong after reboot.
Alsamixer works after reboot, but after I try to start alsasound the mixer can not be started any more.

tc@box:~$  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.
tc@box:~
t(w)o be(ers) or not t(w)o be(ers) that is the question

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: T.C.6.0 extension problems
« Reply #5 on: January 11, 2015, 09:51:44 PM »

There is no  libiconv.so.2 or similar extension in repo. What can we do?

Rebuild VLC
Béla
Ham Radio callsign: HA5DI

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

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14790
Re: T.C.6.0 extension problems
« Reply #6 on: January 12, 2015, 12:36:56 AM »
OK -- the gparted extension has been fixed and he new gparted.tcz works. EXCEPT it does not show the content of a partition. To fix that: please install e2fsprogs.tcz. Somebody needs to put that into the dependency list too.

As per the gparted info file:
Code: [Select]
depending on the file operations desired, can be used with the dosfstools, e2fsprogs, jfsutils, mtools, ntfsprogs, reiserfsprogs and util-linux extensions

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14790
Re: T.C.6.0 extension problems
« Reply #7 on: January 12, 2015, 12:41:24 AM »
$  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

I see these kind of errors when alsa is already set up and "alsasound start" is run again - it could be that you only need to load the alsa extension (without running "alsasound start") and un-mute the mixer for things to work.

Note also that, once you have alsa working, you can save the state with "sudo alsactl store" to avoid having to run "alsasound start" on reboot.

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: T.C.6.0 extension problems
« Reply #8 on: January 12, 2015, 06:03:40 AM »
[...] To get sound I installed almost everything from the repo which started with alsa. (alsa.tcz, alsamixergui.tcz, alsa.conf and alsa modules. The info txt from alsa tells you how to start alsa. [...]

To get sound working in 6.0, I load only these extensions on-boot:
alsa.tcz
alsa-config.tcz

Then "sudo alsactl store" after un-muting as Juanito sais, plus "filetool.sh -b".
Download a copy and keep it handy: Core book ;)

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14790
Re: T.C.6.0 extension problems
« Reply #9 on: January 12, 2015, 08:34:47 AM »
the situation on my laptop (dell e7240) is more difficult...

Until recently I was only able to get it to work through the laptop speakers about one boot in ten and to make things worse, hdmi sound is the default:
Code: [Select]
$ lspci
...
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b)
00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller (rev 0b)

$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: HDMI [HDA Intel HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 0/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: 0/1
  Subdevice #0: subdevice #0

Eventually I noticed that the sound worked almost every time with corepure64/gnome-session and used the "sudo alsactl store" command to save asound.state.

After restoring asound.state with my usual wm (flwm) and loading the alsa extension, I was able to use alsamixer and F6 to chose device 1, adjust the settings to my liking and save asound.state again.

Now things appear to be working every boot after first restoring asound.state, then loading only the alsa extension (and deps) and without issuing any commands.

With my hardware, to test sound (requires the alsa-config extension):
Code: [Select]
$ speaker-test -Ddefault:1 -c2 -t wav -l1
or, with xmms use the following settings (<ctrl-p>):
Code: [Select]
output plugin: ALSA 1.2.11 out plugin [libALSA.so]

configure:

Audio device: hw:1,0
Mixer card: HDA Intel PCH
Mixer device: PCM
« Last Edit: January 12, 2015, 09:00:29 AM by Juanito »

Offline beerstein

  • Hero Member
  • *****
  • Posts: 530
Re: T.C.6.0 extension problems
« Reply #10 on: January 12, 2015, 01:46:01 PM »
thank you so much guys. Sound works. I do not have to start alsasound again after reboot. Just start alsamixer and move the scroll bars.
But VLC still generates the same error messages. I deleted the previous installed VLC and installed the new extension fixed by a member yesterday.
t(w)o be(ers) or not t(w)o be(ers) that is the question

Offline beerstein

  • Hero Member
  • *****
  • Posts: 530
Re: T.C.6.0 extension problems
« Reply #11 on: January 13, 2015, 08:57:38 AM »

There is no  libiconv.so.2 or similar extension in repo. What can we do?

Rebuild VLC
Hi:  Did you rebuild VLC?
It is still not starting. May it be that it is a general tce-load problem of version 6.0?
t(w)o be(ers) or not t(w)o be(ers) that is the question

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: T.C.6.0 extension problems
« Reply #12 on: January 13, 2015, 10:55:18 AM »
We've been trying to get rid of libiconv for sometime now - the iconv functions have been provided by glibc since at least tc-5.x if not before.
You can load  libiconv.tcz  from 5.x until VLC gets recompiled without libiconv dependency.
Download a copy and keep it handy: Core book ;)

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: T.C.6.0 extension problems
« Reply #13 on: January 13, 2015, 02:42:32 PM »
This is likely more of an "Apps" issue than a TCE issue but attempting to download vlc.tcz in tc-6.0 I find that Apps hangs and eventually quits with this error
Code: [Select]
md5sum: vlc.tcz.md5.txt: No such file or directory
I can however download vlc.tcz, vlc.tcz.dep and vlc.tcz.md5.txt manually 
am using Apps to update deps and download missing deps :)
« Last Edit: January 13, 2015, 02:49:23 PM by coreplayer2 »

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: T.C.6.0 extension problems
« Reply #14 on: January 13, 2015, 03:38:23 PM »
libiconv.tcz from http://tinycorelinux.net/5.x/x86/tcz/libiconv.tcz is required to be loaded for vlc to run at present (as of this morning anyhow), even though libiconv.tcz is not listed as a dep.  Then vlc runs great