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


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Controllers v
« Previous 1 ... 86 87 88 89 90 ... 320 Next »

Problem accessing a Skylander Portal under Linux (Mint 17.3)
View New Posts | View Today's Posts

Thread Closed 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Problem accessing a Skylander Portal under Linux (Mint 17.3)
10-23-2016, 10:38 AM
#1
santasemilla Offline
Junior Member
**
Posts: 34
Threads: 5
Joined: Apr 2009
Hi everyone,

I'm having an issue with permissions when trying to play Skylander Giants with its portal. I'm running linux Mint 17.3 and latest dolphin compilation (5.0-1127). The problem is that Dolphin doesn't have permissions to access the portal. When I run Dolphin as root all is fine, but under my user, I get this log errors and info:

info:

Code:
Core/IPC_HLE/WII_IPC_HLE_Device_hid.cpp:202 I[WII_IPC_HID]: Could not find handle: 0
Core/IPC_HLE/WII_IPC_HLE_Device_hid.cpp:168 I[WII_IPC_HID]: HID::IOCtl(Set Suspend) (BufferIn: (135dfd08, 8), BufferOut: (00000000, 0)
Core/IPC_HLE/WII_IPC_HLE_Device_hid.cpp:168 I[WII_IPC_HID]: HID::IOCtl(Set Suspend) (BufferIn: (135dfd08, 8), BufferOut: (00000000, 0)

Error:

Code:
Core/IPC_HLE/WII_IPC_HLE_Device_hid.cpp:582 E[WII_IPC_HID]: Dolphin does not have access to this device: Bus 001 Device 002: ID 1430:0150.

I got the info on the device and tried to make a rule as explained here, but nothing happened.
Additionally, I tried the solution proposed here for hidraw devices... but still no luk.

Could anyone give some advice on this problem? I know this is not specific a "Controller" but many of you deal with hidraw devices and linux.

Thanks for the help!!
Find
10-23-2016, 07:06 PM (This post was last modified: 10-23-2016, 07:07 PM by leolam.)
#2
leolam Offline
Developer
**********
Developers (Some Administrators and Super Moderators)
Posts: 1,478
Threads: 5
Joined: Sep 2015
Make sure you have reloaded the udev rules (this should be done automatically, but you never know), then unplugged and replugged your device. The rules don't apply until you do that.

PS: many… we are ~450 recent, active Linux users. Tongue
Website Find
10-24-2016, 06:45 AM
#3
santasemilla Offline
Junior Member
**
Posts: 34
Threads: 5
Joined: Apr 2009
Hi leolam!

Thanks for stopping by. Yes, I was aware of that, but still no luck. I placed a file: 51-hidraw-permissions.rules at /etc/udev/rules.d containing:

Code:
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", MODE:="0666", GROUP=="plugdev"
and yes, my user is part of the "plugdev" group by the way. It seems that permissions are well assigned as when I run: ls -lah /dev/hidraw* I get:

Code:
crw-rw-r-- 1 root plugdev 251, 0 Oct 23 10:34 /dev/hidraw0
crw-rw-r-- 1 root plugdev 251, 1 Oct 23 10:34 /dev/hidraw1
crw-rw-r-- 1 root plugdev 251, 2 Oct 23 10:34 /dev/hidraw2
crw-rw-rw- 1 root plugdev 251, 3 Oct 23 17:29 /dev/hidraw3
the hidraw3 is the portal, and the difference with the rest is 'cause I was playing with MODE:="0664" and MODE:="0666". But when I run Dolphin I still get the error:

Code:
Core/IPC_HLE/WII_IPC_HLE_Device_hid.cpp:582 E[WII_IPC_HID]: Dolphin does not have access to this device: Bus 001 Device 008: ID 1430:0150.
The strange thing is that in the past this rule used to work. I reinstalled my computer and had to do it again, but I have no idea why is not working now. Again, weird thing is that running Dolphin as sudo, all goes well. That's why I think it is a permissions problem.

Hope some of the ~449 other linux users see the post!  Big Grin
Find
10-24-2016, 06:53 AM
#4
leolam Offline
Developer
**********
Developers (Some Administrators and Super Moderators)
Posts: 1,478
Threads: 5
Joined: Sep 2015
Oh right, I forgot that the HID code doesn't use the HID interface, and instead directly interacts with the devices at a lower-level.

You need a rule like this one:

SUBSYSTEM=="usb", ATTRS{idVendor}=="YOURVID", ATTRS{idProduct}=="YOURPID", TAG+="uaccess"

to give permission to Dolphin to use the raw USB device. So in your case:

SUBSYSTEM=="usb", ATTRS{idVendor}=="1430", ATTRS{idProduct}=="0150", TAG+="uaccess"
Website Find
10-24-2016, 07:07 AM
#5
santasemilla Offline
Junior Member
**
Posts: 34
Threads: 5
Joined: Apr 2009
Thanks soooo much! That did the trick! I thought that the hidraw subsistem had to have a rule and not the usb directly. By the way... I don't know how this worked in the past Tongue

Thanks again leolam!
Problem solved.
Find
10-24-2016, 07:09 AM
#6
leolam Offline
Developer
**********
Developers (Some Administrators and Super Moderators)
Posts: 1,478
Threads: 5
Joined: Sep 2015
No problem, and nope, if you read the code, you will notice that it uses libusb directly and not a library like hidapi or at least the hidraw interface.
Website Find
05-21-2017, 10:16 AM
#7
santasemilla Offline
Junior Member
**
Posts: 34
Threads: 5
Joined: Apr 2009
Hi! Just reviving this thread. I'm trying to play Skyalanders Giants with Dolphin 5.0-3813 right now but I don't know why the portal is not recognized. It is ok as a USB device, no errors under dolphin log, just nothing. Could it be something missing on the last builds? This was happening on a previous one (couple of weeks ago) but I cannot recall the version number.

Thanks so much for the help!
Find
05-21-2017, 11:47 AM
#8
DJBarry004 Offline
Don't even bother...
*******
Posts: 2,456
Threads: 33
Joined: Sep 2013
I ain´t admin or anything, but necroposting is prohibited man... :/
Rig 1: Windows 10 Home | AMD A6-1450 @ 600/1000/1400 MHz | AMD Radeon HD Graphics 8250 | 4GB RAM | HP Pavilion TouchSmart 11.

Rig 2: Windows 10 Pro | Intel Core i7-2640M @ 780/2800/3500 MHz | Intel HD 3000 Mobile | 8GB RAM | Dell Latitude 6320.
Find
05-21-2017, 02:30 PM
#9
santasemilla Offline
Junior Member
**
Posts: 34
Threads: 5
Joined: Apr 2009
(05-21-2017, 11:47 AM)DJBarry004 Wrote: I ain´t admin or anything, but necroposting is prohibited man... :/

mmm... you are right, my bad. I'll make a new one.
Thanks!
Find
05-21-2017, 03:14 PM
#10
MayImilae Online
Chronically Distracted
**********
Administrators
Posts: 4,604
Threads: 120
Joined: Mar 2011
*waves her magic moderator wand*

Closed!
[Image: RPvlSEt.png]
AMD Threadripper Pro 5975WX PBO+200 | Asrock WRX80 Creator | NVIDIA GeForce RTX 4090 FE | 64GB DDR4-3600 Octo-Channel | Windows 11 22H2 | (details)
MacBook Pro 14in | M1 Max (32 GPU Cores) | 64GB LPDDR5 6400 | macOS 12
Find
« Next Oldest | Next Newest »
Thread Closed 


  • 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