| View previous topic :: View next topic |
| Author |
Message |
ralferoo
Joined: 03 Mar 2007 Posts: 122
|
Posted: Tue Jan 01, 2008 5:06 am Post subject: Can anyone with a dualshock 3 confirm its vendorID:productID |
|
|
Just wondered if anyone out there who has a DualShock 3 and linux (not necessarily on the PS3) can confirm the USB productID.
The output from | Code: | | cat /proc/bus/input/devices | or | Code: | | cat /proc/bus/usb/devices | when the DualShock3 is plugged in should tell me everything I need to know... The vendor ID is probably 0x054c for Sony, but the product ID could be anything. You can probably also determine this information by plugging it into a Windows machine, but I don't know how!
Thanks! |
|
| Back to top |
|
 |
weltall
Joined: 20 Feb 2004 Posts: 310
|
Posted: Tue Jan 01, 2008 5:38 am Post subject: |
|
|
this should be enough :D
| Code: |
Bus 003 Device 005: ID 054c:0268 Sony Corp.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x054c Sony Corp.
idProduct 0x0268
bcdDevice 1.00
iManufacturer 1 Sony
iProduct 2 PLAYSTATION(R)3 Controller
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 41
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 500mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 3 Human Interface Devices
bInterfaceSubClass 0 No Subclass
bInterfaceProtocol 0 None
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.11
bCountryCode 0 Not supported
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 148
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 1
Device Status: 0x0000
(Bus Powered)
|
| Code: | I: Bus=0003 Vendor=054c Product=0268 Version=0111
N: Name="Sony PLAYSTATION(R)3 Controller"
P: Phys=usb-0000:00:1d.0-1/input0
S: Sysfs=/class/input/input10
U: Uniq=
H: Handlers=event10 js0
B: EV=b
B: KEY=7ffff 0 0 0 0 0 0 0 0 0
B: ABS=ffffff00 27
|
| Code: | T: Bus=03 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 5 Spd=12 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=054c ProdID=0268 Rev= 1.00
S: Manufacturer=Sony
S: Product=PLAYSTATION(R)3 Controller
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=03(HID ) Sub=00 Prot=00 Driver=usbhid
E: Ad=02(O) Atr=03(Int.) MxPS= 64 Ivl=1ms
E: Ad=81(I) Atr=03(Int.) MxPS= 64 Ivl=1ms
|
|
|
| Back to top |
|
 |
ralferoo
Joined: 03 Mar 2007 Posts: 122
|
Posted: Tue Jan 01, 2008 8:50 pm Post subject: |
|
|
| weltall wrote: | | Code: |
Bus 003 Device 005: ID 054c:0268 Sony Corp.
Device Descriptor:
...
idVendor 0x054c Sony Corp.
idProduct 0x0268
bcdDevice 1.00
iManufacturer 1 Sony
iProduct 2 PLAYSTATION(R)3 Controller
|
| Is that definitely a DualShock3? Those results look identical to the standard PS3 controller... Although, that does make like easier as I don't have to worry about the difference for now!
Cheers. |
|
| Back to top |
|
 |
weltall
Joined: 20 Feb 2004 Posts: 310
|
Posted: Wed Jan 02, 2008 7:41 am Post subject: |
|
|
hum you asked the dual shock 3 oh sorry it's the standard controller i misslooked.
sorry to have made you lose time |
|
| Back to top |
|
 |
CPhoenix
Joined: 02 Apr 2005 Posts: 4
|
Posted: Fri Jan 04, 2008 3:51 am Post subject: |
|
|
Right I've plugged in my DS3 controller and got the info but youre probably not going to like the results :(
[CPhoenix@localhost ~]$ cat /proc/bus/input/devices
I: Bus=0003 Vendor=054c Product=0268 Version=0100
N: Name="Sony PLAYSTATION(R)3 Controller"
P: Phys=usb-0000:00:01.1-2.1/input0
S: Sysfs=/class/input/input0
H: Handlers=event0 js0
B: EV=b
B: KEY=7ffff00000000 0 0 0 0
B: ABS=ffffff0000000027
Looks like the same as the Sixaxis controller.... hope this still helps btw. |
|
| Back to top |
|
 |
ralferoo
Joined: 03 Mar 2007 Posts: 122
|
Posted: Fri Jan 04, 2008 7:31 pm Post subject: |
|
|
| CPhoenix wrote: | Right I've plugged in my DS3 controller and got the info but youre probably not going to like the results :(
Looks like the same as the Sixaxis controller.... hope this still helps btw. | TBH, that makes life easier for me and probably most people, as existing code looks for deivce ID 054c:0268 in order to work around the bugs and these will work therefore work unchanged on the DS3!
I'd imagine the packets used to control rumble are ignored by the original controller. Also, there are several bytes of data sent by the controllers that I don't know what they're for; possibly there's a bit in there that signfies the device supports force feedback.
My main concern is that as europeans aren't allowed to buy DS3 yet, I had no way of knowing whether my code was still working with them or not. If the device ID is the same, then that's fine. I'll eventually buy a DS3 when they're available here and figure out how to get them rumbling! |
|
| Back to top |
|
 |
mc

Joined: 12 Jan 2005 Posts: 212 Location: Linköping
|
Posted: Sat Jan 05, 2008 2:03 am Post subject: |
|
|
| ralferoo wrote: | | My main concern is that as europeans aren't allowed to buy DS3 yet, I had no way of knowing whether my code was still working with them or not. If the device ID is the same, then that's fine. I'll eventually buy a DS3 when they're available here and figure out how to get them rumbling! |
If you want one now and don't mind paying a bit extra, you can probably get one through Ooh!JAPAN. _________________ Flying at a high speed
Having the courage
Getting over crisis
I rescue the people |
|
| Back to top |
|
 |
CPhoenix
Joined: 02 Apr 2005 Posts: 4
|
Posted: Sat Jan 05, 2008 3:04 am Post subject: |
|
|
| mc wrote: | | If you want one now and don't mind paying a bit extra, you can probably get one through Ooh!JAPAN. |
Shame... I bought a suitcase full of them back with me when I was out in Japan - If I'd have known... :(
| ralferoo wrote: | | I had no way of knowing whether my code was still working with them or not. If the device ID is the same, then that's fine. |
If there's anything else I can do to help (except flying back to Japan), just give me a prod. |
|
| Back to top |
|
 |
Oroz
Joined: 16 Feb 2008 Posts: 1
|
|
| Back to top |
|
 |
mc

Joined: 12 Jan 2005 Posts: 212 Location: Linköping
|
Posted: Mon Feb 18, 2008 12:56 am Post subject: |
|
|
Note that play-asia don't ship these to Europe, though... _________________ Flying at a high speed
Having the courage
Getting over crisis
I rescue the people |
|
| Back to top |
|
 |
Frek
Joined: 06 Dec 2007 Posts: 18
|
Posted: Tue Feb 19, 2008 2:47 am Post subject: |
|
|
| yesasia.com do however and it's pretty cheap. |
|
| Back to top |
|
 |
|