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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
12-20-2004, 07:04 AM
|
#1
|
LQ Newbie
Registered: Apr 2004
Posts: 3
Rep:
|
Valid block device for USB memory stick on SUSE 9.2
Hi there, I am trying to read a USB memory stick on SUSE 9.2 (Gnome)
I took another postings advice and in /etc/fstab, I created:-
/dev/sda /mnt/removable vfat noauto,users,rw,exec,umask=002 0 0
and it is not reading 'sda' as a valid block device. I tried quite a few others and they were not accepted either.
Any suggestions?
Thanks in advance
|
|
|
12-20-2004, 07:16 AM
|
#2
|
LQ Guru
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131
Rep:
|
well sda without any number isn't a valid block device...try instead sda4 or sda1 or something like that. for me, one stick was sda4 but the one I have now is sda1 (when it works...this kernel I'm running doesn't like my usb-stuff too much, works sometimes and sometimes does not)
try reading dmesg or /var/log/messages when plugging the stick in, to get some clues...or /proc/bus/usb/devices or something....but I guess it's sdaX where X is some number..
|
|
|
12-21-2004, 08:10 PM
|
#3
|
LQ Newbie
Registered: Apr 2004
Posts: 3
Original Poster
Rep:
|
thanks,
i did try many combinations of /sda# and none seem to be working...
does anyone have any other suggestions??
|
|
|
12-23-2004, 10:44 AM
|
#4
|
LQ Newbie
Registered: Mar 2004
Location: New Mexico, USA
Distribution: Debian
Posts: 4
Rep:
|
If you have other USB storage devices installed it might not be /dev/sda
I have a usbstick and a usb camera, the first one plugged into the USB is assigned /dev/sda(x) and the second one /dev/sdb(x)
As 'b0uncer' suggested:
dmesg
or
less /var/log/messages
or
less /var/log/syslog
|
|
|
12-24-2004, 01:05 PM
|
#5
|
LQ Newbie
Registered: Dec 2004
Location: The Netherlands
Distribution: Suse 9.2
Posts: 1
Rep:
|
SUSE 9.2 --- the device name of an USB MEMORY STICK can be found by:
step 1. program USBview; this will show the device serial number
(for me 7777777777777777)
NOTE: step 1 not necessary, but handy for a hardware check,
and this serial number is shown in YAST Hardware Info)
step 2. program Yast HardWare Info; this will show the device names
(for me under: DASD disks, Ultra Floppy, dev_names)
in my case three names:
1. /dev/sda
2. /dev/disk/by-path/usb-disk/by-path/usb-7777777777777777:0:0:0
3. /dev/disk/by-id/OTi-Ultra_Floppy
/dev/sda did not work, so I used the third device name
step 3. Create a directory where you want the device to be mounted on.
For me at this moment: /home/dewag/USBpen
step 4. Edit /etc/fstab and add the following with your own parameters:
/dev/disk/by-id/OTi-Ultra_Floppy /home/dewag/USBpen vfat
noauto,user,rw,exec,umask=002 0 0
step 5. Execute the command mount /dev/disk/by-id/OTi-Ultra_Floppy
Now, I can read and write to the Memory Pen via /home/dewag/USBpen
|
|
|
12-24-2004, 01:20 PM
|
#6
|
LQ Guru
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700
Rep:
|
With the device plugged in type ' /sbin/fdisk -l ' It will tell if it sees it or not and what filesystem is on it as well.
Brian1
|
|
|
All times are GMT -5. The time now is 12:25 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|