Jump to content

mapped USB ports do not work well with iPod (IO error)


seldo
 Share

5 posts in this topic

Recommended Posts

Hello

 

I mapped my USB ports quite some time ago (> 6 month) and everything was working fine.

I was using input peripherals (game pad, tablet, mouse, keyboard) but not storage devices.

 

Since yesterday, I plugged in my iPod 3G (only data through USB) after modding it with an SD card.

Windows is perfectly fine with the mod and my mac as well.

However, that's a complete different story on macOS + hackintosh!

 

This is my kext for mapping my USB ports (I did all of it manually, getting each port address with USB2 and then USB3 when applicable):

https://pastebin.com/ggn7bBCR

 

I do not have any injector.

 

Basically, the iPod works for a few plugging/ejection, but then goes rogue.

iTunes opens but the iPod doesn't appear in iTunes.

The iPod disk is seen in the Finder, but is empty.

When listing the directory, I have:


Haga:THE ONE seldo$ ls -al
ls: .fseventsd: Input/output error
ls: Calendars: Input/output error
ls: Contacts: Input/output error
ls: Notes: Input/output error
ls: System Volume Information: Input/output error
ls: iPod_Control: Input/output error
total 288
drwxrwxrwx@ 1 seldo  staff  16384 Jan  8 19:36 .
drwxrwxrwt@ 7 root           admin    238 Jan  8 20:06 ..
drwxrwxrwx  1 seldo  staff  16384 Jan  8 04:25 .Trashes
-rwxrwxrwx  1 seldo  staff  46843 Jan  7 23:13 .VolumeIcon.icns
-rwxrwxrwx  1 seldo  staff   4096 Jan  7 23:13 ._.
-rwxrwxrwx  1 seldo  staff   4096 Jan  7 23:13 ._.Trashes
-rwxrwxrwx  1 seldo  staff   4096 Jan  7 23:13 ._.VolumeIcon.icns
-rwxrwxrwx  1 seldo  staff   4096 Jan  7 23:13 ._iPod_Control
-rwxrwxrwx  1 seldo  staff      0 Jan  8 19:36 .metadata_never_index

At one point, it appears in iTunes and iTunes reports it as corrupted.

If I plug it in my Mac or on Windows (same machine) it is seen and there are no errors.

 

Here's what I have in my Console:

08/01/18 21:39:34,000 kernel[0]: 000120.379057 HS01@14100000: AppleUSB20XHCIPort::resetAndCreateDevice: failed to create device, disabling port
08/01/18 21:39:36,000 kernel[0]: 000122.440714 AppleUSBHostResources@: AppleUSBHostResources::allocateDownstreamBusCurrentGated: assuming successful wakeUnits 100 sleepUnits 0
08/01/18 21:39:36,000 kernel[0]: USBMSC Identifier (non-unique): 0000005B1F48 0x5ac 0x1201 0x0, 2
08/01/18 21:39:38,803 mds[65]: (Volume.Normal:2464) volume:0x7fd13e02e000 ********** Bootstrapped Creating a default store:0 SpotLoc:(null) SpotVerLoc:(null) occlude:0 /Volumes/THE ONE
08/01/18 21:39:38,851 fseventsd[48]: could not open <</Volumes/THE ONE/.fseventsd/fseventsd-uuid>> (No such file or directory)
08/01/18 21:39:38,851 fseventsd[48]: Failed to load UUID.  Removing all old log files in /Volumes/THE ONE/.fseventsd
08/01/18 21:39:38,851 fseventsd[48]: log dir: /Volumes/THE ONE/.fseventsd getting new uuid: 4EDFF51B-27FD-4A3D-8D48-30315CBE50FF
08/01/18 21:39:38,000 kernel[0]: disk3s2: I/O error.

I could almost manage my library from Windows... but my music disk is Mac formatted  :w00t:

 

Thanks for any comment that could help  :wub:

Link to comment
Share on other sites

Hello millusions

 

I thought I did provide the info about my USB setup, providing the KEXT I am using in Clover.

I realised I didn't give explicitly my MB setup, but it is GA-Z170X-UD5 TH

 

By mapped, I mean:

- XHC1 to XHC patch enabled in Clover

- I had USBinjectAll enabled

- I plugged in a USB2 then a USB3 on all ports

- made a map from that

- created an info.plist for a KEXT I have in Clover: providing the KEXT

- removed USBinjectAll

 

Since then, I had proper USB2/USB3 ports, within the limit of 15 USB ports

I am using an iMac17,1 profile.

 

All my USB ports are connected to the chipset.

4xUSB 2 + 4xUSB3 directly on the MB

2xUSB2 + 2xUSB3 on a USB hub (genesis logic, part of the MB) that is connected to the chipset (that goes to the front panel)

 

Which kind of other information are you looking for?

I am fine providing anything that helps. I just do not know what to provide.

 

P.S:

The iPod where I have the issue but also the only storage device I am using with USB.

Note that in disk mode (through the iPod debug menu), the iPod is seen properly, but when mounting as an iPod (normal boot) I have the issue. So I thought it was worth mentioning that in case it pointed to anything in particular.

Link to comment
Share on other sites

Ok, so I went through my complete USB config again.

I was having an incorrect renaming of XHCI to XHC_ and some incorrect UsbConnector properties that I fixed.

 

The problem is still here.

However, I had a look at it under another angle and it appears it is also happening on Macs.

Sometimes, because of a virtualisation software, sometimes because... just like this.

Looks like I am in the second case.

 

So, here's the message that is tied to my problem.

12/01/18 00:40:12,000 kernel[0]: 000342.756938 HS04@14400000: AppleUSB20XHCIPort::resetAndCreateDevice: failed to create device, disabling port
Link to comment
Share on other sites

 

Ok, so I went through my complete USB config again.

I was having an incorrect renaming of XHCI to XHC_ and some incorrect UsbConnector properties that I fixed.

 

The problem is still here.

However, I had a look at it under another angle and it appears it is also happening on Macs.

Sometimes, because of a virtualisation software, sometimes because... just like this.

Looks like I am in the second case.

 

So, here's the message that is tied to my problem.

12/01/18 00:40:12,000 kernel[0]: 000342.756938 HS04@14400000: AppleUSB20XHCIPort::resetAndCreateDevice: failed to create device, disabling port

 

Just a thought do you have iMessage and or iCloud working?   Maybe its an Apple handoff issue.

Link to comment
Share on other sites

Just a thought do you have iMessage and or iCloud working?   Maybe its an Apple handoff issue.

I have both iMessage and iCloud running. However it is an iPod from 2004, so it is not tied to anything of the services.

  • Like 1
Link to comment
Share on other sites

 Share

×
×
  • Create New...