From: Avi Kivity <avi@argo.co.il>
To: "Jörg Spilker" <js@jetsys.de>
Cc: linux-kernel@vger.kernel.org, linux-usb-users@lists.sourceforge.net
Subject: Re: Apple Ipod doesn't work with USB on linux (but works with FireWire)
Date: Sun, 07 Nov 2004 12:13:32 +0200 [thread overview]
Message-ID: <418DF54C.5040803@argo.co.il> (raw)
In-Reply-To: <200411071004.15605.js@jetsys.de>
[-- Attachment #1: Type: text/plain, Size: 624 bytes --]
Jörg Spilker wrote:
>Hi,
>
>i recently purchased a new Ipod Mini which i initially used via Firewire on my Laptop with windows.
>Then i tried to change to Linux (using gtkpod for managing my playlists). Because i want to leave the
>firewire cable connected to the laptop, i tried using the USB variant on Linux. My first try was with
>SuSE 9.0 and a 2.4.x kernel. Unfortunately with no success. Same errors as you see here (now with
>SuSE 9.2 and kernel 2.6.8).
>
>
I recently posted a patch which fixes the problem; see attached.
--
Do not meddle in the internals of kernels, for they are subtle and quick
to panic.
[-- Attachment #2: ipod-is-an-unusual-dev.patch --]
[-- Type: text/plain, Size: 1031 bytes --]
As jeffmock notes in http://tinyurl.com/6lmwp, the Apple iPod lies about its
size. It hurts particularly badly in this case, since if you access the iPod
beyond its real (not advertised) size, it locks up, and as some partition
tables (EFI) are stored at the end of the device, it locks up on the instant
you plug it in.
Note that contrary to what Jeff says, the error is only one sector. Maybe he
tried to read using the block device and got bitten by readahead.
Signed-off-by: Avi Kivity <avi@argo.co.il>
--- linux-2.6.8-1.624.aviipod/drivers/usb/storage/unusual_devs.h.ipod 2004-10-29 19:25:48.884603153 +0200
+++ linux-2.6.8-1.624.aviipod/drivers/usb/storage/unusual_devs.h 2004-10-29 20:27:40.799654665 +0200
@@ -424,6 +424,13 @@
0 ),
#endif
+/* Reported by Avi Kivity <avi@argo.co.il> */
+UNUSUAL_DEV( 0x05ac, 0x1203, 0x0001, 0x0001,
+ "Apple",
+ "iPod",
+ US_SC_DEVICE, US_PR_DEVICE, NULL,
+ US_FL_FIX_CAPACITY ),
+
#ifdef CONFIG_USB_STORAGE_JUMPSHOT
UNUSUAL_DEV( 0x05dc, 0x0001, 0x0000, 0x0001,
"Lexar",
next prev parent reply other threads:[~2004-11-07 10:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-07 9:04 Apple Ipod doesn't work with USB on linux (but works with FireWire) Jörg Spilker
2004-11-07 9:40 ` Harald Dunkel
2004-11-07 10:13 ` Avi Kivity [this message]
2004-11-17 4:34 ` Jörg Spilker
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=418DF54C.5040803@argo.co.il \
--to=avi@argo.co.il \
--cc=js@jetsys.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb-users@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox