[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] USB & Hotplug



Hi everybody,

I've been working with the USB with no results:

Making cat /proc/devices I get this:

Character devices:
  1 mem
  2 pty/m%d
  3 pty/s%d
  4 ttyS
  5 console
 10 misc
 90 mtd
162 raw
180 usb
254 de3

Block devices:
  1 ramdisk
 31 mtdblock
254 System ACE

So I changed make file adding this line:

DEVICES =+ sda,c,180,0    sda1,c,180,1

Then: mount -t vfat /dev/sda1 /var/pendrive
mount: Mounting /dev/sda1 on /var failed: Block device required

If I make: mount -t usbdevfs /proc/bus/usb:

# ls /proc/bus/usb
001      002      devices  drivers
# cat drivers
         usbdevfs
         hub
         usb-storage
# cat devices
T:  Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 1
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 0.00
S:  Product=USB CY7C67200/300 Root Hub
S:  SerialNumber=1
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms
T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 1
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 0.00
S:  Product=USB CY7C67200/300 Root Hub
S:  SerialNumber=0
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms

I think I'm very near from my target...but I don't find a solution :-(

Do you have any idea? What could I do now?

Thank you very much for your help!

Kind regards,

2007/4/27, Peter Korsgaard <peter.korsgaard@xxxxxxxxx>:
>>>>> "JW" == John Williams <jwilliams@xxxxxxxxxxxxxx> writes:

Hi,

JW> The Cy7600 driver in uClinux supports host mode only.  On the
JW> ML40x boards, the device is hardwaired to one host port only, and
JW> this is what has been detected by the driver.

FYI, I posted a 2.6 driver for the cy7600 yesterday:

http://thread.gmane.org/gmane.linux.usb.devel/53285

It contains a HCD driver and the start of a gadget driver.

--
Bye, Peter Korsgaard
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/




--
***********************************
*  Raúl Rodríguez Canales    *
*  raul.rcanales@xxxxxxxxx  *
***********************************