Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Feb 2006 14:00:47 -0700
From:      Erin Sharmahd <tuxgirl@gmail.com>
To:        Ian Dowse <iedowse@iedowse.com>
Cc:        questions@freebsd.org
Subject:   Re: I can't mount my USB thumb drive or ipod -- no /dev/da*
Message-ID:  <6e4453640602111300u63636c4cu15c63e30b7618006@mail.gmail.com>
In-Reply-To: <200602112015.aa11059@nowhere.iedowse.com>
References:  <6e4453640602102251j3349d6eev23ddef8726dad84@mail.gmail.com> <200602112015.aa11059@nowhere.iedowse.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> Unfortunately a number of Apple iPod devices don't work with 6.0
> release. FreeBSD sends a command to the device that causes the iPod
> USB interface to get confused and it stops responding. This was
> fixed in 6-stable, so you'll need to upgrade or patch the kernel
> to get it to work.
>
> You could also just manually remove the offending code. The change
> you need to make is in /usr/src/sys/dev/usb/usb_subr.c. Find the
> usbd_setup_pipe() function, and then put a '#if 0' and '#endif'
> around the code for clearing stall conditions, i.e.:
>
> #if 0
>         /* Clear any stall and make sure DATA0 toggle will be used next. =
*/
>         if (UE_GET_ADDR(ep->edesc->bEndpointAddress) !=3D USB_CONTROL_END=
POINT) {
>                 err =3D usbd_clear_endpoint_stall(p);
>                 ...
>                         return (err);
>                 }
>         }
> #endif
>
> Then recompile and install the kernel, reboot, and the iPod should work.

Will this help, even though I can't mount any usb thumb drives or
anything like that?

~Erin

--
http://www.tuxgirl.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6e4453640602111300u63636c4cu15c63e30b7618006>