The officially official Devuan Forum!

You are not logged in.

#1 2018-02-11 12:49:09

devuan_dk_fan
Member
Registered: 2018-01-10
Posts: 90  

(SOLVED)Minimal, vanilla Devuan i3 Jessie, Aspire One 725 wifi & sound

As far as I can ascertain, the Aspire One 725 uses a Broadcom BCM43228 card. I have followed the Debian wiki advice https://wiki.debian.org/wl. Here is the output:

# apt-get install linux-image-$(uname -r|sed 's,[^-]*-[^-]*-,,') linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') broadcom-sta-dkms
Reading package lists... Done
Building dependency tree       
The following extra packages will be installed:
  cpp-4.8 dkms gcc gcc-4.8 gcc-4.9 libasan0 libasan1 libatomic1 libcilkrts5 libgcc-4.8-dev libgcc-4.9-dev libitm1 liblsan0 libtsan0 libubsan0
  linux-compiler-gcc-4.8-x86 linux-headers-3.16.0-5-amd64 linux-headers-3.16.0-5-common linux-image-3.16.0-5-amd64 linux-kbuild-3.16 make
Suggested packages:
  gcc-4.8-locales gcc-multilib manpages-dev autoconf automake libtool flex bison gdb gcc-doc gcc-4.8-multilib gcc-4.8-doc libgcc1-dbg libgomp1-dbg
  libitm1-dbg libatomic1-dbg libasan0-dbg libtsan0-dbg libquadmath0-dbg gcc-4.9-multilib gcc-4.9-doc gcc-4.9-locales libasan1-dbg liblsan0-dbg
  libubsan0-dbg libcilkrts5-dbg linux-doc-3.16 debian-kernel-handbook make-doc
Recommended packages:
  fakeroot linux-image libc6-dev libc-dev firmware-linux-free irqbalance
The following NEW packages will be installed:
  broadcom-sta-dkms cpp-4.8 dkms gcc gcc-4.8 gcc-4.9 libasan0 libasan1 libatomic1 libcilkrts5 libgcc-4.8-dev libgcc-4.9-dev libitm1 liblsan0
  libtsan0 libubsan0 linux-compiler-gcc-4.8-x86 linux-headers-3.16.0-5-amd64 linux-headers-3.16.0-5-common linux-headers-amd64
  linux-image-3.16.0-5-amd64 linux-image-amd64 linux-kbuild-3.16 make
0 upgraded, 24 newly installed, 0 to remove and 0 not upgraded.
Need to get 61,4 MB of archives.
After this operation, 273 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://dk.mirror.devuan.org/merged/ jessie/main libasan0 amd64 4.8.4-1 [63,3 kB]
Get:2 http://dk.mirror.devuan.org/merged/ jessie/main libasan1 amd64 4.9.2-10 [195 kB]
Get:3 http://dk.mirror.devuan.org/merged/ jessie/main libatomic1 amd64 4.9.2-10 [8.992 B]
Get:4 http://dk.mirror.devuan.org/merged/ jessie/main libcilkrts5 amd64 4.9.2-10 [40,1 kB]
Get:5 http://dk.mirror.devuan.org/merged/ jessie/main libitm1 amd64 4.9.2-10 [29,2 kB]
Get:6 http://dk.mirror.devuan.org/merged/ jessie/main liblsan0 amd64 4.9.2-10 [92,8 kB]
Get:7 http://dk.mirror.devuan.org/merged/ jessie/main libtsan0 amd64 4.9.2-10 [212 kB]
Get:8 http://dk.mirror.devuan.org/merged/ jessie/main libubsan0 amd64 4.9.2-10 [82,4 kB]
Get:9 http://dk.mirror.devuan.org/merged/ jessie-security/main linux-image-3.16.0-5-amd64 amd64 3.16.51-3+deb8u1 [34,0 MB]
Get:10 http://dk.mirror.devuan.org/merged/ jessie/main libgcc-4.9-dev amd64 4.9.2-10 [2.066 kB]                                                     
Get:11 http://dk.mirror.devuan.org/merged/ jessie/main gcc-4.9 amd64 4.9.2-10 [5.352 kB]                                                            
Get:12 http://dk.mirror.devuan.org/merged/ jessie/main gcc amd64 4:4.9.2-2 [5.136 B]                                                                
Get:13 http://dk.mirror.devuan.org/merged/ jessie/main make amd64 4.0-8.1 [349 kB]                                                                  
Get:14 http://dk.mirror.devuan.org/merged/ jessie/main dkms all 2.2.0.3-2 [70,9 kB]                                                                 
Get:15 http://dk.mirror.devuan.org/merged/ jessie/non-free broadcom-sta-dkms all 6.30.223.248-3 [2.170 kB]                                          
Get:16 http://dk.mirror.devuan.org/merged/ jessie/main cpp-4.8 amd64 4.8.4-1 [4.577 kB]                                                             
Get:17 http://dk.mirror.devuan.org/merged/ jessie/main libgcc-4.8-dev amd64 4.8.4-1 [1.689 kB]                                                      
Get:18 http://dk.mirror.devuan.org/merged/ jessie/main gcc-4.8 amd64 4.8.4-1 [4.787 kB]                                                             
Get:19 http://dk.mirror.devuan.org/merged/ jessie-security/main linux-compiler-gcc-4.8-x86 amd64 3.16.51-3+deb8u1 [382 kB]                          
Get:20 http://dk.mirror.devuan.org/merged/ jessie-security/main linux-headers-3.16.0-5-common amd64 3.16.51-3+deb8u1 [4.584 kB]                     
Get:21 http://dk.mirror.devuan.org/merged/ jessie/main linux-kbuild-3.16 amd64 3.16.7-ckt20-1 [174 kB]                                              
Get:22 http://dk.mirror.devuan.org/merged/ jessie-security/main linux-headers-3.16.0-5-amd64 amd64 3.16.51-3+deb8u1 [452 kB]                        
Get:23 http://dk.mirror.devuan.org/merged/ jessie-security/main linux-headers-amd64 amd64 3.16+63+deb8u1 [5.086 B]                                  
Get:24 http://dk.mirror.devuan.org/merged/ jessie-security/main linux-image-amd64 amd64 3.16+63+deb8u1 [5.844 B]                                    
Fetched 61,4 MB in 17s (3.498 kB/s)                                                                                                                 
Preconfiguring packages ...
Selecting previously unselected package libasan0:amd64.
(Reading database ... 66296 files and directories currently installed.)
Preparing to unpack .../libasan0_4.8.4-1_amd64.deb ...
Unpacking libasan0:amd64 (4.8.4-1) ...
Selecting previously unselected package libasan1:amd64.
Preparing to unpack .../libasan1_4.9.2-10_amd64.deb ...
Unpacking libasan1:amd64 (4.9.2-10) ...
Selecting previously unselected package libatomic1:amd64.
Preparing to unpack .../libatomic1_4.9.2-10_amd64.deb ...
Unpacking libatomic1:amd64 (4.9.2-10) ...
Selecting previously unselected package libcilkrts5:amd64.
Preparing to unpack .../libcilkrts5_4.9.2-10_amd64.deb ...
Unpacking libcilkrts5:amd64 (4.9.2-10) ...
Selecting previously unselected package libitm1:amd64.
Preparing to unpack .../libitm1_4.9.2-10_amd64.deb ...
Unpacking libitm1:amd64 (4.9.2-10) ...
Selecting previously unselected package liblsan0:amd64.
Preparing to unpack .../liblsan0_4.9.2-10_amd64.deb ...
Unpacking liblsan0:amd64 (4.9.2-10) ...
Selecting previously unselected package libtsan0:amd64.
Preparing to unpack .../libtsan0_4.9.2-10_amd64.deb ...
Unpacking libtsan0:amd64 (4.9.2-10) ...
Selecting previously unselected package libubsan0:amd64.
Preparing to unpack .../libubsan0_4.9.2-10_amd64.deb ...
Unpacking libubsan0:amd64 (4.9.2-10) ...
Selecting previously unselected package linux-image-3.16.0-5-amd64.
Preparing to unpack .../linux-image-3.16.0-5-amd64_3.16.51-3+deb8u1_amd64.deb ...
Unpacking linux-image-3.16.0-5-amd64 (3.16.51-3+deb8u1) ...
Selecting previously unselected package libgcc-4.9-dev:amd64.
Preparing to unpack .../libgcc-4.9-dev_4.9.2-10_amd64.deb ...
Unpacking libgcc-4.9-dev:amd64 (4.9.2-10) ...
Selecting previously unselected package gcc-4.9.
Preparing to unpack .../gcc-4.9_4.9.2-10_amd64.deb ...
Unpacking gcc-4.9 (4.9.2-10) ...
Selecting previously unselected package gcc.
Preparing to unpack .../gcc_4%3a4.9.2-2_amd64.deb ...
Unpacking gcc (4:4.9.2-2) ...
Selecting previously unselected package make.
Preparing to unpack .../make_4.0-8.1_amd64.deb ...
Unpacking make (4.0-8.1) ...
Selecting previously unselected package dkms.
Preparing to unpack .../dkms_2.2.0.3-2_all.deb ...
Unpacking dkms (2.2.0.3-2) ...
Selecting previously unselected package broadcom-sta-dkms.
Preparing to unpack .../broadcom-sta-dkms_6.30.223.248-3_all.deb ...
Unpacking broadcom-sta-dkms (6.30.223.248-3) ...
Selecting previously unselected package cpp-4.8.
Preparing to unpack .../cpp-4.8_4.8.4-1_amd64.deb ...
Unpacking cpp-4.8 (4.8.4-1) ...
Selecting previously unselected package libgcc-4.8-dev:amd64.
Preparing to unpack .../libgcc-4.8-dev_4.8.4-1_amd64.deb ...
Unpacking libgcc-4.8-dev:amd64 (4.8.4-1) ...
Selecting previously unselected package gcc-4.8.
Preparing to unpack .../gcc-4.8_4.8.4-1_amd64.deb ...
Unpacking gcc-4.8 (4.8.4-1) ...
Selecting previously unselected package linux-compiler-gcc-4.8-x86.
Preparing to unpack .../linux-compiler-gcc-4.8-x86_3.16.51-3+deb8u1_amd64.deb ...
Unpacking linux-compiler-gcc-4.8-x86 (3.16.51-3+deb8u1) ...
Selecting previously unselected package linux-headers-3.16.0-5-common.
Preparing to unpack .../linux-headers-3.16.0-5-common_3.16.51-3+deb8u1_amd64.deb ...
Unpacking linux-headers-3.16.0-5-common (3.16.51-3+deb8u1) ...
Selecting previously unselected package linux-kbuild-3.16.
Preparing to unpack .../linux-kbuild-3.16_3.16.7-ckt20-1_amd64.deb ...
Unpacking linux-kbuild-3.16 (3.16.7-ckt20-1) ...
Selecting previously unselected package linux-headers-3.16.0-5-amd64.
Preparing to unpack .../linux-headers-3.16.0-5-amd64_3.16.51-3+deb8u1_amd64.deb ...
Unpacking linux-headers-3.16.0-5-amd64 (3.16.51-3+deb8u1) ...
Selecting previously unselected package linux-headers-amd64.
Preparing to unpack .../linux-headers-amd64_3.16+63+deb8u1_amd64.deb ...
Unpacking linux-headers-amd64 (3.16+63+deb8u1) ...
Selecting previously unselected package linux-image-amd64.
Preparing to unpack .../linux-image-amd64_3.16+63+deb8u1_amd64.deb ...
Unpacking linux-image-amd64 (3.16+63+deb8u1) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up libasan0:amd64 (4.8.4-1) ...
Setting up libasan1:amd64 (4.9.2-10) ...
Setting up libatomic1:amd64 (4.9.2-10) ...
Setting up libcilkrts5:amd64 (4.9.2-10) ...
Setting up libitm1:amd64 (4.9.2-10) ...
Setting up liblsan0:amd64 (4.9.2-10) ...
Setting up libtsan0:amd64 (4.9.2-10) ...
Setting up libubsan0:amd64 (4.9.2-10) ...
Setting up linux-image-3.16.0-5-amd64 (3.16.51-3+deb8u1) ...
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-3.16.0-5-amd64
/etc/kernel/postinst.d/zz-update-grub:
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.16.0-5-amd64
Found initrd image: /boot/initrd.img-3.16.0-5-amd64
Found linux image: /boot/vmlinuz-3.16.0-4-amd64
Found initrd image: /boot/initrd.img-3.16.0-4-amd64
done
Setting up libgcc-4.9-dev:amd64 (4.9.2-10) ...
Setting up gcc-4.9 (4.9.2-10) ...
Setting up gcc (4:4.9.2-2) ...
Setting up make (4.0-8.1) ...
Setting up dkms (2.2.0.3-2) ...
Setting up broadcom-sta-dkms (6.30.223.248-3) ...
Loading new broadcom-sta-6.30.223.248 DKMS files...
First Installation: checking all kernels...
Building for 3.16.0-4-amd64 and 3.16.0-5-amd64
Module build for the currently running kernel was skipped since the
kernel source for this kernel does not seem to be installed.
Building initial module for 3.16.0-5-amd64
Done.

wl:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/3.16.0-5-amd64/updates/dkms/

depmod....

Backing up initrd.img-3.16.0-5-amd64 to /boot/initrd.img-3.16.0-5-amd64.old-dkms
Making new initrd.img-3.16.0-5-amd64
(If next boot fails, revert to initrd.img-3.16.0-5-amd64.old-dkms image)
update-initramfs....

DKMS: install completed.
Setting up cpp-4.8 (4.8.4-1) ...
Setting up libgcc-4.8-dev:amd64 (4.8.4-1) ...
Setting up gcc-4.8 (4.8.4-1) ...
Setting up linux-compiler-gcc-4.8-x86 (3.16.51-3+deb8u1) ...
Setting up linux-headers-3.16.0-5-common (3.16.51-3+deb8u1) ...
Setting up linux-kbuild-3.16 (3.16.7-ckt20-1) ...
Setting up linux-headers-3.16.0-5-amd64 (3.16.51-3+deb8u1) ...
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms 3.16.0-5-amd64
Setting up linux-headers-amd64 (3.16+63+deb8u1) ...
Setting up linux-image-amd64 (3.16+63+deb8u1) ...
Processing triggers for libc-bin (2.19-18+deb8u10) ...
Processing triggers for initramfs-tools (0.120+deb8u3) ...
update-initramfs: Generating /boot/initrd.img-3.16.0-5-amd64
root@stealth:/home/username# modprobe -r b44 b43 b43legacy ssb brcmsmac bcma
# modprobe wl

However, I still have no functioning wifi.

Regarding sound, the Aspire One 725 has a Realtek ALC271X sound card, and I have firmware-realtech and PulseAudio installed and can see movement in pavucontrol. When I try to run volti in a terminal, I get:

$ volti
[alsactrl.py:__init__:41] can't open Master control for card Generic, trying to select first available mixer channel

[alsactrl.py:__init__:49] can't open first available control for card Generic
error: list index out of range
Traceback (most recent call last):
  File "/usr/bin/volti", line 53, in <module>
    volti = main.VolumeTray()
  File "/usr/lib/volti/volti/main.py", line 124, in __init__
    self.watchid = gobject.io_add_watch(fd, eventmask, self.update)
TypeError: an integer is required

Any ideas?

----

Hmm. OK, I wasn't aware that there is a button to unmute in pavucontrol as I always use volti (which still isn't working for  some reason). I installed pasystray, which works, but kicks up errors and isn't as useful to me as volti:

$ pasystray

** (pasystray:29866): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files

** (pasystray:29866): WARNING **: Error initializing Avahi: Daemon not running
** Message: volume:65536
** Message: volume:65536
** Message: volume:65536
** Message: volume:65536
** Message: volume:65536

(pasystray:29866): GLib-GObject-CRITICAL **: g_object_set_data: assertion 'G_IS_OBJECT (object)' failed

(pasystray:29866): GLib-GObject-CRITICAL **: g_object_set_data: assertion 'G_IS_OBJECT (object)' failed

(pasystray:29866): GLib-GObject-CRITICAL **: g_object_set_data: assertion 'G_IS_OBJECT (object)' failed

(pasystray:29866): GLib-GObject-CRITICAL **: g_object_set_data: assertion 'G_IS_OBJECT (object)' failed

(pasystray:29866): GLib-GObject-CRITICAL **: g_object_set_data: assertion 'G_IS_OBJECT (object)' failed

(pasystray:29866): GLib-GObject-CRITICAL **: g_object_set_data: assertion 'G_IS_OBJECT (object)' failed

Not sure what causes it, but the solution to get volti running is to edit the /home/username/.config/volti/config file and change

card_index = 0

to

card_index = 1

.
----

scale_show_value = 0

can also be changed to

scale_show_value = 1

Last edited by devuan_dk_fan (2018-02-11 23:21:17)


Military justice is to justice what military music is to music. - Groucho Marx

Offline

#2 2018-02-11 23:20:03

devuan_dk_fan
Member
Registered: 2018-01-10
Posts: 90  

Re: (SOLVED)Minimal, vanilla Devuan i3 Jessie, Aspire One 725 wifi & sound

I finally got the wifi to work. I uninstalled broadcom-sta-dkms and reran the command from the beginning post, ran the suggested commands in the Debian Wiki after the build/install went fine and then added wlan0 to the Wicd client preferences. Case closed


Military justice is to justice what military music is to music. - Groucho Marx

Offline

#3 2018-02-12 14:37:13

cynwulf
Member
Registered: 2017-10-09
Posts: 178  

Re: (SOLVED)Minimal, vanilla Devuan i3 Jessie, Aspire One 725 wifi & sound

For future reference - there was a kernel upgrade (3.16.0-4-amd64 to 3.16.0-5-amd64) at the same time as your installation of the broadcom-sta / wl driver package.

You can see that dkms complains about their being no headers, for the running kernel etc.

Running a full upgrade first would have resolved this.

devuan_dk_fan wrote:
# apt-get install linux-image-$(uname -r|sed 's,[^-]*-[^-]*-,,') linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') broadcom-sta-dkms
[...]
The following NEW packages will be installed:
  broadcom-sta-dkms cpp-4.8 dkms gcc gcc-4.8 gcc-4.9 libasan0 libasan1 libatomic1 libcilkrts5 libgcc-4.8-dev libgcc-4.9-dev libitm1 liblsan0
  libtsan0 libubsan0 linux-compiler-gcc-4.8-x86 linux-headers-3.16.0-5-amd64 linux-headers-3.16.0-5-common linux-headers-amd64
  linux-image-3.16.0-5-amd64 linux-image-amd64 linux-kbuild-3.16 make

[...]

Loading new broadcom-sta-6.30.223.248 DKMS files...
First Installation: checking all kernels...
Building for 3.16.0-4-amd64 and 3.16.0-5-amd64
Module build for the currently running kernel was skipped since the
kernel source for this kernel does not seem to be installed.
Building initial module for 3.16.0-5-amd64
Done.

wl:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/3.16.0-5-amd64/updates/dkms/

depmod....

Backing up initrd.img-3.16.0-5-amd64 to /boot/initrd.img-3.16.0-5-amd64.old-dkms
Making new initrd.img-3.16.0-5-amd64
(If next boot fails, revert to initrd.img-3.16.0-5-amd64.old-dkms image)
update-initramfs....

DKMS: install completed.

Last edited by cynwulf (2018-02-12 14:37:51)

Offline

#4 2018-02-12 14:58:40

devuan_dk_fan
Member
Registered: 2018-01-10
Posts: 90  

Re: (SOLVED)Minimal, vanilla Devuan i3 Jessie, Aspire One 725 wifi & sound

Ah. Many thanks for the info. I am a bit outside my comfort zone, but I am up for a challenge.


Military justice is to justice what military music is to music. - Groucho Marx

Offline

Board footer