October 22, 2019, 09:45:38 am

News:

Have you visited the Allwinner Chipset wiki? - http://linux-sunxi.org/


Buster, Xenial and Bionic - updated 6.7.2019

Started by slovenia, December 24, 2013, 03:23:11 pm

Previous topic - Next topic

castalla

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.

slovenia

Quote from: castalla on June 19, 2014, 08:58:14 am
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 ...
Debian and Ubuntu images with kernel 3.4.110, 4.3.3, 4.4
http://www.armbian.com

castalla

Quote from: slovenia on June 19, 2014, 01:40:29 pm
Quote from: castalla on June 19, 2014, 08:58:14 am
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. 

sam.smith

How can I install java?

I tried

apt-get install default-jre ffmpeg libavcodec-extra-53 libavformat-extra-53 dcraw unzip

but I get

Reading package lists... Done
Building dependency tree     
Reading state information... Done
unzip is already the newest version.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
default-jre : Depends: default-jre-headless (= 1:1.6-47) but it is not going to be installed
               Depends: openjdk-6-jre (>= 6b23~pre8-2~) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

twist

Hallo,

i have a question about updating.

I unpack the update and overwrite the memory card on ct with it and reboot.
Must i do some thing else to complete the update?

DEVIL

tar xvfzp CTDebian_X.X_kernel_mod_head_fw.tgz
reboot

Thats all.

david88

Quote from: playassoff on June 18, 2014, 02:19:13 pm
Hello everyone,

I have problem with Sunxi-IR module. Of course I'm using this image, current version 2.1.

My hardware.conf:

root@cubie:/etc/lirc# cat hardware.conf

#Chosen Remote Control
REMOTE="Custom"
REMOTE_MODULES="sunxi_lirc"
REMOTE_DRIVER="default"
# REMOTE_DEVICE=""
REMOTE_DEVICE="/dev/lirc1"
REMOTE_SOCKET="/dev/lircd"
#REMOTE_SOCKET="/var/run/lirc/lircd"

REMOTE_LIRCD_CONF="/etc/lirc/lircd.conf"
REMOTE_LIRCD_ARGS=""

#Chosen IR Transmitter
TRANSMITTER="Custom"
TRANSMITTER_MODULES="lirc_gpio"
TRANSMITTER_DRIVER="default"
TRANSMITTER_DEVICE="/dev/lirc0"
TRANSMITTER_SOCKET="/dev/lircd"
TRANSMITTER_LIRCD_CONF="/etc/lirc/lircd.conf"
TRANSMITTER_LIRCD_ARGS=""

#Enable lircd
START_LIRCD="true"

#Don't start lircmd even if there seems to be a good config file
#START_LIRCMD="false"

#Try to load appropriate kernel modules
LOAD_MODULES="true"

# Default configuration files for your hardware if any
LIRCMD_CONF=""

FORCE_NONINTERACTIVE_RECONFIGURATION="false"
START_LIRCMD="true"


0. First of all I'm trying to check if sunxi-ir is working.

root@cubie:/etc/lirc# service lirc stop

root@cubie:/etc/lirc# cat /dev/lirc1 | hexdump
0000000 22aa 0100 1194 0000 022b 0100 0215 0000
0000010 0215 0100 0215 0000 022b 0100 0215 0000
0000040 0215 0100 022a 0000 0215 0100 066a 0000
0000050 022b 0100 067f 0000 0215 0100 067f 0000
0000060 0215 0100 067f 0000 01d5 0100 06bf 0000
0000070 0215 0100 067f 0000 022b 0100 066a 0000
..and so on

and
root@cubie:/etc/lirc# mode2 -d /dev/lirc1
pulse 8938
space 4436
pulse 533
space 533
pulse 555
space 533
...and so on


It looks that everything is OK.

1. I tried to record pilot config. And this is result:

root@cubie:/etc/lirc# irrecord -d /dev/lirc0 --disable-namespace test.conf
Press RETURN now to start recording.
................................................................................
Found gap: 16275
Please keep on pressing buttons like described above.
................................................................................
Space/pulse encoded remote control found.
Signal length is 67.
No header data.
Found trail pulse: 543
Found repeat code: 8919 2223
Found repeat gap: 16275
Signals are space encoded.
Signal length is 33
Now enter the names for the buttons.

Please enter the name for the next button (press <ENTER> to finish recording)
POWER

Now hold down button "POWER".
Something went wrong. Please try again. (9 retries left)
Something went wrong. Please try again. (8 retries left)
Something went wrong. Please try again. (7 retries left)
Something went wrong. Please try again. (6 retries left)
Something went wrong. Please try again. (5 retries left)
Something went wrong. Please try again. (4 retries left)
Something went wrong. Please try again. (3 retries left)
Something went wrong. Please try again. (2 retries left)
Something went wrong. Please try again. (1 retries left)
Something went wrong.
Try using the -f option.


With -f option or without --disable-namespace result is always the same. I have no idea what I'm doing wrong. Hardware.conf is not configured correctly?

Here is generated test.conf:
root@cubie:/etc/lirc# cat test.conf

# Please make this file available to others
# by sending it to <lirc@bartelmus.de>
#
# this config file was automatically generated
# using lirc-0.9.0-pre1(default) on Wed Jun 18 18:07:27 2014
#
# contributed by
#
# brand:                       test.conf
# model no. of remote control:
# devices being controlled by this remote:
#

begin remote

  name  test.conf
  bits           33
  flags SPACE_ENC
  eps            30
  aeps          100

  one           537  1658
  zero          537   540
  ptrail        543
  repeat       8919  2223
  gap          16275
  repeat_gap   16275
  toggle_bit_mask 0x0

      begin codes
      end codes

end remote



I also was not able to get the "sunxi_lirc" module, which is installed and configured per default, to work. It was not able to recognize any of my IR remotes, even though they worked with the older "sunxi_ir" module.

The only way to solve this for me was to remove the sunxi_lirc and gpio modules and use the plain old sunxi_ir with the old config files. With that it works perfect without any problems.

Not sure why the new modules seem to break it.

slovenia

QuoteI also was not able to get the "sunxi_lirc" module, which is installed and configured per default, to work. It was not able to recognize any of my IR remotes, even though they worked with the older "sunxi_ir" module.

The only way to solve this for me was to remove the sunxi_lirc and gpio modules and use the plain old sunxi_ir with the old config files. With that it works perfect without any problems.

Not sure why the new modules seem to break it.


We found some bug  :( >:( in latest kernel build (2.1 / 3.4.93) which could be related to this issue. I advise to downgrade a kernel package to 3.4.91. Just untgz to /

http://cubie.nobrainz.de/downloads/CTDebian_2.0_kernel_mod_head_fw.tgz

Please report if this helps in this case too.
Debian and Ubuntu images with kernel 3.4.110, 4.3.3, 4.4
http://www.armbian.com

sam.smith

I have managed to install java now.
The solution was to add to file sources.list the proposed updates.

deb http://ftp.freenet.de/debian/ wheezy-proposed-updates main contrib non-free

reolee

Used the version 2.1 hdmi
Couldn't get bluetooth work

# service bluetooth status
[ ok ] bluetooth is running.
# hcitool scan
Device is not available: No such device
# hcitool dev
Devices:
# service bluetooth restart
[ ok ] Stopping bluetooth: rfcomm /usr/sbin/bluetoothd.
[ ok ] Starting bluetooth: bluetoothd rfcomm.
# hcitool dev
Devices:

slovenia

Quote from: reolee on June 22, 2014, 03:12:07 am
Used the version 2.1 hdmi
Couldn't get bluetooth work

# service bluetooth status
[ ok ] bluetooth is running.
# hcitool scan
Device is not available: No such device
# hcitool dev
Devices:
# service bluetooth restart
[ ok ] Stopping bluetooth: rfcomm /usr/sbin/bluetoothd.
[ ok ] Starting bluetooth: bluetoothd rfcomm.
# hcitool dev
Devices:



Bluetooth Cubietruck way:
http://linux-sunxi.org/Cubietruck/Bluetooth

My script is doing that and it's the only but not a 100% bullet proof solution. Sometimes the firmware simply does not load and we haven't found any other solution that rebooting and hope the next time loads.

It's better than "not working at all" :) :P

Debian and Ubuntu images with kernel 3.4.110, 4.3.3, 4.4
http://www.armbian.com

vanfanel

Hi! This distro is fantastic, and I adapted it to my needs, but there is a little problem with the kernel: fbdev has wait-for-vsync disabled EVEN if eglSwapInterval() sets it otherwise.
So, can you please uncomment line 1074 from drivers/video/sunxi/disp/dev_fb.c ??
The line in question is:

        // Fb_wait_for_vsync(info);

It won't affect system performance AT ALL. It will simply allow us to have wait for vsync active in GLES apps.
Thanks!

auxr00t

I just installed the 2.1 HDMI image on a 16 gigabyte uSD card.

For some reason, it did not auto resize the root partition. It is still just 1 gigabyte.

Suggestions?

auxr00t

Wow, never mind! I guess it never did the initial reboot. I just rebooted it for what I thought was the second time, and the partition is resized. That must have been the first reboot.

AndiBcool

I did try the latest version and used a cubietruck with ssd build in. The image did not resize or reboot.
I did try it 2 times also the LEDs didnt went out.
I did not try it before with a SSD attached at the Sata port.
I did plug the sd to my 2nd cubie without ssd and it did resize just fine.


On a side note i think linux headers are not in the right directory.

On a side not i wonder how you resize the SD while you use this image. Most guides tell me, i need some other PC with linux to do that.