$100 USD - ScrollPoint Linux driver ported to AIX
#1
$100 USD - ScrollPoint Linux driver ported to AIX
Hey All,

I realized that the Linux driver Peter De Wachter created can probably be ported to AIX. ScrollPoints will work under AIX (hell if they didn't IBM would have a lot of egg on its face for a 1st party product not to work with their own OS), however the scrolling does not. So under CDE the pressure sensitive scrolling does not work at all -- any references to get scrolling working on AIX seem to all be built around PS/2 interfaces and PS/2 mice. So I'm going to assume a driver is needed to properly link it up with CDE so that the ScrollPoint's pressure sensitive scrolling can be used in the native CDE interface. The way the scrolling normally behaves would be--whatever window the cursor is on (selected or deselected) pressing the ScrollPoint stick would cause the scrollbars to move.

Amount would be $100 USD, can be paid through paypal guaranteed (or something else if my bank has the capacity to facilitate an alternative method)
  • Source of Peter's Linux driver here: https://github.com/pdewacht/hid-scrollpoint
  • Package type would probably be RPM or installp (not sure how it would go down exactly as there are like a thousand different ways to install something on AIX).
  • License would probably have to comply with GPL (but at the end of the day it doesn't bother me what anyone chooses)
  • It'd be nice to have it working on: AIX 5.3/6.1/7.1 -- in order to compile for each one a different version of XL/C may need to be used
And if someone actually needs a ScrollPoint for the development work that can be provided as well.

Here's the mice in the hid-ids.h Peter has on github:
Quote:#define USB_VENDOR_ID_IBM                                                                0x04b3
#define USB_DEVICE_ID_IBM_SCROLLPOINT_III                                    0x3100
#define USB_DEVICE_ID_IBM_SCROLLPOINT_PRO                               0x3103
#define USB_DEVICE_ID_IBM_SCROLLPOINT_OPTICAL                        0x3105
#define USB_DEVICE_ID_IBM_SCROLLPOINT_800DPI_OPTICAL          0x3108
#define USB_DEVICE_ID_IBM_SCROLLPOINT_800DPI_OPTICAL_PRO 0x3109
#define USB_DEVICE_ID_LENOVO_SCROLLPOINT_OPTICAL               0x6049

"Unlike Windows, OS/2 is a true operating system" - Steven S. Ross, How to Maximize Your PC
micrex22
PS/2 it!

Trade Count: (0)
Posts: 144
Threads: 27
Joined: May 2018
Find Reply
05-04-2020, 07:38 AM
#2
RE: $100 USD - ScrollPoint Linux driver ported to AIX
You're not a programmer? IBM provides tons of assistance for people who want to program for AIX: https://www.ibm.com/support/knowledgecen...oraix.html

I'd be happy to do it but I don't own an AIX box...

Project: Temporarily lost at sea
Plan: World domination! Or something...
(This post was last modified: 05-24-2020, 04:55 AM by vishnu.)
vishnu
Tezro, Octane2, 2 x Onyx4

Trade Count: (0)
Posts: 1,245
Threads: 41
Joined: Dec 2017
Location: Minneapolis, Minnesota USA
Find Reply
05-24-2020, 04:54 AM
#3
RE: $100 USD - ScrollPoint Linux driver ported to AIX
(05-24-2020, 04:54 AM)vishnu Wrote:  You're not a programmer? IBM provides tons of assistance for people who want to program for AIX: https://www.ibm.com/support/knowledgecen...oraix.html

I'd be happy to do it but I don't own an AIX box...

Hey Vishnu,

I'm planning on trying my hand at porting some stuff, however my weakness for a lot of coding is not having a lot of the languages memorized--so I rely on seeing other code for reference since I don't have the ability to 'think' in most.

"Unlike Windows, OS/2 is a true operating system" - Steven S. Ross, How to Maximize Your PC
micrex22
PS/2 it!

Trade Count: (0)
Posts: 144
Threads: 27
Joined: May 2018
Find Reply
05-26-2020, 12:34 AM
#4
RE: $100 USD - ScrollPoint Linux driver ported to AIX
Plug the ScrollPoint into your AIX box and do this:

# lsattr -El usblibdev0

What does it tell you?

Project: Temporarily lost at sea
Plan: World domination! Or something...
vishnu
Tezro, Octane2, 2 x Onyx4

Trade Count: (0)
Posts: 1,245
Threads: 41
Joined: Dec 2017
Location: Minneapolis, Minnesota USA
Find Reply
05-26-2020, 01:28 AM
#5
RE: $100 USD - ScrollPoint Linux driver ported to AIX
(05-26-2020, 01:28 AM)vishnu Wrote:  Plug the ScrollPoint into your AIX box and do this:

# lsattr -El usblibdev0

What does it tell you?

I get the following with both usblibdev0 / usblibdev / and whatever number I randomly choose:

Code:
lsattr: 0514-519 The following device was not found in the customized device configuration database: usblibdev0

"Unlike Windows, OS/2 is a true operating system" - Steven S. Ross, How to Maximize Your PC
micrex22
PS/2 it!

Trade Count: (0)
Posts: 144
Threads: 27
Joined: May 2018
Find Reply
05-31-2020, 05:19 AM
#6
RE: $100 USD - ScrollPoint Linux driver ported to AIX
(05-31-2020, 05:19 AM)micrex22 Wrote:  
(05-26-2020, 01:28 AM)vishnu Wrote:  Plug the ScrollPoint into your AIX box and do this:

# lsattr -El usblibdev0

What does it tell you?

I get the following with both usblibdev0 / usblibdev / and whatever number I randomly choose:

Code:
lsattr: 0514-519 The following device was not found in the customized device configuration database: usblibdev0

Alright I ran lsdev | grep usb
And the following was outputted:
Code:
usb0 Available USB System Software
usbhc0 Available 02-00 USB Host Controller (22106474)
usbhc1 Available 02-01 USB Host Controller (22106474)

So I then ran the following (ignoring usb0 since that's software and doesn't pull up anything anyways):

lsattr -El usbhc0
Code:
bus_mem_start 0xe0012000 Bus memory address False
intr_level 19 Bus interrupt level False
intr_priority 0x4 Interrupt priority False

lsattr -El usbhc1

Code:
bus_mem_start 0xe0011000 Bus memory address False
intr_level 19 Bus interrupt level False
intr_priority 0x4 Interrupt priority False

"Unlike Windows, OS/2 is a true operating system" - Steven S. Ross, How to Maximize Your PC
micrex22
PS/2 it!

Trade Count: (0)
Posts: 144
Threads: 27
Joined: May 2018
Find Reply
06-04-2020, 04:29 AM
#7
RE: $100 USD - ScrollPoint Linux driver ported to AIX
I was just randomly reading through the 3dconnexion AIX driver notes when I stumbled across this:

Quote:For USB device support you will need the following AIX filesets:
  devices.pci.22106474
  devices.pci.33103500
  devices.pci.99172704
  devices.pci.c1110358
  devices.common.IBM.usb
  devices.usbif.03000008
The first four contain drivers for the four different USB host controllers that AIX supports.
You only need the one that matches your hardware but having them all does no harm. "devices.common.IBM.usb" is the USB System Driver and "devices.usbif.03000008" contains the client driver for 3DConnexion devices.


So I'm assuming "devices.common.IBM.usb" is what's controlling everything, but I'm not exactly sure where it resides. Considering 3DConnexion created "devices.usbif.03000008" for their driver, I presume another "usbif" would have to be made for the ScrollPoint?

This guide on programming for AIXwindows is also an interesting read regarding input devices: https://www.ibm.com/support/knowledgecen...evices.htm

"Unlike Windows, OS/2 is a true operating system" - Steven S. Ross, How to Maximize Your PC
(This post was last modified: 06-04-2020, 07:40 AM by micrex22.)
micrex22
PS/2 it!

Trade Count: (0)
Posts: 144
Threads: 27
Joined: May 2018
Find Reply
06-04-2020, 05:53 AM
#8
RE: $100 USD - ScrollPoint Linux driver ported to AIX
(05-26-2020, 01:28 AM)vishnu Wrote:  Plug the ScrollPoint into your AIX box and do this:

# lsattr -El usblibdev0

What does it tell you?
Sorry for derailing the thread a bit. So I've spoken to the AIX guys, apparently AIX does not represent any of its USB peripherals in lsattr!!!!!

# lsdev -PH | grep mouse
3dx 03000008 usbif USB 3D mouse
adapter mouse kma_chrp Mouse Adapter
mouse mse_2b std_m 2 button mouse
mouse mse_3b std_m 3 button mouse
mouse 030102 usbif USB mouse

# lsdev -PH | grep keyboard
adapter keyboard kma_chrp Keyboard Adapter
keyboard kb101 std_k United States keyboard
keyboard kb102 std_k International keyboard
keyboard kb106 std_k International keyboard
keyboard ps2 std_k PS/2 keyboard
keyboard 030101 usbif USB keyboard

# lsdev -PH | grep usb
3dx 03000008 usbif USB 3D mouse
audio 0101000a usbif USB Audio Device, AudioControl Interface
audio 0102000a usbif USB Audio Device, AudioStreaming Interface
audio 0103000a usbif USB Audio Device, MIDIStreaming Interface
cdrom 08025002 usbif USB CD-ROM Drive
cdrom 08025003 usbif USB DVD-ROM Drive
cdrom 08025004 usbif USB DVD R/RW Drive
cdrom 08025005 usbif USB DVD-COMBO Drive
cdrom 08025006 usbif USB DVD R/RW or RAM Drive
cdrom 0805500d usbif USB Blu-ray™ Drive
cdrom 08065002 usbif USB CD-ROM Drive
cdrom 08065003 usbif USB DVD-ROM Drive
cdrom 08065004 usbif USB CD-R/RW Drive
cdrom 08065005 usbif USB DVD-COMBO Drive
cdrom 08065006 usbif USB DVD R/RW or RAM Drive
cdrom 0806500d usbif Blu-ray™ Drive
cdrom 0806500e usbif USB Blu-ray™ Combo Drive
cdrom 0806500f usbif USB Blu-ray™ Recorder Drive
diskette 080400 usbif USB Diskette Drive
keyboard 030101 usbif USB keyboard
mouse 030102 usbif USB mouse
tape 0806500c usbif Other USB Tape Drive
usb usb node USB System Software
usbms 0806500b usbif USB Mass Storage

However you can generate the USB device listing (however it appears to be the same for any system as it's what AIX uses to control USB peripherals):
Was that what you were looking for?

I think AIX just uses those generic adapter definitions to key into the devices rather. This would explain why a LOT of USB keyboards do not work properly under AIX and why its international support is limited, it didn't fare well with a JP keyboard.

"Unlike Windows, OS/2 is a true operating system" - Steven S. Ross, How to Maximize Your PC
(This post was last modified: 06-09-2020, 08:04 PM by micrex22.)
micrex22
PS/2 it!

Trade Count: (0)
Posts: 144
Threads: 27
Joined: May 2018
Find Reply
06-09-2020, 08:02 PM


Forum Jump:


Users browsing this thread: 1 Guest(s)