Author Topic: Buster, Xenial and Bionic - updated 6.7.2019  (Read 732746 times)

Offline soundcheck

  • Jr. Member
  • **
  • Posts: 78
  • Karma: +0/-0
    • View Profile
Re: Wheezy server for SD, SATA or NAND with hotspot - update 2.6.2014
« Reply #585 on: June 11, 2014, 07:34:29 am »

Take away the (any) .asoundrc first and reboot.

I have the newest kernel running:

Code: [Select]
root@cubie:~# aplay -l
**** Liste der Hardware-Geräte (PLAYBACK) ****
Karte 0: sunxisndspdif [sunxi-sndspdif], Gerät 0: SUNXI-SPDIF sndspdif-0 []
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0
Karte 3: UCX23639700 [Fireface UCX (23639700)], Gerät 0: USB Audio [USB Audio]
  Sub-Geräte: 0/1
  Sub-Gerät #0: subdevice #0
root@cubie:~# uname -a
Linux cubie 3.4.91-sun7i+ #1 SMP PREEMPT Tue Jun 10 15:32:46 CEST 2014 armv7l GNU/Linux

Key is that aplay shows the device before you start trying to play anything over it.

Everything looks OK over here.




schmidtm

  • Guest
Re: Wheezy server for SD, SATA or NAND with hotspot - update 2.6.2014
« Reply #586 on: June 11, 2014, 01:04:11 pm »
Hi soundcheck and thanks for the super-fast reply. I did as you proposed (there were not alsa user-config files left) but to no avail:

schmidtm@cubie:~$ who
schmidtm pts/0        2014-06-11 16:58 (192.168.2.3)
schmidtm@cubie:~$ uptime
 16:59:24 up 2 min,  1 user,  load average: 0.03, 0.05, 0.03
schmidtm@cubie:~$ uname -a
Linux cubie 3.4.91-sun7i+ #1 SMP PREEMPT Fri May 30 12:11:04 CEST 2014 armv7l GNU/Linux
schmidtm@cubie:~$ aplay -l
aplay: device_list:252: no soundcards found...

Should i remove alsa-base and alsa-utils? Or should i start-over again by re-installing the image? I this case i loose all my compilers, libs, emacs configs and the like. Any ideas?

cheers,

Matthias

Offline soundcheck

  • Jr. Member
  • **
  • Posts: 78
  • Karma: +0/-0
    • View Profile
Re: Wheezy server for SD, SATA or NAND with hotspot - update 2.6.2014
« Reply #587 on: June 11, 2014, 03:52:24 pm »
Hmmh.
Maybe try aplay -l as root with sudo su.
Or you could also try a different app such as ecasound or sox.

Never seen a mismatch between /proc/asound/cards and aplay -l


Offline tola5

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Wheezy server for SD, SATA or NAND with hotspot - update 2.6.2014
« Reply #588 on: June 11, 2014, 04:23:29 pm »
Hi have use you Nice Worning for some time but suddenly it dont World so I take the opportunity for the update to the latest :D but nok my 30gb SD are not ben resize egen it boot so it are only 1gb some who have tried it ? Are it just to take it to a vm machine
 and do it
World now expant it on af vituel ubuntu on my PC

schmidtm

  • Guest
Re: Wheezy server for SD, SATA or NAND with hotspot - update 2.6.2014
« Reply #589 on: June 11, 2014, 06:16:40 pm »
I can not believe this ... Aplay works fine running as root, see:

root@cubie:/home/schmidtm/prj/alsa-test# id
uid=0(root) gid=0(root) groups=0(root)

root@cubie:/home/schmidtm/prj/alsa-test# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: sunxicodec [sunxi-CODEC], device 0: M1 PCM [sunxi PCM]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: sunxisndspdif [sunxi-sndspdif], device 0: SUNXI-SPDIF sndspdif-0 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: sunxisndi2s [sunxi-sndi2s], device 0: SUNXI-I2S sndi2s-0 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0

root@cubie:/home/schmidtm/prj/alsa-test# aplay -c 2 -f cd -t wav --device=hw:1 icecream.wav
Playing WAVE 'icecream.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo

How come? Packages with broken permissions? This gotta be addressed by somebody ...

Anyway: Thank you very much to lead me in the right direction!

cheers,

Matthias

Offline slovenia

  • Hero Member
  • *****
  • Posts: 511
  • Karma: +47/-0
    • View Profile
Re: Wheezy server for SD, SATA or NAND with hotspot - update 2.6.2014
« Reply #590 on: June 12, 2014, 01:16:42 am »
I can not believe this ... Aplay works fine running as root, see:

root@cubie:/home/schmidtm/prj/alsa-test# id
uid=0(root) gid=0(root) groups=0(root)

root@cubie:/home/schmidtm/prj/alsa-test# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: sunxicodec [sunxi-CODEC], device 0: M1 PCM [sunxi PCM]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: sunxisndspdif [sunxi-sndspdif], device 0: SUNXI-SPDIF sndspdif-0 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: sunxisndi2s [sunxi-sndi2s], device 0: SUNXI-I2S sndi2s-0 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0

root@cubie:/home/schmidtm/prj/alsa-test# aplay -c 2 -f cd -t wav --device=hw:1 icecream.wav
Playing WAVE 'icecream.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo

How come? Packages with broken permissions? This gotta be addressed by somebody ...

Anyway: Thank you very much to lead me in the right direction!

cheers,

Matthias

Don't know why this happen.  :-[ Issue acknowledged.

I am not doing anything unusual regarding audio install:
https://github.com/igorpecovnik/Cubietruck-Debian

How is this issue on Jessie for example if someone can try out?
Debian and Ubuntu images with kernel 3.4.110, 4.3.3, 4.4
http://www.armbian.com

Offline soundcheck

  • Jr. Member
  • **
  • Posts: 78
  • Karma: +0/-0
    • View Profile
Re: Wheezy server for SD, SATA or NAND with hotspot - update 2.6.2014
« Reply #591 on: June 12, 2014, 05:09:18 am »
A question/remark to the kernel  .config in build.sh

Isn't below command obsolete:

Code: [Select]
make $CTHREADS make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- sun7i_defconfig
You copy your own kernel.config to .config and that overwrites the result of above !?!?

I'd comment it out, remove it or introduce an "if", that if your "kernel.config" is not available the "make ... sun7i_defconfig" should be executed.

Cheers

Offline jademonkee

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Wheezy server for SD, SATA or NAND with hotspot - update 2.6.2014
« Reply #592 on: June 12, 2014, 08:13:17 am »
I just performed the 1.7 -> 1.8 upgrade (then a reboot), followed by the 1.8 > 1.9 upgrade (reboot), followed by the kernel upgrade (reboot).
However, most of my services no longer start automatically (eg samba, logitechmediaserver)
I have a backed up image of my working 1.7 install.
As far as I can tell, the:
/etc/init.d/.depend.boot
/etc/init.d/.depend.start
/etc/init.d/.depend.stop
Files in the 1.7 -> 1.8 upgrade have overwritten my versions.
Sure, I can extract the files from the image, then overwrite them again..
But is there a way to just have them re-generate automatically (so I don't risk missing anything)
Or is there a recommended way to merge the changes made during the upgrade?
Many thanks for your help (from an eager Linux beginner).
Regards,
Simon

Offline soundcheck

  • Jr. Member
  • **
  • Posts: 78
  • Karma: +0/-0
    • View Profile
Re: Wheezy server for SD, SATA or NAND with hotspot - update 2.6.2014
« Reply #593 on: June 12, 2014, 08:22:22 am »

What does it take to get the Logitechmediaserver going on this Debian image??

Has somebody written up a brief HowTo by chance?

Thx

Offline joaofl

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Wheezy server for SD, SATA or NAND with hotspot - update 2.6.2014
« Reply #594 on: June 12, 2014, 11:05:47 am »
In the same direction, what about XBMC?

Offline castalla

  • Developer
  • Full Member
  • ***
  • Posts: 106
  • Karma: +3/-0
    • View Profile
Re: Wheezy server for SD, SATA or NAND with hotspot - update 2.6.2014
« Reply #595 on: June 12, 2014, 11:56:25 am »

What does it take to get the Logitechmediaserver going on this Debian image??

Has somebody written up a brief HowTo by chance?

Thx

Easy!
Code: [Select]
1. wget http://downloads.slimdevices.com/nightly/7.8/sc/3871f55/logitechmediaserver_7.8.1~1402481566_all.deb

2. dpkg -i logitechmediaserver_7.8.1~1402481566_all.deb

« Last Edit: June 12, 2014, 11:58:05 am by castalla »

Offline slovenia

  • Hero Member
  • *****
  • Posts: 511
  • Karma: +47/-0
    • View Profile
Re: Wheezy server for SD, SATA or NAND with hotspot - update 2.6.2014
« Reply #596 on: June 12, 2014, 02:00:46 pm »
I just performed the 1.7 -> 1.8 upgrade (then a reboot), followed by the 1.8 > 1.9 upgrade (reboot), followed by the kernel upgrade (reboot).
However, most of my services no longer start automatically (eg samba, logitechmediaserver)
I have a backed up image of my working 1.7 install.
As far as I can tell, the:
/etc/init.d/.depend.boot
/etc/init.d/.depend.start
/etc/init.d/.depend.stop
Files in the 1.7 -> 1.8 upgrade have overwritten my versions.
Sure, I can extract the files from the image, then overwrite them again..
But is there a way to just have them re-generate automatically (so I don't risk missing anything)
Or is there a recommended way to merge the changes made during the upgrade?
Many thanks for your help (from an eager Linux beginner).
Regards,
Simon

It is possible to create proper automatic update system but this takes extra work/time which I can't find for various reasons :'(

My upgrade files are as is ...  more as a guidance. I know they are not properly prepared - It could be said: "for advanced users only / risky". ::)
Debian and Ubuntu images with kernel 3.4.110, 4.3.3, 4.4
http://www.armbian.com

Offline soundcheck

  • Jr. Member
  • **
  • Posts: 78
  • Karma: +0/-0
    • View Profile
Re: Wheezy server for SD, SATA or NAND with hotspot - update 2.6.2014
« Reply #597 on: June 13, 2014, 07:00:06 am »

Easy!
Code: [Select]
1. wget http://downloads.slimdevices.com/nightly/7.8/sc/3871f55/logitechmediaserver_7.8.1~1402481566_all.deb

2. dpkg -i logitechmediaserver_7.8.1~1402481566_all.deb


Easy!?!??  ::)

It's not working for me. LMS goes into cyclic restart. I also tried 7.9.1-nightly and the Raspberry Pi instructions you guys refered to in another thread over here.
No luck so far.

I'm running jessie btw.


Offline castalla

  • Developer
  • Full Member
  • ***
  • Posts: 106
  • Karma: +3/-0
    • View Profile
Re: Wheezy server for SD, SATA or NAND with hotspot - update 2.6.2014
« Reply #598 on: June 13, 2014, 07:37:08 am »

Easy!
Code: [Select]
1. wget http://downloads.slimdevices.com/nightly/7.8/sc/3871f55/logitechmediaserver_7.8.1~1402481566_all.deb

2. dpkg -i logitechmediaserver_7.8.1~1402481566_all.deb


Easy!?!??  ::)

It's not working for me. LMS goes into cyclic restart. I also tried 7.9.1-nightly and the Raspberry Pi instructions you guys refered to in another thread over here.
No luck so far.

I'm running jessie btw.

Strange.   You need to look at the server log to see if there's a clue to why it's restarting. 

There's no longer any need to make the Pi changes as later 7.8.1 versions are self-contained.

Offline soundcheck

  • Jr. Member
  • **
  • Posts: 78
  • Karma: +0/-0
    • View Profile
Re: Wheezy server for SD, SATA or NAND with hotspot - update 2.6.2014
« Reply #599 on: June 13, 2014, 10:06:40 am »
@castalla

I think I have a perl issue. When running: /usr/sbin/squeezeboxserver

I'll get

Code: [Select]
The following modules failed to load: DBI EV XML::Parser::Expat HTML::Parser JSON::XS Digest::SHA1 YAML::XS Sub::Name

On jessie I have perl 5.18.2

Code: [Select]
perl -version

This is perl 5, version 18, subversion 2 (v5.18.2) built for arm-linux-gnueabihf-thread-multi-64int
(with 41 registered patches, see perl -V for more detail)


What perl are you running?
« Last Edit: June 13, 2014, 10:18:22 am by soundcheck »