Re: FreeBSD as USB joystick

2009-05-22 Thread Kirk Strauser
On Friday 22 May 2009 01:05:57 pm Warren Block wrote:

> Seems like it'd be less work to have the FreeBSD system close the
> switches of a real USB joystick.

Think so? I had an Arduino writing messages to my kids on a 7-segment display 
in about an hour.  I would think that finding the right USB codes would be 
reasonably do-able.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: FreeBSD as USB joystick

2009-05-22 Thread Warren Block

On Fri, 22 May 2009, Kirk Strauser wrote:


On Friday 22 May 2009 11:07:34 am Sebastiaan van Erk wrote:


Ok, that's a clear answer. Are there any alternatives? For example a PCI
expansion card that does USB device mode and is programmable? Might be
difficult to get working under FreeBSD though maybe?


You might look at getting an Arduino board ($30 or so) with built-in USB and
enough RAM to hold your controller software.  Write your joystick emulator to
run on the Arduino, and control *that* via your FreeBSD system's parallel port
(if you still have one).  Just a thought.


Seems like it'd be less work to have the FreeBSD system close the 
switches of a real USB joystick.


-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: FreeBSD as USB joystick

2009-05-22 Thread Kirk Strauser
On Friday 22 May 2009 11:07:34 am Sebastiaan van Erk wrote:

> Ok, that's a clear answer. Are there any alternatives? For example a PCI
> expansion card that does USB device mode and is programmable? Might be
> difficult to get working under FreeBSD though maybe?

You might look at getting an Arduino board ($30 or so) with built-in USB and 
enough RAM to hold your controller software.  Write your joystick emulator to 
run on the Arduino, and control *that* via your FreeBSD system's parallel port 
(if you still have one).  Just a thought.

- Kirk
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: FreeBSD as USB joystick

2009-05-22 Thread Sebastiaan van Erk

Hi,

Wojciech Puchar wrote:


That is, I have a PS2 and want to be able to control it via my laptop. 
This would amount to connecting a USB cable between my PS2 and my 
laptop, and getting the PS2 to detect it as a joystick with the right 
identifier string, and being able to send button presses etc via my 
laptop to the PS2.


PC USB controllers has only host mode, not device mode, so the answer is 
no.


Ok, that's a clear answer. Are there any alternatives? For example a PCI 
expansion card that does USB device mode and is programmable? Might be 
difficult to get working under FreeBSD though maybe?


Regards,
Sebastiaan


smime.p7s
Description: S/MIME Cryptographic Signature


Re: FreeBSD as USB joystick

2009-05-22 Thread Wojciech Puchar


That is, I have a PS2 and want to be able to control it via my laptop. This 
would amount to connecting a USB cable between my PS2 and my laptop, and 
getting the PS2 to detect it as a joystick with the right identifier string, 
and being able to send button presses etc via my laptop to the PS2.


PC USB controllers has only host mode, not device mode, so the answer is 
no.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


RE: FreeBSD as USB joystick

2009-05-22 Thread Gary Gatten
As a drummer in my past life this sounds pretty sweet, but unfortunately
I don't have the development / programming skills to help you out.  I
still have my acoustic kit, but no triggers or electronics anymore to
play with :(

-Original Message-
From: owner-freebsd-questi...@freebsd.org
[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Sebastiaan van
Erk
Sent: Friday, May 22, 2009 10:00 AM
To: freebsd-questions@freebsd.org
Subject: FreeBSD as USB joystick

Hi,

I'm wondering if I can turn my FreeBSD into a (very expensive ;-))
joystick.

That is, I have a PS2 and want to be able to control it via my laptop. 
This would amount to connecting a USB cable between my PS2 and my 
laptop, and getting the PS2 to detect it as a joystick with the right 
identifier string, and being able to send button presses etc via my 
laptop to the PS2.

Does anybody have any starting points as to how I can achieve this?

Regards,
Sebastiaan

P.S.: For those of you who must know, I want to interface my electronic 
drum module (Roland TD-9KS) with the Rockband game. The idea is to use a

cheap midi card and convert the incoming notes into joystick button 
presses :)








"This email is intended to be reviewed by only the intended recipient
 and may contain information that is privileged and/or confidential.
 If you are not the intended recipient, you are hereby notified that
 any review, use, dissemination, disclosure or copying of this email
 and its attachments, if any, is strictly prohibited.  If you have
 received this email in error, please immediately notify the sender by
 return email and delete this email from your system."


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


FreeBSD as USB joystick

2009-05-22 Thread Sebastiaan van Erk

Hi,

I'm wondering if I can turn my FreeBSD into a (very expensive ;-)) joystick.

That is, I have a PS2 and want to be able to control it via my laptop. 
This would amount to connecting a USB cable between my PS2 and my 
laptop, and getting the PS2 to detect it as a joystick with the right 
identifier string, and being able to send button presses etc via my 
laptop to the PS2.


Does anybody have any starting points as to how I can achieve this?

Regards,
Sebastiaan

P.S.: For those of you who must know, I want to interface my electronic 
drum module (Roland TD-9KS) with the Rockband game. The idea is to use a 
cheap midi card and convert the incoming notes into joystick button 
presses :)


smime.p7s
Description: S/MIME Cryptographic Signature