Problems with Hotplug and USB flash dirve on Suse 9.2
SUSE / openSUSEThis Forum is for the discussion of Suse 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.
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.
Problems with Hotplug and USB flash dirve on Suse 9.2
I am new to Suse Linux, I am coming over from Ubuntu linux. In Ubuntu when I plug in my JumpDrive it automounts it, Suse does the same thing. But in Ubuntu when I pull it out, it unmounts my drive for me, but if I do it to Suse, it won't unmount the drive. The real problem is that if I plug it back in, it won't remount. Does any one know how to make Suse auto unmount the drive. Any thing will help
So, when you plug in your jumpdrive the second time it does not see it? Or you can't even mount? I had something similar, only i "interrupted" the automounting process by doing this manualy (let's just say i wanted to mount it myself. And umount too.) After that, in that PARTICULAR user automounting feature refused to work.
Well after I unplug it, Suse does not even know that it has been unplugged. So, I was wondering how you can get Suse to see that the drive has been unpluged.
I don't have any problems with 9.2 and USB drives. I've two that I even use at the same time without issues. Unison works well syncing the USB drives with folders on my machine.
For me SuSE knows its gone but doesn't do anything for you. I need to use mount and umount everytime I want to connect to my MP3 player.
EDIT:
Playing around with SuSE Hardware Tool I got it mount once but then the second time it didn't do jack. WTH This is why Linux will never grow beyond Windows. Simple things like USB still can't be done correctly. I might be doing something wrong but then again Windows didn't need to be setup special for it to connect.
EDIT2:
SuSE Hardware Tool can be configured to setup the USB for you. Yet it doesn't save the changes you make as root and even after making the mount usable by a normal user.
Your experience is very different than mine. I have however found that those few times that I had trouble it was always my own lack of knowledge. Patient research without pontification has always found me an answer. Windows and Linux are clearly different and the choice is personal.
I agree that most Linux problems can be fix by just gaining some knowledge. Yet Apps are supposed to make things easier to use for the user. After a new install it should just work. But it doesn't for some reason. I love linux yet hate setting everything up for a app that should do it for you!
Do you have the "hotplug" feature installed? I'm able to mount and unmount my flash drive with no trouble, though I have to say, it takes about twenty seconds to mount and just as long to unmount. Is it possible you're not waiting long enough to check? (I know that sounds ridiculous!)
Spaz007 & fragos, i agree with both of you. Linux might never "overthrow" windows, but not for that reason. It's just that linux requires patience, desire to learn more about it, and time. Windows is not as stable (at least for me it's not) and requires too much space (3 gigs for just a barebone system with no apps) too many updates that just fill up my hard drive, and too expensive. But that's just my opinion, so don't kill me if you think i'm wrong
For people who like it easy, and not always right - it's windows. For people who just want it to fit their needs, but agree to do some tweaking' to reach it - it's linux.
Some people say that they like that windows is unified, and you don't have to chose between hundreds. But if there are hundreds, there is definitely ONE (at least) distro that will fit one's needs. It's the choice, the freedom of choice what makes it perfect. And the freedom of making your own linux, too. Plus, no silly activations. Well, i'll just stop there.
As for usb, my 128MB flash drive is easily recognized by SuSE, and automounted in about 20 seconds. Then, it asks me whether it should open it in konqueror. After i plug it out, nothing happens. But after plugging it back in, in about 20 seconds, it asks me to open it in konquror again (actually, that's because I want it always to ask me, before opening it, but that can be changed). Everything works fine. I don't know what's the problem in your case.
It is quite some time ago when I have learned to never unplug a USB drive before I unmounted it. According to your discussion this seem no longer necessary...but what about buffered write operations? And what about Windows systems? This wasn't a Linux specific thing. Please bring me up-to-date!
AFAIK, the SuSE subfs mounting is based on the access to a drive. That means as long as a konqueror window or other application has access to the drive, it will not unmount. If you now unplug the drive, the hotplug system may recognize this, but not submount. If this makes sense depends on what you teach me on that question above
Yeah, i think you're right, abisko00. Same is when you try to umount a drive, while a konqueror is focused on it, or it is used somewhere (device is busy).
But, yes, SuSE does auto-umount the usb drive, AND you have to consider if device is busy (like the situations covered above), and the buffered write operations, all of that. I mean, there are a lot of possibilities the auto-umount going wrong, but, if you do everything right (just as you would have done in winXP), you'll be pleased with it.
I guess that's why my usb stopped working once. I unplugged it too soon, it didn't stop writing (the light wasn't on, so i assume it didn't even start ?!) OR it was busy for some other reason (don't remember, i just remember that the file didn't copy)
Anyways, it works now, and i try to follow all the rules
Well thanks for the repiles, But I am still haveing the problem. Let me be a little clearer on the probelm. When I plug in the Flash Drive, it mounts. I can see it under computer:/// and in /media. That work. But when I right click on it (computer:///) I get no unmount option, and When I unmount if from the command line, I get no errors, but it is still mounted. When I just pull it out, it does not unmount the dirve. My problem is that I can't unmount it, unless I reboot. So if any one could help it would be purfect, and I could put Suse on my laptop. Thanks a bunch
NO it does not, and I can't figure out what is causing the problem. Udev and Hotplug seem to look just fine, it is just USB stuff that gets all screwed up. Maybe it is my hardware?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.