Darren J Moffat wrote: > Jasse Jansson wrote: >>> I have a Sony PS2 to USB converter box, its been a while since I >>> last plugged that into a Solaris system to see what it sees. I'll >>> try and remember to do that soon and post what I find. >> >> I hope it works. >> >> I'm I the only one thinking 'Guitar hero' guitar for Solaris, yay ;-) > > On plugging it in I get the following in /var/adm/messages: > > > May 9 10:20:36 islay usba: [ID 912658 kern.info] USB 1.0 device > (usb6666,667) operating at low speed (USB 1.x) on USB 1.10 root hub: > input at 3, hid4 at bus address 3 > May 9 10:20:36 islay genunix: [ID 936769 kern.info] hid4 is > /pci at 0,0/pci1025,7e at 13,1/input at 3 > May 9 10:20:36 islay genunix: [ID 408114 kern.info] > /pci at 0,0/pci1025,7e at 13,1/input at 3 (hid4) online > > Using cfgadm I see this: > > cfgadm -lv usb1/3 > Ap_Id Receptacle Occupant Condition > Information > When Type Busy Phys_Id > usb1/3 connected configured ok > Mfg: <undef> Product: <undef> NConfigs: 1 Config: 0 <no cfg str > descr> > unavailable usb-input n /devices/pci at 0,0/pci1025,7e at 13,1:3 > > Not sure at the moment what to do next..... > The messages are the correct behavior for a usb joystick. You might have a look at the /devices directory. If you have a looks at the output from my joystick it has identified it as 'hid_1_4". The 1 is "Generic Desktop Control" and the 4 identifies it as a joystick. Though since the hid driver does not know what to do with a joystick, it will do nothing. What is needed is a usb joystick streams driver to go between userland and the hid driver. This is what I am looking at now.
Doug May 9 19:32:10 prae usba: [ID 912658 kern.info] USB 1.0 device (usb810,1) operating at low speed (USB 1.x) on USB 1.10 root hub: input at 8, hid1 at bus address 4 May 9 19:32:10 prae usba: [ID 349649 kern.info] Twin USB Joystick May 9 19:32:10 prae genunix: [ID 936769 kern.info] hid1 is /pci at 0,0/pci1043,815a at 2/input at 8 May 9 19:32:10 prae genunix: [ID 408114 kern.info] /pci at 0,0/pci1043,815a at 2/input at 8 (hid1) online jdsbuild at prae> ls /devices/p...@0\,0/pci1043\,81...@2/inp...@8* /devices/pci at 0,0/pci1043,815a at 2/input at 8:hid_1_4 /devices/pci at 0,0/pci1043,815a at 2/input at 8:
