public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* RE: OSK5912 USB Port Problem
       [not found] <437d78ad.1c0496aa.28bc.29a8@mx.gmail.com>
@ 2005-11-20 22:12 ` Matthew Percival
  2005-11-21 10:14   ` Jose Manuel Cano Garcia
  0 siblings, 1 reply; 11+ messages in thread
From: Matthew Percival @ 2005-11-20 22:12 UTC (permalink / raw)
  To: Linux OMAP Open Source

G'Day,

> Thank you! I have set my USB according to your advices. Now, it seems to
> work properly. I mount the sda1 use the command: mount -t usbfs /dev/sda1
> /proc/bus/usb/ and the devices file contain the information like this:

	When you mount with -t usbfs, you are not actually mounting the device:
you are simply mounting information about your USB subsystem.  It will
always work, so long as you have USB in your kernel.  As such, you do
not need to provide a device (/dev/sda1/) and can just use `none' in
this place.

> But the problem is when I use the command mount -t vfat /dev/sda1 /tmp it
> always gives me an error message like this:
> mount: Mounting /dev/sda1 on /tmp failed: No such device or address

	I just tried using one myself (I have not used one in a while, and
wanted to double-check a couple of points), and am no longer able to
mount a USb key either.  Is anyone else having trouble?  Perhaps
something has been broken along the way: I am using 2.6.14-omap1, but
have not used a USB device since around 2.6.8-omap1.

	-- Matthew

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: OSK5912 USB Port Problem
  2005-11-20 22:12 ` OSK5912 USB Port Problem Matthew Percival
@ 2005-11-21 10:14   ` Jose Manuel Cano Garcia
  2005-11-21 17:49     ` Tony Lindgren
  0 siblings, 1 reply; 11+ messages in thread
From: Jose Manuel Cano Garcia @ 2005-11-21 10:14 UTC (permalink / raw)
  To: Matthew Percival; +Cc: Linux OMAP Open Source

Hi,

I had problems with an USB flash memory, too. I tried several solutions
and kernels which did not work until I recently read a post on the Linux
Omap mailing list regarding USB clock malfunction on kernels
2.6.12-2.6.14 (which were the ones I have tried). Then, I tried kernel
2.6.11 an it worked.



Matthew Percival wrote:

> G'Day,
>
>> Thank you! I have set my USB according to your advices. Now, it seems to
>> work properly. I mount the sda1 use the command: mount -t usbfs /dev/sda1
>> /proc/bus/usb/ and the devices file contain the information like this:
>
>
> When you mount with -t usbfs, you are not actually mounting the device:
> you are simply mounting information about your USB subsystem. It will
> always work, so long as you have USB in your kernel. As such, you do
> not need to provide a device (/dev/sda1/) and can just use `none' in
> this place.
>
>> But the problem is when I use the command mount -t vfat /dev/sda1 /tmp it
>> always gives me an error message like this:
>> mount: Mounting /dev/sda1 on /tmp failed: No such device or address
>
>
> I just tried using one myself (I have not used one in a while, and
> wanted to double-check a couple of points), and am no longer able to
> mount a USb key either. Is anyone else having trouble? Perhaps
> something has been broken along the way: I am using 2.6.14-omap1, but
> have not used a USB device since around 2.6.8-omap1.
>
> -- Matthew
>
> _______________________________________________
> Linux-omap-open-source mailing list
> Linux-omap-open-source@linux.omap.com
> http://linux.omap.com/mailman/listinfo/linux-omap-open-source
>
> .
>

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: OSK5912 USB Port Problem
  2005-11-21 10:14   ` Jose Manuel Cano Garcia
@ 2005-11-21 17:49     ` Tony Lindgren
  2005-11-21 18:51       ` Jose Manuel Cano Garcia
                         ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Tony Lindgren @ 2005-11-21 17:49 UTC (permalink / raw)
  To: Jose Manuel Cano Garcia; +Cc: Linux OMAP Open Source

* Jose Manuel Cano Garcia <jcgarcia@uma.es> [051121 02:14]:
> Hi,
> 
> I had problems with an USB flash memory, too. I tried several solutions
> and kernels which did not work until I recently read a post on the Linux
> Omap mailing list regarding USB clock malfunction on kernels
> 2.6.12-2.6.14 (which were the ones I have tried). Then, I tried kernel
> 2.6.11 an it worked.

I've noticed that having CONFIG_OMAP_RESET_CLOCKS on kills OHCI at least
on OSK. Juha's patch from few months ago probably helps with that as it
turns on dc_clk:

http://linux.omap.com/pipermail/linux-omap-open-source/2005-August/004818.html

Can you please check if it's caused by this combination? We should get
Juha's patch integrated...

Tony

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: OSK5912 USB Port Problem
  2005-11-21 17:49     ` Tony Lindgren
@ 2005-11-21 18:51       ` Jose Manuel Cano Garcia
  2005-11-21 22:14       ` Matthew Percival
                         ` (2 subsequent siblings)
  3 siblings, 0 replies; 11+ messages in thread
From: Jose Manuel Cano Garcia @ 2005-11-21 18:51 UTC (permalink / raw)
  To: Tony Lindgren; +Cc: Linux OMAP Open Source

Hi Tony,

That option was indeed active in the .config file. Let me a couple of 
days to recompile the 2.6.14 kernel without that option and try it again.

Best regards,

Jose.


Tony Lindgren wrote:

>* Jose Manuel Cano Garcia <jcgarcia@uma.es> [051121 02:14]:
>  
>
>>Hi,
>>
>>I had problems with an USB flash memory, too. I tried several solutions
>>and kernels which did not work until I recently read a post on the Linux
>>Omap mailing list regarding USB clock malfunction on kernels
>>2.6.12-2.6.14 (which were the ones I have tried). Then, I tried kernel
>>2.6.11 an it worked.
>>    
>>
>
>I've noticed that having CONFIG_OMAP_RESET_CLOCKS on kills OHCI at least
>on OSK. Juha's patch from few months ago probably helps with that as it
>turns on dc_clk:
>
>http://linux.omap.com/pipermail/linux-omap-open-source/2005-August/004818.html
>
>Can you please check if it's caused by this combination? We should get
>Juha's patch integrated...
>
>Tony
>
>.
>
>  
>

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: OSK5912 USB Port Problem
  2005-11-21 17:49     ` Tony Lindgren
  2005-11-21 18:51       ` Jose Manuel Cano Garcia
@ 2005-11-21 22:14       ` Matthew Percival
  2005-11-21 23:56         ` Tony Lindgren
  2005-11-22  3:21       ` xuxian
  2005-11-24 12:45       ` Jose Manuel Cano Garcia
  3 siblings, 1 reply; 11+ messages in thread
From: Matthew Percival @ 2005-11-21 22:14 UTC (permalink / raw)
  To: Linux OMAP Open Source

G'Day,

> I've noticed that having CONFIG_OMAP_RESET_CLOCKS on kills OHCI at least
> on OSK. Juha's patch from few months ago probably helps with that as it
> turns on dc_clk:
> 
> http://linux.omap.com/pipermail/linux-omap-open-source/2005-August/004818.html
> 
> Can you please check if it's caused by this combination? We should get
> Juha's patch integrated...

	I just tried removing CONFIG_OMAP_RESET_CLOCKS, and everything worked
as expected.  If I apply the above patch, then restore
CONFIG_OMAP_RESET_CLOCKS, then things still work: seems to be a Good
Thing.

	-- Matthew

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: OSK5912 USB Port Problem
  2005-11-21 22:14       ` Matthew Percival
@ 2005-11-21 23:56         ` Tony Lindgren
  0 siblings, 0 replies; 11+ messages in thread
From: Tony Lindgren @ 2005-11-21 23:56 UTC (permalink / raw)
  To: Matthew Percival; +Cc: Linux OMAP Open Source

* Matthew Percival <matthew@capgo.com> [051121 14:16]:
> G'Day,
> 
> > I've noticed that having CONFIG_OMAP_RESET_CLOCKS on kills OHCI at least
> > on OSK. Juha's patch from few months ago probably helps with that as it
> > turns on dc_clk:
> > 
> > http://linux.omap.com/pipermail/linux-omap-open-source/2005-August/004818.html
> > 
> > Can you please check if it's caused by this combination? We should get
> > Juha's patch integrated...
> 
> 	I just tried removing CONFIG_OMAP_RESET_CLOCKS, and everything worked
> as expected.  If I apply the above patch, then restore
> CONFIG_OMAP_RESET_CLOCKS, then things still work: seems to be a Good
> Thing.

OK, let's wait for comments from Dave on that patch before we push it.

Regards,

Tony

^ permalink raw reply	[flat|nested] 11+ messages in thread

* RE: OSK5912 USB Port Problem
  2005-11-21 17:49     ` Tony Lindgren
  2005-11-21 18:51       ` Jose Manuel Cano Garcia
  2005-11-21 22:14       ` Matthew Percival
@ 2005-11-22  3:21       ` xuxian
  2005-11-22  8:15         ` Li Weichen
  2005-11-24 12:45       ` Jose Manuel Cano Garcia
  3 siblings, 1 reply; 11+ messages in thread
From: xuxian @ 2005-11-22  3:21 UTC (permalink / raw)
  To: 'Tony Lindgren', 'Jose Manuel Cano Garcia'
  Cc: 'Linux OMAP Open Source'

Hi Tony,

The patch work. Now the OSK can detect the USB key automatically.
Thanks much.

xuxian

-----Original Message-----
From: linux-omap-open-source-bounces+lsfdxuxian=gmail.com@linux.omap.com
[mailto:linux-omap-open-source-bounces+lsfdxuxian=gmail.com@linux.omap.com]
On Behalf Of Tony Lindgren
Sent: Tuesday, November 22, 2005 1:49 AM
To: Jose Manuel Cano Garcia
Cc: Linux OMAP Open Source
Subject: Re: OSK5912 USB Port Problem

* Jose Manuel Cano Garcia <jcgarcia@uma.es> [051121 02:14]:
> Hi,
> 
> I had problems with an USB flash memory, too. I tried several solutions
> and kernels which did not work until I recently read a post on the Linux
> Omap mailing list regarding USB clock malfunction on kernels
> 2.6.12-2.6.14 (which were the ones I have tried). Then, I tried kernel
> 2.6.11 an it worked.

I've noticed that having CONFIG_OMAP_RESET_CLOCKS on kills OHCI at least
on OSK. Juha's patch from few months ago probably helps with that as it
turns on dc_clk:

http://linux.omap.com/pipermail/linux-omap-open-source/2005-August/004818.ht
ml

Can you please check if it's caused by this combination? We should get
Juha's patch integrated...

Tony
_______________________________________________
Linux-omap-open-source mailing list
Linux-omap-open-source@linux.omap.com
http://linux.omap.com/mailman/listinfo/linux-omap-open-source

^ permalink raw reply	[flat|nested] 11+ messages in thread

* RE: OSK5912 USB Port Problem
  2005-11-22  3:21       ` xuxian
@ 2005-11-22  8:15         ` Li Weichen
  0 siblings, 0 replies; 11+ messages in thread
From: Li Weichen @ 2005-11-22  8:15 UTC (permalink / raw)
  To: 'xuxian', 'Tony Lindgren',
	'Jose Manuel Cano Garcia'
  Cc: 'Linux OMAP Open Source'

Well I encounter another problem.  If I only enable the usb host support,
the usb Flash disk works well with OSK.  But after I add the USB Gadget
support, and enables the OTG, the Flash disk doesn't work.

Is there anything wrong with OTG?

> -----Original Message-----
> From: linux-omap-open-source-bounces+iaadoa=gmail.com@linux.omap.com
> [mailto:linux-omap-open-source-bounces+iaadoa=gmail.com@linux.omap.com] On
> Behalf Of xuxian
> Sent: Tuesday, November 22, 2005 11:22 AM
> To: 'Tony Lindgren'; 'Jose Manuel Cano Garcia'
> Cc: 'Linux OMAP Open Source'
> Subject: RE: OSK5912 USB Port Problem
> 
> Hi Tony,
> 
> The patch work. Now the OSK can detect the USB key automatically.
> Thanks much.
> 
> xuxian
> 
> -----Original Message-----
> From: linux-omap-open-source-bounces+lsfdxuxian=gmail.com@linux.omap.com
> [mailto:linux-omap-open-source-bounces+lsfdxuxian=gmail.com@linux.omap.com
> ]
> On Behalf Of Tony Lindgren
> Sent: Tuesday, November 22, 2005 1:49 AM
> To: Jose Manuel Cano Garcia
> Cc: Linux OMAP Open Source
> Subject: Re: OSK5912 USB Port Problem
> 
> * Jose Manuel Cano Garcia <jcgarcia@uma.es> [051121 02:14]:
> > Hi,
> >
> > I had problems with an USB flash memory, too. I tried several solutions
> > and kernels which did not work until I recently read a post on the Linux
> > Omap mailing list regarding USB clock malfunction on kernels
> > 2.6.12-2.6.14 (which were the ones I have tried). Then, I tried kernel
> > 2.6.11 an it worked.
> 
> I've noticed that having CONFIG_OMAP_RESET_CLOCKS on kills OHCI at least
> on OSK. Juha's patch from few months ago probably helps with that as it
> turns on dc_clk:
> 
> http://linux.omap.com/pipermail/linux-omap-open-source/2005-August/004818.
> ht
> ml
> 
> Can you please check if it's caused by this combination? We should get
> Juha's patch integrated...
> 
> Tony
> _______________________________________________
> Linux-omap-open-source mailing list
> Linux-omap-open-source@linux.omap.com
> http://linux.omap.com/mailman/listinfo/linux-omap-open-source
> 
> _______________________________________________
> Linux-omap-open-source mailing list
> Linux-omap-open-source@linux.omap.com
> http://linux.omap.com/mailman/listinfo/linux-omap-open-source

^ permalink raw reply	[flat|nested] 11+ messages in thread

* RE: OSK5912 USB Port Problem
@ 2005-11-22 13:30 Yves Godin
  2005-11-22 13:40 ` Li Weichen
  0 siblings, 1 reply; 11+ messages in thread
From: Yves Godin @ 2005-11-22 13:30 UTC (permalink / raw)
  To: Li Weichen, xuxian, Tony Lindgren, Jose Manuel Cano Garcia
  Cc: Linux OMAP Open Source

Hi,
	I did not follow all the thread but if I'm correct, when you enable the Gadget support in the Kernel for the OSK, the USB can no longer be used as a Master.

Regards,

-Yves

-----Message d'origine-----
De : linux-omap-open-source-bounces@linux.omap.com [mailto:linux-omap-open-source-bounces@linux.omap.com] De la part de Li Weichen
Envoyé : Tuesday, November 22, 2005 3:15 AM
À : 'xuxian'; 'Tony Lindgren'; 'Jose Manuel Cano Garcia'
Cc : 'Linux OMAP Open Source'
Objet : RE: OSK5912 USB Port Problem

Well I encounter another problem.  If I only enable the usb host support,
the usb Flash disk works well with OSK.  But after I add the USB Gadget
support, and enables the OTG, the Flash disk doesn't work.

Is there anything wrong with OTG?

> -----Original Message-----
> From: linux-omap-open-source-bounces+iaadoa=gmail.com@linux.omap.com
> [mailto:linux-omap-open-source-bounces+iaadoa=gmail.com@linux.omap.com] On
> Behalf Of xuxian
> Sent: Tuesday, November 22, 2005 11:22 AM
> To: 'Tony Lindgren'; 'Jose Manuel Cano Garcia'
> Cc: 'Linux OMAP Open Source'
> Subject: RE: OSK5912 USB Port Problem
> 
> Hi Tony,
> 
> The patch work. Now the OSK can detect the USB key automatically.
> Thanks much.
> 
> xuxian
> 
> -----Original Message-----
> From: linux-omap-open-source-bounces+lsfdxuxian=gmail.com@linux.omap.com
> [mailto:linux-omap-open-source-bounces+lsfdxuxian=gmail.com@linux.omap.com
> ]
> On Behalf Of Tony Lindgren
> Sent: Tuesday, November 22, 2005 1:49 AM
> To: Jose Manuel Cano Garcia
> Cc: Linux OMAP Open Source
> Subject: Re: OSK5912 USB Port Problem
> 
> * Jose Manuel Cano Garcia <jcgarcia@uma.es> [051121 02:14]:
> > Hi,
> >
> > I had problems with an USB flash memory, too. I tried several solutions
> > and kernels which did not work until I recently read a post on the Linux
> > Omap mailing list regarding USB clock malfunction on kernels
> > 2.6.12-2.6.14 (which were the ones I have tried). Then, I tried kernel
> > 2.6.11 an it worked.
> 
> I've noticed that having CONFIG_OMAP_RESET_CLOCKS on kills OHCI at least
> on OSK. Juha's patch from few months ago probably helps with that as it
> turns on dc_clk:
> 
> http://linux.omap.com/pipermail/linux-omap-open-source/2005-August/004818.
> ht
> ml
> 
> Can you please check if it's caused by this combination? We should get
> Juha's patch integrated...
> 
> Tony
> _______________________________________________
> Linux-omap-open-source mailing list
> Linux-omap-open-source@linux.omap.com
> http://linux.omap.com/mailman/listinfo/linux-omap-open-source
> 
> _______________________________________________
> Linux-omap-open-source mailing list
> Linux-omap-open-source@linux.omap.com
> http://linux.omap.com/mailman/listinfo/linux-omap-open-source

_______________________________________________
Linux-omap-open-source mailing list
Linux-omap-open-source@linux.omap.com
http://linux.omap.com/mailman/listinfo/linux-omap-open-source

^ permalink raw reply	[flat|nested] 11+ messages in thread

* RE: OSK5912 USB Port Problem
  2005-11-22 13:30 Yves Godin
@ 2005-11-22 13:40 ` Li Weichen
  0 siblings, 0 replies; 11+ messages in thread
From: Li Weichen @ 2005-11-22 13:40 UTC (permalink / raw)
  To: 'Yves Godin', 'xuxian', 'Tony Lindgren',
	'Jose Manuel Cano Garcia'
  Cc: 'Linux OMAP Open Source'

Doesn't the OSK support OTG?  

> -----Original Message-----
> From: Yves Godin [mailto:Yves.Godin@lyrtech.com]
> Sent: Tuesday, November 22, 2005 9:31 PM
> To: Li Weichen; xuxian; Tony Lindgren; Jose Manuel Cano Garcia
> Cc: Linux OMAP Open Source
> Subject: RE: OSK5912 USB Port Problem
> 
> Hi,
> 	I did not follow all the thread but if I'm correct, when you enable
the
> Gadget support in the Kernel for the OSK, the USB can no longer be used as
a
> Master.
> 
> Regards,
> 
> -Yves
> 
> -----Message d'origine-----
> De : linux-omap-open-source-bounces@linux.omap.com
> [mailto:linux-omap-open-source-bounces@linux.omap.com] De la part de Li
> Weichen
> Envoyé : Tuesday, November 22, 2005 3:15 AM
> À : 'xuxian'; 'Tony Lindgren'; 'Jose Manuel Cano Garcia'
> Cc : 'Linux OMAP Open Source'
> Objet : RE: OSK5912 USB Port Problem
> 
> Well I encounter another problem.  If I only enable the usb host support,
> the usb Flash disk works well with OSK.  But after I add the USB Gadget
> support, and enables the OTG, the Flash disk doesn't work.
> 
> Is there anything wrong with OTG?
> 
> > -----Original Message-----
> > From: linux-omap-open-source-bounces+iaadoa=gmail.com@linux.omap.com
> > [mailto:linux-omap-open-source-bounces+iaadoa=gmail.com@linux.omap.com]
> On
> > Behalf Of xuxian
> > Sent: Tuesday, November 22, 2005 11:22 AM
> > To: 'Tony Lindgren'; 'Jose Manuel Cano Garcia'
> > Cc: 'Linux OMAP Open Source'
> > Subject: RE: OSK5912 USB Port Problem
> >
> > Hi Tony,
> >
> > The patch work. Now the OSK can detect the USB key automatically.
> > Thanks much.
> >
> > xuxian
> >
> > -----Original Message-----
> > From: linux-omap-open-source-bounces+lsfdxuxian=gmail.com@linux.omap.com
> >
> [mailto:linux-omap-open-source-bounces+lsfdxuxian=gmail.com@linux.omap.com
> > ]
> > On Behalf Of Tony Lindgren
> > Sent: Tuesday, November 22, 2005 1:49 AM
> > To: Jose Manuel Cano Garcia
> > Cc: Linux OMAP Open Source
> > Subject: Re: OSK5912 USB Port Problem
> >
> > * Jose Manuel Cano Garcia <jcgarcia@uma.es> [051121 02:14]:
> > > Hi,
> > >
> > > I had problems with an USB flash memory, too. I tried several
solutions
> > > and kernels which did not work until I recently read a post on the
Linux
> > > Omap mailing list regarding USB clock malfunction on kernels
> > > 2.6.12-2.6.14 (which were the ones I have tried). Then, I tried kernel
> > > 2.6.11 an it worked.
> >
> > I've noticed that having CONFIG_OMAP_RESET_CLOCKS on kills OHCI at least
> > on OSK. Juha's patch from few months ago probably helps with that as it
> > turns on dc_clk:
> >
> >
> http://linux.omap.com/pipermail/linux-omap-open-source/2005-August/004818.
> > ht
> > ml
> >
> > Can you please check if it's caused by this combination? We should get
> > Juha's patch integrated...
> >
> > Tony
> > _______________________________________________
> > Linux-omap-open-source mailing list
> > Linux-omap-open-source@linux.omap.com
> > http://linux.omap.com/mailman/listinfo/linux-omap-open-source
> >
> > _______________________________________________
> > Linux-omap-open-source mailing list
> > Linux-omap-open-source@linux.omap.com
> > http://linux.omap.com/mailman/listinfo/linux-omap-open-source
> 
> _______________________________________________
> Linux-omap-open-source mailing list
> Linux-omap-open-source@linux.omap.com
> http://linux.omap.com/mailman/listinfo/linux-omap-open-source

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: OSK5912 USB Port Problem
  2005-11-21 17:49     ` Tony Lindgren
                         ` (2 preceding siblings ...)
  2005-11-22  3:21       ` xuxian
@ 2005-11-24 12:45       ` Jose Manuel Cano Garcia
  3 siblings, 0 replies; 11+ messages in thread
From: Jose Manuel Cano Garcia @ 2005-11-24 12:45 UTC (permalink / raw)
  To: Tony Lindgren; +Cc: Linux OMAP Open Source

Hi Tony,

I had some time to test the patch with the latest kernel I could get 
with git (I think its 2.6.15-rc2 now). With that patch USB works OK. I 
think someone has tested it about a day before, but this it to confirm 
that it really works.

This is great for me because 2.6.11 had not driver support for the 
OSK5912 sound device.

Thanks,

Jose Manuel

>I've noticed that having CONFIG_OMAP_RESET_CLOCKS on kills OHCI at least
>on OSK. Juha's patch from few months ago probably helps with that as it
>turns on dc_clk:
>
>http://linux.omap.com/pipermail/linux-omap-open-source/2005-August/004818.html
>
>Can you please check if it's caused by this combination? We should get
>Juha's patch integrated...
>
>Tony
>
>.
>
>  
>

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2005-11-24 12:45 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <437d78ad.1c0496aa.28bc.29a8@mx.gmail.com>
2005-11-20 22:12 ` OSK5912 USB Port Problem Matthew Percival
2005-11-21 10:14   ` Jose Manuel Cano Garcia
2005-11-21 17:49     ` Tony Lindgren
2005-11-21 18:51       ` Jose Manuel Cano Garcia
2005-11-21 22:14       ` Matthew Percival
2005-11-21 23:56         ` Tony Lindgren
2005-11-22  3:21       ` xuxian
2005-11-22  8:15         ` Li Weichen
2005-11-24 12:45       ` Jose Manuel Cano Garcia
2005-11-22 13:30 Yves Godin
2005-11-22 13:40 ` Li Weichen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox