beh_93825561489

joined 2 years ago
[–] beh_93825561489@lemmy.ml 1 points 9 months ago

I want to for exemple even when my headphones are plugged have the ablility to play audio through my speakers using qpwgraph and stuff like that its just a cool little thing I wanted to do also you can't do that in pavucontrol natively when you plug in headphones its as if your speaker doesn't exist you can't for example play the same audio on your headphones and speakers at the same time or play different audio its relatively niche kinda thing but its handy for the few times I needed it to be honest

 

might be helpful to someone so here we are cross-posted from: https://lemmy.ml/post/9547307

so since I digged pretty hard to find what is a ucm profile and how to seperate headphones from speakers in pipewire and alsa so yeah heres a guide first of all these are my sources:

https://github.com/luisbocanegra/linux-guide-split-audio-ports https://www.reactivated.net/writing_udev_rules.html https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3556 https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3552

you need a custom ucm profile use this command since its helpful lspci -nn -vvv

SUBSYSTEM!="sound", GOTO="pipewire_end"
ACTION!="change", GOTO="pipewire_end"
KERNEL!="card*", GOTO="pipewire_end"

ATTRS{subsystem_vendor}=="0x103c", ATTRS{subsystem_device}=="0x8742", ENV{ACP_PROFILE_SET}="custom.conf"

LABEL="pipewire_end"

and than create a file in /usr/share/alsa-card-profile/mixer/profile-sets/custom.conf and yeah I guess

https://www.freedesktop.org/wiki/Software/PulseAudio/Backends/ALSA/Profiles/

and this especially

https://github.com/luisbocanegra/linux-guide-split-audio-ports

they helped a lot

[General]
auto-profiles = yes

[Mapping headphones]
device-strings= hw:0,2
channel-map = left,right
paths-output = behe-headphones
paths-input = analog-input-headphone-mic analog-input-headset-mic
priority = 20

[Mapping speaker]
device-strings= hw:0,0
channel-map = left,right
paths-output = behe-speaker
paths-input = analog-input-front-mic analog-input-rear-mic analog-input-internal-mic analog-input-dock-mic analog-input analog-input-mic analog-input-linein analog-input-aux analog-input-video analog-input-tvtuner analog-input-fm analog-input-mic-line analog-input-headphone-mic analog-input-headset-mic
priority = 18

[Profile help]
input-mappings = speaker headphones
output-mappings = speaker headphones
description = both_both_is_good
skip-probe = yes
priority = 100

.include 9999-custom.conf

and yes that was my custom.conf and yes just reboot now and you are set btw no need to touch hdajackretask and that idor 0,2 and 0,0 I just switched profile to proaudio and than ran pactl list sinks short and took the ids from there I am basically following the guides and mimicking /usr/share/alsa-card-profile/mixer/profile-sets/default.conf to be completely honest yes thats all

 

so since I digged pretty hard to find what is a ucm profile and how to seperate headphones from speakers in pipewire and alsa so yeah heres a guide first of all these are my sources:

https://github.com/luisbocanegra/linux-guide-split-audio-ports

https://www.reactivated.net/writing_udev_rules.html

https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3556

https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3552

you need a custom ucm profile use this command since its helpful lspci -nn -vvv

SUBSYSTEM!="sound", GOTO="pipewire_end"
ACTION!="change", GOTO="pipewire_end"
KERNEL!="card*", GOTO="pipewire_end"

ATTRS{subsystem_vendor}=="0x103c", ATTRS{subsystem_device}=="0x8742", ENV{ACP_PROFILE_SET}="custom.conf"

LABEL="pipewire_end"

and than create a file in /usr/share/alsa-card-profile/mixer/profile-sets/custom.conf and yeah I guess

https://www.freedesktop.org/wiki/Software/PulseAudio/Backends/ALSA/Profiles/

and this especially

https://github.com/luisbocanegra/linux-guide-split-audio-ports

they helped a lot

[General]
auto-profiles = yes

[Mapping headphones]
device-strings= hw:0,2
channel-map = left,right
paths-output = behe-headphones
paths-input = analog-input-headphone-mic analog-input-headset-mic
priority = 20

[Mapping speaker]
device-strings= hw:0,0
channel-map = left,right
paths-output = behe-speaker
paths-input = analog-input-front-mic analog-input-rear-mic analog-input-internal-mic analog-input-dock-mic analog-input analog-input-mic analog-input-linein analog-input-aux analog-input-video analog-input-tvtuner analog-input-fm analog-input-mic-line analog-input-headphone-mic analog-input-headset-mic
priority = 18

[Profile help]
input-mappings = speaker headphones
output-mappings = speaker headphones
description = both_both_is_good
skip-probe = yes
priority = 100

.include 9999-custom.conf

and yes that was my custom.conf and yes just reboot now and you are set btw no need to touch hdajackretask and that idor 0,2 and 0,0 I just switched profile to proaudio and than ran pactl list sinks short and took the ids from there I am basically following the guides and mimicking /usr/share/alsa-card-profile/mixer/profile-sets/default.conf to be completely honest yes thats all

-=-=-=-==-==--==

very fast update you actually have to enable indep_hp in hdajackretask btw fun fact you can apply now and test after killing wireplumber so don't forget to do that don't reboot over and over again (I am talking to myself here mostly also enable indep_hd using alsamixer after you do so in hdajackretask) and yes thats all peace

 

basically each of the following: fn+f2 or fn+f3 (not even being recognised by evtest ) and the lid being closed or opened is being reported as "Event: time 1692812642.988180, type 1 (EV_KEY), code 238 (KEY_WLAN), value 1".

so I though about remapping "Event: time 1692812642.988180, type 4 (EV_MSC), code 4 (MSC_SCAN), value d7" as the closing lid thingy

the same for fn+f2 and fn+f3 (increase and decrease brightness) I have to remap this "Event: time 1692812647.457821, type 4 (EV_MSC), code 4 (MSC_SCAN), value ab" so my question is I can remap the keyboard here 60-keyboard.hwdb but where can I remap the ev_msc stuff

basically all this to say I want to tell udev that the msc this with id d7 is actually the toggle for closing the lid and the msc thing with id ab are actually the two buttons that increase and decrease brightness and yeah that's all

[–] beh_93825561489@lemmy.ml 1 points 1 year ago

Thanks thes is good to hear And I guess I will take the strategy of seeding as long as possible to get the points And then use them to fix my ratio And yeah thanks

[–] beh_93825561489@lemmy.ml 1 points 1 year ago

Ok I will apply this advice thanks

[–] beh_93825561489@lemmy.ml 2 points 1 year ago

I will check them out thanks Hopefully I will enter when they open up on the winter

[–] beh_93825561489@lemmy.ml 1 points 1 year ago (2 children)

so after reading the wiki and that phrase multiple times so I should have like 50 torrents that I stopped seeding without meeting the 1:1 or the 10 days requirement before receiving that warming and if I have like only 1 torrent and go in 3 month trip then open my qbittorrent again it will be seeding again and that hit and run reminder will be gone ok then I can work with this system lol sine most of what I download is already like above the 14Gb mark which I guess the freeleech torrent mard

  • about not downloading a torrent to 100% my question is I found a torrent for a whole season of some random tv show it is marked as freeleech thoratically speaking I can just download episode 1 through 5 for example and leave the others like uncheck the files will that count as me downloading a percentage of the torrent or the full 100% if it's a percentage well that means the 10 days rule don't count on me so I am required to seed to the 1:1 ratio in that instance right do they also track how much you downloaded in each torrent
[–] beh_93825561489@lemmy.ml 1 points 1 year ago (6 children)

what is the tracker you are using from what Ican see people are talking about on reddit torrentleech seems rough for people with no seedbox

[–] beh_93825561489@lemmy.ml 1 points 1 year ago* (last edited 1 year ago) (5 children)

so will like me coming back to my computer after that 23 hour mark the torrent will not be seeding for exemple I download inception and for get about it existing after a month I got in a 2 day vacation the torrent will not be seeding after that vacation and yeah that's a weired system

and if torretleech isn't for me and I am surely not gonna get that seedbox you guys are talking about since it's so expensive in my country and I don't have a gb internet connection lol it's 2 mbytes maximum lol then what are the other private torrents that I got a chance with

basically I want a private torrent that I can live in as a person with no seedbox

[–] beh_93825561489@lemmy.ml 1 points 1 year ago (1 children)

I have a question do they figure you out that you are not the same person because your ip has changed like will moving countries ban me or something it doesn't make sense

 

on my question about torrentleech they seem to open their doors quiet frequently so yeah I am planning to enter the next time they do my question is what are the rules actually

  • I found a post from 2 years ago and it says you have to either have a download ratio of 1:1 on the files you download or you seed them for 10 days so my question: is there a way actually to see those stats before deleting that file

  • for exemple if Ic seed like for 9 days will I still get a warning isn't there a threshhold

  • If I seed for exemple everyday for 10 hours and then shutdown my pc like any normal person than do the same thing for the next 30 days with variation in those 10 hours theoratically speaking I seeded for more than 10 days or sould I constantly seed for 10 days like my pc shouldn't shut down cause if that's the case then hate to break it to you but in some reagions electricity isn't stable

  • there is a question I always wanted to ask if you can't reupload stuff in the private repo to anywhere and they somehow will find that out then how is the stuff in the public trackers there in the first place

  • as long as the rules are not 10 days in a row I have no problem doing them since well I already have searxng always running in the background lol

  • to be honest all my torrent usage is that once in a while anime or movie and I usually keep the file until the ration is like above 1 since I don't mind

  • another question are there a lot or qualities and resolutions in torrentleech since if the file is like 20 gb I don't think I will ever reach that 1 ratio I usually go for the 1080p even 720 when the file size is huge + yeah sorry I have 500 gb ssd lol