Patch-ID# 115554-16 Keywords: audio sunblade framework wheel mouse usb serial audit enhancement Synopsis: SunOS 5.9_x86: USB Drivers and Framework Patch Date: Aug/30/2004 Install Requirements: Reconfigure after installation Solaris Release: 9_x86 SunOS Release: 5.9_x86 Unbundled Product: Unbundled Release: Xref: This patch available for SPARC as patch 115553 Topic: SunOS 5.9_x86: USB Drivers and Framework Patch Relevant Architectures: i386 BugId's fixed with this patch: 4237764 4354427 4402400 4419540 4507408 4631151 4655789 4660846 4662300 4665811 4702501 4702930 4706244 4718437 4723993 4735031 4735465 4737194 4757590 4765718 4769577 4776340 4781283 4782292 4783855 4785916 4786786 4788315 4790678 4798619 4800029 4800123 4801046 4804860 4810230 4811758 4812935 4816509 4824054 4824763 4826171 4828972 4834143 4836298 4836606 4838235 4841489 4844296 4845179 4847936 4852863 4854629 4858443 4860534 4860753 4865592 4869166 4869326 4869362 4869396 4875818 4876234 4876900 4879738 4879741 4879799 4880227 4881576 4881577 4883138 4889441 4889499 4889600 4889606 4891054 4891058 4894475 4898174 4898176 4900383 4900900 4908469 4916009 4916643 4916848 4919248 4920655 4922683 4923069 4927648 4935335 4939237 4945141 4946859 4950073 4961257 4971592 4971869 4976792 4988379 4990411 4993111 4994700 5001058 5003764 5008493 5017983 5018218 5018235 5018742 5021075 5021083 5021795 5021804 5028398 5030851 5032631 5037067 5039148 5045076 5058283 Changes incorporated in this version: 4950073 Patches accumulated and obsoleted by this patch: 115003-02 115339-01 115558-01 116066-03 117197-01 117199-02 117383-01 Patches which conflict with this patch: Patches required with this patch: 112234-12 or greater 117417-01 or greater Obsoleted by: Files included with this patch: /kernel/drv/hid /kernel/drv/scsa2usb /kernel/drv/scsa2usb.conf /kernel/drv/usb_ac /kernel/drv/usb_as /kernel/drv/usba10_ehci /kernel/drv/usba10_ehci.conf /kernel/drv/usba10_hid /kernel/drv/usba10_hid.conf /kernel/drv/usba10_hubd /kernel/drv/usba10_hubd.conf /kernel/drv/usba10_ohci /kernel/drv/usba10_ohci.conf /kernel/drv/usba10_scsa2usb /kernel/drv/usba10_scsa2usb.conf /kernel/drv/usba10_ugen /kernel/drv/usba10_ugen.conf /kernel/drv/usba10_uhci /kernel/drv/usba10_uhci.conf /kernel/drv/usba10_usb_ac /kernel/drv/usba10_usb_ac.conf /kernel/drv/usba10_usb_as /kernel/drv/usba10_usb_as.conf /kernel/drv/usba10_usb_mid /kernel/drv/usba10_usb_mid.conf /kernel/drv/usba10_usbprn /kernel/drv/usba10_usbprn.conf /kernel/drv/usba10_usbser_edge /kernel/drv/usba10_usbser_edge.conf /kernel/misc/hidparser /kernel/misc/kbtrans /kernel/misc/usba /kernel/misc/usba10 /kernel/misc/usba10_hidparser /kernel/misc/usba10_usbser /kernel/strmod/usb_ah /kernel/strmod/usb_ah1 /kernel/strmod/usbkb1 /kernel/strmod/usbkbm /kernel/strmod/usbms /kernel/strmod/usbms1 /usr/include/sys/cpr.h /usr/include/sys/msreg.h /usr/include/sys/usb/clients/hid/hid.h /usr/include/sys/usb/clients/ugen/usb_ugen.h /usr/include/sys/vuid_event.h /usr/include/sys/vuid_wheel.h /usr/lib/abi/abi_usb.so.1 /usr/lib/adb/ohci_polled /usr/lib/adb/ohci_state /usr/lib/adb/usbkbm_state /usr/lib/cfgadm/usb.so.1 /usr/lib/mdb/kvm/usba.so Problem Description: Uprev to clean up the unnecessary patch dependency. (from 115554-15) Uprev & acc/obs 115003-02 to resolve the meta cluster problem. (from 115554-14) 4950073 Emkay USB head set does not work (from 115554-13) 5021083 edgeport device doesn't fully recover from low power mode 5039148 panic while detaching TI edgeport device 5045076 CDE can't start after backingout patch#115553-06 5058283 usba10_ohci not loaded on LX50 after installing SUNWusb package (from 115554-12) Respin to include updates to postinstall and preremove. (from 115554-11) 4922683 ehci requires kstats for observability 4946859 amsrc2 stereo upsampling swaps right and left channels 5017983 ehci does not detect that interrupts are not working at attach time 5018218 EHCI needs a more reliable way to halt a QH 5018235 HUBDI has an invalid ASSERT 5021075 F1+A doesn't work reliably 5032631 assertion failed: mp->b_next == NULL && mp->b_prev == NULL 4990411 usba10_uhci is not available for S9 4/04 5030851 ehci needs to be attached before uhci on VIA chips 5028398 System panics on exit from OS, after arriving at the prom-level 5037067 usb_lookup_ep_data needs to handle USB_EP_DIR_DONT_CARE (from 115554-10) This patch revision was generated to accumulate and obsolete the changes introduced in Solaris Update s9u7 feature point patches 117199-02 and 117383-01. (from 115554-09) 5021795 ohci must cleanly take control of HC from BIOS 5021804 CPU startup hang on Stinger 2p with BIOS 1.26.07 (from 115554-08) 4860753 CPR resume failure with active USB devices 5003764 USB panic on CPR resume (from 115554-07) This patch is a respin of the previous revision and it addresses a packaging issue found during testing. (from 115554-06) 4971869 ohci needed for S9U6 for Stinger 2P (from 115554-05) 4662300 Incorrect sample rate compaction code in usb_as 4935335 cfgadm_usb: misleading error message - library error (from 115554-04) This patch revision was generated to accumulate and obsolete the changes introduced in Solaris Update s9u6 feature point patch 116066-03. (from 115554-03) 4920655 pipe_reset needed in hubd_create_child if 1st device desc read fails (from 115554-02) 4916009 combining the two USB patches 115554-01 and 115558-01 into one (from 115554-01) 4854629 mouse rev 105 does not respond to first get hid descriptor request 4800123 Netra AC200 USB audio does not work reliably. 4852863 USB audio does not correctly register full duplex devices with mixer (from 115558-01) 4847936 USB keyboard connected via Lightwave VDE not recognized with Solaris 9 4801046 suspend ohci controller during CPR suspend if USB keyboard is not connected (from 115339-01) 4655789 key up events lost when keys held down on multiple keyboards at once (from 116066-03) 4945141 Need to create an x86 patch for libdevice (from 116066-02) 4828972 Add support for USB tape 4894475 SCMD_READ_FORMAT_CAP should be implemented for SCSI subclass devices 4916848 usb_ugen.h should be added to i386 exception list for s9 (from 116066-01) 4419540 USB serial driver support required on Solaris 4507408 USB device hotplug causes crash during resume phase 4665811 Solaris 9 fails to make USB mass storage devices available to system. 4702501 USB warlock issues on the fiesta platform 4706244 Enchilada system panic: BAD TRAP: type=31 in USB module 4723993 scsa2usb: misbehaving device can cause process to hang 4735031 dead code in scsa2usb 4735465 WARNING: (usba10_ohci0): Connecting device on port 2 failed 4737194 ohci/ehci drivers needs to make sure intr bits cleared before returning from ISR 4757590 minor lint fix and cleanup 4765718 need to press STOP key twice for L1-A on Enchilada and Taco systems 4769577 explore if qenable can be eliminated from USB audio drivers 4776340 ON support for Enchilada and Taco workstations 4781283 ddi_dma_sync is not used consistently in ohci/ehci drivers 4782292 USB: key-stuck symptom when pressing key after FB has been power managed 4783855 cfgadm_usb: Panic after configure of non-responsive USB device 4785916 ugen doesn't protect from bogus control message lengths 4786786 ugen returns EIO on bulk write out endpoints for a USB Canon Scanner N670U 4788315 ohci panic due to NULL pointer dereference in ohci_sendup_td_message() 4790678 "disk not responding to selection" when unplugging USB easy disk 4798619 enumeration fails if we can't get string descriptors 4800029 workaround for 4788884 (PCI SERR seen while doing a CPR) 4804860 usb_as: base sample rate should be checked before reducing sr list 4810230 scsa2usb: waitQ length should be limited 4811758 ehci panic with datafab high speed memory stick device during hotplug test 4812935 add support for ELO touch screen (Heidelberg) 4824054 ohci/ehci doesn't wake up the thread waiting for done td under error condition 4824763 isoc_pkt_status field in usb_isoc_pkt_descr_t should be of type usb_cr_t 4834143 ugen must validate wLength to buf b_bcount 4836298 non-exclusive endpoint opens not allowed 4836606 support Interrupt OUT endpoint 4838235 ugen: poll on devstat doesn't block 4841489 ugen: incorrect buffer full status on disconnect 4844296 ohci driver susceptible to spurious interrupt panics during attach 4845179 hubd needs to wait for PowerOn ToPowerGood time after powering on an USB port 4858443 the min low speed poll interval is enforced on Solaris but not on Linux/Windows 4860534 leaking: QTD exhaustion 4865592 ugen's lowering power causes UNAVAILABLE state without state change notification 4869166 wrong macro used to change QTD structure 4869362 ugen.c: dereference precedes check 4869396 Interrupt OUT implementation is incomplete 4875818 periodic list is updated incorrectly while adding/deleting interrupt endpoints 4876234 transfer all USB ports control to OHCI host controller on UE error 4876900 change intr_pkt_length to intr_len since this field represents request length 4879738 fix for bugid: 4854629 needed for usba1.0 framework on s9U6 4879741 fix for bugid: 4847936 needed for usba1.0 framework on s9U6 4879799 pm_set_power definition needs update in warlock file 4881576 control transfer length is calculated incorrectly 4881577 ehci doesn't handle short transfer condition correctly 4883138 ohci/ehci doesn't support transfer timeout for interrupt out requests 4889441 WARNING: /../pci@3/usb@8 (usba10_ohci2): Connecting device on port 3 failed 4889499 USB_KYDB: WARNING: Device keyboard0 failed to power up. on s9port_02 4889600 ugen: check for valid bp missing in ugen_epx_intr_OUT_req_cb 4889606 ohci: never return cr != 0 for completed isoch td 4898174 fix for bugid 4800123 needed for usba1.0 framework on s9U6 4898176 fix for bugid 4852863 needed for usba1.0 framework on s9U6 (from 117199-02) 5001058 hot-plugging a USB mouse can lead to a storm of random mouse events (from 117199-01) 4237764 detach/attach of keyboard causes layout code to be reset on non-self-ID keyboard 4402400 USB mouse driver should support more than 3 buttons 4718437 USB wheel mouse support needed for Pro/E 4880227 usb keyboard is not operating properly when plugged in after system is boot 4916643 hidparser update required 4971592 Using logitech wireless USB keyboard leads to unwanted repetition of characters 4993111 hid driver doesn't warlock 5008493 L1-A hangs (from 117383-01) 4900383 support for TI-based Edgeports 4988379 Edgeport/1 still not working 4631151 Support usb1.1 or low/full speed usb devices behind usb2.0 or high speed hub 4660846 ohci/ehci: Fails to recover gracefully if resources are low 4702930 ehci driver needs to eliminate dummy QH 4816509 usbser uses obsolete DDI interfaces 4826171 minor memory leak 4891054 make sure intr bits cleared before returning from ISR in ohci polled mode 4891058 Needs to save allocated bandwidth information as per actual frame number 4900900 ohci/ehci doesn't handle request with multiple TDs under short xfer condition 4908469 Do not include prom_isa.h for ohci files 4919248 ohci_save_data_toggle() should initialize pp_error to USB_CR_OK 4923069 usbser_edge is far too stack-hungry for a driver 4927648 FULL/LOW Interrupt devices behind 2.0 hubs cause HW/SW collision 4939237 usb_check_same_device() needs a check for same vendor id and same product id 4961257 explore removal of soft interrupts for Tx/Rx callbacks 4976792 ehci transaction errors (xacterr) and retries 4994700 usba: need a way to serialize callbacks for devices 5018742 addition of usb_lookup_ep_data to S9 usba10 framework 4869326 hcdi.c: use-after-free, deref of null pointer (from 115003-02) This patch revision was generated to accumulate and obsolete the changes introduced in Solaris Update s9u7 feature point patch 117197-01. (from 115003-01) 4354427 audit hooks for auditing enter/exit to prom/debugger incomplete (from 117197-01) 4880227 usb keyboard is not operating properly when plugged in after system is boot Patch Installation Instructions: -------------------------------- For Solaris 2.0-2.6 releases, refer to the Install.info file and/or the README within the patch for instructions on using the generic 'installpatch' and 'backoutpatch' scripts provided with each patch. For Solaris 7-9 releases, refer to the man pages for instructions on using 'patchadd' and 'patchrm' scripts provided with Solaris. Any other special or non-generic installation instructions should be described below as special instructions. The following example installs a patch to a standalone machine: example# patchadd /var/spool/patch/104945-02 The following example removes a patch from a standalone system: example# patchrm 104945-02 For additional examples please see the appropriate man pages. Special Install Instructions: ----------------------------- NOTE 1: In order for this patch to take effect, your system must be rebooted. NOTE 2: In order to get the complete support for Enchilada and Taco Intel based workstations, please also install the following patches: 116473-01 (or newer) rmformat Patch 116475-01 (or newer) libsmedia Patch 116477-01 (or newer) pcic Driver Patch 114720-02 (or newer) kernel/misc/mixer Patch NOTE 3: If you are planning to use USB floppy, you MUST also install the following patches: 116473-01 (or newer) rmformat Patch 116475-01 (or newer) libsmedia Patch NOTE 4: To get the complete fix of bug 4945141 (Need to create an x86 patch for libdevice) please also install patch 116487-01 or newer. NOTE 5: Please check the USB Dual Framework Guide for USB Dual Framework description, usage, and configuration tips. The guide is available at the following URL: http://www.sun.com/desktop/whitepapers.html NOTE 6: To get a complete fix for RFE 4718437 (wheel mouse support needed for Pro/E), please also install the following patches: 117419-01 (or newer) vuid patch 112786-25 (or newer) Xsun patch NOTE 7: To get the complete fix for Audit Enhancement feature, please also install the following patch: 114929-02 (or newer) C2 patch README -- Last modified date: Monday, August 30, 2004