I’m trying to upgrade the firmware of the trackball in my Reform, hoping the upgrade will resolve bad (and at times, none,) tracking of trackball movement.
Note: I did fiddle with the right mouse button due to some self-inflicted problems that I was able to resolve and I hope that didn’t break anything.
make
Here I get an error about avr-gcc not being present. Therefore I did
apt install gcc-avr
make
This time the command finishes succesfully.
Toggle switch SW7 on the trackball controller to “ON” press the reset button SW6.
./flash.sh
It says that dfu-programmer command is not found.
apt install dfu-programmer
make
Guess I would not have needed to do this again, but whatever
./flash.sh
Says “dfu-programmer: no device present.” 3 times as output
What is the problem here? The flash script targets atmega32u2. Is my trackball simply another device?
Also I can’t find “Atmel DFU bootloader” which the trackball should appear as according to the entry in the handbook. lsusb finds these devices
Linux Foundation 3.0 root hub
Linux Foundation 2.0 root hub
Texas Instruments, Inc. TUSB8041 4-Port Hub
Linux Foundation 3.0 root hub
Raspberry Pi RP2 Boot
Atmel Corp. LUFA Keyboard Demo Application
Texas Instruments, Inc. TUSB8041 4-Port Hub
Linux Foundation 2.0 root hub
If I recall correctly, there’s 2 revisions of the hardware. On based on Atmel and one on the Raspberry Pi micro controller. Firmware update is only for the Atmel based version. Have a look at the circuit board, do you see a raspberry print on a chip?
I did and it seems fine to me. After reassembling it worked fine. Then after just idling for a while in sway with only the initial terminal open, problems occur again. That is, mouse hardly moves, sometimes it moves a bit. I can get the sensor to react by doing things like moving other objects then the ball close to it.
Here are some photos of my trackball module in its current state. Maybe it helps.
Also, sometimes the sensor looks fine but actually isn’t. I solved my own problems of the trackball not functioning anymore by blowing onto the sensor with my mouth really strongly.