LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 08-20-2006, 07:20 PM   #1
ImOk
Member
 
Registered: Mar 2006
Posts: 44

Rep: Reputation: 15
USB Memory stick doesn't appear on my notebook


I just installed Suse 10.1. All he partitions show up and by USB mouse works. But when I plug in the memory stick absolutley nothing happens.

Is there some driver that needs to be loaded to get memory sticks (or USB drives) to show?

Thanks
 
Old 08-20-2006, 08:17 PM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677
I took a look at my lsmod listing:
Code:
jschiwal@hpamd64:~> lsmod | grep usb
usbhid                 43296  0
usb_storage            80576  0
scsi_mod              145200  5 st,sr_mod,sg,sd_mod,usb_storage
usbcore               129576  6 usbhid,usb_storage,ohci_hcd,ehci_hcd,ndiswrapper
ide_core              144612  4 usb_storage,ide_cd,amd74xx,ide_disk
The ndiswrapper module isn't needed for mounting usb key drives. And of course the usbhid module if for the mouse.
You might want to monitor the output of /var/log/messages when plugging in a usbdrive.
sudo tail -f /var/log/messages:
Code:
Aug 20 20:04:52 hpamd64 kernel: usb 1-2: new high speed USB device using ehci_hcd and address 2
Aug 20 20:04:52 hpamd64 kernel: usb 1-2: new device found, idVendor=0781, idProduct=5150
Aug 20 20:04:52 hpamd64 kernel: usb 1-2: new device strings: Mfr=1, Product=2, SerialNumber=3
Aug 20 20:04:52 hpamd64 kernel: usb 1-2: Product: Cruzer Mini
Aug 20 20:04:52 hpamd64 kernel: usb 1-2: Manufacturer: SanDisk Corporation
Aug 20 20:04:52 hpamd64 kernel: usb 1-2: SerialNumber: 200522429007FC2012CB
Aug 20 20:04:52 hpamd64 kernel: usb 1-2: configuration #1 chosen from 1 choice
Aug 20 20:04:52 hpamd64 kernel: scsi1 : SCSI emulation for USB Mass Storage devices
Aug 20 20:04:52 hpamd64 kernel: usb-storage: device found at 2
Aug 20 20:04:52 hpamd64 kernel: usb-storage: waiting for device to settle before scanning
Aug 20 20:04:57 hpamd64 kernel:   Vendor: SanDisk   Model: Cruzer Mini       Rev: 0.1
Aug 20 20:04:57 hpamd64 kernel:   Type:   Direct-Access                      ANSI SCSI revision: 02
Aug 20 20:04:57 hpamd64 kernel: SCSI device sda: 501759 512-byte hdwr sectors (257 MB)
Aug 20 20:04:57 hpamd64 kernel: sda: Write Protect is off
Aug 20 20:04:57 hpamd64 kernel: sda: Mode Sense: 03 00 00 00
Aug 20 20:04:57 hpamd64 kernel: sda: assuming drive cache: write through
Aug 20 20:04:57 hpamd64 kernel: SCSI device sda: 501759 512-byte hdwr sectors (257 MB)
Aug 20 20:04:57 hpamd64 kernel: sda: Write Protect is off
Aug 20 20:04:57 hpamd64 kernel: sd[a: Mode Sense: 03 00 00 00
Aug 20 20:04:57 hpamd64 kernel: sda: assuming drive cache: write through
Aug 20 20:04:57 hpamd64 kernel:  sda: sda1
Aug 20 20:04:57 hpamd64 kernel: sd 1:0:0:0: Attached scsi removable disk sda
Aug 20 20:04:57 hpamd64 kernel: sd 1:0:0:0: Attached scsi generic sg0 type 0
Aug 20 20:04:57 hpamd64 kernel: usb-storage: device scan complete
Also the output of "sudo /sbin/udevmonitor"
Code:
jschiwal@hpamd64:~> sudo /usr/sbin/udevmonitor
udevmonitor prints the received event from the kernel [UEVENT]
and the event which udev sends out after rule processing [UDEV]

UEVENT[1156122292.897454] add@/devices/pci0000:00/0000:00:02.2/usb1/1-2
UEVENT[1156122292.898327] add@/devices/pci0000:00/0000:00:02.2/usb1/1-2/1-2:1.0
UEVENT[1156122292.898696] add@/class/scsi_host/host1
UEVENT[1156122292.898871] add@/class/usb_device/usbdev1.2
UDEV  [1156122293.118478] add@/devices/pci0000:00/0000:00:02.2/usb1/1-2
UDEV  [1156122293.168523] add@/devices/pci0000:00/0000:00:02.2/usb1/1-2/1-2:1.0
UDEV  [1156122293.171488] add@/class/scsi_host/host1
UDEV  [1156122293.180390] add@/class/usb_device/usbdev1.2
UEVENT[1156122297.896899] add@/devices/pci0000:00/0000:00:02.2/usb1/1-2/1-2:1.0/host1/target1:0:0/1:0:0:0
UEVENT[1156122297.906168] add@/block/sda
UEVENT[1156122297.906445] add@/block/sda/sda1
UEVENT[1156122297.906602] add@/class/scsi_device/1:0:0:0
UEVENT[1156122297.906764] add@/class/scsi_generic/sg0
UDEV  [1156122297.947910] add@/devices/pci0000:00/0000:00:02.2/usb1/1-2/1-2:1.0/host1/target1:0:0/1:0:0:0
UDEV  [1156122297.956963] add@/class/scsi_generic/sg0
UDEV  [1156122298.139616] add@/class/scsi_device/1:0:0:0
UDEV  [1156122298.208105] add@/block/sda
UDEV  [1156122298.631087] add@/block/sda/sda1
Make sure you have these two lines in /etc/fstab
Code:
sysfs                /sys                 sysfs      noauto                0 0
usbfs                /proc/bus/usb        usbfs      noauto                0 0
Also check the output of lsusb:
Code:
jschiwal@hpamd64:~> sudo /usr/sbin/lsusb
Bus 002 Device 040: ID 046d:c030 Logitech, Inc. iFeel Mouse
Bus 002 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 001 Device 002: ID 0781:5150 SanDisk Corp. SDCZ2 Cruzer Mini Flash Drive (thin)
Bus 001 Device 001: ID 0000:0000
If the device was detected, udev may have created a device node for it. List the /dev/sd* devices and if the usb drive is present, check it out with fdisk. It could be corrupt. I once had a pendrive that wouldn't mount in linux or windows. Using fdisk, I found out the the partition was marked as hidden. Fixing the Id of the partition fixed the problem.
Code:
jschiwal@hpamd64:~> ls /dev/sd*
/dev/sda  /dev/sda1

jschiwal@hpamd64:~> /sbin/fdisk -l /dev/sda

Disk /dev/sda: 256 MB, 256900608 bytes
16 heads, 32 sectors/track, 979 cylinders
Units = cylinders of 512 * 512 = 262144 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1         979      250574+   6  FAT16
 
Old 08-21-2006, 08:42 AM   #3
ImOk
Member
 
Registered: Mar 2006
Posts: 44

Original Poster
Rep: Reputation: 15
Hi, thanks for responding:

I should have mentioned that this is the built-in memory stick slots that come with notebooks. Maybe there is something different. I have a Compaq Presario V2000. Normally, under Windows XP Prof, when I plug in the chip a GREEN LED flashes. It doesnt happen here.

This is what I get:

sudo /usr/sbin/lsusb
root's password:
Bus 003 Device 004: ID 046d:c50a Logitech, Inc.
Bus 003 Device 001: ID 0000:0000
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 002: ID 03f0:011d Hewlett-Packard
Bus 004 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000

This is my fstab
-----------------
sysfs /sys sysfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0

But not sd are found when I do this: ls /dev/sd*

Nothing happens when I run sudo /usr/sbin/udevmonitor and plug in/out the stick but if pull my wireless mouse transmitter I get events for it.

Thanks for your help.
 
Old 08-21-2006, 11:41 PM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677
When I plug in an sd device in the slot of my desktop I get this from /var/log/messages:
Code:
Aug 21 18:31:11 hpmedia su: (to root) jschiwal on /dev/pts/2
Aug 21 18:31:31 hpmedia kernel: SCSI device sdc: 990976 512-byte hdwr sectors (507 MB)
Aug 21 18:31:31 hpmedia kernel: sdc: Write Protect is off
Aug 21 18:31:31 hpmedia kernel: sdc: Mode Sense: 03 00 00 00
Aug 21 18:31:31 hpmedia kernel: sdc: assuming drive cache: write through
Aug 21 18:31:31 hpmedia kernel: SCSI device sdc: 990976 512-byte hdwr sectors (507 MB)
Aug 21 18:31:31 hpmedia kernel: sdc: Write Protect is off
Aug 21 18:31:31 hpmedia kernel: sdc: Mode Sense: 03 00 00 00
Aug 21 18:31:31 hpmedia kernel: sdc: assuming drive cache: write through
Aug 21 18:31:32 hpmedia kernel:  sdc: sdc1
However when I do the same on my laptop, it isn't detected at all. Perhaps this webpage can help:\http://freshmeat.net/projects/opensc/

I've read in the past that some cards and controllers are encumbered by patents and copyrights and so support in linux is spotty. My HP laptop came with a usb holder that I can plug into a usb slot to read an SD disk, so I haven't put much effort into it.

Last edited by jschiwal; 08-21-2006 at 11:43 PM.
 
Old 08-22-2006, 09:20 AM   #5
ImOk
Member
 
Registered: Mar 2006
Posts: 44

Original Poster
Rep: Reputation: 15
You may be right about that and thanks for the link.

For now I will just use my USB dongle. That one works great.
 
Old 08-23-2006, 09:56 PM   #6
usaf_sp
Member
 
Registered: Jul 2005
Location: Tennessee
Distribution: openSUSE
Posts: 419

Rep: Reputation: 30
If you type this command from the console: lspci

You will get the following:

02:07.0 CardBus bridge: Texas Instruments PCIxx21/x515 Cardbus Controller
02:07.2 FireWire (IEEE 1394): Texas Instruments OHCI Compliant IEEE 1394 Host Controller
02:07.3 Mass storage controller: Texas Instruments PCIxx21 Integrated FlashMedia Controller
02:08.0 Ethernet controller: Broadcom Corporation BCM4401 100Base-T (rev 01)
02:09.0 Network controller: Intel Corporation PRO/Wireless 2200BG Network Connection (rev 05)


Notice that my computer has a Texas Instruments FlashMedia Controller.

Texas Instruments is the brand of FlashMedia Controller that is installed in most laptops and Texas Instruments does not release any technical information nor do they publish a *nix driver.

Kernel version 2.6.17.11 should provide some support. There is no way yet to experimental or otherwise to access a MemoryStick. The new kernel will have limited support of SD flash cards, but until Texas Instruments cooperates or reverse engineering makes more headway, you are best of getting a USB Flash Drive.

Hope this clears this up.

Last edited by usaf_sp; 08-23-2006 at 09:57 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Missing memory in USB stick, flash memory, removable hd etc bamboo_spider Linux - Newbie 3 06-14-2006 05:39 PM
USB memory stick Alan Lakin Linux - Hardware 21 11-10-2005 05:53 AM
usb stick in slackware9.1 on zd7000 notebook mmeijer Linux - Hardware 9 07-03-2004 12:13 AM
USB Memory Stick jmdlcar Linux - Hardware 1 01-09-2004 07:03 PM
usb memory stick linen0ise Slackware 9 10-03-2003 04:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 12:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration