• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Support v
« Previous 1 ... 47 48 49 50 51 ... 1177 Next »

DolphinBar not woking under Ubuntu
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
DolphinBar not woking under Ubuntu
04-13-2021, 02:06 PM (This post was last modified: 04-13-2021, 09:03 PM by mic19002020.)
#1
mic19002020 Offline
Junior Member
**
Posts: 7
Threads: 2
Joined: Apr 2021
Hello,
I failed to get DolphinBar (Mayflash) and a third-party WII motion plus controller to work with Ubuntu 20.10. I have installed the Dolphin Emulator from the Edge Channel thrugh Snap. Next, I created /etc/udev/rules.d/51-gcadapter.rules and inserted:

Code:
#GameCube Controller Adapter
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="057e", ATTRS{idProduct}=="0337",     TAG+="uaccess"

#Wiimotes or DolphinBar
SUBSYSTEM=="hidraw*", ATTRS{idVendor}=="057e", ATTRS{idProduct}=="0306", TAG+="uaccess"
SUBSYSTEM=="hidraw*", ATTRS{idVendor}=="057e", ATTRS{idProduct}=="0330", TAG+="uaccess"

However, the controller did not vibrate neither any keys are working. Finally, I checked sudo dmesg -w
Code:
[ 1688.769933] usb 1-2: new full-speed USB device number 14 using xhci_hcd
[ 1688.923023] usb 1-2: New USB device found, idVendor=057e, idProduct=0306, bcdDevice= 1.00
[ 1688.923029] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1688.923032] usb 1-2: Product: Mayflash Wiimote PC Adapter
[ 1688.923035] usb 1-2: Manufacturer: HJZ
[ 1688.928944] hid-generic 0003:057E:0306.0015: No inputs registered, leaving
[ 1688.929015] hid-generic 0003:057E:0306.0015: hidraw0: USB HID v1.11 Gamepad [HJZ Mayflash Wiimote PC Adapter] on usb-0000:00:14.0-2/input0
[ 1688.932435] hid-generic 0003:057E:0306.0016: No inputs registered, leaving
[ 1688.932500] hid-generic 0003:057E:0306.0016: hidraw1: USB HID v1.11 Gamepad [HJZ Mayflash Wiimote PC Adapter] on usb-0000:00:14.0-2/input1
[ 1688.935971] hid-generic 0003:057E:0306.0017: No inputs registered, leaving
[ 1688.936039] hid-generic 0003:057E:0306.0017: hidraw2: USB HID v1.11 Gamepad [HJZ Mayflash Wiimote PC Adapter] on usb-0000:00:14.0-2/input2
[ 1688.939305] hid-generic 0003:057E:0306.0018: No inputs registered, leaving
[ 1688.939358] hid-generic 0003:057E:0306.0018: hidraw3: USB HID v1.11 Gamepad [HJZ Mayflash Wiimote PC Adapter] on usb-0000:00:14.0-2/input3

....

[ 6235.820021] audit: type=1400 audit(1618220093.759:52053): apparmor="DENIED" operation="create" profile="snap.dolphin-emulator.dolphin-emu" pid=21942 comm=5769696D6F7465205363616E6E696E family="bluetooth" sock_type="raw" protocol=1 requested_mask="create" denied_mask="create"
[ 6235.820034] audit: type=1400 audit(1618220093.759:52054): apparmor="DENIED" operation="create" profile="snap.dolphin-emulator.dolphin-emu" pid=21942 comm=5769696D6F7465205363616E6E696E family="bluetooth" sock_type="raw" protocol=1 requested_mask="create" denied_mask="create"
[ 6235.820765] audit: type=1400 audit(1618220093.759:52055): apparmor="DENIED" operation="open" profile="snap.dolphin-emulator.dolphin-emu" name="/run/udev/data/c238:4" pid=21942 comm=5769696D6F7465205363616E6E696E requested_mask="r" denied_mask="r" fsuid=999 ouid=0

How is it possible  to get the controller working?

Thank you in advance,
Find
Reply
04-13-2021, 10:38 PM
#2
KHg8m3r Offline
Doesn't sleep, just Dolphin and Robots
*******
Posts: 5,842
Threads: 4
Joined: Sep 2013
Does this happen if you build Dolphin from source? https://wiki.dolphin-emu.org/index.php?title=Building_Dolphin_on_Linux
Find
Reply
04-15-2021, 02:05 AM
#3
mic19002020 Offline
Junior Member
**
Posts: 7
Threads: 2
Joined: Apr 2021
Still no luck with the following steps:

Code:
git clone https://github.com/dolphin-emu/dolphin.git dolphin-emu

cd ./dolphin-emu
mkdir Build && cd Build
cmake -Dbindir=../Binary/Linux -Ddatadir=../Binary/Linux ..
make install
sudo make install
sudo cp ../Data/51-usb-device.rules /usr/lib/udev/rules.d/
sudo udevadm control --reload-rules
Linux/dolphin-emu



Code:
vim ~/.config/dolphin-emu/WiimoteNew.ini

[Wiimote1]
Source = 2
MotionPlusConnected = True
[Wiimote2]
Source = 0
[Wiimote3]
Source = 0
[Wiimote4]
Source = 0
[BalanceBoard]
Source = 0



Code:
sudo dmesg -w
[ 9795.281605] usb 1-2: new full-speed USB device number 8 using xhci_hcd
[ 9795.434733] usb 1-2: New USB device found, idVendor=057e, idProduct=0306, bcdDevice= 1.00
[ 9795.434738] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 9795.434742] usb 1-2: Product: Mayflash Wiimote PC Adapter
[ 9795.434744] usb 1-2: Manufacturer: HJZ
[ 9795.441242] hid-generic 0003:057E:0306.0009: No inputs registered, leaving
[ 9795.441358] hid-generic 0003:057E:0306.0009: hidraw2: USB HID v1.11 Gamepad [HJZ Mayflash Wiimote PC Adapter] on usb-0000:00:14.0-2/input0
[ 9795.445185] hid-generic 0003:057E:0306.000A: No inputs registered, leaving
[ 9795.445272] hid-generic 0003:057E:0306.000A: hidraw3: USB HID v1.11 Gamepad [HJZ Mayflash Wiimote PC Adapter] on usb-0000:00:14.0-2/input1
[ 9795.450202] hid-generic 0003:057E:0306.000B: No inputs registered, leaving
[ 9795.450260] hid-generic 0003:057E:0306.000B: hidraw4: USB HID v1.11 Gamepad [HJZ Mayflash Wiimote PC Adapter] on usb-0000:00:14.0-2/input2
[ 9795.453875] hid-generic 0003:057E:0306.000C: No inputs registered, leaving
[ 9795.453946] hid-generic 0003:057E:0306.000C: hidraw5: USB HID v1.11 Gamepad [HJZ Mayflash Wiimote PC Adapter] on usb-0000:00:14.0-2/input3
[11024.517227] perf: interrupt took too long (3919 > 3912), lowering kernel.perf_event_max_sample_rate to 51000

What did I miss?
 
Find
Reply
« Next Oldest | Next Newest »


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode