WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: ub-dCore-trusty  (Read 19240 times)

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: ub-dCore-trusty
« Reply #15 on: August 30, 2014, 09:55:14 PM »
Updated to remove unneeded files in /etc/udev/rules.d/ that were interfering with the creation of entries in /dev/disk that kept Unetbootin from operating.

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730

Offline Onyarian

  • Sr. Member
  • ****
  • Posts: 337
Re: ub-dCore-trusty
« Reply #17 on: October 13, 2014, 02:47:38 PM »
Hi Jason,

Thanks for the update, all goes Ok for me, except that I have lose the alsa sound. When I go back to previous version the sound works again.
here are some notes:

Quote
tc@ubt-dC5x-ordjd:~$ lsmod | grep snd
snd_pcm_oss            32768  0
snd_seq_dummy          12288  0
snd_seq_oss            24576  0
snd_seq_midi_event     12288  1 snd_seq_oss
snd_seq                32768  5 snd_seq_midi_event,snd_seq_oss,snd_seq_dummy
snd_mixer_oss          16384  1 snd_pcm_oss
snd_via82xx            20480  0
snd_ac97_codec         73728  1 snd_via82xx
snd_pcm                49152  3 snd_via82xx,snd_pcm_oss,snd_ac97_codec
snd_timer              20480  2 snd_pcm,snd_seq
ac97_bus               12288  1 snd_ac97_codec
snd_page_alloc         12288  2 snd_via82xx,snd_pcm
snd_mpu401_uart        12288  1 snd_via82xx
snd_rawmidi            20480  1 snd_mpu401_uart
snd_seq_device         12288  4 snd_seq,snd_rawmidi,snd_seq_oss,snd_seq_dummy
snd                    36864  11 snd_via82xx,snd_pcm_oss,snd_ac97_codec,snd_timer,snd_pcm,snd_seq,snd_rawmidi,snd_seq_oss,snd_mpu401_uart,snd_seq_device,snd_mixer_oss
soundcore              12288  1 snd
gameport               12288  1 snd_via82xx

Quote
tc@ubt-dC5x-ordjd:~$ alsamixer
cannot open mixer: No such file or directory

tc@ubt-dC5x-ordjd:~$ aplay -l
aplay: device_list:268: no soundcards found...

dmesg:
Quote
Linux agpgart interface v0.103
agpgart: Detected VIA PT880 Ultra chipset
agpgart-via 0000:00:00.0: AGP aperture is 128M @ 0xf0000000
cfg80211: Calling CRDA to update world regulatory domain
snd_via82xx 0000:00:11.5: setting latency timer to 64

PCI devices with Hardinfo:
Quote
-PCI Devices-
Multimedia audio controller      : VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60)
VGA compatible controller      : NVIDIA Corporation GT218 [GeForce 210] (rev a2) (prog-if 00 [VGA controller])
Audio device      : NVIDIA Corporation High Definition Audio Controller (rev a1)

and I have in boot:
Quote
kernel /boot/utc5/vmlinuz-trusty quiet lang=es_ES@euro kmap=es desktop=openbox waitusb=3 tce=sda1/ubtdc5 restore=sda1/ubtdc5 loop.max_loop=256 host=ubt-dC5x-ordjd icons=wbar blacklist=snd_hda_intel
 initrd /boot/utc5/ub-dCore-trusty.gz

I have loadsce alsa-modules-3.8.13-tinycore and alsa-utils

Hope It helps!
« Last Edit: October 13, 2014, 02:51:02 PM by Onyarian »

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: ub-dCore-trusty
« Reply #18 on: October 13, 2014, 04:12:57 PM »
Ok, I will look into it tonight.

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: ub-dCore-trusty
« Reply #19 on: October 13, 2014, 07:59:09 PM »
Sound is working ok with me on ub-dCore-trusty.  I have a hunch that "udevadm trigger" will solve your situation. 

Offline Onyarian

  • Sr. Member
  • ****
  • Posts: 337
Re: ub-dCore-trusty
« Reply #20 on: October 14, 2014, 05:06:58 AM »
Hi Jason,

It's happening in my notebooks too.

where should I put udevadm trigger? In a terminal window, after doing it, the  "aplay -l" says th same
aplay: device_list:268: no soundcards found...

in bootlocal.sh and then booting is the same also, no difference.

In the notebooks there is no blacklist at boot.

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: ub-dCore-trusty
« Reply #21 on: October 14, 2014, 06:10:16 AM »
Ok, let me re-import everything from scratch on trusty and see if I can reproduce the error.

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: ub-dCore-trusty
« Reply #22 on: October 14, 2014, 07:51:19 PM »
I am using hte latest ub-dCore-trusty, and imported alsa-utils and alsa-modules-3.8.13-tinycore and all works well.   Info below:

Code: [Select]
05:04.0 Multimedia audio controller: Aureal Semiconductor Vortex 2 (rev fe)
        Subsystem: Voyetra Technologies Montego II
        Kernel driver in use: snd_au8830




Code: [Select]
peter@box:~$ lsmod
Module                  Size  Used by
ipv6                  176128  12
i915                  327680  2
drm_kms_helper         24576  1 i915
drm                   143360  3 i915,drm_kms_helper
shpchp                 24576  0
video                  16384  1 i915
backlight              12288  1 video
i2c_algo_bit           12288  1 i915
intel_agp              12288  1 i915
intel_gtt              16384  3 i915,intel_agp
agpgart                24576  3 drm,intel_agp,intel_gtt
snd_pcm_oss            32768  0
snd_seq_dummy          12288  0
snd_seq_oss            24576  0
snd_seq_midi_event     12288  1 snd_seq_oss
snd_seq                32768  5 snd_seq_midi_event,snd_seq_oss,snd_seq_dummy
snd_mixer_oss          16384  1 snd_pcm_oss
snd_au8830             36864  0
snd_mpu401_uart        12288  1 snd_au8830
snd_rawmidi            20480  1 snd_mpu401_uart
snd_seq_device         12288  4 snd_seq,snd_rawmidi,snd_seq_oss,snd_seq_dummy
gameport               12288  2 snd_au8830
snd_ac97_codec         73728  1 snd_au8830
snd_pcm                49152  3 snd_pcm_oss,snd_ac97_codec,snd_au8830
snd_page_alloc         12288  1 snd_pcm
snd_timer              20480  2 snd_pcm,snd_seq
snd                    36864  11 snd_pcm_oss,snd_ac97_codec,snd_timer,snd_pcm,snd_seq,snd_rawmidi,snd_seq_oss,snd_mpu401_uart,snd_seq_device,snd_mixer_oss,snd_au8830
soundcore              12288  1 snd
ac97_bus               12288  1 snd_ac97_codec
cpufreq_conservative    12288  0
speedstep_lib          12288  0
cpufreq_stats          12288  0
cpufreq_userspace      12288  0
cpufreq_powersave      12288  0
squashfs               24576  5
loop                   20480  10
mperf                  12288  0
ppdev                  12288  0
microcode              12288  0
tg3                   110592  0
pcspkr                 12288  0
ptp                    12288  1 tg3
pps_core               12288  1 ptp
floppy                 45056  0
parport_pc             24576  0
parport                24576  2 ppdev,parport_pc
lpc_ich                16384  0
mfd_core               12288  1 lpc_ich
peter@box:~$

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: ub-dCore-trusty
« Reply #23 on: October 14, 2014, 10:27:00 PM »
But that being said, there is obviously something creating a different result on your setup.

What are the contents of your sceboot.lst, or the output of 'ls /tmptcloop'.

And does it help to issue  the command:

sudo /usr/local/tce.installed/alsa-utils

after both the utils and modules extension of alsa are lodaed?

Offline Onyarian

  • Sr. Member
  • ****
  • Posts: 337
Re: ub-dCore-trusty
« Reply #24 on: October 15, 2014, 04:08:06 PM »
Hi Jason, you are right with the sudo /usr/local/tce.installed/alsa-utils

Quote
tc@ubt-dC5x-prueba:~$ lsmod
Module                  Size  Used by
cpufreq_conservative    12288  0
cpufreq_stats          12288  0
cpufreq_userspace      12288  0
cpufreq_powersave      12288  0
snd_pcm_oss            32768  0
snd_seq_dummy          12288  0
snd_seq_oss            24576  0
snd_seq_midi_event     12288  1 snd_seq_oss
snd_seq                32768  5 snd_seq_midi_event,snd_seq_oss,snd_seq_dummy
snd_mixer_oss          16384  1 snd_pcm_oss
snd_via82xx            20480  0
snd_ac97_codec         73728  1 snd_via82xx
snd_pcm                49152  3 snd_via82xx,snd_pcm_oss,snd_ac97_codec
snd_timer              20480  2 snd_pcm,snd_seq
ac97_bus               12288  1 snd_ac97_codec
rt73usb                20480  0
snd_page_alloc         12288  2 snd_via82xx,snd_pcm
snd_mpu401_uart        12288  1 snd_via82xx
rt2x00usb              12288  1 rt73usb
rt2x00lib              28672  2 rt73usb,rt2x00usb
mac80211              155648  2 rt2x00lib,rt2x00usb
snd_rawmidi            20480  1 snd_mpu401_uart
cfg80211              110592  2 mac80211,rt2x00lib
snd_seq_device         12288  4 snd_seq,snd_rawmidi,snd_seq_oss,snd_seq_dummy
snd                    36864  11 snd_via82xx,snd_pcm_oss,snd_ac97_codec,snd_timer,snd_pcm,snd_seq,snd_rawmidi,snd_seq_oss,snd_mpu401_uart,snd_seq_device,snd_mixer_oss
soundcore              12288  1 snd
gameport               12288  1 snd_via82xx
i2c_viapro             12288  0
via_agp                12288  1
agpgart                24576  1 via_agp
squashfs               24576  19
loop                   20480  38
mperf                  12288  0
ppdev                  12288  0
pcspkr                 12288  0
microcode              12288  0
parport_pc             24576  0
e1000                  77824  0
parport                24576  2 ppdev,parport_pc

tc@ubt-dC5x-prueba:~$ alsactl init
alsactl: init:1758: No soundcards found...

tc@ubt-dC5x-prueba:~$ aplay -l
aplay: device_list:268: no soundcards found...

tc@ubt-dC5x-prueba:~$ sudo /usr/local/tce.installed/alsa-utils
addgroup: group 'audio' in use

tc@ubt-dC5x-prueba:~$ alsactl init
Found hardware: "VIA8237" "Analog Devices AD1980" "AC97a:41445370" "0x1043" "0x80b0"
Hardware is initialized using a generic method

tc@ubt-dC5x-prueba:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: V8237 [VIA 8237], device 0: VIA 8237 [VIA 8237]
  Subdevices: 4/4
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
card 0: V8237 [VIA 8237], device 1: VIA 8237 [VIA 8237]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
tc@ubt-dC5x-prueba:~$

and then sound is OK

I have put "/usr/local/tce.installed/alsa-utils" in bootlocal.sh
Quote
#!/bb/ash
# put other system startup commands here

/etc/init.d/cups start
mount /dev/sda4 /mnt/sda4
/usr/local/tce.installed/alsa-utils
sleep 4
alsactl restore
/usr/sbin/basic-firewall
wifi.sh -a
sleep 3
/etc/init.d/cups restart

 but no sound at boot until I turn to execute /usr/local/tce.installed/alsa-utils

What can I do to have sound at boot?

my sceboot.lst is:
Quote
Xprogs
xorg-all
openbox
fbpanel
conky
graphics-3.8.13-tinycore
wireless-3.8.13-tinycore
wireless
wifi
firefox
firefox-locale-es
pciutils
alsa-modules-3.8.13-tinycore
alsa-utils
alsamixergui
volumeicon-alsa
wbar
numlockx
xonclock-cde-l3

Thanks for all
« Last Edit: October 15, 2014, 04:22:02 PM by Onyarian »

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: ub-dCore-trusty
« Reply #25 on: October 15, 2014, 05:23:34 PM »
Hmm, /usr/local/tce.installed/alsa-utils should be getting run upon the loading of the sce.  I don't know why it is not.  I will put alsa-utils in sceboot.lst and try it out on a fresh import.

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: ub-dCore-trusty
« Reply #26 on: October 15, 2014, 08:48:03 PM »
I have booted with nothing loaded, then loadsce alsa-modules-3.8.13-tinycore and alsa-utils.  Sound works, I can't reproduce.

Offline Onyarian

  • Sr. Member
  • ****
  • Posts: 337
Re: ub-dCore-trusty
« Reply #27 on: October 16, 2014, 03:01:57 PM »
I have made the same, booting with nothing, and works. Then with Xprogs, xorg, wbar, wireless, wireless-modules and flwm-topside and works too, all importsce from scratch.
So I want to rebuild from scratch, step by step, my big sce to see if I found if there is an interaction with something, and tell you the founds, if there are.

Thanks Jason for the time

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: ub-dCore-trusty
« Reply #28 on: October 16, 2014, 03:20:03 PM »
Minitube for me was not showing video but was making sound.  I spent an hour or so looking into dependencies and even changed my video card, but upon a fresh import using one file list, minitube worked with sound and video.  WIth trusty like with jessie, I suggest only using one sce made from a package list file as their packges are being updated frequently which can make for breakage if combining new and old sce's.
« Last Edit: October 16, 2014, 03:42:55 PM by Jason W »

Offline Onyarian

  • Sr. Member
  • ****
  • Posts: 337
Re: ub-dCore-trusty
« Reply #29 on: October 20, 2014, 10:15:49 AM »
Hi Jason,

I want to inform you that finally I get where was the problem. It wasn't in the big sce and others, it was in mydata.tgz, in concrete in /etc/group file.

At the first installation I included /etc/group in .filetool.lst, because I need some specific entries.  If I delete /etc/group in .filetool.lst then in the reboot it creates a new one and works the sound.
So now I have copied my entries in this new one and turn to put /etc/group in .filetool.lst and all goes OK.