Quoting [EMAIL PROTECTED]:

> Quoting Bill Spatz <[EMAIL PROTECTED]>:
>
> > On Thursday 23 February 2006 06:32 am, [EMAIL PROTECTED] wrote:
> > > Hi Bill,
> > > Thank you for taking time to answer my mail.
> > > As you may have seen in my previous note, my mandrake 10.2 work as
> > > you describe about keydrive, and not anymore since I have migrate. It
> > > possible I have done something wrong and I trying to figure steps to
> > > follows to solve my issue.
> > >
> > > Following this tutorial
> > > "http://tldp.org/HOWTO/html_single/Flash-Memory-HOWTO/";, I start to
> > > have difference starting on 7.3
> > > on my computer, I can see th following under  /proc/bus/usb/, (the
> > > drivers file is not there )
> > > [EMAIL PROTECTED] usb]# ls -la
> > > total 0
> > > drwxr-xr-x 5 root root 0 fév 22 11:31 ./
> > > dr-xr-xr-x 4 root root 0 fév 22 10:09 ../
> > > dr-xr-xr-x 2 root root 0 fév 22 11:31 001/
> > > dr-xr-xr-x 2 root root 0 fév 22 11:31 002/
> > > dr-xr-xr-x 2 root root 0 fév 22 11:31 003/
> > > -r--r--r-- 1 root root 0 fév 22 14:54 devices
> > >
> > > And I nothing was create under /proc/scsi/.
> > >
> > > Any steps to solve my issue or comments are wellcome
> > >
> > > Cheers
> > >
> > > Moses
> > >
> > > Quoting Bill Spatz <[EMAIL PROTECTED]>:
> > > > On Thursday 23 February 2006 03:38 am, [EMAIL PROTECTED] wrote:
> > > > > Hi All, I have upgrade my Mandriva from 10.2 to 2006 and since
> > > > > this upgrade, I am not able to auto mount my usb drive when I
> > > > > plug them.
> > > > >
> > > > > Here is my config
> > > > > ThinkPad IBM T41
> > > > > [EMAIL PROTECTED] ~]# rpm -qa | grep kernel
> > > > > kernel-i586-up-1GB-2.6.11.6mdk-1-1mdk
> > > > > kernel-i686-up-4GB-2.6.11.6mdk-1-1mdk
> > > >
> > > > 2006 does a pretty good job at detecting and automounting USB
> > > > sticks.
> > > >
> > > > Plug your keydrive in, wait a few seconds and click the devices
> > > > icon, it should be there.
> > > >
> > > > Bill
> > Hi Moses,
> >
> > Plug your drive in and then
> >
> > do a "cat /etc/fstab" (without quotes)
> >
> > you should see a line similar to this:
> >
> > /dev/sda1 /mnt/removable vfat
> > rw,nosuid,nodev,noatime,codepage=850,iocharset=iso8859-1,user=bill 0 0
> >
> > Mandriva mounts the device as /mnt/removable and uses sda1 as the device
> > rather than scsi.
> >
> > Also mine shows up under EHCI and not UHCI when using usbview
> >
> > an ls of the scsi directory looks like this for mine:
> >
> > [EMAIL PROTECTED] ~]$ cd /proc/scsi
> > [EMAIL PROTECTED] scsi]$ ls
> > device_info  scsi  usb-storage/
> > [EMAIL PROTECTED] scsi]$ cd usb-storage
> > [EMAIL PROTECTED] usb-storage]$ ls
> > 2
> >
> >
> > Bill
> >
>
> Bill,
> Here is the cat of my /etc/fstab.
>
> # This file is edited by fstab-sync - see 'man fstab-sync' for details
> /dev/hda5 / ext3 noatime 1 1
> /dev/hda8 /home ext3 noatime 1 2
> /dev/hdc /mnt/cdrom iso9660 user,iocharset=iso8859-15,noauto,ro,exec 0 0
> /dev/hda9 /mnt/deb1 ext3 noatime 1 2
> /dev/hda10 /mnt/deb2 ext3 noatime 1 2
> /dev/hda12 /mnt/deb4 ext3 noatime 1 2
> /dev/hda2 /mnt/deb3 ext3 noatime 1 2
> /dev/hda13 /mnt/deb5 ext3 noatime 1 2
> none /proc proc defaults 0 0
> /dev/hda7 /usr ext3 noatime 1 2
> /dev/hda6 swap swap defaults 0 0
> none /proc/bus/usb usbdevfs defaults 0 0
>
> no /dev/sda but you have the "/proc/bus/usb usbdevfs defaults 0 0" and
> something
> really appear under /proc/bus/usb/: 001, 002, 003.
>
> and under /proc/scsi no "usb-storage". here is the missing point!!!!
>
> usbview show me all the detail of my key, but I don't have a way to take it
> and
> mount it somewhere
>
> usbview details :
>
> Solid state disk
> Manufacturer: USB
> Serial Number: 2F5417E33EDFFF20
> Speed: 12Mb/s (full)
> USB Version:  1.10
> Device Class: 00(>ifc )
> Device Subclass: 00
> Device Protocol: 00
> Maximum Default Endpoint Size: 64
> Number of Configurations: 1
> Vendor Id: 0a16
> Product Id: 9780
> Revision Number:  1.00
>
> Config Number: 1
>       Number of Interfaces: 1
>       Attributes: 80
>       MaxPower Needed: 100mA
>
>       Interface Number: 0
>               Name: (none)
>               Alternate Number: 0
>               Class: 08(stor.)
>               Sub Class: 06
>               Protocol: 50
>               Number of Endpoints: 3
>
>                       Endpoint Address: 81
>                       Direction: in
>                       Attribute: 2
>                       Type: Bulk
>                       Max Packet Size: 64
>                       Interval: 0ms
>
>                       Endpoint Address: 02
>                       Direction: out
>                       Attribute: 2
>                       Type: Bulk
>                       Max Packet Size: 64
>                       Interval: 0ms
>
>                       Endpoint Address: 83
>                       Direction: in
>                       Attribute: 3
>                       Type: Int.
>                       Max Packet Size: 2
>                       Interval: 255ms
>
> many thanks again for your time.
> I am sure we are not far. we just need to go further.
>
> cheers
>
> Moses
>
>
>
> ____________________________________________________
> Want to buy your Pack or Services from Mandriva?
> Go to http://store.mandriva.com
> Join the Club : http://www.mandrivaclub.com
> ____________________________________________________
>


Hi Bill,
Thank you for your help.
I have finally solve my issue.

1 - I first add the following line on my /etc/fstab file :
"/dev/sda1 /mnt/usb vfat noauto,users,exec,noatime,umask=000 0 0"

2 - aftder I create  :
mkdir /mnt/usb

At this stage, I could not make it work. I continue to search and read more
carefully this good HowTo send to me by Rosemary (Thank you Rosemary !)
"http://qa.mandriva.com/twiki/bin/view/Main/HotPluggableHardwareRemovableMedia";
"http://webcvs.freedesktop.org/*checkout*/hal/hal/doc/spec/hal-linux26.png";

I then understood that  have to take attention to the "udev" component. Looking
on udev config file, I found out that my config does not automatically launch
modprobe with good options.

I then manually launch as root:

3 - modprob usb-storage

And my usb key appeared. I click on it and it was working.

Some precisions :
Here is my kernel level
[EMAIL PROTECTED] ~]# rpm -qa | grep kernel
kernel-i586-up-1GB-2.6.11.6mdk-1-1mdk
kernel-i686-up-4GB-2.6.11.6mdk-1-1mdk

I have tested this solution on another laptop with
kernel-2.6.12.12mdk-1-1mdk and modprob usb-storage is not enough to make it
work.
Thank all again

Cheers

Moses
____________________________________________________
Want to buy your Pack or Services from Mandriva? 
Go to http://store.mandriva.com
Join the Club : http://www.mandrivaclub.com
____________________________________________________

Reply via email to