public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] gamepad is attached... and what?
@ 2009-03-17 14:31 Andrew Gaydenko
  2009-03-17 14:37 ` [gentoo-user] " Nikos Chantziaras
  2009-03-17 15:54 ` [gentoo-user] " Andrew Gaydenko
  0 siblings, 2 replies; 10+ messages in thread
From: Andrew Gaydenko @ 2009-03-17 14:31 UTC (permalink / raw
  To: gentoo-user

Hi!

Have bought a gamepad for my son - he plays supertuxkart (USB, "Black Warrior 
Patriot Vibration Gamepad"), attached, added

Section "InputDevice"
         Identifier "joy1"
         Driver "joystick"
EndSection

to xorg.conf, restarted X (Gnome), and ... what?




^ permalink raw reply	[flat|nested] 10+ messages in thread

* [gentoo-user]  Re: gamepad is attached... and what?
  2009-03-17 14:31 [gentoo-user] gamepad is attached... and what? Andrew Gaydenko
@ 2009-03-17 14:37 ` Nikos Chantziaras
  2009-03-17 14:51   ` Andrew Gaydenko
  2009-03-17 15:54 ` [gentoo-user] " Andrew Gaydenko
  1 sibling, 1 reply; 10+ messages in thread
From: Nikos Chantziaras @ 2009-03-17 14:37 UTC (permalink / raw
  To: gentoo-user

Andrew Gaydenko wrote:
> Hi!
> 
> Have bought a gamepad for my son - he plays supertuxkart (USB, "Black Warrior 
> Patriot Vibration Gamepad"), attached, added
> 
> Section "InputDevice"
>          Identifier "joy1"
>          Driver "joystick"
> EndSection
> 
> to xorg.conf, restarted X (Gnome), and ... what?

I guess it depends on the version of X.Org.  With 1.5.x, you don't need 
an xorg.conf entry.  You just plug it in and it works.  The kernel must 
of course have joystick support.




^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user]  Re: gamepad is attached... and what?
  2009-03-17 14:37 ` [gentoo-user] " Nikos Chantziaras
@ 2009-03-17 14:51   ` Andrew Gaydenko
  2009-03-17 15:24     ` Nikos Chantziaras
                       ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Andrew Gaydenko @ 2009-03-17 14:51 UTC (permalink / raw
  To: gentoo-user

On Tuesday 17 March 2009 17:37:40 Nikos Chantziaras wrote:
> Andrew Gaydenko wrote:
> > Hi!
> >
> > Have bought a gamepad for my son - he plays supertuxkart (USB, "Black
> > Warrior Patriot Vibration Gamepad"), attached, added
> >
> > Section "InputDevice"
> >          Identifier "joy1"
> >          Driver "joystick"
> > EndSection
> >
> > to xorg.conf, restarted X (Gnome), and ... what?
>
> I guess it depends on the version of X.Org.  With 1.5.x, you don't need
> an xorg.conf entry.  You just plug it in and it works.  The kernel must
> of course have joystick support.

Aha... Thanks - have looked at the kernel config - have not selected any 
device in the "Joysticks/Gamepads" (tte list is below). Must I select all the 
modules with a hope X will be smart enough to load a needed module? Or - which 
one is appropriate at my case?

xorg-server 1.5.3-r5 is in use.

------------------

Assassin 3D and MadCatz Panther devices                                                                         
Logitech ADI digital joysticks and gamepads                                                                     
Creative Labs Blaster Cobra gamepad                                                                             
Genius Flight2000 Digital joysticks and gamepads                                                                  
Gravis GrIP joysticks and gamepads                                                                                
Gravis GrIP MultiPort                                                                                          
Guillemot joysticks and gamepads                                                                               
InterAct digital joysticks and gamepads                                                                        
Microsoft SideWinder digital joysticks and
ThrustMaster DirectConnect joysticks and gamepads
I-Force devices                                                                                                   
Logitech WingMan Warrior joystick                                                                              
LogiCad3d Magellan/SpaceMouse 6dof controllers                                                                  
SpaceTec SpaceOrb/Avenger 6dof controllers                                                                        
SpaceTec SpaceBall 6dof controllers                                                                            
Gravis Stinger gamepad                                                                                         
Twiddler as a joystick                                                                                            
5-byte Zhenhua RC transmitter                                                                                     
Gameport data dumper                                                                                              
X-Box gamepad support     



^ permalink raw reply	[flat|nested] 10+ messages in thread

* [gentoo-user]  Re: gamepad is attached... and what?
  2009-03-17 14:51   ` Andrew Gaydenko
@ 2009-03-17 15:24     ` Nikos Chantziaras
  2009-03-17 15:28       ` Nikos Chantziaras
  2009-03-17 15:24     ` Paul Hartman
  2009-03-17 18:39     ` Sascha Hlusiak
  2 siblings, 1 reply; 10+ messages in thread
From: Nikos Chantziaras @ 2009-03-17 15:24 UTC (permalink / raw
  To: gentoo-user

Andrew Gaydenko wrote:
> On Tuesday 17 March 2009 17:37:40 Nikos Chantziaras wrote:
>> Andrew Gaydenko wrote:
>>> Hi!
>>>
>>> Have bought a gamepad for my son - he plays supertuxkart (USB, "Black
>>> Warrior Patriot Vibration Gamepad"), attached, added
>>>
>>> Section "InputDevice"
>>>          Identifier "joy1"
>>>          Driver "joystick"
>>> EndSection
>>>
>>> to xorg.conf, restarted X (Gnome), and ... what?
>> I guess it depends on the version of X.Org.  With 1.5.x, you don't need
>> an xorg.conf entry.  You just plug it in and it works.  The kernel must
>> of course have joystick support.
> 
> Aha... Thanks - have looked at the kernel config - have not selected any 
> device in the "Joysticks/Gamepads" (tte list is below). Must I select all the 
> modules with a hope X will be smart enough to load a needed module? Or - which 
> one is appropriate at my case?
> 
> xorg-server 1.5.3-r5 is in use.
> 
> [snipped list]

No, those are for old non-USB joysticks.  You need to make sure that 
these are enabled:

   Input device support --> <*> Joystick interface
   Input device support --> <*> Event interface
   HID Devices --> <*> USB Human Interface Device (full HID) support




^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Re: gamepad is attached... and what?
  2009-03-17 14:51   ` Andrew Gaydenko
  2009-03-17 15:24     ` Nikos Chantziaras
@ 2009-03-17 15:24     ` Paul Hartman
  2009-03-17 18:39     ` Sascha Hlusiak
  2 siblings, 0 replies; 10+ messages in thread
From: Paul Hartman @ 2009-03-17 15:24 UTC (permalink / raw
  To: gentoo-user

On Tue, Mar 17, 2009 at 9:51 AM, Andrew Gaydenko <a@gaydenko.com> wrote:
> On Tuesday 17 March 2009 17:37:40 Nikos Chantziaras wrote:
>> Andrew Gaydenko wrote:
>> > Hi!
>> >
>> > Have bought a gamepad for my son - he plays supertuxkart (USB, "Black
>> > Warrior Patriot Vibration Gamepad"), attached, added
>> >
>> > Section "InputDevice"
>> >          Identifier "joy1"
>> >          Driver "joystick"
>> > EndSection
>> >
>> > to xorg.conf, restarted X (Gnome), and ... what?
>>
>> I guess it depends on the version of X.Org.  With 1.5.x, you don't need
>> an xorg.conf entry.  You just plug it in and it works.  The kernel must
>> of course have joystick support.
>
> Aha... Thanks - have looked at the kernel config - have not selected any
> device in the "Joysticks/Gamepads" (tte list is below). Must I select all the
> modules with a hope X will be smart enough to load a needed module? Or - which
> one is appropriate at my case?
>
> xorg-server 1.5.3-r5 is in use.
>
> ------------------
>
> Assassin 3D and MadCatz Panther devices
> Logitech ADI digital joysticks and gamepads
> Creative Labs Blaster Cobra gamepad
> Genius Flight2000 Digital joysticks and gamepads
> Gravis GrIP joysticks and gamepads
> Gravis GrIP MultiPort
> Guillemot joysticks and gamepads
> InterAct digital joysticks and gamepads
> Microsoft SideWinder digital joysticks and
> ThrustMaster DirectConnect joysticks and gamepads
> I-Force devices
> Logitech WingMan Warrior joystick
> LogiCad3d Magellan/SpaceMouse 6dof controllers
> SpaceTec SpaceOrb/Avenger 6dof controllers
> SpaceTec SpaceBall 6dof controllers
> Gravis Stinger gamepad
> Twiddler as a joystick
> 5-byte Zhenhua RC transmitter
> Gameport data dumper
> X-Box gamepad support

I just have INPUT_DEVICES="joystick mouse keyboard" in my
/etc/make.conf and my USB joystick works fine... even in WINE. Never
had to do anything with a list such as that.



^ permalink raw reply	[flat|nested] 10+ messages in thread

* [gentoo-user]  Re: gamepad is attached... and what?
  2009-03-17 15:24     ` Nikos Chantziaras
@ 2009-03-17 15:28       ` Nikos Chantziaras
  2009-03-17 15:45         ` Momesso Andrea
  0 siblings, 1 reply; 10+ messages in thread
From: Nikos Chantziaras @ 2009-03-17 15:28 UTC (permalink / raw
  To: gentoo-user

Nikos Chantziaras wrote:
> [...]
> No, those are for old non-USB joysticks.  You need to make sure that 
> these are enabled:
> 
>   Input device support --> <*> Joystick interface
>   Input device support --> <*> Event interface
>   HID Devices --> <*> USB Human Interface Device (full HID) support

PS:

You also need HAL and probably D-Bus installed and running.




^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user]  Re: gamepad is attached... and what?
  2009-03-17 15:28       ` Nikos Chantziaras
@ 2009-03-17 15:45         ` Momesso Andrea
  0 siblings, 0 replies; 10+ messages in thread
From: Momesso Andrea @ 2009-03-17 15:45 UTC (permalink / raw
  To: gentoo-user

On Tue, 17 Mar 2009 17:28:37 +0200
Nikos Chantziaras <realnc@arcor.de> wrote:

> Nikos Chantziaras wrote:
> > [...]
> > No, those are for old non-USB joysticks.  You need to make sure
> > that these are enabled:
> > 
> >   Input device support --> <*> Joystick interface
> >   Input device support --> <*> Event interface
> >   HID Devices --> <*> USB Human Interface Device (full HID) support
> 
> PS:
> 
> You also need HAL and probably D-Bus installed and running.
> 
> 

And xorg-server build with the hal USE flag.

=======
TopperH
=======



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] gamepad is attached... and what?
  2009-03-17 14:31 [gentoo-user] gamepad is attached... and what? Andrew Gaydenko
  2009-03-17 14:37 ` [gentoo-user] " Nikos Chantziaras
@ 2009-03-17 15:54 ` Andrew Gaydenko
  1 sibling, 0 replies; 10+ messages in thread
From: Andrew Gaydenko @ 2009-03-17 15:54 UTC (permalink / raw
  To: gentoo-user

Thanks to all - summing all suggestions, it works!



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user]  Re: gamepad is attached... and what?
  2009-03-17 14:51   ` Andrew Gaydenko
  2009-03-17 15:24     ` Nikos Chantziaras
  2009-03-17 15:24     ` Paul Hartman
@ 2009-03-17 18:39     ` Sascha Hlusiak
  2009-03-17 19:02       ` Paul Hartman
  2 siblings, 1 reply; 10+ messages in thread
From: Sascha Hlusiak @ 2009-03-17 18:39 UTC (permalink / raw
  To: gentoo-user; +Cc: Andrew Gaydenko, Momesso Andrea, Nikos Chantziaras

[-- Attachment #1: Type: text/plain, Size: 1290 bytes --]

Am Dienstag 17 März 2009 15:51:15 schrieb Andrew Gaydenko:
> On Tuesday 17 March 2009 17:37:40 Nikos Chantziaras wrote:
> > Andrew Gaydenko wrote:
> > > Hi!
> > >
> > > Have bought a gamepad for my son - he plays supertuxkart (USB, "Black
> > > Warrior Patriot Vibration Gamepad"), attached, added
> > >
> > > Section "InputDevice"
> > >          Identifier "joy1"
> > >          Driver "joystick"
> > > EndSection
> > >
> > > to xorg.conf, restarted X (Gnome), and ... what?
> >
> > I guess it depends on the version of X.Org.  With 1.5.x, you don't need
> > an xorg.conf entry.  You just plug it in and it works.  The kernel must
> > of course have joystick support.
Little clarification. The xf86-input-joystick module is to use the joystick as 
an X input device to control the mouse cursor. It is not needed to play games 
or to use it in programs that directly use the joystick, like mplayer.

You can use xf86-input-joystick to control the cursor or to use a joystick in 
games that do NOT know how to handle joysticks themselves.

Neither you need joystick in INPUT_DEVICES, nor you need an entry in xorg.conf 
nor have xorg-server compiled with hal to use a joystick in games the usual 
way. Appropriate kernel modules and udev will do.


- Sascha


[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Re: gamepad is attached... and what?
  2009-03-17 18:39     ` Sascha Hlusiak
@ 2009-03-17 19:02       ` Paul Hartman
  0 siblings, 0 replies; 10+ messages in thread
From: Paul Hartman @ 2009-03-17 19:02 UTC (permalink / raw
  To: gentoo-user

On Tue, Mar 17, 2009 at 1:39 PM, Sascha Hlusiak <saschahlusiak@arcor.de> wrote:
> Am Dienstag 17 März 2009 15:51:15 schrieb Andrew Gaydenko:
>> On Tuesday 17 March 2009 17:37:40 Nikos Chantziaras wrote:
>> > Andrew Gaydenko wrote:
>> > > Hi!
>> > >
>> > > Have bought a gamepad for my son - he plays supertuxkart (USB, "Black
>> > > Warrior Patriot Vibration Gamepad"), attached, added
>> > >
>> > > Section "InputDevice"
>> > >          Identifier "joy1"
>> > >          Driver "joystick"
>> > > EndSection
>> > >
>> > > to xorg.conf, restarted X (Gnome), and ... what?
>> >
>> > I guess it depends on the version of X.Org.  With 1.5.x, you don't need
>> > an xorg.conf entry.  You just plug it in and it works.  The kernel must
>> > of course have joystick support.
> Little clarification. The xf86-input-joystick module is to use the joystick as
> an X input device to control the mouse cursor. It is not needed to play games
> or to use it in programs that directly use the joystick, like mplayer.
>
> You can use xf86-input-joystick to control the cursor or to use a joystick in
> games that do NOT know how to handle joysticks themselves.
>
> Neither you need joystick in INPUT_DEVICES, nor you need an entry in xorg.conf
> nor have xorg-server compiled with hal to use a joystick in games the usual
> way. Appropriate kernel modules and udev will do.

Good information, thank you.



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2009-03-17 19:02 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-17 14:31 [gentoo-user] gamepad is attached... and what? Andrew Gaydenko
2009-03-17 14:37 ` [gentoo-user] " Nikos Chantziaras
2009-03-17 14:51   ` Andrew Gaydenko
2009-03-17 15:24     ` Nikos Chantziaras
2009-03-17 15:28       ` Nikos Chantziaras
2009-03-17 15:45         ` Momesso Andrea
2009-03-17 15:24     ` Paul Hartman
2009-03-17 18:39     ` Sascha Hlusiak
2009-03-17 19:02       ` Paul Hartman
2009-03-17 15:54 ` [gentoo-user] " Andrew Gaydenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox