/dev/sg0 access...how ?
Hi. I'm posting because I'm confused about something. I have a Creative Zen Micro Mp3 Player that works perfectly on a Debian system. The player has 2 working modes. The first one allows you to upload songs and the other mode called "removable disk" allows you to upload data files such as images, programs and all kind of files. I have read somewhere a post on how to mount this "removable disk" and it was a success on the debian box. At home I use slackware 10.1 and it has (because I built the kernel by my own) full built-in USB support, as a matter of fact I'm able to upload music via the gnomad2 program. I followed steps on how to make working the removable mode (success on the debian box, failed in the Slackware box) :
1 - Look in /proc/bus/usb/devices (I see at home some info, that means that USB is working fine).
2 - Install sg3-utils package. I did this and installed the tools without any problem.
3 - Run the "sg_scan -i" command. Did it and got this :
/dev/sg0: scsi0 channel=0 id=0 lun=0 [em]
CREATIVE Zen Micro (UMS) 0001 [rmb=1 cmdq=0 pqual=0 pdev=0x0]
4 - Run the "sg_map" to determine the real SCSI device associated with your reader. Did this too and in the Debian box I got :
/dev/sg0 /dev/sda
So I can mount it without any problem by running : mount /dev/sda /media/usb.
NOW if I run the "sg_map" command in Slackware I got
/dev/sg0
So it means that /dev/sg0 is associated to nowhere. I took a look at the /dev directory and for my surprise I couldn't find /dev/sda. I must have sda in order to mount the device.
I tried "mount /dev/sg0 /mnt/usb" but as I expected it didn't work.
Any suggestions ?. Why don't I have sda ?. I didn't deleted "sda" in any time and the usb support is working right. I think that SCSI generic support is working too so what should I do ?.
Thanks everybody.
|