I'm using 2.6.20-rc5 . (.git/refs/tags shows v2.6.20-rc5 as last entry). 

Are you loading all the necessary modules. For me, usbcore is statically linked 
and then after boot I load below modules (in that order)

musb_hdrc.ko
scsi_mod.ko
sd_mod.ko
usb-storage.ko

I  tried in evm kernel also _without_ Zheng's patch and it worked for me.  Try 
removing this patch.

I would suggest you to use a _fresh_ kernel, no extra patches applied.

Thanks


----- Original Message ----
From: Andy Ngo <[EMAIL PROTECTED]>
To: Kevin Hilman <[EMAIL PROTECTED]>; Amol Lad <[EMAIL PROTECTED]>; 
[email protected]
Sent: Friday, March 16, 2007 5:26:21 AM
Subject: Re: USB port not working in GIT kernel?

Kevin,

Yes, I've switched the jumper to host mode (pins 2 and 3) a couple weeks ago 
when I tested the Montavista version a couple weeks ago (had to patch it with 
Zheng's patch) and it worked fine.  And yes, I configured the kernel to be in 
host mode not peripheral mode which I had before which you corrected me a few 
emails ago (when there were no USB activities).  I see USB activities but 
they're errors:

usb 1-1: new high speed USB device using musb_hdrc and address 3
usb 1-1: string descriptor 0 read error: -110
usb 1-1: string descriptor 0 read error: -110
usb 1-1: string descriptor 0 read error: -110

I loaded the Investra controller driver module (musb_hdrc) as well as any other 
needed modules (usb_storage,
 scsi_mod).  I tried all combinations of kernel builds (usbcore as module and 
as static, musb_hdrc as module and as static) and I still get the same errors.  
Well, I going to re-download the current GIT tree again and redo this. 
***Sigh****

Regards,
Andy

----- Original Message ----
From: Kevin Hilman <[EMAIL PROTECTED]>
To: Andy Ngo <[EMAIL PROTECTED]>; Amol Lad <[EMAIL PROTECTED]>; 
[email protected]
Sent: Thursday, March 15, 2007 3:21:39 PM
Subject: RE: USB port not working in GIT kernel?



 
DIV {
MARGIN:0px;}



 


  
  Unfortunately, 
  I still can't get the USB to work, even when using your config file.  Do 
  you

  remember 
  which version of the GIT tree you got?  Here's the list from the 
  site: 

   


Andy, I just tested host mode on 
the current git tree and it's working fine.  After booting, I 'modprobe 
musb_hdrc', then plug in the USB key.  It automatically loads the 
usb-storage module and detects the disk.  For the .config, it's the default 
config, except for switching the Inventra to host mode instead of peripheral 
mode.

 

Are you sure you have he jumper set 
for host mode?  The jumper next to the USB connector should be on pins 2-3 
for host mode.  I believe the board ships with it on pins 1-2 which is 
gadget mode.


   

  Kevin,  
  how do you get a  specific tag (version) of the GIT tree?  
  

Given a tag (ls .git/refs/tags 
for the tags), you can checkout that tag on a new branch.  To see existing 
branches, do a 'git branch'.  Then create a new branch:

 

$ git checkout -b my-dev-branch 
v2.6.19

$ git branch
  master
* 
my-dev-branch
  old
  origin


I'm not sure this wil be much help 
to you though since I have not been tagging the tree at the davinci merge 
points.  

 

Kevin

 










 
____________________________________________________________________________________
Looking for earth-friendly autos? 
Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center.
http://autos.yahoo.com/green_center/
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to