L4T Ubuntu - A fully featured linux on your switch

switchroot.png

L4T Ubuntu
Intro
L4T Ubuntu is a version of Linux based on nvidia's linux for tegra project. It uses a different kernel compared to previous releases which allows it to use features not yet in mainline. Such as audio, docking support and vulkan.

Join our discord: https://discord.gg/53mtKYt

We have a wiki !
To facilitate our work we will only update our wiki from now on in order to avoid multiple outdated references, please refer to the following link instead of this page

https://wiki.switchroot.org/en/Linux/Ubuntu-Install-Guide

Credits

Bylaws,
Langerhans,
Ave,
Natinusala,
CTCaer(most of the hard stuff),
Gavin_Darkglider,
DanielOgorchock(Joycon drivers/joycond),
stary2001 (reboot2payload),
NVIDIA,
Azkali
Everyone else in switchroot - more info on that in the future.
 
Last edited by azkali,

Halo69

Well-Known Member
Newcomer
Joined
Aug 6, 2019
Messages
58
Trophies
0
Age
46
XP
118
Country
United States
You don't actually have to install nano first. You could also use gedit (or vim if you're brave enough) and save this file in the same place. Run this like:
Code:
sudo gedit /etc/rc.local
Ok gotcha thanks. Any idea why my joycons are connected and paired to bluetooth but they not working, i press L3 and no mouse. Do i have to run something in terminal?


If nothing else is installed on the microSD card on which your L4T Ubuntu installation resides on, your only option is to disable autoRCM (beware that this goes through the fuse check; if you're running on older OFW version and there are more fuses burnt than expected, your system won't boot). If you have Atmosphere or Kosmos Atmosphere installed, you can use their provided configs to boot into OFW, only this time it can bypass the fuse check.
 

Halo69

Well-Known Member
Newcomer
Joined
Aug 6, 2019
Messages
58
Trophies
0
Age
46
XP
118
Country
United States
Ok so i see rc.local create but now how do i make it executable? Following instruction for reboot2payload and it says to touch /etc/rc.local
I do but now what? How to execute?
Also any idea why joycons are connected and paired to bluetooth but they not working? I press L3 but no mouse. Do i have to run something in terminal? Sorry for all the questions since i'm new to linux.
 

Gavin_Darkglider

Well-Known Member
Member
Joined
May 20, 2019
Messages
232
Trophies
0
Age
34
XP
581
Country
United States
Ok so i see rc.local create but now how do i make it executable? Following instruction for reboot2payload and it says to touch /etc/rc.local
I do but now what? How to execute?
Also any idea why joycons are connected and paired to bluetooth but they not working? I press L3 but no mouse. Do i have to run something in terminal? Sorry for all the questions since i'm new to linux.
For joycons hit l1 and r1 at the same time to pair them as one controller.
for rc.local: sudo chmod +x /etc/rc.local
then copy and paste the block of code you want inside it.
Also, it wont be needed soon anyway, as I am replacing that with a system service. and pushing it through the repo.
 

Halo69

Well-Known Member
Newcomer
Joined
Aug 6, 2019
Messages
58
Trophies
0
Age
46
XP
118
Country
United States
For joycons hit l1 and r1 at the same time to pair them as one controller.
for rc.local: sudo chmod +x /etc/rc.local
then copy and paste the block of code you want inside it.
Also, it wont be needed soon anyway, as I am replacing that with a system service. and pushing it through the repo.
Ok i guess i'll wait for that service instead. And for the joycons i already hit l1 and r1 and they are paired (both have solid light) but what i mean is that after that joycons not working for me (even when i press L3 to use mouse, i get no mouse cursor) i re-flashed image twice but still no success. What i'm thinking maybe a bad download? Cause they do work when i flash the NOOBS4.img
 

Gavin_Darkglider

Well-Known Member
Member
Joined
May 20, 2019
Messages
232
Trophies
0
Age
34
XP
581
Country
United States
The download is good. That is because someone reconfigured the noobs4.img. it isnt official, and using joycons as a mouse isnt supported in l4t(By us at least, as it isnt stock configuration), that is handled by xorg configuration, or an app depending on the device. I have no idea, as for my build, I opted to use something that had joystick support, and I am using the much better touchscreen driver.
 

PoireauSanguinaire

New Member
Newbie
Joined
Nov 11, 2019
Messages
1
Trophies
0
Age
82
XP
65
Country
Anguilla
Hello.
I'm trying to connect a keyboard to my switch not docked but it does not work.

However, when I connect the switch to the dock, I can use the keyboard. Moreover, with lsusb(not docked), I see that the max voltage is 0ma, which does not look good.
I do not know if a linux command can answer the question.

Thank you in advance ^^
 

DaruniaForever

New Member
Newbie
Joined
Nov 15, 2019
Messages
4
Trophies
0
XP
71
Country
Brazil
Ok, I'm thinking of buying a switch and would like to know the current state of Linux at the console. Would you guys mind answering little questions? Be free to point out a reply if the question is already answered in the thread.

- I got a little confused about the updates. The main post says the last version is 1.3.1, but someone linked a 1.5.0 update some posts ago. Is it an unofficial update or what?

- Beside Lakka and L4T, do we have any other (maintained) Linux project for switch?

- How good is the Linux support? I would mainly use it for web and python coding. (does vs code got arm builds?)

- Is instaling retroarch on L4T the same as using Lakka or does Lakka have better emulation support?

- Do we got some fix for USB OTG and wired joyscons to works?

Thanks.
 

Gavin_Darkglider

Well-Known Member
Member
Joined
May 20, 2019
Messages
232
Trophies
0
Age
34
XP
581
Country
United States
Ok, I'm thinking of buying a switch and would like to know the current state of Linux at the console. Would you guys mind answering little questions? Be free to point out a reply if the question is already answered in the thread.

- I got a little confused about the updates. The main post says the last version is 1.3.1, but someone linked a 1.5.0 update some posts ago. Is it an unofficial update or what?

- Beside Lakka and L4T, do we have any other (maintained) Linux project for switch?

- How good is the Linux support? I would mainly use it for web and python coding. (does vs code got arm builds?)

- Is instaling retroarch on L4T the same as using Lakka or does Lakka have better emulation support?

- Do we got some fix for USB OTG and wired joyscons to works?

Thanks.

1. I dont have access to update op, so I posted the update where I could, but the latest official update is 1.5.0. As the person that released it, and a member of switchroot, I can say it is totally worth the update.

2. Yes. We have working Arch and Gentoo, which both have repos for the switch, but you have to build yourself, and doesnt have support for a lot of the nvidia features like Cuda and OMX.

3. It preforms fairly well. Will preform much better once I get the new kernel to work. If I cant, I will update the version it is running with the latest drivers, to at least get almost similar support for the hardware. I am in the process of trying to get the new kernel working with linux.

4. Lakka uses the crap joycon rail driver, and has no bluetooth. I am told l4t-ubuntu also preforms better with some emulators, but I dont know for certain, as I havnt tested this my self.

5. OTG doesnt work, because we dont know how to turn on power to the usb port. Wired joycons work, and have worked since before l4t-ubuntu, but the driver was crap, and broke bluetooth, so it was left out. We have a much better driver that works hand in hand with the wireless driver, so the disconnect should be seamless like HOS.

6. There are also updates for the Touchscreen, LP0(Deep sleep), internal IMU, ambiant light sensor. Which would leave NFC in controller, IMU in controllers, and IR camera/blaster in controllers, which will probably never come.
 

DaruniaForever

New Member
Newbie
Joined
Nov 15, 2019
Messages
4
Trophies
0
XP
71
Country
Brazil
1. I dont have access to update op, so I posted the update where I could, but the latest official update is 1.5.0. As the person that released it, and a member of switchroot, I can say it is totally worth the update.

2. Yes. We have working Arch and Gentoo, which both have repos for the switch, but you have to build yourself, and doesnt have support for a lot of the nvidia features like Cuda and OMX.

3. It preforms fairly well. Will preform much better once I get the new kernel to work. If I cant, I will update the version it is running with the latest drivers, to at least get almost similar support for the hardware. I am in the process of trying to get the new kernel working with linux.

4. Lakka uses the crap joycon rail driver, and has no bluetooth. I am told l4t-ubuntu also preforms better with some emulators, but I dont know for certain, as I havnt tested this my self.

5. OTG doesnt work, because we dont know how to turn on power to the usb port. Wired joycons work, and have worked since before l4t-ubuntu, but the driver was crap, and broke bluetooth, so it was left out. We have a much better driver that works hand in hand with the wireless driver, so the disconnect should be seamless like HOS.

6. There are also updates for the Touchscreen, LP0(Deep sleep), internal IMU, ambiant light sensor. Which would leave NFC in controller, IMU in controllers, and IR camera/blaster in controllers, which will probably never come.

1. That's nice! Do I still need to manually apply all updates one by one?

3. Does the sd speed affect too mutch the performance? As far as I understand, the whole system will be running on it. Which sd speed would you recommend?

5. Hm... so would the OTG works when connected to the power using one these switch USB-C to USB/HDMI/Power supply? (dunno if I can post store links here, so image attach)
Also, I don't mind using joycons Bluetooth, but will joycon Bluetooth still work when attached to the console? Using it unattached in public locations would be pretty annoying and dangerous.

adaptador-hdmi-p-nintendo-switch-D_NQ_NP_918794-MLB31761036535_082019-F.png
 

Gavin_Darkglider

Well-Known Member
Member
Joined
May 20, 2019
Messages
232
Trophies
0
Age
34
XP
581
Country
United States
1. That's nice! Do I still need to manually apply all updates one by one?

3. Does the sd speed affect too mutch the performance? As far as I understand, the whole system will be running on it. Which sd speed would you recommend?

5. Hm... so would the OTG works when connected to the power using one these switch USB-C to USB/HDMI/Power supply? (dunno if I can post store links here, so image attach)
Also, I don't mind using joycons Bluetooth, but will joycon Bluetooth still work when attached to the console? Using it unattached in public locations would be pretty annoying and dangerous.

View attachment 186703

1. no, just install 1.5.0 and follow the instructions for 1.4.0 to get reboot2payload working.
2.. Yes, Samsung evo cards seem to work the best, though if I can ever get the new kernel working, it shouldnt be an issue anymore.
3. Only the official dock is supported for usb host mode at the moment. If it isnt the official dock, it is a 50/50 shot.
 

Shahaan

Well-Known Member
Member
Joined
Dec 29, 2018
Messages
103
Trophies
0
Age
18
Location
South Africa,Durban
XP
912
Country
South Africa
Last edited by Shahaan,
  • Like
Reactions: SwordfishII

Josshy0125

Banned!
Banned
Joined
Jun 16, 2019
Messages
370
Trophies
0
Age
38
XP
753
Country
United Kingdom
  • Like
Reactions: spotanjo3

spotanjo3

Well-Known Member
Member
Joined
Nov 6, 2002
Messages
11,145
Trophies
3
XP
6,205
Country
United States
or don't be a fucking dick to the newbie who's asking on the literal thread about the product he's asking about...? Jesus some people here are cunts just to be cunts. Fuck off, guy.

Good going. I hate some people here are cunts. I wonder why are they here if they are not being nicer to newbies. We are all family here. Sad.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • SylverReZ @ SylverReZ:
    Had a ton of bugs and often crashed. It even didn't support DOS compatibility with older games. :feelsbadman:
  • SylverReZ @ SylverReZ:
    I only grew up with Windows XP because I was lucky.
  • RedColoredStars @ RedColoredStars:
    I downloaded XP on dialup when it came out. Overnights for like a week. cuz I couldn't tie up the phone line during the day. It was so awesome and worked so great going from ME to XP.
  • K3Nv2 @ K3Nv2:
    Vga pins were a dick
  • K3Nv2 @ K3Nv2:
    I kind of want down a large pizza at 10am then crash out
  • ZeroT21 @ ZeroT21:
    Having pizza all day? done it
  • K3Nv2 @ K3Nv2:
    Nah pizza hut open at 10:30
  • ZeroT21 @ ZeroT21:
    just buy a stack of pizza and keep the rest you don't need yet frozen
  • K3Nv2 @ K3Nv2:
    Or buy frozen pizza
  • ZeroT21 @ ZeroT21:
    I buy the regular kind, not the frozen stuff
  • ZeroT21 @ ZeroT21:
    supermarket pizza is ass
  • K3Nv2 @ K3Nv2:
    x65 would just yell at me
  • ZeroT21 @ ZeroT21:
    sounds ok, he didn't pull a gun out ,so...
  • K3Nv2 @ K3Nv2:
    $12 large any style pizza deal
  • K3Nv2 @ K3Nv2:
    Each bite is a $1 well spent
  • SylverReZ @ SylverReZ:
    @ZeroT21, Agreed. I hate oven pizza, only from pizza place.
    +1
  • K3Nv2 @ K3Nv2:
    Nah I can still go for totinos
  • RedColoredStars @ RedColoredStars:
    i like totinos party pizzas. lol.
  • RedColoredStars @ RedColoredStars:
    the cracker-like crust is great on those
  • RedColoredStars @ RedColoredStars:
    My neighbor and I are going to make this next month....
  • SylverReZ @ SylverReZ:
    Tiger crust is great.
  • K3Nv2 @ K3Nv2:
    I'm beefing with a neighbor currently each time I ask him for help with something he makes bs excuses then ignores my calls text but seems to randomly speak when I'm done with the project after doing things to help him
  • RedColoredStars @ RedColoredStars:
    DiGiorno Crispy Pan Pizza tasted pretty dang close to Pizza hut pan pizza, but Im not sure if theyve been discontinued or not. Havent seen them locally for a couple of months now.
  • RedColoredStars @ RedColoredStars:
    The croissant crust is still available though, but not quite as good imo.
    RedColoredStars @ RedColoredStars: The croissant crust is still available though, but not quite as good imo.