#!/bin/bash
RANGE=180
for F in $( ls /sys/module/hid_logitech/drivers/hid\:logitech/*:*/range ); do
echo $RANGE > $F
done
#cat /sys/module/hid_logitech/drivers/hid:logitech/*:*/range
xset -dpms ; xset s off
export WINEDEBUG=-all
export LAST_PWD=$PWD
cd ~/.wine/drive_c/LFS
/usr/bin/wine "LFS.exe"
cd $LAST_PWD
xset +dpms ; xset s on
exit 0
echo 270 > /sys/module/hid_logitech/drivers/hid:logitech/0003:046D:C29B.0010/range
[ 1357.346649] usb 4-1: new full-speed USB device number 6 using ohci_hcd
[ 1357.544055] input: G27 Racing Wheel as /devices/pci0000:00/0000:00:12.0/usb4/4-1/4-1:1.0/input/input18
[ 1357.544160] logitech 0003:046D:C29B.000E: input,hidraw3: USB HID v1.11 Joystick [G27 Racing Wheel] on usb-0000:00:12.0-1/input0
[ 1357.544169] logitech 0003:046D:C29B.000E: Force feedback for Logitech Speed Force Wireless by Simon Wood <[email protected]>
[ 1367.743483] input: G27 Racing Wheel as /devices/pci0000:00/0000:00:12.0/usb4/4-1/4-1:1.0/input/input19
[ 1367.743611] logitech 0003:046D:C29B.000F: input,hidraw3: USB HID v1.11 Joystick [G27 Racing Wheel] on usb-0000:00:12.0-1/input0
[ 1367.743631] logitech 0003:046D:C29B.000F: Force feedback for Logitech Speed Force Wireless by Simon Wood <[email protected]>
[ 1367.842394] input: G27 Racing Wheel as /devices/pci0000:00/0000:00:12.0/usb4/4-1/4-1:1.0/input/input20
[ 1367.842525] logitech 0003:046D:C29B.0010: input,hidraw3: USB HID v1.11 Joystick [G27 Racing Wheel] on usb-0000:00:12.0-1/input0
[ 1367.842537] logitech 0003:046D:C29B.0010: Force feedback for Logitech Speed Force Wireless by Simon Wood <[email protected]>
Bus 004 Device 006: ID 046d:c29b Logitech, Inc. G27 Racing Wheel
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 16
idVendor 0x046d Logitech, Inc.
idProduct 0xc29b G27 Racing Wheel
bcdDevice 12.38
iManufacturer 0
iProduct 2 G27 Racing Wheel
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 41
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 98mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 3 Human Interface Device
bInterfaceSubClass 0 No Subclass
bInterfaceProtocol 0 None
iInterface 254 NV=046D,NP=C29B,ND=1238,HV=046D,HP=FE01,HD=0005
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.11
bCountryCode 33 US
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 133
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0010 1x 16 bytes
bInterval 2
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0010 1x 16 bytes
bInterval 2
Device Status: 0x0000
(Bus Powered)