Hacking WIP Audio Driver (We don't know if it works)

  • Thread starter Deleted User
  • Start date
  • Views 14,629
  • Replies 53
  • Likes 7

Tilde88

Well-Known Member
Member
Joined
Feb 16, 2015
Messages
295
Trophies
0
Age
36
XP
1,068
Country
United States
-snip-
It's easier to just assume in this forum. Idk who he is, but a comment like that is not welcome imo. He can choose not try it. But for anyone to put down someone giving potentially useful work, is not ok.

Also, a sound driver is just a sound driver. You can enable the device without actually using any output, so the whole "blow my speaker up" thing is just bullshit. To even think that a driver can blow your speaker is a bit preposterous. Now, if you were to tell me, "here are some modified mixer files, try them out", that's a different story.
Anyone who know anything about compiling a kernel, will tell you that adding a sound driver to the kernel and enabling via menuconfig is the least risky thing you could do
 

guily6669

GbaTemp is my Drug
Member
Joined
Jun 3, 2013
Messages
2,348
Trophies
1
Age
34
Location
Doomed Island
XP
2,137
Country
United States
Isnt the Audio chip made by Realtek? They usually have good support on PC hardware even though they are kinda crappy soundcards, at least they support very old chips on recent systems unlike soundcards we buy and they stop supporting them in like 4 years...

Also what if you try some oem realtek drivers to see what happens?
 

Tilde88

Well-Known Member
Member
Joined
Feb 16, 2015
Messages
295
Trophies
0
Age
36
XP
1,068
Country
United States
Well, aren't you a kind person!
I hope you get a Joy-Con lodged in your trachea.
Reminder: you liked two of my posts...
View attachment 122937
If i liked them, they were good posts. This other post, bad post.
I did go a bit over, and i apologise for that. I've just been extremely frustrated on this forum, in the switch and PS4 subs. So many people wanting everything while doing nothing.
 
  • Like
Reactions: SimonMKWii

SimonMKWii

Professional Idiot
Member
Joined
Nov 18, 2017
Messages
666
Trophies
0
Location
Melbourne, Victoria
XP
2,760
Country
Australia
If i liked them, they were good posts. This other post, bad post.
I did go a bit over, and i apologise for that. I've just been extremely frustrated on this forum, in the switch and PS4 subs. So many people wanting everything while doing nothing.
I'm sorry too, it's just very hectic times in the world of console hacking, everyone's getting a bit flustered, I understand!
 

Imancol

Otak Productions
Member
Joined
Jun 29, 2017
Messages
1,376
Trophies
0
XP
2,773
Country
Colombia
How about you get your useless ass out of this section. People like you who know NOTHING about development don't belong in this forum, shitposting bullshit like this. This is not a forum to handfeed all you noobs. It's for hackers and developers to do their work, and share with other hackers and developers.
This is not a "show me what the fuck to do and let me bitch at you because im an idiot forum". So fucking tired of this shit. GTFO and go to facebook to do bullshit like this.

I do not understand how there are people who get angry about things outside their existence

--------------------- MERGED ---------------------------

Another thing. I do not know if they have tried with the Audio driver that uses Shield TV. Daah ...
 

Tilde88

Well-Known Member
Member
Joined
Feb 16, 2015
Messages
295
Trophies
0
Age
36
XP
1,068
Country
United States
I'll try compiling and testing hopefully later tonight. Depends if i get some time to do so

--------------------- MERGED ---------------------------

I do not understand how there are people who get angry about things outside their existence

--------------------- MERGED ---------------------------

Another thing. I do not know if they have tried with the Audio driver that uses Shield TV. Daah ...
Is the shield tv the same soc? Do you have source files for that driver if so?
 

Taffy

jdfiehgvrhfvhfjkvgrjhfejvgrjkbjvr
Member
Joined
Mar 3, 2017
Messages
621
Trophies
0
Age
21
Location
Student
XP
1,130
Country
United States
you people should stop arguing. if you think it will brick your switch, go prove it to us if you have the balls to do it.

I know I don't, so I'm just gonna shut up :P
yell at me if you want. I probably deserve it

How about you get your useless ass out of this section.
...Can do! *goes back home*
I laughed at that quote. I'm not trying to stir up drama I promise.

I can't wait to see a working everything for Switch Linux.
 

Imancol

Otak Productions
Member
Joined
Jun 29, 2017
Messages
1,376
Trophies
0
XP
2,773
Country
Colombia
I'll try compiling and testing hopefully later tonight. Depends if i get some time to do so

--------------------- MERGED ---------------------------


Is the shield tv the same soc? Do you have source files for that driver if so?
I'm not sure if the Nvidia Audio Hardware is the same as in Switch. But they share the same processor technology. The files can be found by downloading the OS kit to flash.
 

The Real Jdbye

*is birb*
Member
Joined
Mar 17, 2010
Messages
23,374
Trophies
4
Location
Space
XP
13,978
Country
Norway
It's kind of both actually, but not much actual development happens here because the devs don't want to deal with all the shit.
Now that you mention it, maybe it would be a good idea to have a separate forum for development, where developers can discuss without having noobs flood their thread with questions and complaints. XDA has separate subforums for development and discussion/help and that seems to work well for them.

--------------------- MERGED ---------------------------

I'll try compiling and testing hopefully later tonight. Depends if i get some time to do so

--------------------- MERGED ---------------------------


Is the shield tv the same soc? Do you have source files for that driver if so?
The SoC seems to be identical (as confirmed by the markings on the chip) although it is underclocked to save power and generate less heat.
I don't know a whole lot about mobile hardware, but if I'm not entirely wrong the DSP on the SoC is what handles audio on modern mobile devices, so the driver should be identical. I believe there is a Tegra X1 dev board, which means there are probably Linux drivers available for the chip. No idea if those are open source though.
 

Tilde88

Well-Known Member
Member
Joined
Feb 16, 2015
Messages
295
Trophies
0
Age
36
XP
1,068
Country
United States
*screams incoherently*

But no really, let's all try to get along. If you have a disagreement with someone, that's *okay*. Just don't be rude about it, talk it out like civilized people.
Yes I was quite rude. Apologies to all for going overboard.

You gotta admit though, s reply with the trachea/joycon thing. That was unexpected and made me LOL irl lmao... Was a good one.
 
Last edited by Tilde88,

Tilde88

Well-Known Member
Member
Joined
Feb 16, 2015
Messages
295
Trophies
0
Age
36
XP
1,068
Country
United States
Just a small update. I tried to compile that commit with the audio changes in OP, but it wouldn't compile... Breaks at brcmfmac4356, and i cant find that in the menuconfig, may have to edit the makefile.
Probably a toolchain issue. I'll try it again at some point after the weekend, but it will probably be officially fixed by then.
 
  • Like
Reactions: Fadi5555
D

Deleted User

Guest
OP
Just a small update. I tried to compile that commit with the audio changes in OP, but it wouldn't compile... Breaks at brcmfmac4356, and i cant find that in the menuconfig, may have to edit the makefile.
Probably a toolchain issue. I'll try it again at some point after the weekend, but it will probably be officially fixed by then.

The Device Drivers are already available but they need a certain routing its hard to explain , like you would need a bit more knowledge as compiling the drivers
 

Tilde88

Well-Known Member
Member
Joined
Feb 16, 2015
Messages
295
Trophies
0
Age
36
XP
1,068
Country
United States
The Device Drivers are already available but they need a certain routing its hard to explain , like you would need a bit more knowledge as compiling the drivers

Lol yea. I'm pretty savvy when it comes to linux, but indeed, this is beyond me. I got the kernel to compile and boot, but nothing. I can test sound but it still only shows dummy output.

I try to do an lshw, but the thing crashes before I can even SSH into it. I'll just leave this for the true switch devs. Strange that they went to upstream to 4.17, but I can understand.
 
D

Deleted User

Guest
OP
Lol yea. I'm pretty savvy when it comes to linux, but indeed, this is beyond me. I got the kernel to compile and boot, but nothing. I can test sound but it still only shows dummy output.

I try to do an lshw, but the thing crashes before I can even SSH into it. I'll just leave this for the true switch devs. Strange that they went to upstream to 4.17, but I can understand.

strange that lshw crashes @natinusala

but i guess if @shinyquagsire23 tells me on twitter that It's certainly a large project that I don't personally understand (yet?) at the very least.

we can count that this will take a little bit more time i guess
 

Tilde88

Well-Known Member
Member
Joined
Feb 16, 2015
Messages
295
Trophies
0
Age
36
XP
1,068
Country
United States
strange that lshw crashes @natinusala

but i guess if @shinyquagsire23 tells me on twitter that It's certainly a large project that I don't personally understand (yet?) at the very least.

we can count that this will take a little bit more time i guess
well the command doesnt crash, the system just crashes before I can do anything of use; like get into the terminal lol

They'll get it, im sure. Probably like a week or two. Or, you know, maybe shinyquagsire does some magic like the joycons :-p
 
D

Deleted User

Guest
OP
well the command doesnt crash, the system just crashes before I can do anything of use; like get into the terminal lol

They'll get it, im sure. Probably like a week or two. Or, you know, maybe shinyquagsire does some magic like the joycons :-p

well the magic is so big that i can atleast play crash bandicoot on linux with the joycons :D using pcsxr
 
  • Like
Reactions: Tilde88

Tilde88

Well-Known Member
Member
Joined
Feb 16, 2015
Messages
295
Trophies
0
Age
36
XP
1,068
Country
United States
He wants us to be his test dummies lol. Honestly though, I wouldnt worry about this bricking your system.
I wish people would stop spewing bullshit.

First, OP does not want anyone to be "test dummies"
Second, compiling a kernel, with proper toolchain, is not a very basic thing that most noobs in this forum could do.
Third, he shared information for those who may not have known was out there. I for one, had not realized there was an upstream 4.17 kernel being worked on.
Fourth, installing a kernel WILL NOT BREAK YOUR SPEAKERS.
Fifth, if you don't know what the hell something is, stay out of the way, let someone else do it. Clearly, this post was NOT for beginners.

I could go on, but this is just ridiculous. So many millenials in this forum.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • Quincy @ Quincy:
    Usually when such a big title leaks the Temp will be the first to report about it (going off of historical reports here, Pokemon SV being the latest one I can recall seeing pop up here)
  • K3Nv2 @ K3Nv2:
    I still like how a freaking mp3 file hacks webos all that security defeated by text yet again
  • BigOnYa @ BigOnYa:
    They have simulators for everything nowdays, cray cray. How about a sim that shows you playing the Switch.
  • K3Nv2 @ K3Nv2:
    That's called yuzu
    +1
  • BigOnYa @ BigOnYa:
    I want a 120hz 4k tv but crazy how more expensive the 120hz over the 60hz are. Or even more crazy is the price of 8k's.
  • K3Nv2 @ K3Nv2:
    No real point since movies are 30fps
  • BigOnYa @ BigOnYa:
    Not a big movie buff, more of a gamer tbh. And Series X is 120hz 8k ready, but yea only 120hz 4k games out right now, but thinking of in the future.
  • K3Nv2 @ K3Nv2:
    Mostly why you never see TV manufacturers going post 60hz
  • BigOnYa @ BigOnYa:
    I only watch tv when i goto bed, it puts me to sleep, and I have a nas drive filled w my fav shows so i can watch them in order, commercial free. I usually watch Married w Children, or South Park
  • K3Nv2 @ K3Nv2:
    Stremio ruined my need for nas
  • BigOnYa @ BigOnYa:
    I stream from Nas to firestick, one on every tv, and use Kodi. I'm happy w it, plays everything. (I pirate/torrent shows/movies on pc, and put on nas)
  • K3Nv2 @ K3Nv2:
    Kodi repost are still pretty popular
  • BigOnYa @ BigOnYa:
    What the hell is Kodi reposts? what do you mean, or "Wut?" -xdqwerty
  • K3Nv2 @ K3Nv2:
    Google them basically web crawlers to movie sites
  • BigOnYa @ BigOnYa:
    oh you mean the 3rd party apps on Kodi, yea i know what you mean, yea there are still a few cool ones, in fact watched the new planet of the apes movie other night w wifey thru one, was good pic surprisingly, not a cam
  • BigOnYa @ BigOnYa:
    Damn, only $2.06 and free shipping. Gotta cost more for them to ship than $2.06
    +1
  • BigOnYa @ BigOnYa:
    I got my Dad a firestick for Xmas and showed him those 3rd party sites on Kodi, he loves it, all he watches anymore. He said he has got 3 letters from AT&T already about pirating, but he says f them, let them shut my internet off (He wants out of his AT&T contract anyways)
  • K3Nv2 @ K3Nv2:
    That's where stremio comes to play never got a letter about it
  • BigOnYa @ BigOnYa:
    I just use a VPN, even give him my login and password so can use it also, and he refuses, he's funny.
  • BigOnYa @ BigOnYa:
    I had to find and get him an old style flip phone even without text, cause thats what he wanted. No text, no internet, only phone calls. Old, old school.
  • Psionic Roshambo @ Psionic Roshambo:
    @BigOnYa, Lol I bought a new USB card reader thing on AliExpress last month for I think like 87 cents. Free shipping from China... It arrived it works and honestly I don't understand how it was so cheap.
    +1
    Psionic Roshambo @ Psionic Roshambo: @BigOnYa, Lol I bought a new USB card reader thing on AliExpress last month for I think like 87... +1