OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

> USB HD attached to Z!
post Mar 13 2004, 12:45 AM
Post #1





Group:
Posts: 0
Joined: --
Member No.: 0



Since SL-6000 has USB host, is that possible to attach USB DVD?
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
pelrun
post Dec 1 2006, 06:13 AM
Post #2





Group: Members
Posts: 369
Joined: 6-September 04
From: Brisbane, Australia
Member No.: 4,488



I've just been playing with my old X'sDrivePro on my newly acquired (it's not really "new") 3100, and it readily mounted the HD without incident but it wouldn't let me mount an SD card inserted in it.

So I did a little digging.

Multi-card/HD devices show up as scsi devices in linux, which is good, and they give each separate slot a different LUN. Linux only attaches to the first LUN automatically. Which is bad. My device has the HD as LUN 0, so I have no problem getting it without further intervention, but I guess the vosonic has one of the card slots as LUN 0 instead.

So, the magic incantation to attach another LUN is:

CODE
echo 'scsi add-single-device 0 0 0 1' > /proc/scsi/scsi


where the "0 0 0 1" is host, channel, id, lun. Do a 'cat /proc/scsi/scsi' to get the first three numbers (probably 0 0 0 anyway), you should already have an entry with LUN 0. You would then keep incrementing the last number until they stopped working.

Or, you could do it the simple way and use the script I've attached. biggrin.gif It comes from http://www.garloff.de/kurt/linux/scsidev/, and I've modified it slightly to avoid problems with busybox. Unzip it, chmod +x it, then:

CODE
./rescan_scsi_bus.sh -l


It will then scan and attach to whatever it can (the -l is important! it wont scan LUNs >0 otherwise!)

Doing a "cat /proc/scsi/scsi" now should show you several new devices, which you can mount using /dev/sdb1, /dev/sdc1 etc.

My X'sDrivePro had devices on 4 LUNs, meaning /dev/sda1, /dev/sdb1, /dev/sdc1, /dev/sdd1. pdaXrom doesn't have the /dev/sddX devices, and guess which one my SD card was mapped to! dry.gif If you need them, creating the devices is easy.

CODE
mknod /dev/sdd b 8 48
mknod /dev/sdd1 b 8 49
mknod /dev/sdd2 b 8 50
mknod /dev/sdd3 b 8 51
mknod /dev/sdd4 b 8 52
mknod /dev/sdd5 b 8 53
mknod /dev/sdd6 b 8 54
mknod /dev/sdd7 b 8 55
mknod /dev/sdd8 b 8 56
mknod /dev/sdd9 b 8 57


The numbers are important. The first is always 8, the second starts at a multiple of 16 (sda is 0, sdb is 16, sdc is 32, sdd is 48 etc) and the numbered devices go up incrementally from there. I only actually needed sdd and sdd1, but it's better to be complete smile.gif

This post has been edited by pelrun: Dec 1 2006, 06:41 AM
Attached File(s)
Attached File  rescan_scsi_bus.zip ( 4.03K ) Number of downloads: 29
 
Go to the top of the page
 
+Quote Post

Posts in this topic
Anonymous   USB HD attached to Z!   Mar 13 2004, 12:45 AM
Anonymous   I was wondering the same thing. I believe it would...   Mar 13 2004, 10:40 AM
Anonymous   By the way, is it USB 2.0 or 1.1? I'm thinking to...   Mar 13 2004, 02:25 PM
Anonymous   It is good if I can connect it to my pocket HDD 40...   Mar 13 2004, 02:35 PM
vishnja   http://www.serialio.com/info/zaurus/notes/...SL-60...   Mar 13 2004, 03:03 PM
Anonymous   So only the USB devices which meet OTG compliance ...   Mar 13 2004, 10:38 PM
vishnja   btw.: seems that Sony will not make it as the firs...   Mar 14 2004, 02:59 AM
sysmax   I found this note on the Philips site: QUOTENote:...   Mar 14 2004, 04:32 PM
jbruno   QUOTEBy the way, is it USB 2.0 or 1.1? I'm thinki...   Mar 18 2004, 02:08 PM
DrWowe   The I/O bus on an embedded processor likely couldn...   Mar 18 2004, 09:05 PM
arthurbrownlee   Doesn't G take more power than B? they are both co...   Apr 2 2004, 10:26 PM
Netmonger   Im a bit confused - is it possible to plug a camer...   Apr 21 2004, 07:49 AM
richmitc   I plugged my Magicvision USB camera into the Z usi...   Apr 21 2004, 06:58 PM
mjj   QUOTEhttp://www.serialio.com/info/zaurus/notes/SL-...   Jun 8 2004, 07:56 PM
lwong   WOW! 20G HDD attached to Z   Jun 11 2004, 07:46 PM
slocaus   Do you have a URL for it? Googled: Your search - A...   Jun 11 2004, 09:33 PM
stupkid   From my searching I think that this is referred de...   Jun 11 2004, 09:50 PM
lwong   The Archos 20G HDD is avaible at lot of places, ne...   Jun 12 2004, 04:35 AM
lwong   Quick update before I have to go out: MP3 and MPE...   Jun 12 2004, 05:20 AM
Stubear   Create a symlink in /home/zaurus/Documents to /mnt...   Jun 13 2004, 03:36 AM
edo   Hey lwong, Zaurus --> USB Hard Drive = nice! Re...   Jun 13 2004, 07:43 AM
Ethereal   Just another data point, but I have used SanDisk S...   Jun 13 2004, 09:59 AM
dfb   QUOTEJust another data point, but I have used SanD...   Jun 18 2004, 04:20 AM
nevarrie   so how is the battery life with the drive pluged i...   Jun 21 2004, 11:39 AM
CoreyC   I'd like to hear some experiences owners have had ...   Jun 21 2004, 12:28 PM
lwong   I haven't really tried out the battery life wi...   Jun 22 2004, 04:17 PM
Jakob   So the Arkdisk with 40 GB storage does also work w...   Jul 4 2004, 04:47 AM
lwong   QUOTE(Jakob @ Jul 4 2004, 07:47 AM)So the Ark...   Jul 5 2004, 05:53 AM
Jakob   Is correct, sounds plausible. But the 20-GB-Arkdi...   Jul 6 2004, 02:50 AM
lwong   QUOTE(Jakob @ Jul 6 2004, 05:50 AM)Is correct...   Jul 6 2004, 05:22 AM
stevevw   lwong, In using the Archos 20GB HDD do you use it...   Aug 23 2004, 12:27 PM
mitchrl   I have a 40gb Toshiba drive in a drive enclosure I...   Aug 24 2004, 08:14 AM
lwong   QUOTE(stevevw @ Aug 23 2004, 03:27 PM)lwong, ...   Aug 25 2004, 05:52 PM
stevevw   I wonder if my Goldx cable is faulty not letting e...   Aug 28 2004, 05:18 PM
jacksonchan   For anyone who has this hard drive, I have a coupl...   Oct 16 2004, 07:11 PM
akpoff   I'm doing just that this week with a 6000L and...   Oct 16 2004, 08:53 PM
hubcapboy   has anyone located a source for a mini-a to mini-b...   Oct 17 2004, 09:39 PM
aki   It would be great to have the capability to hook u...   Nov 3 2004, 08:06 PM
roue   Hi Folks, Just bought the goldex usb pack and tr...   Nov 13 2004, 02:07 PM
technojunkie   give the ported package a try, the 6000 and 5600 a...   Nov 13 2004, 03:49 PM
lardman   I'm surprised there's not an option somewh...   Nov 14 2004, 05:48 AM
guylhem   I have that on the custom kernel on externe.net/za...   Nov 14 2004, 06:44 AM
polito   I just bought an ez bus mini 40GB drive by Aprico...   Nov 18 2004, 09:42 PM
stevevw   OH, I may have to try one of those out. If it wor...   Nov 19 2004, 04:17 AM
dwchapin   I'd be interested to see someone reincarnate T...   Nov 19 2004, 12:14 PM
johnw   QUOTE(edo @ Jun 13 2004, 10:43 AM)After many ...   Nov 19 2004, 06:43 PM
xe1yyb   how do you actually connect it the 20 gb hd to the...   Nov 19 2004, 08:48 PM
polito   It's easy... I have an adapter to go from the ...   Nov 19 2004, 10:40 PM
tovarish   QUOTE(polito @ Nov 20 2004, 07:40 AM)I'm ...   Nov 20 2004, 05:52 AM
polito   That's the coffee table... and yes, it was ver...   Nov 20 2004, 08:38 PM
range   I tried to attach my Lexar 256 MB Jump Drive to my...   Jan 10 2005, 06:47 PM
polito   Yah you're generally going to need to mount it...   Jan 10 2005, 10:32 PM
Omicron   QUOTE(polito @ Jan 11 2005, 01:32 AM)Yah you...   Feb 2 2005, 03:31 AM
xjqian   QUOTE(Omicron @ Feb 2 2005, 06:31 AM)Okay, I ...   Feb 10 2005, 10:05 PM
unplug   I have a question about umount usb HD. When I trie...   Feb 9 2005, 09:39 PM
jbruno   QUOTE(unplug @ Feb 9 2005, 09:39 PM)I have a ...   Feb 10 2005, 07:00 AM
unplug   Well, I did umount on both /dev/sda1 and /mnt/hd (...   Feb 10 2005, 07:55 PM
xjqian   I guess this is just the way harddrives are. I can...   Feb 10 2005, 09:51 PM
jbruno   QUOTE(xjqian @ Feb 10 2005, 09:51 PM)I guess ...   Feb 11 2005, 07:07 AM
Omicron   Hi guys, Forgive me if someone already posted abo...   Feb 15 2005, 12:33 AM
xjqian   QUOTE(jbruno @ Feb 11 2005, 10:07 AM)Just out...   Feb 22 2005, 11:40 PM
nilch   Has anyone tried this ? http://www.insanetek.com/f...   May 5 2005, 10:21 AM
polito   It _should_ work fine since it's most definite...   May 5 2005, 10:27 AM
Tom61   QUOTE(nilch @ May 5 2005, 06:21 PM)Has anyone...   Sep 27 2005, 02:35 PM
guylhem   Do you know where to get such a Hitachi microdrive...   May 10 2005, 12:14 AM
scheck.r   Hi Guylhem, I found 4Gb for $157 here Hitach...   May 10 2005, 02:41 AM
BarryW   I got my Nano to mount!   Sep 24 2005, 03:30 PM
BarryW   Hey guys just to add a little more info to that la...   Sep 25 2005, 12:13 PM
polito   I was going to ask about whether or not the nano/i...   Sep 25 2005, 02:57 PM
systemparadox   I've tried to connect 3 different laptop (2.5 ...   Oct 4 2005, 10:50 AM
inode0   QUOTE(systemparadox @ Oct 4 2005, 06:50 PM)I...   Oct 4 2005, 12:45 PM
BarryW   Most of the drives we get to work aren't reall...   Oct 4 2005, 12:38 PM
rob_figlabs   We've just launched a USB hard drive for the Z...   Feb 22 2006, 06:59 AM
dbowden   QUOTE(rob_figlabs @ Feb 22 2006, 09:59 AM)We...   Feb 22 2006, 07:13 AM
the_oak   Really wanted one of these: Rapsody S25 OTG for PS...   Feb 24 2006, 07:18 PM
xjqian   QUOTE(polito @ Jan 11 2005, 01:32 AM)mount -t...   Feb 25 2006, 02:39 AM
the_oak   Got the 40 GB 5400 rpm laptop hd installed in the ...   Mar 8 2006, 02:56 PM
persona   Hey guys. I've got a Vosonic 3320. After read...   Sep 28 2006, 07:24 AM
speculatrix   I've also observed odd problems with multi-slo...   Oct 2 2006, 01:32 PM
persona   QUOTE(speculatrix @ Oct 3 2006, 05:32 AM)I...   Oct 4 2006, 04:55 AM
pelrun   I've just been playing with my old X'sDriv...   Dec 1 2006, 06:13 AM


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 24th October 2014 - 03:09 PM