Giter Club home page Giter Club logo

Comments (11)

cr08 avatar cr08 commented on June 12, 2024

Off topic but could you link to that fork you were looking at? I've been trying to track it down but am not having any luck. I may take a whack at that and provide some feedback if I can.

from ipod-gadget.

n9yty avatar n9yty commented on June 12, 2024

The fork is here:

https://github.com/p-tech-se/ipod-gadget

I did find out that the hid_report he is using, which he said he got form his iPod/iPad, is I think only 64 bytes as opposed to the 208 in the original here. I had read online that depending on how you try to dump it you sometimes get the shorter length, and I think that may be the source of the "incompatible USB" message. I was able to dump my own iPod Classic and managed to get the 208 byte version, and when I put that in the source it went from "Incompatible USB" to "No Response".

I simply don't know how to debug this or watch it in real-time while connected to the radio in order to find out what it is sending or looking for. :(

from ipod-gadget.

cr08 avatar cr08 commented on June 12, 2024

I'd definitely look into getting a Zero W. That's how I've made my attempts at debugging. I get enough signal to my home Wifi in my garage and SSH in that way while it's connected to my car.

from ipod-gadget.

n9yty avatar n9yty commented on June 12, 2024

I have a Zero W, great idea, I think I just fall down on knowing the HOW TO part, I've never deal with linux USB stuff, gadget/drivers, or anything of this sort so I'm a bit out of my element. LOL

from ipod-gadget.

cr08 avatar cr08 commented on June 12, 2024

The good news, at least to my eye, is you are good on the kernel module side. That all seems to be functioning. Just something with the ipod process isn't doing what it is supposed to. Or worst case the ipod process is functioning correctly (may be the case if you are seeing the USB Audio and HID devices on your Mac. Running ./ipod essentially enables the kernel and causes those USB endpoints to appear and then does the communication magic) but the Pioneer isn't seeing something it should and isn't bothering to attempt communications.

I'll try compiling and running the p-tech-se fork later this afternoon/evening and see how I fare. With oandrew's version I at least get some communication visible with my Ford Sync system as seen in issue #1 . I know it is doing -something- as normally it will complain if any USB device is connected it is not expecting and with the Zero W with all this running it doesn't say anything or throw up any messages but does appear to be trying to communicate.

from ipod-gadget.

n9yty avatar n9yty commented on June 12, 2024

I was going to look into some way to test the ipod handler by sending commands and watching what it sent back, but haven't gotten that far, well, not even sure how since it seems wired to watch the communications from the gadget. I can't seem to get it to log/capture what, if anything, it is getting from the head unit, but I haven't looked since giving up in frustration after the first batch of attempts. :)

from ipod-gadget.

cr08 avatar cr08 commented on June 12, 2024

Yeah, I just had a chance to try it in my car with p-tech-se's fork and it doesn't even log anything that I can see outside of the lines in dmesg. I even tried that kernel module and the ipod command from oandrew here and didn't get anything.

from ipod-gadget.

n9yty avatar n9yty commented on June 12, 2024

Ok, sounds like that fork has other problems. This original one didn't work for me either, but it sounds like it would be better to start here. I had tried it, but it didn't work either. I'll keep poking at things as well when time permits.

from ipod-gadget.

oandrew avatar oandrew commented on June 12, 2024

Hi guys.
I had some time and rewrote the library and the app from scratch.
The new app includes extensive logging and tracing and hopefully will help us understand why it doesn't work for you.
https://github.com/oandrew/ipod
Also join gitter chat if you have any questions.
Thanks

from ipod-gadget.

cr08 avatar cr08 commented on June 12, 2024

Awesome. Well, I did a completely clean re-compile of both the kernel module and ipod application. A lot nicer with the readable debug messaging. Sadly not being familiar with the IAP process, not exactly sure what end is failing. Here's what I have in both the trace log and my console log:

ipod_trace.log

putty.log

from ipod-gadget.

oandrew avatar oandrew commented on June 12, 2024

@cr08 Just pushed a bugfix for that specific case.

from ipod-gadget.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.