Jump to content
InsanelyMac Forum

Inspector42

Members
  • Content count

    4
  • Joined

  • Last visited

About Inspector42

  • Rank
    InsanelyMac Protégé
  1. Hi Zenith432, trying to find a solution for the libusb freeze issue I faced with my scanner I found out that also Apple's Logic Pro 8 as well as Soundtrack Pro 2.0 freeze during start-up when I connect my USB3.0 hard drive to one of the USB 3 ports of my GA-Z68X-UD3H-B3. I am using Version 1.2.4 of your GenericUSBXHCI on 10.8.4. Logic Pro 8 freezes when checking MIDI-drivers, Soundtrack Pro does not give any indication. I also could not find any entries in the system logs. Could it be connected to those applications being 32bit and the driver only supporting 64bit ? It might not be an issue with your kext after all, but I have no access to a real Mac with USB3 to see, if those programs freeze there as well. Since both programs are kind of outdated and are not really supported under 10.8.4 any more it may be a waste of time searching for a solution. Nevertheless, I would hate having to spend another $199,99 for the latest Logic Pro X as I use Logic Pro 8 frequently. Of course I would be able to live without USB3 for a while, but it's annoying. Thanks for any idea or advice how to proceed from here. For my scanner I decided to use VueScan and remove libusb as well as twain-sane.
  2. Hi Zenith432, this is what confused me in the first place. I also would have expected that the scanner using EHCI is not impacted by the XHCI driver. What makes it even more confusing is, that if I attach a USB2-HD to the USB3 ports of the EJ168 the scanner works (see attached files), attaching a USB3-HD (the famous "Expansion Desk") to the same port causes the KP. The only connection between the two I can think of is "libusb" (http://libusb.sourceforge.net/), which when activated through "TWAINBridge" not only polls or otherwise accesses the EHCI side but XHCI driver as well and is not prepared for the response ultimately leading to the crash of "TWAINBridge". Any suggestion how I can further narrow that down ? I have scanned the system.log and crash-reporter logs already but don't really know what to look for, there are no obvious messages related to the crash. [EDIT] Just stumbled across this for "libusb 0.1", which is used by TWAINSANE. Would that support my theory ? Disadvantages compared to libusb-1.0 Does not provide isochronous endpoint I/O Does not provide asynchronous I/O xhcdump_USB2_drive.rtf USB_Config_No_Freeze_USB2.tiff
  3. Sorry I forgot to attach the KP. When running xhcdump the scanner does not show up as it is connected to one of the USB2 sockets via a hub (USB1 only). All USB2 sockets on my board are served from the Z68 Chipset, the USB3 is served by Etron EJ168. I have attached the results anyway including Apples System Report and IORegistryExplorer data. $ xhcdump slots Found a device of class GenericUSBXHCI: IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/PEG1@1,1/IOPCI2PCIBridge/pci1b6f,7023@0/GenericUSBXHCI Slot 1, Device Address 1 State Configured Route String 0 Speed Super, Last Endpoint 4 RH Port #3, Interrupter 0, Max Exit Latency 0 us Found a device of class GenericUSBXHCI: IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/PEX4@1C,4/IOPCI2PCIBridge/pci1b6f,7023@0/GenericUSBXHCI $ xhcdump endpoints 1 Found a device of class GenericUSBXHCI: IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/PEG1@1,1/IOPCI2PCIBridge/pci1b6f,7023@0/GenericUSBXHCI Endpoint 1, Type Control, State Running Multiple 1, Interval 1 microframes, CErr 3, Max Burst 1, Max Packet Size 512 Average TRB Length 8, Max ESIT Payload 0 Endpoint 3, Type Bulk In, State Running Multiple 1, Interval 1 microframes, CErr 3, Max Burst 16, Max Packet Size 1024 Average TRB Length 1024, Max ESIT Payload 0 Endpoint 4, Type Bulk Out, State Running Multiple 1, Interval 1 microframes, CErr 3, Max Burst 16, Max Packet Size 1024 Average TRB Length 1024, Max ESIT Payload 0 Found a device of class GenericUSBXHCI: IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/PEX4@1C,4/IOPCI2PCIBridge/pci1b6f,7023@0/GenericUSBXHCI USB_Config_Freeze_USB3.tiff USB_Config_System_Report_Freeze_USB3.tiff
  4. This is really great stuff, my external Seagate Expansion Drive works like a charm. There is only one downside: Every time I try to access my old USB Scanner (Agfa SnapScan) while the USB3 external disk is connected the system freezes. This happens either after startup or restart when you log in as a user with the scanner connected or if you connect the scanner while the system is running I have been able to capture one kernel panic (see below), which indicates that TWAINBridge is the culprit, but I have no clue what is happening. I have also installed TWAIN SANE from Mattias Ellert (http://www.ellert.se/twain-sane/) incl. libusb (http://libusb.sourceforge.net/). Strange enough, if the external drive is connected via USB2, everything works without issues. I am running 10.8.4 on a GA-Z68X-UD3H-B3 with F12 Bios and Version 1.2.4 of GenericUSBXHCI.kext. What would be a reasonable next step to further investigate ? [EDIT] Removed TWAIN SANE and no more freezes. Unfortunately the scanner is not working without.
×