LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   usb - mass storage device (https://www.linuxquestions.org/questions/mandriva-30/usb-mass-storage-device-275825/)

d1l2w3 01-09-2005 05:29 PM

usb - mass storage device
 
My sys is 1.2g hz, 512m ram, 120hda, 160hdb, cd/dvd rw, cd/dvd rw
MDK 10.1 / W98

Trying to install a usb voice recorder (mass storage).
There is no sda1-6 or sdb1-6 sdc etc.etc.

Any ideas?
dlw

d1l2w3 01-09-2005 05:41 PM

These three lines are all that 'dmesg' has regarding usb.

usb 1-2: usbfs: interface 1 claimed while 'sane-find-scann' sets config #1
usb 1-2: usbfs: USBDEVFS_CONTROL failed cmd sane-find-scann rqt 64 rq 4 len 64 ret -32
usb 1-1: new full speed USB device using address 6

d4d4n9 01-09-2005 10:16 PM

Please post your /etc/fstab file so we can see how your usb device is mounted :)

d1l2w3 01-10-2005 11:13 AM

I've tried:
/dev/sda1 - sda6; /dev/sdb1 - 6, etc. etc.

/etc/fstab:
/dev/hdb1 / ext3 defaults 1 1
none /dev/pts devpts mode=0620 0 0
/dev/hdc /mnt/cdrom auto umask=0,user,iocharset=iso8859-1,codepage=850,noauto,ro,exec,users 0 0
/dev/hdd /mnt/cdrom2 auto umask=0,user,iocharset=iso8859-1,codepage=850,noauto,ro,exec,users 0 0
none /mnt/floppy supermount
dev=/dev/fd0,fs=ext2:vfat,--,umask=0,iocharset=iso8859-1,sync,codepage=850
0 0
libusb:002:004 mnt/voice auto user,rw,noauto 0 0
/dev/hda1 /mnt/windows vfat umask=0,iocharset=iso8859-1,codepage=850 0 0
none /proc proc defaults 0 0
/dev/hdb5 swap swap defaults 0 0

d1l2w3 01-10-2005 11:20 AM

This is 'dmesg' without voice recorder hooked up.
[don@localhost don]$ dmesg | grep usb
usbcore: registered new driver usbfs
usbcore: registered new driver hub
usbcore: registered new driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
usb 1-2: new full speed USB device using address 3
drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 3 if 1 alt 0 proto 2 vid 0x04B8 pid 0x0808
usb 2-2: new full speed USB device using address 2
usbcore: registered new driver hiddev
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver

This is 'dmesg' with voice recorder hooked up.
[don@localhost don]$ dmesg | grep usb
usbcore: registered new driver usbfs
usbcore: registered new driver hub
usbcore: registered new driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
usb 1-2: new full speed USB device using address 3
drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 3 if 1 alt 0 proto 2 vid 0x04B8 pid 0x0808
usb 2-2: new full speed USB device using address 2
usbcore: registered new driver hiddev
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver
usb 1-1: new full speed USB device using address 4 ****************

The sys seems to recognize it.
It 's not listed as /dev/sda* as most people say it should be.

d4d4n9 01-10-2005 07:07 PM

I checked my /etc/fstab entry for USB mass storage as the following :

/dev/sda1 /mnt/removable vfat umask=0, codepage=850,iocharset=iso8859-1 0 0

/mnt/removable is the mount point of course :)

Have you tried to remove the battery from your voice recorder prior to attach it to your box ?

d1l2w3 01-10-2005 07:38 PM

No I hadn't removed the batteries but I did.
dmesg shows, 'SCSI subsystem initialized'
This is a first.
Still no /dev/sda1 or anything like it.

d4d4n9 01-10-2005 10:10 PM

Try to add an entry for usb mass storage into your /etc/fstab with a line like mine.
Just have to make a mount point in your /mnt such as /mnt/voice and add the following line into your /etc/fstab :

/dev/sda1 /mnt/voice vfat umask=0, codepage=850,iocharset=iso8859-1 0 0

And reboot.

Look in your /mnt/voice, if you can browse the content of your voice recorder then you are OK.

HTH


All times are GMT -5. The time now is 08:35 AM.