Giter Club home page Giter Club logo

Comments (3)

oandrew avatar oandrew commented on June 12, 2024

Looks like a USB/HID packet is lost. Could be hardware or software bug/problem.

  • what is your gadget side hardware?
  • logs from dmesg might help

from ipod-gadget.

zanppa avatar zanppa commented on June 12, 2024

I use Raspberry PI Zero W with custom kernel 4.14.37+. Are there some specific things you'd need to know?

You can find the relevant part of dmesg log (kern.log) from https://pastebin.com/RTvyqTdt
The log starts when I loaded the first (audio) module. I then let it run so that the CRC error came 3 times, then I stopped the ipod userspace program.

from ipod-gadget.

zanppa avatar zanppa commented on June 12, 2024

I tried this again with the latest version of the driver and the "ipod" userspace program, and now there is no CRC errors anymore and the gadget is detected by the amplifier.

However, I cannot get the speaker-test to work, running

speaker-test -D hw:CARD=iPodUSB,DEV=0 -c 2 -r 44100

seems to run for about 10 seconds but no sound is heard. After that, it dies with last messages:

0 - Front Left
Write error: -5,Input/output error
xrun_recovery failed: -5,Input/output error
Transfer failed: Input/output error

Any hints on what might be the issue?

EDIT2: Realized I can attach the trace file instead of using pastebin, here it is:
ipod.trace.log

Also I noticed that using any the amplifier's OSD to navigate the contents (with the default "ipod" userspace app) the amplifier hangs when selecting anything (like artists). I assume this is a limitation of the userspace app?

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.