LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-30-2005, 12:28 AM   #1
ashlock
Member
 
Registered: Jul 2003
Distribution: Fedora Core 2, RH 9
Posts: 33

Rep: Reputation: 15
USB thumb drive detected by usb but not by scsi


I have a creative muvo 128mb flash drive/mp3 player that I'm trying to use with an Inspiron 8600 with FC2, kernel 2.6.9. When I plug it in, lsusb gives

Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 003: ID 041e:411c Creative Technology, Ltd
Bus 001 Device 001: ID 0000:0000


---------------------
and lsusb -v -s 001:003 gives

Bus 001 Device 003: ID 041e:411c Creative Technology, Ltd
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x041e Creative Technology, Ltd
idProduct 0x411c
bcdDevice 11.11
iManufacturer 1 CREATIVE
iProduct 2 MuVo USB2.0
iSerial 3 0002F5CA3D754C83
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 32
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 4 Media
bmAttributes 0x80
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 8 Mass Storage
bInterfaceSubClass 6 SCSI
bInterfaceProtocol 80 Bulk (Zip)
iInterface 5 Internal Flash Device
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type none
Usage Type Data
wMaxPacketSize 0x0200 bytes 512 once
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type none
Usage Type Data
wMaxPacketSize 0x0200 bytes 512 once
bInterval 0
Language IDs: (length=4)
0409 English(US)

-----------------------------------
dmesg shows
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usb 1-1: new high speed USB device using address 3
uba: device 3 capacity nsec 250368 bsize 512
uba: was not changed
uba: uba1

but cat /proc/scsi/scsi shows no attached devices. How do I get it to show up in /proc/scsi/scsi?

I have put the following in /etc/modules

uhci_hcd
usb-uhci
ehci_hcd
scsi_mod
usb_storage
vfat
i8k -force

but the modules usb_storage and sometimes scsi_mod won't be loaded unless the muvo is plugged in on boot.

I thought the modules listed in /etc/modules would always be loaded at boot, why isn't this true?


no mount commands work either;

[root@localhost ashlock]# mount -t vfat /dev/sda1 /mnt/muvo
mount: /dev/sda1 is not a valid block device

because the muvo is not even being associated as sda1 since /proc/scsi/scsi is empty

[root@localhost ashlock]# mount -t usbfs /dev/sda1 /mnt/muvo
[root@localhost ashlock]# ls /mnt/muvo/
001 002 003 004 devices

which just mounts and empty usbfs on /mnt/muvo


Here is the output of lsmod

Module Size Used by
sd_mod 18688 0
vfat 13952 0
fat 48160 1 vfat
usb_storage 68160 0
scsi_mod 130636 2 sd_mod,usb_storage
snd_intel8x0 37836 0
snd_ac97_codec 71504 1 snd_intel8x0
snd_pcm 112776 1 snd_intel8x0
snd_timer 34180 1 snd_pcm
snd_page_alloc 10376 2 snd_intel8x0,snd_pcm
gameport 5504 1 snd_intel8x0
snd_mpu401_uart 10368 1 snd_intel8x0
snd_rawmidi 29732 1 snd_mpu401_uart
snd_seq_device 8712 1 snd_rawmidi
fglrx 229116 9
agpgart 33216 0
parport_pc 26816 0
lp 12524 0
parport 46408 2 parport_pc,lp
autofs4 27780 0
ds 18692 2
yenta_socket 20352 0
pcmcia_core 66628 2 ds,yenta_socket
sunrpc 181732 1
b44 26244 0
mii 5120 1 b44
snd_mixer_oss 19584 0
snd 60004 8 snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device,snd_mixer_o ss
soundcore 11232 1 snd
i8k 6416 0
ipt_state 2176 1
ip_conntrack 45492 1 ipt_state
ipt_REJECT 7296 4
iptable_filter 3200 1
ip_tables 18048 3 ipt_state,ipt_REJECT,iptable_filter
microcode 7200 0
dm_mod 61460 0
uhci_hcd 34704 0
ehci_hcd 36356 0
ext3 120552 2
jbd 88728 1 ext3


this is driving me nuts. I have used linux since 1996 but the number of hours I have spent trying to do the simplest things like mount a thumb drive and use a projector via dual head have been making me consider going to the dark side.

Last edited by ashlock; 05-30-2005 at 12:33 AM.
 
Old 05-30-2005, 01:37 AM   #2
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
Did udev assign it to /dev/uba1
 
Old 05-30-2005, 12:01 PM   #3
ashlock
Member
 
Registered: Jul 2003
Distribution: Fedora Core 2, RH 9
Posts: 33

Original Poster
Rep: Reputation: 15
Thanks musicman_ace for restoring my faith in the force, you're a genius!

I found that I didn't have the udev package installed, so I did a 'yum install udev' and then 'mount -tvfat /udev/uba1 /mnt/muvo' and it worked! None of the 10,000 posts I googled for usb sticks mentioned anything about udev, only /proc/scsi/scsi, and since I actually got it working using /proc/scsi/scsi for two of the 1000 times of trying, I thought that was the only way to get it working.


Then I added

/udev/uba1 /mnt/muvo vfat user 0 0

to /etc/fstab so I could just type 'mount /mnt/muvo'. beautiful. If you're ever in Boulder, lunch is on me.

Now, is there any way to stop usb power before I unmount and unplug it? In windows, stopping it causes the red power light on the muvo to turn off before unplugging it.


thanks

Last edited by ashlock; 05-30-2005 at 12:14 PM.
 
Old 05-30-2005, 02:00 PM   #4
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
add lines to fstab only works if udev consistantly assign the same device node to it. I've never seen a /dev/uba1 before, so at some point it may assign it /dev/sda1. If it doesn't work, just try dmesg as that is where I got it from.
 
Old 05-30-2005, 06:44 PM   #5
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy .. bullseye bookworm
Posts: 1,834

Rep: Reputation: 108Reputation: 108
How about
http://www.usenetlinux.com/archive/i.../t-129855.html
 
Old 05-30-2005, 06:49 PM   #6
ashlock
Member
 
Registered: Jul 2003
Distribution: Fedora Core 2, RH 9
Posts: 33

Original Poster
Rep: Reputation: 15
Hmm, maybe disabling ub would let the scsi approach work as discussed in that post.
However, I would have to recompile my kernel just to check it out. I will stick with the udev approach as it is working consistently for now.
 
Old 06-02-2005, 02:58 PM   #7
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy .. bullseye bookworm
Posts: 1,834

Rep: Reputation: 108Reputation: 108
Today, I just ran into related issue.

5.2.4 in following
http://www.debian.org/releases/testi...upgrade-to-2.6

may help in case things go wrong.
 
  


Reply



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
USB Thumb Drive superdude_876 Slackware 2 10-18-2005 07:42 PM
USB Thumb Drive WolfCub Linux - Hardware 18 03-01-2005 09:06 AM
Usb Thumb Drive Crippledzero Linux - Hardware 1 10-07-2004 09:29 PM
USB drive using different partitions (usb key thumb drive) Arodef Linux - Hardware 0 08-04-2004 06:36 PM
USB thumb drive works great, but I still can't get my USB mouse to work. blk96gt Slackware 8 06-22-2004 01:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:14 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
Open Source Consulting | Domain Registration