From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752886AbbDUAgg (ORCPT ); Mon, 20 Apr 2015 20:36:36 -0400 Received: from smtpfb2-g21.free.fr ([212.27.42.10]:49856 "EHLO smtpfb2-g21.free.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752051AbbDUAge (ORCPT ); Mon, 20 Apr 2015 20:36:34 -0400 From: Laurent Vivier To: Stefan Richter Cc: linux1394-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org Subject: [PATCH 0/2] Some firewire minor patches Date: Tue, 21 Apr 2015 02:36:14 +0200 Message-Id: <1429576576-1637-1-git-send-email-laurent@vivier.eu> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org I've written these two patches when I was searching why my old iPod cannot be mounted on my PC. During my investigations, I've compared the fw0 config_rom I can access from a powermac and the config_rom I have on a PC. It appears that the big-endian property of the firewire bus is not respected here. Then I was able to see that the 5 first words of the iPod config_rom were read correctly and the followings not and fail on an ack timeout. In fact, after the 5 first words, the max speed of the device is changed from the lowest value to the real max speed of the device, and this does not work with my iPod. I don't know why, I suspect an incompatibility between my firewire card and the iPod. As I'm not an expert, the only solution I found is to allow the user to force the max device speed at firewire-core level (in my case, force_speed is 0 -> FW100) [PATCH 1/2] firewire: firewire is a big-endian bus [PATCH 2/2] firewire: add a parameter to force the speed of the