Bill Adams wrote:
>
> Hello, I recently purchased a PS to PC USB converter in hopes that I could
> get it working under linux and use my playstation controllers with games and
> such. I have submitted the vendor/product ids to be added to the list and
> now want to start hacking however I need some guidance. (Of course if there
> is a document that I should read that will answer my questions please feel
> free to tell me to RTFM but please include which one.)
For HID, read the HID spec, HID usage tables, the Linux USB Guide
and the Linux USB Programmers Guide. They are all linked off
http://www.linux-usb.org, in various ways.
Try Zen and the Art of Motorcycle Maintenance for the right mindset
for reading HID specs.
> The device reports its self as a HID device in usbview and other wise does
> not have much info. Here is the section from /proc/bus/usb/devices:
>
> T: Bus=01 Lev=02 Prnt=02 Port=00 Cnt=01 Dev#= 3 Spd=1.5 MxCh= 0
> D: Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
> P: Vendor=6666 ProdID=0667 Rev= 2.88
> C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA
> I: If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=00 Prot=00 Driver=hid
> E: Ad=81(I) Atr=03(Int.) MxPS= 6 Ivl= 10ms
>
> So my first question is how do I get it so that it is recognized as a
> joystick so if by some dumb luck it just works I will be set. If that fails
> then I will send a second email asking what should I read to get me started
> on a driver for the device.
Working as Joystick depends on certain application information and
usages. It may well work by using the normal joystick driver (what
do the logs say when you modprobe the input and joystick drivers?
> I am not on the list so please include me in the reply.
If you are not subscribed, then your query is probably a "user help"
question, and you probably wanted to post your query to
[EMAIL PROTECTED] If you want to write a
driver, you probably need to be subscribed to keep up to date.
Brad
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
http://lists.sourceforge.net/lists/listinfo/linux-usb-devel