LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 07-30-2002, 02:56 AM   #1
bxb32001
Member
 
Registered: May 2001
Location: Beijing
Distribution: Fedora, Knoppix
Posts: 204

Rep: Reputation: 30
Question Sony memory sticks?


Hi all!

My Boss assigned me a new Sony Digital Cam that uses memory sticks. I have a USB Mem Stick reader/writer for my W2K box at work... But I'm wondering about my Linux box at home. Anyone know if this works with Linux? (the reader, the stick)

- bxb32001
 
Old 07-30-2002, 01:11 PM   #2
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Yep, sure does. What distro will you be using it on? If you have usb mass storage enabled in the kernel, modprobe usb-storage and usb-uhci and then mkdir /mnt/sony followed by a mount -t vfat /dev/sda1 /mnt/sony and viola! reading your stick. For a better how to, or if this didn't work, please let me/us know.
 
Old 07-30-2002, 07:34 PM   #3
bxb32001
Member
 
Registered: May 2001
Location: Beijing
Distribution: Fedora, Knoppix
Posts: 204

Original Poster
Rep: Reputation: 30
Whoa!

This is exciting news... I have a RH 7.3, I think usb-storage and usb-uhci are enabled (I'm at work right now - I'll try this when I get home) Thanks Master C... I'll let ya know.

- bxb
 
Old 07-31-2002, 02:34 AM   #4
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Any luck?
 
Old 08-01-2002, 08:49 AM   #5
bxb32001
Member
 
Registered: May 2001
Location: Beijing
Distribution: Fedora, Knoppix
Posts: 204

Original Poster
Rep: Reputation: 30
Sorry bout that... deadlines.

Anyway just tried it... doesn't seem to work. When I type the mount command I got help messages on how to use mount n' stuff.

- bxb
 
Old 08-01-2002, 06:32 PM   #6
Thymox
Senior Member
 
Registered: Apr 2001
Location: Cornwall, England.
Distribution: Debian + Ubuntu
Posts: 4,345

Rep: Reputation: 56
What is the exact command that you're issuing?
 
Old 08-02-2002, 01:43 AM   #7
bxb32001
Member
 
Registered: May 2001
Location: Beijing
Distribution: Fedora, Knoppix
Posts: 204

Original Poster
Rep: Reputation: 30
I followed Master C's instructions to the letter... Do I have to edit /etc/fstab?

I did a mount -t vfat /dev/sda1 /mnt/sony just as instructed... haven't reached viola! just yet
 
Old 08-03-2002, 08:36 AM   #8
ronin24
Member
 
Registered: May 2002
Location: Sweden
Distribution: Suse 8.0
Posts: 35

Rep: Reputation: 15
http://www.linux-usb.org/USB-guide/x498.html
 
Old 08-04-2002, 01:28 AM   #9
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
ha ha ha ha, damn, you just need this then (this is a joke btw)
mount -t vfat /dev/sda1 /mnt/sony&& echo VIOLA!

With that command, and your usb card reader (plus memory stick inserted) plugged in, you should be able to access the files via 'cd /mnt/sony ls' but I am guessing that's not what's happening. You shouldn't be getting told anything about how to use mount, but maybe a message about possible filesystem not supported and things of that nature. If so, then you may want to make sure that you have fat support in your kernel. Did you do a "modprobe usb-storage" first?

Post the error message and I will see what I can dig up.

Last edited by MasterC; 08-04-2002 at 01:29 AM.
 
Old 08-04-2002, 07:36 PM   #10
bxb32001
Member
 
Registered: May 2001
Location: Beijing
Distribution: Fedora, Knoppix
Posts: 204

Original Poster
Rep: Reputation: 30
I'll give it a shot... meanwhile, about usb-storage. I think I see something of the sort when my computer boots up followed by an [ok] message. I tried the modprobe command but my box said "no such command."

So I apologize if I just assumed they were there. I have a USB zip connected and it was surprisingly easy. At bootup it was detected and all I had to do was mount it. I am guessing that it means I have usb-storage enabled.

Thanks again for you advice... I'll get to it as soon as I get outta the office.
 
Old 08-05-2002, 05:43 PM   #11
Thymox
Senior Member
 
Registered: Apr 2001
Location: Cornwall, England.
Distribution: Debian + Ubuntu
Posts: 4,345

Rep: Reputation: 56
The modprobe command can only be issued by root (as per default), so you'll need to type su root and then type root's password. This will allow you to 'work' as root, but I advise that you only ever work as root when you absolutely need to! To return to being a normal user, simply type [b]exit[/i].

So:
su root
(type root's password)
modprobe whatever
mount whatever
exit

See if this works.
 
Old 08-13-2002, 11:35 PM   #12
bLaX
LQ Newbie
 
Registered: Aug 2002
Distribution: redhat 7.3, SuSe 8.0, Slackware 8.1
Posts: 14

Rep: Reputation: 0
Man this is not working at all, I posted on another thread regarding this, and still no luck either, below is my console:
bash-2.05a# modprobe usb-storage
bash-2.05a# modprobe usb-uhci
bash-2.05a# mount -t vfat /dev/sda1 /mnt/sony
mount: /dev/sda1 is not a valid block device
bash-2.05a# mount -t vfat /dev/sda1 /mnt/sony&& echo
mount: /dev/sda1 is not a valid block device

Any ideas? BTW, my directories were create prior /mnt/sony
 
Old 08-14-2002, 12:04 AM   #13
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Not the best thing to hear, but you may have to recompile your kernel. Slack was what had me worried, but I seemed to have no problem, before, and after my kernel recompile.

Sorry to confuse a bit, but the echo thing was a joke. I was just saying how you could get your terminal to say Viola!

At the end of the slack install it asks what kernel you would like to use, I chose the USBHAY.i (or similar to that) kernel, and it seemed to work. When I recompiled my kernel, I enabled mass storage as module, and still, seems to work.

If you need help on a kernel recompile, let me know.
 
Old 08-14-2002, 12:19 AM   #14
bLaX
LQ Newbie
 
Registered: Aug 2002
Distribution: redhat 7.3, SuSe 8.0, Slackware 8.1
Posts: 14

Rep: Reputation: 0
lmao, no wonder why i didn't get the punch line, man, i'm so new with linux, that i make a foo outa myself, sall good. Dang dude, at the end of slack install, i chose from loaded cd kernel i think....if i chose the others prolly this would have worked? Don't know unless I tried, but that will be another time when I format, might have to get with you on how to compile my crap to work, so far, video, and sound working good in slack, things not working, hmmm, dvd rom drive not showing, and the sony usb mem card reader...I got an intel 850E mobo, dunno if there are special settings to compile or if slack works by defacto for chipsets, etc....ATA 100, dunno bout that, but one thing i know is it seems to run fast, there was an hd command to check speed, forgot where i saw it though, hmmmm, time to google, unless someone knows the quick answer?
 
Old 08-14-2002, 05:20 PM   #15
Thymox
Senior Member
 
Registered: Apr 2001
Location: Cornwall, England.
Distribution: Debian + Ubuntu
Posts: 4,345

Rep: Reputation: 56
Just read your post, bLaX, and here's a thought for you: Are you modprobing usb-storage first? If so, try modprobing usb-uhci (or usb-ohci) first.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Inerasable memory sticks - ROM satimis Linux - General 1 05-27-2005 08:55 PM
Conflicting results with usb memory sticks Taliesin Linux - Hardware 4 03-31-2005 12:43 AM
Memory sticks, upgrades and SuSE 9x... quick advice? Napalm Llama Suse/Novell 3 02-18-2005 12:44 PM
USB memory sticks island_dude Linux - Hardware 1 01-20-2004 11:16 AM
Memory Sticks and Dig Cam wont Share the USB :( mudelf Linux - General 0 11-07-2003 01:48 AM


All times are GMT -5. The time now is 07:35 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration