Hacking Question Installing JoyCon Drivers on Ubuntu for Switch?

xXDungeon_CrawlerXx

Well-Known Member
Member
Joined
Jul 29, 2015
Messages
2,094
Reaction score
1,447
Trophies
2
Age
30
Location
Liverpool
XP
3,943
Country
Hey Guys,

I was able to pair my JoyCons via Bluetooth to my Nintendo Switch with Ubuntu 18.10.
unknown.png

Using the jcdriver I can see how they connect/disconnect.
unknown.png

unknown.png

Unfortunately they only connect while pairing, but disconnects after a few seconds.
I'm unable to connect them again after pairing.

I used this video tutorial (yea, blame me for that).
It had a link to a github-page in the description with the source for the driver.



Any idea how to get this to work?
 
I think that for now, devs are more focused on things like sound drivers, and other drivers that will make the switch usable as a regular linux tablet. Don't worry it'll come sooner or later. ;)
 
  • Like
Reactions: Centergaming
I think there are still some issues with the Bluetooth - I'm not sure that anyone has managed to get any BT devices to work well with Linux on Switch so far.
 
BT Keyboard works fine for me, but I tried to connect a BT headset, which obviously didn't work
 
BT Keyboard works fine for me, but I tried to connect a BT headset, which obviously didn't work

Interesting, thanks.

On the main subject of the joycons, gruetzkop from #f0f was helping me earlier by looking into what we need to write a userspace daemon that reads from the joycons when they're connected. It seems like there's at least a little bit of kernel work to be done, and then writing something that can talk to the joycon UARTs, interpret their data, and feed it into uinput.

I'm game for having a go at the userspace daemon part, but it'll have to wait until someone sorts out the kernel part, because that's not my wheelhouse :)
 
  • Like
Reactions: SkillingCat
I think there are still some issues with the Bluetooth - I'm not sure that anyone has managed to get any BT devices to work well with Linux on Switch so far.

I was able to connect my old Wiimote to test some games with Dolphin, if it matters at all.
 
Wiimote =/= Joycon.
Probably the Wiimote is supported for whatever reason

I'm well aware of that. Even the Bluetooth specs are different. I believe Dolphin takes care of controller pairing using some kind of user space drivers.

Just trying to let you guys know that the Bluetooth stability issues may also depend on the Linux distribution being used. I haven't had problems with my Wiimote + Nunchuk combo under Arch Linux.
 

Site & Scene News

Popular threads in this forum