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

Re: [microblaze-uclinux] USB & Hotplug



Hi all once again!

I want to add some new information:

cat /proc/scsi/scsi
Attached devices: none

I know there should be usb-mass o something like this, isn't true? How can I add this?

In DEVICES += ... I changed the 'c' for the 'b' and this is the result:

mount -t vfat /dev/sda1 /var
mount: Mounting /dev/sda1 on /var failed: No such device or address

and finally:
cat /proc/ioports
a5000000-a5000fff : CY7C67200/300 Embedded USB controller

a5000000-a5000fff : this direction is given by the MB manual.

Best regards!

2007/5/8, Raúl Rodríguez Canales <raul.rcanales@xxxxxxxxx>:
Dear all,

Option I have enabled are:

SCSI support
    SCSI disk support
    SCSI generic support
    Probe all LUNs on each SCSI device

Support for USB
   USB verbose debug messages
   Preliminary USB device filesystem
   CY7C67200_300 EZ-USB support
   USB mass storage support
         USB mass storage verbose debug    

I can't find SCSI device support! Do I have to enable another option to find this one?

Sorry if i'm wasting your time

Thank you!

2007/4/30, John Williams <jwilliams@xxxxxxxxxxxxxx>:
Raúl Rodríguez Canales wrote:

> 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

You need to enable the SCSI subsystem, and usb-storage

> So I changed make file adding this line:
>
> DEVICES =+ sda,c,180,0    sda1,c,180,1

These should be block devices ('b'), not char ('c')

> 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 :-(

Enable SCSI device support - it implements the block device interface
for usb-storage.  That will get you a bit closer.

I'm not sure why your USB drive is not appearing in the list of
/proc/bus/usb/devices - but take one thing at a time.

Regards,

John
___________________________
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  *
***********************************