How do I find out what device my Hi-MD player is?
I want to use it as a USB drive, and I found that you put this entry into your fstab
Code:
/dev/sdd /mnt/himd vfat umask=0,user,iocharset=iso8859-15,sync,kudzu,codepage=850,noauto,exec,users 0 0 |
USB connected storage devices will most likely show up as SCSI devices.
If you don't have any SCSI devices (or other devices that appear as SCSI devices), it is most likely then /dev/sda, and the intresting partition is most likely /dev/sda1 You can use sg_map -i to determine what SCSI (or devices appearing as such) devices are named what. |
well I tried this:
Code:
mike:/home/mike# sg_map -i |
The sg kernel module is most likely not loaded.
Code:
modprobe sg And exactly what version of (assuming) Debian are you using by the way? |
Try sdd1 not sdd. or sda1 and not sda
you can see what the device address is with the command 'dmesg' as well. and create the folder where it should be mounted first, before mounting grtz |
Ok so
Code:
mike:/home/mike# sg_map -i Code:
/dev/sg0 /mnt/himd vfat umask=0,user,iocharset=iso8859-15,sync,kudzu,codrset=iso8859-15,sync,kudzu,codepage=850,noauto,exec,users 0 0 Code:
mike@mike:~$ mount /dev/sg0 |
You can't mount the sg* devices.
The sg_scan will show what SCSI disk device (sd*) the SCSI generic device (sg*) is mapped to. But since you don't get any sd* device listed with sg_map, the MiniDisk device you have might not be an USB Mass Storage device (that is: an USB storage device that adheres to the USB Mass Storage device standard and thus could be mounted like any other USB storage device). Do you know for sure whether that device is an USB Mass Storage Device or not? If it isn't, it could use some proprietary way of transferring data (similarly to how many digital cameras do). Example: here is what sg_map -i reports for me: Code:
phobos:~# sg_map -i You haven't still said what version of Debian you are using. And do you have the usb-storage (or usb_storage, depending on version) kernel module loaded? if not, load it with modprobe and try again. |
The MD player can definitly be used for portable storage. But I think it has to be mounted as a "super floppy". I am using debian sarge. I found this:
Quote:
|
Hm. After searching around the 'net a bit, I haven't really come to a definitive conclusion of this. From what I gather it should work by mounting the disk directly and not any partition on it (e.g. /dev/sda and not /dev/sda1).
Does /dev/sda exist for you? Does any /dev/sd* exist for you? Execute Code:
ls -l /dev/sd* |
What ouptut from the following commands do you get with the md plugged in ( note run as root ).
cat /proc/scsi/scsi fdisk -l lsmod Brian1 " Google the Linux way @ http://www.google.com/linux " |
ok
Code:
mike:/home/mike# ls -l /dev/sd* Code:
mike:/home/mike# cat /proc/scsi/scsi Code:
mike:/home/mike# fdisk -l Code:
mike:/home/mike# lsmod |
Looks like you do not have any usb modules loaded. Try the following commands to see which modules load.
for some 1.0-1.1 usb. ' modprobe ohci-hcd ' for other 1.0-1.1 usb. ' modprobe uhci-hcd ' for 2.0 usb. ' modprobe ehci-hcd ' Usually only one of the first two will load. If you have 2.0 usb then the last is needed also. Now lets see what lsmod says. Look to see if usb-storage is there in the list if not then ' modprobe usb-storage ' Now again with the md plugged in lets see what ' fdisk -l ' says Brian1 " Google the Linux way @ http://www.google.com/linux " |
Hmm, I don't seem to have them enabled as modules in my kernel. (DOH!), what do I have to enable as a module in my kernel for the usb modules? Oh my usb mouse and keyboard are working fine.
|
Quote:
To find out your kernel version, execute uname -r |
kernel-2.6.10. compiled myself.
|
All times are GMT -5. The time now is 12:52 PM. |