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.
|
 |
07-10-2005, 04:39 PM
|
#1
|
LQ Newbie
Registered: Jul 2005
Distribution: SuSE 9.3
Posts: 6
Rep:
|
PCMCIA Flashdisk not recognized
I'm new to Linux and trying to get an Actiontec PC750 Card Reader to work with SuSE 9.3 running on an AMD 86_64.
The goal is to access a 20MB PCMCIA SunDisk FlashDisk. The card is a 16bit ATA PC Card, the reader is a 32 bit CardBus.
So far, Linux doesn't recognize the flashdisk. Windows XP, on the same computer, reads the card just fine.
The KDE Control Module shows:
Cardbus bridge: Texas Instruments PCI 1225 (rev 01)
Subsystem: Actiontec Electronics Inc: Unknown Device 0293
...followed by other messages indicating interrupt and memory assignments, etc.
Since I'm just starting out, I'd appreciate some advice about what to do next. I don't know much about the command line, but can follow directions if they are clear <g>
Thanks in advance....
Rob
|
|
|
07-10-2005, 05:53 PM
|
#2
|
LQ Newbie
Registered: Jul 2005
Distribution: SuSE 9.3
Posts: 6
Original Poster
Rep:
|
I rebooted a 2nd time, and the card is now recognized upon insertion, with some problems:
1. It doesn't show up under My Computer, or Konqueror/storage media, but does appear under ~/media as idedisk
2. It can be read normally, but can only be written to from root.
3. "Cardctl eject" is apparently necessary before removing the card, but it only works from root.
Can anyone advise on how to get the card to work normally, especially how can I use it in normal user mode?
Rob
|
|
|
07-11-2005, 04:11 PM
|
#3
|
LQ Newbie
Registered: Jul 2005
Distribution: SuSE 9.3
Posts: 6
Original Poster
Rep:
|
I've added a line to fstab as follows:
/dev/hde1 /media/idedisk auto noauto,users,rw,sync,unmask=0000,gid=100,uid=1000 0 0
This results in the flashcard contents showing up in "my computer", etc, but I still can't write to the card unless I'm in root. After spending nearly two full days on this problem, I'm at a loss.
Rob
|
|
|
07-11-2005, 04:58 PM
|
#4
|
Member
Registered: Jun 2004
Distribution: Slackware
Posts: 200
Rep:
|
Is this disk in a digital camera? My digital camera uses Memory Stick. Actually, I don't yet have one, so I use the camera's internal memory.
When I want to view the pictures, I plug it into the computer via USB cable, and then I just mount the camera in the same way I do with my USB thumb drive. Then I can download all the pics.
I know it's not exactly what you wanted, but if you can mount the camera and memory as a USB flash drive, it might still work and get you access to the data.
|
|
|
07-13-2005, 10:28 PM
|
#5
|
LQ Newbie
Registered: Jul 2005
Distribution: SuSE 9.3
Posts: 6
Original Poster
Rep:
|
Thanks for your reply. This is a PCMCIA card that I use with an old DOS palmtop. I still use the palmtop because, with a monochrome screen, I get about 10 hours of "on" time from three AA batteries. And it's a full sized screen (VGA, I think). So I use it a lot for portable word processing, and would like to access the card from Linux. I've heard so much about how flexible Linux is, I'm surprised to be stopped dead in my tracks by a rigid permissions structure.
Rob
|
|
|
07-14-2005, 02:12 PM
|
#6
|
Member
Registered: Jun 2004
Distribution: Slackware
Posts: 200
Rep:
|
I reread your posts more carefully, it looks like you CAN read the card, and write as well (as long as you are root).
If you run `ls -l /dev/hde1`, what are the permissions on the device hde1?
It might just be a matter of setting the permissions so that everyone can write. Check in your udev files. /etc/udev/permissions.d or /etc/udev/rules.d ... I forget exactly where... sorry.
but just to test if this IS the problem, log in as root, then manually set the permissions by typing
`chmod a+r /dev/hde1`
then logout as root and try to write to the device as a normal user. I know for me, when I do this, I have to add the new permission settings to the udev configuration files, otherwise the permissions get reset when I restart the computer.
|
|
|
07-14-2005, 02:57 PM
|
#7
|
LQ Newbie
Registered: Jul 2005
Distribution: SuSE 9.3
Posts: 6
Original Poster
Rep:
|
>>If you run `ls -l /dev/hde1`, what are the permissions on the device hde1?<<
drwxrwxrwx
Strange, huh? I'm wondering if the device identity is incorrect; iow, maybe my card isn't /dev/hde1. Is that possible, and how would I check it?
Rob
|
|
|
07-14-2005, 03:13 PM
|
#8
|
LQ Newbie
Registered: Jul 2005
Distribution: SuSE 9.3
Posts: 6
Original Poster
Rep:
|
P.S,
ls -l /media/idedisk gives "no such file or directory," but Konqueror shows the directory, and lists permissions as rwx for root, and r for user and others. User and Group are both root. This holds for the directory and all contents (folders and files).
Rob
|
|
|
All times are GMT -5. The time now is 12:14 PM.
|
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
|
|