Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
USB Flash memory
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Abedel_hady
Tux's lil' helper
Tux's lil' helper


Joined: 12 Jul 2004
Posts: 139

PostPosted: Fri Jul 30, 2004 5:26 am    Post subject: USB Flash memory Reply with quote

I have a USB Flash memory, and it dosen't worked under Linux, so what I shall do so that I can communicate with.
_________________
/aeh
Back to top
View user's profile Send private message
SZwarts
l33t
l33t


Joined: 13 Oct 2003
Posts: 629
Location: Sydney, NSW, Australia

PostPosted: Fri Jul 30, 2004 6:50 am    Post subject: Reply with quote

You'll need scsi, usb and mass storage support:

Code:

Device Drivers -------->
SCSI Device Support --------->
[*] legacy /proc/scsi/ support
<*> SCSI disk support
<*> SCSI generic support
USB Support -------------->
<*> Support for USB
[*] USB device filesystem
<*> USB Mass Storage support


Then after you plugin you usb flash memory you have to mount it.
Usually it comes up as /dev/sda or /dev/sda1 or something
On my computer this device appears after I put in my flash card.

Don't forget to unmount it before removing it from your computer
_________________
only when it is dark enough, can you see the stars
Back to top
View user's profile Send private message
Abedel_hady
Tux's lil' helper
Tux's lil' helper


Joined: 12 Jul 2004
Posts: 139

PostPosted: Fri Jul 30, 2004 2:32 pm    Post subject: Reply with quote

thanks;

well, I made the kernel, and I found the /dev/sda and /dev/sda1, but how I can mount it??

Note: I use the KDE enviroment.
_________________
/aeh
Back to top
View user's profile Send private message
HiFidk
n00b
n00b


Joined: 23 Sep 2003
Posts: 28
Location: Aalborg, Denmark

PostPosted: Fri Jul 30, 2004 3:52 pm    Post subject: Reply with quote

Well you have the device... /dev/sda1

You just make a dir to mount it in , let say :

Code:
mkdir /mnt/usbflash


and then you mount the flash device:

Code:
mount /dev/sda1 /mnt/usbflash


nb. this way it will try to figure out the filesystem itself, works for me both with my usb-flash-ring and my usb-harddrive, but maybe you have to specify the fs yourself...?

you could do a:

Code:
man mount


and figure out more yourself :)
_________________
BALUL(adj)

"Farmer expression describing the state of breating madness a sheep gets in once it has tasted human flesh"
Back to top
View user's profile Send private message
Abedel_hady
Tux's lil' helper
Tux's lil' helper


Joined: 12 Jul 2004
Posts: 139

PostPosted: Fri Jul 30, 2004 3:57 pm    Post subject: Reply with quote

Please, any one try to help in mounting this device! :(
_________________
/aeh
Back to top
View user's profile Send private message
guldan
Tux's lil' helper
Tux's lil' helper


Joined: 24 May 2004
Posts: 81

PostPosted: Fri Jul 30, 2004 8:48 pm    Post subject: Reply with quote

???
HiFidk gave you an extremly detailed description. Use theses commands on a shell. Without some more infos WHAT exactly is not working, we won't be able to help you.
Back to top
View user's profile Send private message
SZwarts
l33t
l33t


Joined: 13 Oct 2003
Posts: 629
Location: Sydney, NSW, Australia

PostPosted: Mon Aug 02, 2004 4:58 am    Post subject: Reply with quote

O, I forgot to mention the UHCI (USB Host controller interface) it's under USB support as well in your kernel. You need to have that too.
But if you already have found /dev/sda then it's ok I suppose.
Then just follow HiFidk howto.

And you can always check last few lines of dmesg. If you do this before and after you put in the usb card you're supposed to see a few lines that state that the kernel actually found the device.
_________________
only when it is dark enough, can you see the stars
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum