PS3 controller Sixais
MG
m.s0128532 at gmail.com
Tue Apr 21 13:53:36 UTC 2009
I cannot tried to make the file myself from the code it gave
tried running it in a few different dirs but none called 'Utils' as
directed by 'https://help.ubuntu.com/community/Sixaxis' (see below)
I need to read HTML
Patch HIDD from bluez-utils
1.
Download patch-hidd-3.19-pabr3<http://www.pabr.org/sixlinux/patch-hidd-3.19-pabr3>(save
to a directory such as /tmp)
2. Create a directory and download bluez-utils source and dependencies
there:
$ apt-get source bluez-utils
$ apt-get build-dep bluez-utils
3. Go into the bluez-utils-x.xx directory and run
$ mv <path_where_you_saved_it>patch-hidd-3.19-pabr3 .
$ patch -p1 < patch-hidd-3.19-pabr3
4. Rebuild the package:
$ dpkg-buildpackage -rfakeroot
5. Install the new package (ignore the others that were created):
$ cd .. (to find the debs)
$ dpkg -i bluez-utils_<version>_<architecture>.deb
6. Optional: if you will dist-upgrade your system, the process will
overwrite your modified package with newer versions. You can either choose
to redo the above steps every time a new version of bluez-utils is packaged,
or "hold" the package. This should work with both apt and aptitude:
$ echo bluez-utils hold | dpkg --set-selections
root at THUNDERCAT1:/tmp/bluez-4.12/debian/patches# patch -p1 <
patch-hidd-3.19-pabr3
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- bluez-utils-3.19/hidd/main.c.orig 2007-05-09 08:40:42.000000000
+0200
|+++ bluez-utils-3.19/hidd/main.c 2007-10-15 02:29:40.000000000 +0200
--------------------------
File to patch: /tmp/bluez-4.12/debian/patches/patch-hidd-3.19-pabr3
patching file /tmp/bluez-4.12/debian/patches/patch-hidd-3.19-pabr3
Hunk #1 FAILED at 87.
Hunk #2 FAILED at 128.
Hunk #3 FAILED at 240.
3 out of 3 hunks FAILED -- saving rejects to file
/tmp/bluez-4.12/debian/patches/patch-hidd-3.19-pabr3.rej
root at THUNDERCAT1:/tmp/bluez-4.12/debian/patches# /tmp/bluez-4.12/debian
bash: /tmp/bluez-4.12/debian: is a directory
root at THUNDERCAT1:/tmp/bluez-4.12/debian/patches# cd /tmp/bluez-4.12/debian
root at THUNDERCAT1:/tmp/bluez-4.12/debian# patch -p1 < patch-hidd-3.19-pabr3
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- bluez-utils-3.19/hidd/main.c.orig 2007-05-09 08:40:42.000000000
+0200
|+++ bluez-utils-3.19/hidd/main.c 2007-10-15 02:29:40.000000000 +0200
--------------------------
File to patch: patch -p1 < patch-hidd-3.19-pabr3
patch: No such file or directory
Skip this patch? [y] y
Skipping patch.
3 out of 3 hunks ignored
root at THUNDERCAT1:/tmp/bluez-4.12/debian# cd /tmp/bluez-4.12
root at THUNDERCAT1:/tmp/bluez-4.12# patch -p1 < patch-hidd-3.19-pabr3
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- bluez-utils-3.19/hidd/main.c.orig 2007-05-09 08:40:42.000000000
+0200
|+++ bluez-utils-3.19/hidd/main.c 2007-10-15 02:29:40.000000000 +0200
--------------------------
File to patch: patch -p1 < patch-hidd-3.19-pabr3
patch: No such file or directory
Skip this patch? [y] y
Skipping patch.
3 out of 3 hunks ignored
root at THUNDERCAT1:/tmp/bluez-4.12#
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20090421/191f4426/attachment.html>
More information about the ubuntu-users
mailing list