raelgc / ubuntu_xboxdrv

Ubuntu xboxdrv Integration
https://launchpad.net/~rael-gc/+archive/ubuntu-xboxdrv
GNU General Public License v3.0
165 stars 16 forks source link

Can't seem to install on Ubuntu 14.04. Getting `unknown job xboxdrv` #54

Open trayo opened 8 years ago

trayo commented 8 years ago

Hello, hopefully someone can help me with a little installation issue. This is on Ubuntu 14.04. I have tried purging ubuntu-xboxdrv and xboxdrv. I've restarted after every step and ran sudo rmmod xpad, only to get Module xpad is not currently loaded. In addition the joysticks section in my system settings is blank. Using one controller seems to work fine in Big Picture Mode, but the Xbox ring ends up flashing non-stop.

Here is the full log output from the installation:

(trusty)travis@localhost:~$ sudo apt-get install ubuntu-xboxdrv
[sudo] password for travis: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  xboxdrv
The following NEW packages will be installed:
  ubuntu-xboxdrv xboxdrv
0 upgraded, 2 newly installed, 0 to remove and 1 not upgraded.
Need to get 0 B/669 kB of archives.
After this operation, 1821 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Selecting previously unselected package xboxdrv.
(Reading database ... 74549 files and directories currently installed.)
Preparing to unpack .../xboxdrv_0.8.5-1_amd64.deb ...
Unpacking xboxdrv (0.8.5-1) ...
Selecting previously unselected package ubuntu-xboxdrv.
Preparing to unpack .../ubuntu-xboxdrv_20160113-1_all.deb ...
Unpacking ubuntu-xboxdrv (20160113-1) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
Processing triggers for bamfdaemon (0.5.1+14.04.20140409-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.54ubuntu1.1) ...
Processing triggers for ureadahead (0.100.0-16) ...
Setting up xboxdrv (0.8.5-1) ...
Setting up ubuntu-xboxdrv (20160113-1) ...
/usr/bin/update-desktop-database
start: Unknown job: xboxdrv
dpkg: error processing package ubuntu-xboxdrv (--configure):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for ureadahead (0.100.0-16) ...
Errors were encountered while processing:
 ubuntu-xboxdrv
E: Sub-process /usr/bin/dpkg returned an error code (1)

Thanks for any help!

raelgc commented 8 years ago

What happens when you run:

sudo service xboxdrv start
trayo commented 8 years ago

@raelgc I get start: Unknown job: xboxdrv

mainmachine commented 8 years ago
dpkg: error processing package ubuntu-xboxdrv (--configure):

looks like the ubuntu-xboxdrv package didn't even install properly. Try this:

sudo aptitude install

Aptitude is really good for mitigating conflicts of different packages. It should offer you options, consecutively, for ways you can resolve any issues with package installation.

trayo commented 8 years ago

@mainmachine Doing sudo aptitude install gave me back the same error. It still doesn't seem to find the job. I tried this as well on a fresh installation and ran into the same error.

raelgc commented 8 years ago

@trayo Are you running inside a Chromebook or something like Crouton?

trayo commented 8 years ago

@raelgc Yeah, it's a chromebook pixel

mainmachine commented 8 years ago

So this is 14.04 running inside a VM on a Chromebook????

trayo commented 8 years ago

@mainmachine I'm using Crouton on it. Does it not work with Crouton? I saw somewhere online that it would work okay. I can at least get a controller to work inside of Steam, but wanted to download a few non-Steam games.

mainmachine commented 8 years ago

@trayo I have no experience with Crouton, but in Virtualbox, Virt-manager, Qemu or any other VM framework that I'm aware of, a VM will only be able to access hardware if you expressly confgure the Hypervisor to do so. Even then, you'd need to do USB passthrough to guarantee it will work. Again, not sure how Crouton compares to any of the more established VM solutions...

raelgc commented 8 years ago

For some reason, upstart services do not work on Crouton out of the box.