The officially official Devuan Forum!

You are not logged in.

#1 Re: Hardware & System Configuration » [SOLVED] Changing permissions on external drive » 2024-03-23 16:58:03

Fixed.

$ sudo umount /dev/sdb1
/dev/sdb1: recovering journal
/dev/sdb1 contains a file system with errors, check forced.
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Invalid inode number for '.' in directory inode 112197682.
Fix<y>? yes
Pass 3: Checking directory connectivity
'..' in /.Trash-1000/files/[file names]), should be /.Trash-1000/files/[file names].
Fix<y>? yes
/lost+found not found.  Create<y>? yes
Pass 4: Checking reference counts

Pressed y to all q's

/dev/sdb1: ***** FILE SYSTEM WAS MODIFIED *****

Read & Write restored 🙏
The new lost+found folder contains files that i had moved to Trash.
There's a new .Trash-1000 folder that contains .trashinfo file in the info folder. When i delete the file it replicates and adds a .trashinfo extension. I'll let it be.

Permissions problem was easier to fix than it looked, thank you for your help!

#2 Re: Hardware & System Configuration » [SOLVED] Changing permissions on external drive » 2024-03-01 22:03:50

rolfie

To clarify: Have you replaced the placeholder <user> with your username? And the placeholder <UUID> with the correct UUID of the device?

Yes, i replaced <user> and  <UUID> with the correct names, i double-checked with # blkid and # lsblk.

In Gparted i formatted the new WD Elements drive as ext4. I don't remember enabling the msftdata flag. Disabling the flag isn't possible, the key icon in the Partition column probably indicates the drive is locked. I can open files, copying files to the drive and editing isn't possible.

I have no clue how this switch could have happened. Just format the thing?

Thanks.

#3 Re: Hardware & System Configuration » [SOLVED] Changing permissions on external drive » 2024-03-01 18:55:02

Thank you.

# fsck /media/<user>/<UUID>

Returns error message:
fsck.ext2: Is a directory while trying to open /media/<user>/<UUID>

The superblock could not be read or does not describe a valid ext2/ext3/ext4

Commands:

# e2fsck -b 8193 <device> 
# e2fsck -b 32768 <device>

Error message:
e2fsck: Is a directory while trying to open /media/<user>/<UUID>

Gparted shows 2 partitions:
1. File system ext4
Flags: msftdata
2. File system 1 mb unallocated
No flags

Are these settings ok for a media drive?

#4 Hardware & System Configuration » [SOLVED] Changing permissions on external drive » 2024-02-29 21:49:10

Deze
Replies: 8

Hi,
An external ext4 formatted media drive has switched to read-only. I suspect a cheap usb hub is the culprit.
In Nautilus as Administrator, i can't change permissions, 'Error setting permissions: Read-only file system'

$ sudo chmod g+w /media/user/UUID

and reboot doesn't fix it.
Reformatting the drive would be a hassle. Are there other commands?

#5 Re: Desktop and Multimedia » [SOLVED] Bluetooth headphone not showing in PulseAudio/pavucontrol » 2023-02-12 14:49:10

dzz wrote:

You may also need to create ~/.asoundrc wih something like this (change "Port" and device "mac address" to suit.:

pcm.Port { 

	type bluealsa
	device "77:20:1E:FE:4E:E4"
	profile "a2dp"
	hint  { show on description "Port" }
}

I used bluez-alsa for a while with reasonable success but now finding pipewire more reliable. You can have both installed but if you try pipewire  bluealsa service should stopped and disabled in sysv-rc-conf..

blueman-applet seems the easiest way to search available devices, get info, set up.  Or bluetoothctl in a terminal.  Setup sequence is trust>pair>connect .. good luck..

I put the headphone's MAC and name in  ~/.asoundrc , no succes pairing.

Then pipewire
-In sysv-rc-conf unticked all boxes under bluez-alsa and pulseaudio.
-reboot
-In blueman-applet Set up new device, select headphone, Pair device, Failed to add device.
In blueman-applet in the Devices menu the headphone will now also not connect.

Edit: Oops skipped the first step, which is disconnect headphone from other devices. And.. headphone pairs with chimaera.

$ bluealsa-aplay -L
bluealsa:SRV=org.bluealsa,DEV=**:**:**:**:**:**,PROFILE=a2dp
    Yamaha YH-E700A, trusted , playback
    A2DP (SBC): S16_LE 2 channels 48000 Hz
bluealsa:SRV=org.bluealsa,DEV=**:**:**:**:**:**,PROFILE=sco
    Yamaha YH-E700A, trusted , capture
    SCO (CVSD): S16_LE 1 channel 8000 Hz
bluealsa:SRV=org.bluealsa,DEV=**:**:**:**:**:**,PROFILE=sco
    Yamaha YH-E700A, trusted , playback
    SCO (CVSD): S16_LE 1 channel 8000 Hz

Next challenge adding and selecting it in alsamixer.

Edit 2: Ok, working now. The problem was with the headphone and android. Removed saved headphone from android settings, installed Pulseaudio, connecting and audio playback successful. After connecting to the phone I do have to remove/add the headphone from blueman-applet to connect.

Thank you for the feedback.

#6 Re: Desktop and Multimedia » [SOLVED] Bluetooth headphone not showing in PulseAudio/pavucontrol » 2023-02-04 00:14:35

sudo apt purge *pulseaudio*

will remove bt-reload-headphones* gstreamer1.0-pulseaudio* paprefs* pulseaudio* pulseaudio-equalizer* pulseaudio-module-bluetooth* pulseaudio-module-gsettings*
  pulseaudio-module-zeroconf* pulseaudio-utils* pulseeffects* quodlibet* task-xfce-desktop* xfce4* xfce4-pulseaudio-plugin*

I want to keep xfce4 and quodlibet. Is there a more surgical command?

Try with dpkg, instead of apt (sorry, but I'm not in xfce right now):

# dpkg --purge pulseaudio

I think that the package depending on pulseaudio is the one provided by tasksel, i.e. task-xfce-desktop, but not the whole xfce desktop environment, which can be installed without the tasksel package. Good luck.

I used

sudo apt-get autoremove pulseaudio

Then succesfully installed bluez-alsa-utils newest version (3.1.0~git20211121-1+exegnu1). alsamixer doesn't see the bt headphone. Can blueman-applet be used next to alsamixer?

#7 Re: Desktop and Multimedia » [SOLVED] Bluetooth headphone not showing in PulseAudio/pavucontrol » 2023-02-03 23:26:50

Thank you dzz

sudo apt-get autoremove pulseaudio

Reboot

sudo dpkg -i libasound2-plugin-bluez_3.1.0~git20211121-1+exegnu1_amd64.deb 
sudo apt install orphan-sysvinit-scripts
sudo dpkg -i bluez-alsa-utils_3.1.0~git20211121-1+exegnu1_amd64.deb 
(Reading database ... 203559 files and directories currently installed.)
Preparing to unpack bluez-alsa-utils_3.1.0~git20211121-1+exegnu1_amd64.deb ...
Unpacking bluez-alsa-utils (3.1.0~git20211121-1+exegnu1) over (3.1.0~git20211121-1+exegnu1) ...
dpkg: dependency problems prevent configuration of bluez-alsa-utils:
 bluez-alsa-utils depends on libldacbt-abr2 (>= 2.0.2); however:
  Package libldacbt-abr2 is not installed.
 bluez-alsa-utils depends on libldacbt-enc2 (>= 2.0.2); however:
  Package libldacbt-enc2 is not installed.

dpkg: error processing package bluez-alsa-utils (--install):
 dependency problems - leaving unconfigured
Processing triggers for dbus (1.12.24-0+deb11u1devuan1) ...
Processing triggers for man-db (2.9.4-2) ...
Errors were encountered while processing:
 bluez-alsa-utils
sudo apt --fix-broken install

reboot

BT headphone briefly connects in blueman-manager and doesn't show in alsamixer.

#8 Re: Desktop and Multimedia » [SOLVED] Bluetooth headphone not showing in PulseAudio/pavucontrol » 2023-02-01 14:00:11

Package bluez-alsa is not available.

The headphone is bluetooth 5 and the pc is bt 4.0, apparently these standards don't connect well. I will try with a bt 5 dongle and post the result.

#9 Re: Desktop and Multimedia » [SOLVED] Bluetooth headphone not showing in PulseAudio/pavucontrol » 2023-01-30 19:39:13

Thank you for helping a newb out.

Simple mixer control 'Headphone',1

The bt headphone is off and no wired headphone is connected to the 3.5 mm output. Same when bt headphone is on.

In Alsamixer - Card: PulseAudio
if necessary how can i set this to Alsa?

#10 Re: Desktop and Multimedia » [SOLVED] Bluetooth headphone not showing in PulseAudio/pavucontrol » 2023-01-30 16:43:11

$ amixer -c 1 scontrols
Invalid card number.

$ amixer -c 0 scontrols
Simple mixer control 'Master',0
Simple mixer control 'Headphone',0
Simple mixer control 'Headphone',1
Simple mixer control 'Speaker',0
Simple mixer control 'PCM',0
Simple mixer control 'Mic',0
Simple mixer control 'Mic Boost',0
Simple mixer control 'Mic Mute-LED Mode',0
Simple mixer control 'IEC958',0
Simple mixer control 'IEC958',1
Simple mixer control 'IEC958',2
Simple mixer control 'Beep',0
Simple mixer control 'Capture',0
Simple mixer control 'Auto-Mute Mode',0
Simple mixer control 'Digital',0
Simple mixer control 'Dock Mic',0
Simple mixer control 'Dock Mic Boost',0
Simple mixer control 'Internal Mic Boost',0
Simple mixer control 'Loopback Mixing',0
Simple mixer control 'Mute-LED Mode',0

#11 Re: Desktop and Multimedia » [SOLVED] Bluetooth headphone not showing in PulseAudio/pavucontrol » 2023-01-30 10:03:05

Thanks.
Installed and opened alsamixer, the headphone doesn't show.  Where do i go from here?
No luck with searching with keywords alsa headphone bluetooth.

#12 Desktop and Multimedia » [SOLVED] Bluetooth headphone not showing in PulseAudio/pavucontrol » 2023-01-28 18:50:13

Deze
Replies: 14

Hello,

In chimaera I'm trying to playback audio on a bluetooth headphone. All good when following the steps at https://wiki.archlinux.org/title/Bluetooth_headset. The headphone connects briefly in blueman-manager with the orange, green and blue bars displaying 100% signal strenght. In PulseAudio the headphone does not show under Output Devices. How to playback audio over bluetooth headphones?

Thank you for any advice.

#13 Re: Installation » [SOLVED] Connman breaks internet connection? » 2021-10-22 14:31:29

resolv.conf was empty, putting a nameserver brought back the internet connection.

EDIT: Well, partly solved. After reboot resolv.conf is gone, placing a nameserver in the resolv.conf file in /etc brings back internet.

#14 Installation » [SOLVED] Connman breaks internet connection? » 2021-10-21 20:20:29

Deze
Replies: 1

Hi forum,

After upgrading 2 desktop pc's from Beowulf to Chimaera internet was working. Both connect to the same wireless hotspot which has wpa2 security. Looking for a replacement for wicd I installed connman on desktop 1. This appeared to have broken the internet connection. I uninstalled connman but the internet connection was not restored, but Tor browser works.

On both pc's interfaces in etc/network/interfaces contain this:

auto lo
iface lo inet loopback

On desktop 2 there is internet system-wide, desktop 1 no internet and no internet via Tor browser.

On desktop 2 I tried in interfaces

auto lo
auto wlan0 inet dhcp
	wpa-essid HOTSPOT	
	wpa-psk PASSWORD

This restores internet via Tor browser but not system-wide.

What am i missing?

Other than that happy Chimaera boots faster and applications open faster and are more responsive.

Board footer

Forum Software