public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* USB Flash Disk on OSK
@ 2005-12-23 14:03 Kanagesh R
  0 siblings, 0 replies; 3+ messages in thread
From: Kanagesh R @ 2005-12-23 14:03 UTC (permalink / raw)
  To: linux-omap-open-source

Hello,

I am trying to get a Linksys USB-to-Wireless adapter working with the OSK.  I started 
off by trying to check if the USB Master interface works using a Flash disk.  When I
plug in the USB disk, I see that usb interrupts do not occur.  

I'm using a linux-2.4.16 kernel, patched with omap1 patch from www.muru.com.  I've 
configured and built the kernel for OSK with the USB support according to the document 
at OSK for dummies:

Device Drivers --->
USB support --->
 <*> Support for host-side USB ( CONFIG_USB )
 <*> OHCI HCD support( CONFIG_USB_OHCI_HCD )
 <*> USB Mass Storage Support( CONFIG_USB_STORAGE )

SCSI device support --->( CONFIG_SCSI )
 <*> SCSI disk support( CONFIG_BLK_DEV_SD )

"File systems" --->
"DOS/FAT/NT Filesystems" --->( CONFIG_FAT_FS)
 <*> MSDOS fs support( CONFIG_MSDOS_FS )
 <*> VFAT ( Windows-95 fs support)( CONFIG_VFAT_FS )

"File systems" --->
"Partition Types"  --->
 [*] Advanced partition selection( CONFIG_PARTITION_ADVANCED )
 [*] PC BIOS (MSDOS partition table)( CONFIG_MSDOS_PARTITION )

"File systems" --->
"Native Language Support" --->( CONFIG_NLS )
 <*> Code Page 437 (United States...)( CONFIG_NLS_CODEPAGE_437 )
 <*> NLS ISO8859 (Latan 1...)( CONFIG_NLS_ISO8859_1 )

As far as my understanding goes, irrespective of whether the 
device has been configured for USB Mass storage or not, if the 
device is recognized, USB interrupts should occur, which is not
happening.  

cat /proc/interrupt returns:

CPU0
 19:          0   DMA
 20:          0   DMA
 21:          0   DMA
 22:          0   DMA
 23:          0   DMA
 24:          0   DMA
 25:          0   LCD DMA
 31:          3   omap-lcdc
 33:          1   omap-keypad
 36:          0   i2c_omap
 38:          0   ohci_hcd:usb1
 46:        548   serial
 54:     158278   32KHz timer
 85:          0   DMA
 86:          0   DMA
 87:          0   DMA
 88:          0   DMA
 89:          0   DMA
 90:          0   DMA
 91:          0   DMA
 92:          0   DMA
 93:          0   DMA
 94:          0   DMA
160:       1399   eth0
197:          0   serial wakeup
222:          0   omap_cf


Has anyone successfully got the USB Master interface on the OSK5912 
to work fine?  

Thanks in advance,

Regards,
Kanagesh

-- 
India.com free e-mail - www.india.com. 
Check out our value-added Premium features, such as an extra 20MB for mail storage, POP3, e-mail forwarding, and ads-free mailboxes!

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

* Re: USB Flash Disk on OSK
@ 2005-12-26 11:51 Kanagesh R
  2005-12-26 13:41 ` Eduardo Bezerra
  0 siblings, 1 reply; 3+ messages in thread
From: Kanagesh R @ 2005-12-26 11:51 UTC (permalink / raw)
  To: Kanagesh R, linux-omap-open-source

> 
> Hello,
> 
> I am trying to get a Linksys USB-to-Wireless adapter working with 
> the OSK.  I started
> off by trying to check if the USB Master interface works using a 
> Flash disk.  When I
> plug in the USB disk, I see that usb interrupts do not occur.
> 
> I'm using a linux-2.4.16 kernel, patched with omap1 patch from 
> www.muru.com.  I've
> configured and built the kernel for OSK with the USB support 
> according to the document
> at OSK for dummies:
> 
> Device Drivers --->
> USB support --->
>   <*> Support for host-side USB ( CONFIG_USB )
>   <*> OHCI HCD support( CONFIG_USB_OHCI_HCD )
>   <*> USB Mass Storage Support( CONFIG_USB_STORAGE )
> 
> SCSI device support --->( CONFIG_SCSI )
>   <*> SCSI disk support( CONFIG_BLK_DEV_SD )
> 
> "File systems" --->
> "DOS/FAT/NT Filesystems" --->( CONFIG_FAT_FS)
>   <*> MSDOS fs support( CONFIG_MSDOS_FS )
>   <*> VFAT ( Windows-95 fs support)( CONFIG_VFAT_FS )
> 
> "File systems" --->
> "Partition Types"  --->
>   [*] Advanced partition selection( CONFIG_PARTITION_ADVANCED )
>   [*] PC BIOS (MSDOS partition table)( CONFIG_MSDOS_PARTITION )
> 
> "File systems" --->
> "Native Language Support" --->( CONFIG_NLS )
>   <*> Code Page 437 (United States...)( CONFIG_NLS_CODEPAGE_437 )
>   <*> NLS ISO8859 (Latan 1...)( CONFIG_NLS_ISO8859_1 )
> 
> As far as my understanding goes, irrespective of whether the
> device has been configured for USB Mass storage or not, if the
> device is recognized, USB interrupts should occur, which is not
> happening.
> 
> cat /proc/interrupt returns:
> 
> CPU0
>   19:          0   DMA
>   20:          0   DMA
>   21:          0   DMA
>   22:          0   DMA
>   23:          0   DMA
>   24:          0   DMA
>   25:          0   LCD DMA
>   31:          3   omap-lcdc
>   33:          1   omap-keypad
>   36:          0   i2c_omap
>   38:          0   ohci_hcd:usb1
>   46:        548   serial
>   54:     158278   32KHz timer
>   85:          0   DMA
>   86:          0   DMA
>   87:          0   DMA
>   88:          0   DMA
>   89:          0   DMA
>   90:          0   DMA
>   91:          0   DMA
>   92:          0   DMA
>   93:          0   DMA
>   94:          0   DMA
> 160:       1399   eth0
> 197:          0   serial wakeup
> 222:          0   omap_cf
> 
> 
> Has anyone successfully got the USB Master interface on the OSK5912
> to work fine?
> 
> Thanks in advance,
> 
> Regards,
> Kanagesh

Hello,

My apologies, the kernel that I am using right now is linux-2.6.13-omap1 (and not
linux-2.4.16 as mentioned).  

Further, I found from the list archives that there was a USB clock malfunction
in kernels 2.6.12 - 2.6.14.  I backported my work to 2.6.11-omap1 and I still
see the same problem.  However, when the system comes up, I see some stray USB
interrupts (even though there is no device plugged in).

When I plug in a memory disk or any other USB device, there're no USB interrupts.

Can anyone point me to what am doing wrong?

Thanks in advance
regards,
Kanagesh



-- 
India.com free e-mail - www.india.com. 
Check out our value-added Premium features, such as an extra 20MB for mail storage, POP3, e-mail forwarding, and ads-free mailboxes!

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

* Re: USB Flash Disk on OSK
  2005-12-26 11:51 USB Flash Disk on OSK Kanagesh R
@ 2005-12-26 13:41 ` Eduardo Bezerra
  0 siblings, 0 replies; 3+ messages in thread
From: Eduardo Bezerra @ 2005-12-26 13:41 UTC (permalink / raw)
  To: Kanagesh R; +Cc: linux-omap-open-source

Hi Kanagesh,


  I have the same problem. It is really  a clock problem. Try to disable
the CONFIG_OMAP_RESET_CLOCKS options:

System Type  ---> TI OMAP Implementations  ---> [ ] Reset unused
clocks during boot

  I don't know if this error is in the USB subsystem or if it is a bug
in the code
that resets the clocks at boot time.
  I would like to know if it worked for you...

BR,

2005/12/26, Kanagesh R <kanagesh@india.com>:
> >
> > Hello,
> >
> > I am trying to get a Linksys USB-to-Wireless adapter working with
> > the OSK.  I started
> > off by trying to check if the USB Master interface works using a
> > Flash disk.  When I
> > plug in the USB disk, I see that usb interrupts do not occur.
> >
> > I'm using a linux-2.4.16 kernel, patched with omap1 patch from
> > www.muru.com.  I've
> > configured and built the kernel for OSK with the USB support
> > according to the document
> > at OSK for dummies:
> >
> > Device Drivers --->
> > USB support --->
> >   <*> Support for host-side USB ( CONFIG_USB )
> >   <*> OHCI HCD support( CONFIG_USB_OHCI_HCD )
> >   <*> USB Mass Storage Support( CONFIG_USB_STORAGE )
> >
> > SCSI device support --->( CONFIG_SCSI )
> >   <*> SCSI disk support( CONFIG_BLK_DEV_SD )
> >
> > "File systems" --->
> > "DOS/FAT/NT Filesystems" --->( CONFIG_FAT_FS)
> >   <*> MSDOS fs support( CONFIG_MSDOS_FS )
> >   <*> VFAT ( Windows-95 fs support)( CONFIG_VFAT_FS )
> >
> > "File systems" --->
> > "Partition Types"  --->
> >   [*] Advanced partition selection( CONFIG_PARTITION_ADVANCED )
> >   [*] PC BIOS (MSDOS partition table)( CONFIG_MSDOS_PARTITION )
> >
> > "File systems" --->
> > "Native Language Support" --->( CONFIG_NLS )
> >   <*> Code Page 437 (United States...)( CONFIG_NLS_CODEPAGE_437 )
> >   <*> NLS ISO8859 (Latan 1...)( CONFIG_NLS_ISO8859_1 )
> >
> > As far as my understanding goes, irrespective of whether the
> > device has been configured for USB Mass storage or not, if the
> > device is recognized, USB interrupts should occur, which is not
> > happening.
> >
> > cat /proc/interrupt returns:
> >
> > CPU0
> >   19:          0   DMA
> >   20:          0   DMA
> >   21:          0   DMA
> >   22:          0   DMA
> >   23:          0   DMA
> >   24:          0   DMA
> >   25:          0   LCD DMA
> >   31:          3   omap-lcdc
> >   33:          1   omap-keypad
> >   36:          0   i2c_omap
> >   38:          0   ohci_hcd:usb1
> >   46:        548   serial
> >   54:     158278   32KHz timer
> >   85:          0   DMA
> >   86:          0   DMA
> >   87:          0   DMA
> >   88:          0   DMA
> >   89:          0   DMA
> >   90:          0   DMA
> >   91:          0   DMA
> >   92:          0   DMA
> >   93:          0   DMA
> >   94:          0   DMA
> > 160:       1399   eth0
> > 197:          0   serial wakeup
> > 222:          0   omap_cf
> >
> >
> > Has anyone successfully got the USB Master interface on the OSK5912
> > to work fine?
> >
> > Thanks in advance,
> >
> > Regards,
> > Kanagesh
>
> Hello,
>
> My apologies, the kernel that I am using right now is linux-2.6.13-omap1 (and not
> linux-2.4.16 as mentioned).
>
> Further, I found from the list archives that there was a USB clock malfunction
> in kernels 2.6.12 - 2.6.14.  I backported my work to 2.6.11-omap1 and I still
> see the same problem.  However, when the system comes up, I see some stray USB
> interrupts (even though there is no device plugged in).
>
> When I plug in a memory disk or any other USB device, there're no USB interrupts.
>
> Can anyone point me to what am doing wrong?
>
> Thanks in advance
> regards,
> Kanagesh
>
>
>
> --
> India.com free e-mail - www.india.com.
> Check out our value-added Premium features, such as an extra 20MB for mail storage, POP3, e-mail forwarding, and ads-free mailboxes!
> _______________________________________________
> Linux-omap-open-source mailing list
> Linux-omap-open-source@linux.omap.com
> http://linux.omap.com/mailman/listinfo/linux-omap-open-source
>


--
Eduardo Bezerra Valentin

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

end of thread, other threads:[~2005-12-26 13:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-26 11:51 USB Flash Disk on OSK Kanagesh R
2005-12-26 13:41 ` Eduardo Bezerra
  -- strict thread matches above, loose matches on Subject: below --
2005-12-23 14:03 Kanagesh R

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