oandrew / ipod Goto Github PK
View Code? Open in Web Editor NEWipod implements ipod accessory protocol and a client for https://github.com/oandrew/ipod-gadget
License: MIT License
ipod implements ipod accessory protocol and a client for https://github.com/oandrew/ipod-gadget
License: MIT License
Hi,
having a raspberry pi setup, how do I use it? what kind of cable do I need for it?
Hi @oandrew, my build was stuck in iPod READING FILE then goes to iPod ERROR 5 on the headunit display.
Here is my trace file
https://gist.github.com/kanonochina/b7db99d1bababf549522d24178609f38
Thanks so much.
I have a car with a CD 500 Radio from Opel / Bosch. When I start the ipod-executable the radio sees the Ipod and tries to connect to it. On the display you can read "checking Ipod" after some seconds it stops doing that and I cannot select the Ipod as a media device.
Device Info:
Options for ipod-gadget:
sudo modprobe libcomposite
sudo insmod g_ipod_audio.ko
sudo insmod g_ipod_hid.ko
sudo insmod g_ipod_gadget.ko swap_configs=0 product_id=0x1293
after starting the executable with sudo ./ipod -d serve -w ipod_error.trace /Dev/iap0
, I get the following trace
ipod_error.trace.txt
I tried looking into it but the I don't know where to start. Can someone help me?
Hi,
Hardware: Raspberry Pi Zero W
OS: Linux raspberrypi 4.19.75+ #1270 Tue Sep 24 18:38:54 BST 2019 armv6l GNU/Linux
Golang Version: go version go1.11.6 linux/arm
I'm having an issue running the following command:
pi@raspberrypi:~ $ go get -v github.com/oandrew/ipod/cmd/ipod
github.com/oandrew/ipod (download)
github.com/davecgh/go-spew (download)
github.com/fullsailor/pkcs7 (download)
github.com/sirupsen/logrus (download)
Fetching https://golang.org/x/sys/unix?go-get=1
Parsing meta tags from https://golang.org/x/sys/unix?go-get=1 (status code 200)
get "golang.org/x/sys/unix": found meta tag get.metaImport{Prefix:"golang.org/x/sys", VCS:"git", RepoRoot:"https://go.googlesource.com/sys"} at https://golang.org/x/sys/unix?go-get=1
get "golang.org/x/sys/unix": verifying non-authoritative meta tag
Fetching https://golang.org/x/sys?go-get=1
Parsing meta tags from https://golang.org/x/sys?go-get=1 (status code 200)
golang.org/x/sys (download)
github.com/urfave/cli (download)
github.com/cpuguy83/go-md2man (download)
Fetching https://golang.org/x/crypto/ssh/terminal?go-get=1
Parsing meta tags from https://golang.org/x/crypto/ssh/terminal?go-get=1 (status code 200)
get "golang.org/x/crypto/ssh/terminal": found meta tag get.metaImport{Prefix:"golang.org/x/crypto", VCS:"git", RepoRoot:"https://go.googleso urce.com/crypto"} at https://golang.org/x/crypto/ssh/terminal?go-get=1
get "golang.org/x/crypto/ssh/terminal": verifying non-authoritative meta tag
Fetching https://golang.org/x/crypto?go-get=1
Parsing meta tags from https://golang.org/x/crypto?go-get=1 (status code 200)
golang.org/x/crypto (download)
github.com/davecgh/go-spew/spew
github.com/fullsailor/pkcs7
github.com/oandrew/ipod
github.com/oandrew/ipod/hid
github.com/oandrew/ipod/lingo-audio
github.com/oandrew/ipod/lingo-dispremote
github.com/oandrew/ipod/lingo-extremote
github.com/oandrew/ipod/lingo-general
github.com/oandrew/ipod/lingo-simpleremote
github.com/oandrew/ipod/trace
golang.org/x/sys/unix
github.com/sirupsen/logrus
github.com/cpuguy83/go-md2man/vendor/github.com/shurcooL/sanitized_anchor_name
github.com/cpuguy83/go-md2man/vendor/github.com/russross/blackfriday/v2
github.com/cpuguy83/go-md2man/md2man
github.com/urfave/cli
golang.org/x/crypto/ssh/terminal
github.com/oandrew/ipod/cmd/ipod
github.com/oandrew/ipod/cmd/ipod
go/src/github.com/oandrew/ipod/cmd/ipod/main.go:66:14: cannot use []cli.Author literal (type []cli.Author) as type []*cli.Author in assignme nt
go/src/github.com/oandrew/ipod/cmd/ipod/main.go:76:15: cannot use cli.BoolFlag literal (type cli.BoolFlag) as type cli.Flag in array or slic e literal:
cli.BoolFlag does not implement cli.Flag (Apply method has pointer receiver)
go/src/github.com/oandrew/ipod/cmd/ipod/main.go:95:7: c.GlobalBool undefined (type *cli.Context has no field or method GlobalBool)
go/src/github.com/oandrew/ipod/cmd/ipod/main.go:102:15: cannot use []cli.Command literal (type []cli.Command) as type []*cli.Command in assi gnment
go/src/github.com/oandrew/ipod/cmd/ipod/main.go:118:19: cannot use cli.StringFlag literal (type cli.StringFlag) as type cli.Flag in array or slice literal:
cli.StringFlag does not implement cli.Flag (Apply method has pointer receiver)
go/src/github.com/oandrew/ipod/cmd/ipod/main.go:205:19: cannot use cli.StringFlag literal (type cli.StringFlag) as type cli.Flag in array or slice literal:
cli.StringFlag does not implement cli.Flag (Apply method has pointer receiver)
Thank you in advance.
Hi,
First of all, many thanks for this project. It is exactly what I was looking for, and I'm very excited to get it to work!
I have an OrangePi Zero Plus 2 H5 and I'm running Armbian on it. I have compiled the ipod-gadget
module and loaded it, which seems to work fine (after I prevented the g_serial
module from being loaded, which is in Armbian's /etc/modules
by default). I have the /dev/iap0
device and the ALSA iPodUSB
card is there.
Now, when I plug the OrangePi in my car (a Volvo V60 MY2015 with Sensus Connect), it sees that something is happening. The screen switches briefly (~.5s) from "Connect iPod" to "Reading iPod" and then says "iPod unreadable".
When I plug in the OrangePi in my laptop, it sees it as an iPhone 4 and I can play audio from it, so I'm guessing my car expects some or other magic IAP command, but I have no idea where to start. The ipod
command doesn't say anything, even when running with -d
and the tracefile is empty.
Any pointers?
Hello, what is your email address? I have a question for you.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.