Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detection of SF1000 Mod #19

Open
Wanama78 opened this issue Apr 16, 2024 · 2 comments
Open

Detection of SF1000 Mod #19

Wanama78 opened this issue Apr 16, 2024 · 2 comments

Comments

@Wanama78
Copy link

Hello, I have made a small adjustment which you are welcome to adopt.

{0x02, 0x0a, 0x0005, "Thrustmaster T300 Ferrari SF1000 Edition"},

static const struct tm_wheel_info tm_wheels_infos[] = {
{0x00, 0x02, 0x0002, "Thrustmaster T500RS"},
{0x02, 0x00, 0x0005, "Thrustmaster T300RS (Missing Attachment)"},
{0x02, 0x03, 0x0005, "Thrustmaster T300RS (F1 attachment)"},
{0x02, 0x04, 0x0005, "Thrustmaster T300 Ferrari Alcantara Edition"},
{0x02, 0x0a, 0x0005, "Thrustmaster T300 Ferrari SF1000 Edition"},
{0x02, 0x06, 0x0005, "Thrustmaster T300RS"},
{0x02, 0x09, 0x0005, "Thrustmaster T300RS (Open Wheel Attachment)"},
{0x03, 0x06, 0x0006, "Thrustmaster T150RS"}
//{0x04, 0x07, 0x0001, "Thrustmaster TMX"}
};

@Wanama78
Copy link
Author

Hi,

{0x02, 0x04, 0x000b, "Thrustmaster T300 Ferrari Alcantara Edition"},
0x000b should work, but it does not.
then the ID should be: 0xb696 in lsusb.
But this does not happen.
This should be the switch that switches the wheel to advanced mode.

This will be spent, everything with 0x000b:

[ 3479.919480] usb 3-2: new full-speed USB device number 14 using xhci_hcd
[ 3480.076307] usb 3-2: New USB device found, idVendor=044f, idProduct=b65d, bcdDevice= 1.00
[ 3480.076313] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 3480.076315] usb 3-2: Product: Thrustmaster FFB Wheel
[ 3480.076317] usb 3-2: Manufacturer: Thrustmaster
[ 3480.092432] input: Thrustmaster Thrustmaster FFB Wheel as /devices/pci0000:00/0000:00:01.2/0000:20:00.0/0000:21:08.0/0000:2a:00.3/usb3/3-2/3-2:1.0/0003:044F:B65D.0011/input/input32
[ 3480.092559] hid-thrustmaster 0003:044F:B65D.0011: input,hidraw6: USB HID v1.00 Gamepad [Thrustmaster Thrustmaster FFB Wheel] on usb-0000:2a:00.3-2/input0
[ 3480.115288] hid-thrustmaster 0003:044F:B65D.0011: Wheel with (model, attachment) = (0x2, 0xa) is a Thrustmaster T300RS Ferrari SF1000 Edition. attachment_found=1

It stops here, nothing happens.

When I unplug the wheel, it comes:

[ 3705.686147] usb 3-2: USB disconnect, device number 14
[ 3705.688704] hid-thrustmaster 0003:044F:B65D.0011: Success?! The wheel should have been initialized!

With the value 0x0005, this is what you get:

[ 1768.298918] usb 3-2: new full-speed USB device number 11 using xhci_hcd
[ 1768.455325] usb 3-2: New USB device found, idVendor=044f, idProduct=b65d, bcdDevice= 1.00
[ 1768.455332] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1768.455335] usb 3-2: Product: Thrustmaster FFB Wheel
[ 1768.455337] usb 3-2: Manufacturer: Thrustmaster
[ 1768.493194] input: Thrustmaster Thrustmaster FFB Wheel as /devices/pci0000:00/0000:00:01.2/0000:20:00.0/0000:21:08.0/0000:2a:00.3/usb3/3-2/3-2:1.0/0003:044F:B65D.000E/input/input29
[ 1768.493279] hid-thrustmaster 0003:044F:B65D.000E: input,hidraw6: USB HID v1.00 Gamepad [Thrustmaster Thrustmaster FFB Wheel] on usb-0000:2a:00.3-2/input0
[ 1768.516304] hid-thrustmaster 0003:044F:B65D.000E: Wheel with (model, attachment) = (0x2, 0xa) is a Thrustmaster T300RS Ferrari SF1000 Edition. attachment_found=1
[ 1768.517417] usb 3-2: USB disconnect, device number 11
[ 1768.520374] hid-thrustmaster 0003:044F:B65D.000E: Success?! The wheel should have been initialized!
[ 1769.175574] usb 3-2: new full-speed USB device number 12 using xhci_hcd
[ 1769.338304] usb 3-2: New USB device found, idVendor=044f, idProduct=b66e, bcdDevice= 1.00
[ 1769.338310] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1769.338312] usb 3-2: Product: Thrustmaster T300RS Racing wheel
[ 1769.338313] usb 3-2: Manufacturer: Thrustmaster
[ 1769.357495] input: Thrustmaster Thrustmaster T300RS Racing wheel as /devices/pci0000:00/0000:00:01.2/0000:20:00.0/0000:21:08.0/0000:2a:00.3/usb3/3-2/3-2:1.0/0003:044F:B66E.000F/input/input30
[ 1769.357630] hid-generic 0003:044F:B66E.000F: input,hidraw6: USB HID v1.11 Joystick [Thrustmaster Thrustmaster T300RS Racing wheel] on usb-0000:2a:00.3-2/input0

This is recognized without any problems.
Just not the extension.

I'll send you the Wireshark recording of what happens with hid-tminit.
Maybe you can see something there.

Tell me what else you need.

@scarburato
Copy link
Owner

yeah sure, open a pull request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants