Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I just got a generic USB jump drive/mp3 player, downside is it was design for windows XP, could sombody point me to a good tutorial or whatnot, for how to get it to work in linx. I assume I need to mount but I'm not really sure how.
To mount stuff on linux, you first need to have a place setup to mount it too, so it just needs to be a blank directory, you can make this on your desktop or wherever you want. I'll pretend mine is
So to do that you can use kde or gnome to make the folder, or mkdir /home/user/mp3player in the terminal. Then you need to find what device the usb drive is, I use fdisk -l from the console (thats a lowercase L after the dash) This lists your drives and some info about them (need to do it as root I think as well) Look for one that looks about the right size, mine jumpdrive is usually /dev/sda1 or something like that. Once you find it, you can (as root I think again) do this from the console:
mount /dev/sda1 /home/user/mp3player
(using whatever device name and directory you are going to mount it to)
And then you said be able to write to it as long as its not NTFS formatted I believe.
thanks, but I discovered somthing else I need to solve first
when I plug the device in it gives me a message that the sytem is disableing IRQ21, tus I can't se the fdisk -l comand to find the device, because the USB IRQ is dissabled. How would I go about reinabling it?
o and btw when the machine boots, if the jump drive is plugged in, the mandrake loader hangs at detecting new hardware
i had the same problem.......
i dont use windows machines anywhere so this solution worked for me....if its same with u then go ahead
what i did was to reformat the usb key to ext2 file system
mkfs /dev/sda1 .....that is all i did........
i mounted it like thorium suggested and i am happily using it (also ext2 gives an MB space more than fat16)
if u need cross platform compatibilty then format ur usb drive for usbfs. but i am not sure if mp3 would still work.....sowatch out.........usbfs and fat16 are the only 2 fs i know that have cross platform compatibily wrt usb keys........
ok, I fallow what u fellas are saying about the mounting and formating bit, and I do need to be able to have it talk to the winbloze machines @ school so the ext2 FS is out.
But the problem is when I plug it in to the computer (running mandrake 10.1) I get a message tht pops up saying that IRQ 21 has been disabled, and I'm pretty sure IRQ 21 is my USB IRQ because "fdisk -l", in console only lists my 2 IDE hard drives and thier partitions. So how would I go about accessing the jump drive?
Hmm, I have heard of similar problems with lost of usb stuff hanging systems and, and hanging at boot, I believe it has something to do with acpi hardware detecting like you said when it boots. I'll look around and see if I find anything else, mandrake 10.1 working with acpi had a few problems with my stuff too that I never got resolved. Anyone got an ideas, can you even disable that on boot?
i dont use mandrake, just throwing something out there. is the usb jumpdrive supported in the kernel. also is the mandrake kde automounting and not mounting it right. maybe you should start up a minimalist window manager like flux or blackbox so there will be no automounter then mount it by hand with the mount -t <filesystem-of-usb-thingy> /dev/sda1 /mnt/sda1
and see what kinda sounds your system makes if it beeps it might explode. sorry just alittle humor. just seems wierd. i am betting that the kernel doesnt have the modules or isnt loading them. look in /lib/modules/2.whatever/kernel/drivers/usb and i really dont know where to go from there as i am not on my usual desktop, of course. but you get the jist of what i am trying to say. the irq thing is wierd, but kde has an irq handler that i think is linked to the automounter, i could be wrong too though. that happens on extremely rare occasions.
hm also the fact that it happens on boot kinda tells me something like hotplug is having a hard time identifying it. i would check that the module is there, and check the menuconfig and see if the actual jumpdrive support is either compiled in or modularized.
is the module edong 23 is talking about "hotplug", I installed that wwhen I installed mandrake. How do I check the menuconfig to find wether or not a usb jumpdrive is being supported?
Is there a way to disable this IRQ handler, if thats whats causing my problem?
hotplug is a program that loads needed modules. it is installed as default on nearly all linux systems. but if you want to see if the usb key drivers or modules are there then do this:
#if you have the kernel sources installed...
# that will bring up a menu based kernel configuration editor
#in the menuconfig, navagation will depend on your kernel version
#make your way to the drivers section and usb section
#you should see several different usb stick type devices
#verify that they have a (*) beside the ones you need or all of them
#if they dont, you need to recompile the kernel
# i have personally posted how to do that several times on this forum
optionally you can do like i said and look in /lib/modules/2.x.xx/kernel/drivers/usb and look to see if the usb-storage module is there. if it is then you need to look in the kernel menuconfig to see if the support is there under usb mass storage support. if the usb-storage module isnt there, then you dont have support for any of them. you will have to use the menuconfig to create a new config file and build a new kernel. it might also be possible that you need a newer kernel. as i am not sure...... hell, really i am not completely sure of any of this, as i dont know exactally what is going on with your system. maybe you could post the output of dmesg? that could help.
Iall right I've tried two jump drives that both work on windows boxes. One of the drives is a plaain 128 mb jump drve the other is 1gb jump drive mp3 player.
I'm running mandrake 10.1 and kde
if I have a jump drive plugged in the system hangs when is "detects new hardware"
if the system is running an a jump drive is plugged in I get this message
(Title bar reads)"KWrited -Listening on device /dev/pts/0"
(Body reads) "Message from syslogd@localhost at Fri Jun 17 23:15:46 2005 ...
localhost kernel: Disabling IRQ #21"
I don't have the kernel source installed but, naving to /lib/modules/22.214.171.124-12mdk/kernel/drivers/usb/
I can see
class which contains audio.ko.gz, cdc-acm.ko.gz, usblp.ko.gz, usb-midi.ko.gz
core which contains usbcore.ko.gz
gadget which contains gadgetfs.ko.gz, g_ether.ko.gz, g_file_storage.ko.gz, g_serial.ko.gz, g_zero.ko.gz, net2280.ko.gz
host which contains ehci-hcd.ko.gz, ohci-hcd.ko.gz, uhci-hcd.ko.gz
image which contains hpusbscsi.ko.gz, mdc800.ko.gz, microtek.ko.gz
input which contains acecad.ko.gz, aiptek.ko.gz, ati_remote.ko.gz, kbtab.ko.gz, mtouchusb.ko.gz, powermate.ko.gz, touchkitusb.ko.gz, usbhid.ko.gz, usbkbd.ko.gz, usbmouse.ko.gz, wacom.ko.gz, xpad.ko.gz
media which contains dabusb.ko.gz, dsbr100.ko.gz, ibmcam.ko.gz, konicawc.ko.gz, ov511.ko.gz, pwc.ko.gz, se401.ko.gz, sn9c102.ko.gz, stv680.ko.gz, ultracam.ko.gz, usbvideo.ko.gz, vicam.ko.gz, w9968cf.ko.gz
misc which contains auerswald.ko.gz, cytherm.ko.gz, emi26.ko.gz, emi62.ko.gz, legousbtower.ko.gz, phidgetservo.ko.gz, rio500.ko.gz, speedtch.ko.gz, tiglusb.ko.gz, usblcd.ko.gz, usbled.ko.gz, usbtest.ko.gz, uss720.ko.gz
net which contains catc.ko.gz, kaweth.ko.gz, pegasus.ko.gz, rtl8150.ko.gz, usbnet.ko.gz
serial which contains belkin_sa.ko.gz, cyberjack.ko.gz, digi_acceleport.ko.gz, empeg.ko.gz, ftdi_sio.ko.gz, io_edgeport.ko.gz, io_ti.ko.gz, ipaq.ko.gz, ir-usb.ko.gz, keyspan.ko.gz, keyspan_pda.ko.gz, kl5kusb105.ko.gz, kobil_sct.ko.gz, mct_u232.ko.gz, omninet.ko.gz, pl2303.ko.gz, safe_serial.ko.gz, usbserial.ko.gz, visor.ko.gz,
storage which contains usb-storage.ko.gz
I hope all this makes sense to sombody, thanks for the help,
just an update I plugged the device in, IRQ disabled and all but I rebooted and it didn't hang. on the downside I tink the IRQ is being disabled on boot because fisk -l doesnot show the jump drive only the hard drives and thier partitions