LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   usb stick (https://www.linuxquestions.org/questions/linux-hardware-18/usb-stick-226522/)

freeindy 09-04-2004 08:15 AM

usb stick
 
hi,

i running crux 1.3 distro. i wanted to get my 128mb usb stick but i can't get it to work.

lsmod gives:

Code:

Module                          Size      Used by      Not Tained
usb-storage                26456    0 (unused)
usbcore                      42248    0 [usb-storage]
....

the usb stick is connected and the light is on.

but as many docs says to find /dev/sda1, there is none... i don't know where to look.

dmesg in the end says:

Code:

...
usb.c: registered new driver usb-storage
USB Mass Storage support registered
...

does anyone have any idea how to fix this?
would appretiate any help. thanks

indy :newbie:

hw-tph 09-04-2004 11:07 AM

What does dmesg have to say after you have plugged it in? Boot without the USB memory connected and then plug it in. Check the dmesg output after that.

In order to get USB working you may also have to load a USB host driver, like uhci-hcd or ohci-hcd, in the event that these are not built into the kerne or auto-loaded on startup.

Håk

freeindy 09-04-2004 12:13 PM

hi Håk.

I included uhci (usb 2.0) into kernel and recompiled it. this is what it says on dmesg

Code:

hub.c: new USB device 00:1d.2-1, assigned address 2
usb.c: USB device 2 (vend/prod 0x781/0x7112) is not claimed by any active driver.
usb.c: USB disconnect on device 00:1d.2-1 address 2
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
USB Mass Storage support registered.
hub.c: new USB device 00:1d.2-1, assigned address 3
scsi1 : SCSI emulation for USB Mass Storage devices
host/usb-uhci.c: interrupt, status 3, frame# 1289
  Vendor: SanDisk  Model: Cruzer Micro      Rev: 2033
  Type:  Direct-Access                      ANSI SCSI revision: 02
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 3

and now, i cannot modprobe usbcore. only usb-storage... ???

and from /proc/scsi-usb-storage-0/1 i get

Code:

indy$cat /proc/scsi/usb-storage-0/1
  Host scsi1: usb-storage
      Vendor: SanDisk Corp.
      Product: Cruzer Micro
Serial Number: 0000403489
    Protocol: Transparent SCSI
    Transport: Bulk
        GUID: 078171120000000000403489
    Attached: Yes

indy


All times are GMT -5. The time now is 03:08 PM.