Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - castalla

Pages: [1] 2 3 ... 8
1
Beginners / Re: Help for a Dutch dombo.....
« on: July 21, 2014, 06:40:23 pm »
Can't help with your nand issues.

But, the cb will boot from a sd card if it finds one.

How are you setting up the sd card?  Which program are you using to create the sd image?

2
For SD:

I assume you know how to work with vi

Code: [Select]
cd /boot
cp ct-hdmi.bin ct-hdmi.bin.orig
bin2fex ct-hdmi.bin ct-hdmi.fex
vi ct-hdmi.fex

Now you'll find blocks for each HW feature
e.g.
"leds_used = 1"

The ones you want to disable you change to "0".

You save the file and exit.

Now you have to convert the fex back to bin .

Code: [Select]
fex2bin ct-hdmi.fex ct-hdmi.bin
shutdown -r 0

Here we go.

On Nand you have to mount /dev/nand1 first. There is no /boot !

Code: [Select]
mount /dev/nand1 /mnt
cd /mnt
....same as above (no cd /boot and use script.bin/fex instead of ct-hdmi.bin/fex)

To get a nice overview of enabled/disabled features type :

Code: [Select]
grep -i  "used =" /boot/ct-hdmi.fex


Good luck.

Thanks.

3
Why? Because it's good to have some visual sign of booting which ended later on with this script.

 

I'd guess that many of the users, who run the CT headless, don't need LCD,HDMI,IR,LED,Bluetooth,DAC,SPDIF,WLAN.... to be turned on. Yep. It's all "on" by default.

I strongly recommend to other users:

Turn everything off that you don't need on your machine. On my headless server setup I turned the majority of HW features off and removed the corresponding modules from /etc/modules.

Enjoy.

Okay - how do we turn off the hardware features, such as LCD, etc ????

4
want to set up bluetooth soundbar, but can't find asound.conf

You can simply create an asound.conf in /etc

I have BT working using an external bt dongle.   Setting up pairing was a pain  I'd be interested to hear what procedure you are using to pair and trust the audio device.

Follow this article:
http://linuxcommando.blogspot.com/2013/11/how-to-connect-to-bluetooth.html

I use jabra solemate mini and mpd to play music,  It looks like paired and trusted, but I can't make any sound through bluetooth.

Thanks for the link

I use bt with squeezelite where you can specify the audio device (eg. BOOM).

Here's the asound.conf that I use - you will need to edit it:

Code: [Select]
pcm.!default {
type plug
slave.pcm "hw:0,0"
}

ctl.dmixer {
type hw
card 0
}

pcm.BOOM {
    type plug
    slave {
        pcm {
            type bluetooth
            device 10:B7:F6:00:46:40
            profile "auto"
        }   
    }   

    hint {
        show on
        description "Bluetooth BOOM audio output device"
    }   
 }

 ctl.BOOM {
   type bluetooth
 }

You also need audio.conf  which is located in /etc/bluetooth

Code: [Select]
# Configuration file for the audio service

# This section contains options which are not specific to any
# particular interface
[General]

Enable=Source,Sink,Media,Socket
Master=true
SCORouting=PCM
AutoConnect=true

# Switch to master role for incoming connections (defaults to true)
#Master=true

# If we want to disable support for specific services
# Defaults to supporting all implemented services
#Disable=Control,Source

# SCO routing. Either PCM or HCI (in which case audio is routed to/from ALSA)
# Defaults to HCI
#SCORouting=PCM

# Automatically connect both A2DP and HFP/HSP profiles for incoming
# connections. Some headsets that support both profiles will only connect the
# other one automatically so the default setting of true is usually a good
# idea.
#AutoConnect=true

# Headset interface specific options (i.e. options which affect how the audio
# service interacts with remote headset devices)
[Headset]

# Set to true to support HFP, false means only HSP is supported
# Defaults to true
HFP=true

# Maximum number of connected HSP/HFP devices per adapter. Defaults to 1
MaxConnected=1

# Set to true to enable use of fast connectable mode (faster page scanning)
# for HFP when incomming call starts. Default settings are restored after
# call is answered or rejected. Page scan interval is much shorter and page
# scan type changed to interlaced. Such allows faster connection initiated
# by a headset.
FastConnectable=false

# Just an example of potential config options for the other interfaces
#[A2DP]
#SBCSources=1
#MPEG12Sources=0

5
want to set up bluetooth soundbar, but can't find asound.conf

You can simply create an asound.conf in /etc

I have BT working using an external bt dongle.   Setting up pairing was a pain  I'd be interested to hear what procedure you are using to pair and trust the audio device.

6
I find pairing and connecting bt audio devices very hit and miss. 

Does anyone have a working script or set of commands to carry out reliable pairing?

7
I have been running version 1.9 using a usb BT dongle with success. 

However, I suspect that the 2.1 update (which fixes onboard BT) creates problems for the BT dongle as it no longer plays audio.

I've reverted to 1.9 and BT sound is back.

Now you should have two bluetooth devices? Maybe you should only alter the configuration? I haven't change anything else regarding Bluetooth system, only loading the driver. "Only" means loading one module and loading firmware ...


Sorry - forgot to mention that tis is on the ibox which doesn't have onboard bt. 

8
I have been running version 1.9 using a usb BT dongle with success. 

However, I suspect that the 2.1 update (which fixes onboard BT) creates problems for the BT dongle as it no longer plays audio.

I've reverted to 1.9 and BT sound is back.

9
General Discussion / Re: IBOX - a Cubieboard A20 variant
« on: June 17, 2014, 12:33:08 pm »
I got my Ibox running on stock android with TP link 750 Nano wifi adapter. But, the playstore is not full and also, youtube is not playing when I tried it on  browser. It's saying  buffering and never loading the video. Anyone has idea?
today, i am planning to boot on Debian flashed SD card and start learning.
 Overall, the ibox is interesting device, but if iTead can  have strong user forum like Cubie, then it would be big success. Hope, itead guys listens to us.

The lack of support of any kind will probably kill this box.

Pity because it works well.

10
@castalla

Last comment about my LMS subject


Regarding "EASY". What's your setup? Are you actually running slovenias image?

Wheezy comes with Perl 5.14 and Jessie with 5.18. And LMS <=7.9.0 just supports <= 5.14 on ARM.

The ways out:
* Either I use Wheezy, but that gets me back to rather crappy (for ARM)  gcc 4.6, or
* I manage to downgrade to Perl 5.14 on my Jessie image, or
* I manage to get an LMS with Perl 5.18 support for ARM.

Thx

Yes ... using the 2.0 version.  Works without any issues.

11
Just found this in LMS 7.8 buildme.sh

Code: [Select]
# Supported OSes:
#
# Linux (Perl 5.8.8, 5.10.0, 5.12.4, 5.14.1, 5.16.3)

I guess I need to downgrade perl??  Any ideas how to do it?

You might get some help on http://forums.slimdevices.com/index.php

12

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.

13

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


14
1. Login as root
2. Execute:
Code: [Select]
cd /
wget http://cubie.nobrainz.de/downloads/CTDebian_2.0_kernel_mod_head_fw.tgz
tar pxvfz CTDebian_2.0_kernel_mod_head_fw.tgz
reboot

@MrDialUp

Default way yes. I am not bothering to pack a kernel as it should be for normal apt-get update. I don't have energy to bother with that :P

Thanks

15
Hi slovenia,

I am interested in updating from 1.9 to 2.0. For past updates you have provided update packages for manual updating to the newer version. Would this also be possible for the newest version?

Would be very grateful!

Longahr

I'm interest too. But is this a critical update? Tnx

Just do a kernel upgrade which is available for download. The rest is not that important / critical.

Start here:  https://wiki.debian.org/HowToUpgradeKernel

Sorry, but for noobs that link is not very instructive!

How about somebody giving the code steps here?

Pages: [1] 2 3 ... 8