LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 10-14-2005, 01:58 AM   #1
player_2
Member
 
Registered: Aug 2003
Posts: 57

Rep: Reputation: 15
SUCCESS: FreeBSD 5.4-REELASE and iPod


Thanks to this PR, I've gotten FreeBSD to mount my iPod Photo 30GB. The diff supplied in the PR doesn't match my version of usb_subr.c, so here's my diff:

Code:
--- usb_subr.bak	Fri Oct 14 02:02:37 2005
+++ usb_subr.c	Fri Oct 14 02:03:20 2005
@@ -775,20 +775,6 @@
 		free(p, M_USB);
 		return (err);
 	}
-	/* Clear any stall and make sure DATA0 toggle will be used next. */
-	if (UE_GET_ADDR(ep->edesc->bEndpointAddress) != USB_CONTROL_ENDPOINT) {
-		err = usbd_clear_endpoint_stall(p);
-		/*
-		 * Some devices reject this command, so ignore a STALL.
-		 * Some device just time out on this command, so ignore
-		 * that too.
-		 */
-		if (err && err != USBD_STALLED && err != USBD_TIMEOUT) {
-			printf("usbd_setup_pipe: failed to start "
-			    "endpoint, %s\n", usbd_errstr(err));
-			return (err);
-		}
-	}
 	*pipe = p;
 	return (USBD_NORMAL_COMPLETION);
 }
Applying that diff and recompiling the kernel (with EHCI support) works flawlessly. Yippee!

I wonder why the diff didn't match... maybe when I copied/pasted from Firefox the blank lines screwed it up. Anyway, this worked for me!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
iPod on FreeBSD topher0623 *BSD 2 08-11-2005 07:48 AM
ipod/ipod shuffle woes (lack of permissions to edit files) Lechium Linux - Software 1 04-13-2005 03:14 PM
mini Ipod patch usb (the mini iPOD thread) Phyrexicaid Linux - Hardware 6 03-22-2005 01:07 AM
Install Suse on Ipod and boot from Ipod??? lemuel Linux - Newbie 4 12-27-2004 07:04 AM
ipod detected and added by kudzu but no files in /mnt/ipod gtan Linux - Hardware 5 08-31-2004 09:19 AM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 04:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration