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

IPB

Welcome Guest ( Log In | Register )

2 Pages V   1 2 >  
Reply to this topicStart new topic
> Auto-mounting "other" Usb Mass Storage Devices?, some aren't mounted
xamindar
post Oct 7 2006, 12:47 AM
Post #1





Group: Members
Posts: 803
Joined: 30-March 04
From: California
Member No.: 2,368



I use the automounter-c3000 version 0.4.8 to be able to plug in my usb sticks and have them mount for me. But I am not able to get my camera or my phone to mount automaticaly. They both connect to my Linux system (and windows) as normal mass storage devices so I don't understand why the zaurus doesn't detect them.

Is there a file I can update with more information such as serial numbers so that the zaurus will know that I have just connected a mass storage device? I'm not quite sure how this works, is it hotplug?

Thanks for any help!
Go to the top of the page
 
+Quote Post
Jon_J
post Oct 7 2006, 05:18 PM
Post #2





Group: Members
Posts: 1,843
Joined: 31-December 05
From: Illinois USA
Member No.: 8,821



I don't know if this will help, I'm going to install it now and see if it will automount my USB Iomega Zip drives.
(These drives presently need to be mounted thru commandline)

From meanie's page

usb-modules_2.4.20_arm.ipk
"additional USB device drivers"

EDIT: I still need to mount my Zip drives manually, the above file didn't work for this.
I don't have the automounter installed that you mention above.
My USB card readers and my USB Pocket drive reader, all automatically mount in Cacko.
In Cacko Lite, I installed usb-storage-modules-2.4.20_1.23--lite-1_arm.ipk

This post has been edited by Jon_J: Oct 7 2006, 05:33 PM
Attached File(s)
Attached File  usb_modules_2.4.20_arm.ipk ( 259.45K ) Number of downloads: 22
 
Go to the top of the page
 
+Quote Post
Jon_J
post Oct 7 2006, 05:43 PM
Post #3





Group: Members
Posts: 1,843
Joined: 31-December 05
From: Illinois USA
Member No.: 8,821



I'm making another post because I'm suggesting another file, (for camera only)
usb-camera-modules-2.4.20_1.23-lite-1_arm.ipk
CODE
Package: usb-camera-modules-2.4.20
Version: 1.23-lite-1
Section: system
Architecture: arm
Maintainer: Anton Maslovsky <my-zaurus@narod.ru>
MD5Sum: af94bb450c97349dab6aa0d71566f716
Size: 15757
Filename: usb-camera-modules-2.4.20_1.23-lite-1_arm.ipk
Description: USB Camera kernel modules

Attached File(s)
Attached File  usb_camera_modules_2.4.20_1.23_lite_1_arm.ipk ( 15.39K ) Number of downloads: 24
 
Go to the top of the page
 
+Quote Post
xamindar
post Oct 8 2006, 12:40 PM
Post #4





Group: Members
Posts: 803
Joined: 30-March 04
From: California
Member No.: 2,368



Well, I don't think it is a matter of the correct module missing. I just think that the kernel doesn't know that my phone or camera is a "mass storage" device. Meanies site talks a little about getting a certain sony ericsson phone connected but does not go into detail about where to get the correct information to add to the /etc/hotplug/usb.usermap file.
From his site:
CODE
Connecting to Mobile Phone (SonyEriccson K750i)

[my SonyEriccson K750i]

The Sony Ericsson K750i is a mobile phone with many features. It has a 2 mega-pixel camera, and a slot for a Memory Stick Pro Duo card. I have upgraded mine to 1 GB. It also has Infrared, Bluetooth and comes with a USB interface which can be used for file transfer with the Zaurus. The phone also has a GSM modem via a serial line as well.
Using the USB cable to access the Memory Stick

The memory stick can be accessed as a mass storage device when the mobile is connected to the Zaurus via a USB cable. However, the Zaurus does not recognise the manufacturer id as a mass storage device by default. To fix that, you need the append the following to /etc/hotplug/usb.usermap:
usb-storage 0x000f 0x0fce 0xd016 0x0000 0x0000 0x00 0x00 0x00 0x08 0x06 0x50 0x00000000
usb-storage 0x0380 0x0fce 0xd016 0x0000 0x0000 0x00 0x00 0x00 0x08 0x06 0x50 0x00000000

This should make the Zaurus detect the K750i's Memory Stick as a Mass Storage device the next time it is plugged in. However, if it does not, then try appending the above into /lib/modules/2.4.20/modules.usbmap and/or /etc/hotplug/us.handmap


I will continue to research this and post back any findings. Does anyone else have any info on how to do this?
Go to the top of the page
 
+Quote Post
deluxe
post Oct 8 2006, 05:44 PM
Post #5





Group: Members
Posts: 184
Joined: 24-December 05
Member No.: 8,780



My camera is plug'n'play with Cacko heavy, no additional installation of drivers required. Same for USB keyboard and mouse.
Go to the top of the page
 
+Quote Post
Meanie
post Oct 8 2006, 08:56 PM
Post #6





Group: Members
Posts: 2,808
Joined: 21-March 05
From: Sydney, Australia
Member No.: 6,686



QUOTE(xamindar @ Oct 9 2006, 06:40 AM)
Well, I don't think it is a matter of the correct module missing.  I just think that the kernel doesn't know that my phone or camera is a "mass storage" device.  Meanies site talks a little about getting a certain sony ericsson phone connected but does not go into detail about where to get the correct information to add to the /etc/hotplug/usb.usermap file.
From his site:
CODE
Connecting to Mobile Phone (SonyEriccson K750i)

[my SonyEriccson K750i]

The Sony Ericsson K750i is a mobile phone with many features. It has a 2 mega-pixel camera, and a slot for a Memory Stick Pro Duo card. I have upgraded mine to 1 GB. It also has Infrared, Bluetooth and comes with a USB interface which can be used for file transfer with the Zaurus. The phone also has a GSM modem via a serial line as well.
Using the USB cable to access the Memory Stick

The memory stick can be accessed as a mass storage device when the mobile is connected to the Zaurus via a USB cable. However, the Zaurus does not recognise the manufacturer id as a mass storage device by default. To fix that, you need the append the following to /etc/hotplug/usb.usermap:
usb-storage 0x000f 0x0fce 0xd016 0x0000 0x0000 0x00 0x00 0x00 0x08 0x06 0x50 0x00000000
usb-storage 0x0380 0x0fce 0xd016 0x0000 0x0000 0x00 0x00 0x00 0x08 0x06 0x50 0x00000000

This should make the Zaurus detect the K750i's Memory Stick as a Mass Storage device the next time it is plugged in. However, if it does not, then try appending the above into /lib/modules/2.4.20/modules.usbmap and/or /etc/hotplug/us.handmap


I will continue to research this and post back any findings.  Does anyone else have any info on how to do this?
*


after you stick in your device, check the output of dmesg. it should show you the detection of devices and what drivers are loaded for each device. if you see a device being detected but nothing being assigned to it and your usb-mass storage device that is supposed to be in the device in question, then chances is that the unassigned one is your usb storage device that the Z does not know about. get its manf id and pop it into the usb usermap.

btw, on windows, some usb storage devices require an updated device driver which the manifacturer of the usb device provides on a CD-ROM. what is does when you install the "driver" which is just a .inf file with the manf id for the usb mass storage device to be added to the windows registry.

since those manifacturer usually do not provide a "driver" for linux, you will need to do it yourself smile.gif
Go to the top of the page
 
+Quote Post
Jon_J
post Oct 9 2006, 03:35 PM
Post #7





Group: Members
Posts: 1,843
Joined: 31-December 05
From: Illinois USA
Member No.: 8,821



Meanie, where do I get all 12 sets of numbers?
I only have this from my USB Zip drive.
----------------------------------------------------------------------------------------------
usb.c: USB device 2 (vend/prod 0x59b/0x31) is not claimed by any active driver.
----------------------------------------------------------------------------------------------
I tried those 2 sets of numbers in "usb.usermap" and in "modules.usbmap"
I "re-used" the remaining 10 sets of numbers from another usb-storage row.
It also shows up in sysinfo as Iomega Zip 100 and lists the above vendor/product numbers.
It doesn't automount. I have no other things mounted except my internal drive and an SD card.
Go to the top of the page
 
+Quote Post
Jon_J
post Oct 9 2006, 10:09 PM
Post #8





Group: Members
Posts: 1,843
Joined: 31-December 05
From: Illinois USA
Member No.: 8,821



This is taken from the Cacko bugz database thread. (2 posts starting with this one)
http://www.oesf.org/forums/index.php?showt...indpost&p=66833

-------------------------------------------------------------------------
1. Get your USB product info by PC with usbview (under linux)
2. Enter this data in usb.handmap in /etc/hotplug
-------------------------------------------------------------------------
I tried this under Windows, but I don't think I got "ALL" the numbers needed, because my Zip drive still doesn't automount.

Reading various sites from googling.
modules.usbmap is reset each time depmod is run at boot time.
usb.handmap seems to be the one to modify.

I haven't gotten this to work, I have modified usb.handmap and usb.usermap
I don't have a Linux desktop, and the Windows version of usbview doesn't report all 12 series of numbers that are present in these files.
These are the numbers that I added:
usb-storage 0x0380 0x059b 0x0031 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
My zip drive flashes it's amber light once, and it is also shown in sysinfo under Devices.
Go to the top of the page
 
+Quote Post
Meanie
post Oct 10 2006, 04:53 AM
Post #9





Group: Members
Posts: 2,808
Joined: 21-March 05
From: Sydney, Australia
Member No.: 6,686



QUOTE(Jon_J @ Oct 10 2006, 04:09 PM)
This is taken from the Cacko bugz database thread. (2 posts starting with this one)
http://www.oesf.org/forums/index.php?showt...indpost&p=66833

-------------------------------------------------------------------------
1. Get your USB product info by PC with usbview (under linux)
2. Enter this data in usb.handmap in /etc/hotplug
-------------------------------------------------------------------------
I tried this under Windows, but I don't think I got "ALL" the numbers needed, because my Zip drive still doesn't automount.

Reading various sites from googling.
modules.usbmap is reset each time depmod is run at boot time.
usb.handmap seems to be the one to modify.

I haven't gotten this to work, I have modified usb.handmap and usb.usermap
I don't have a Linux desktop, and the Windows version of usbview doesn't report all 12 series of numbers that are present in these files.
These are the numbers that I added:
usb-storage  0x0380      0x059b  0x0031    0x0000      0x0000      0x00        0x00            0x00            0x00            0x00              0x00              0x00000000
My zip drive flashes it's amber light once, and it is also shown in sysinfo under Devices.
*



oops, I forgot to update the automounter package with my latest script which mount the zip drive
Go to the top of the page
 
+Quote Post
Jon_J
post Oct 10 2006, 08:38 AM
Post #10





Group: Members
Posts: 1,843
Joined: 31-December 05
From: Illinois USA
Member No.: 8,821



What is the "magic" for getting all these numbers and correctly inputting them into these files on the Zaurus?
(usb.handmap and usb.usermap)
If I could figure this out, I could get my 100MB & 750MB Zip drive working.
I also would like to be able to connect my Palm Zire 72 and view/transfer files.
Go to the top of the page
 
+Quote Post
Jon_J
post Oct 10 2006, 01:18 PM
Post #11





Group: Members
Posts: 1,843
Joined: 31-December 05
From: Illinois USA
Member No.: 8,821



I just downloaded "usb-storage" from Meanie's updated page.
usb-storage 10-10-2006
I copied it to /etc/hotplug/usb/
I deleted "usb-storage.off" as instructed and a new one was generated.
Now when I plug in my Iomega Zip100 and Zip750 drives to my Z's host, these drives show up in the files tab. /dev/sda4
They automount with no notification.
My other mass storage devices have an onscreen popup/notification.
(This is no big deal to me, as I'm just glad to see my Zip drives automounted)
Also, there isn't a way to unmount them, unless I need to go to the console and do this.
If I just unplug one of these Zip drives from my Z, I cannot eject the Zip diskette.
I need to remove the external power from the drive, then re-attach the external power, before I can eject the diskette.
I'm going to see if there is any change when attaching my external IDE HDD.
It still acts the same, and my USB thumbdrive still acts the same. (They both automount W/popup notification, and unmount W/popup notification).
EDIT: There is a new version of Automounter - automounter-c3000_0.4.9_arm.ipk
The reason I don't install the whole automounter, is I know I will forget to manually unmount any other devices when doing a backup with the backup app in Cacko

This post has been edited by Jon_J: Oct 10 2006, 01:26 PM
Go to the top of the page
 
+Quote Post
deluxe
post Oct 10 2006, 07:44 PM
Post #12





Group: Members
Posts: 184
Joined: 24-December 05
Member No.: 8,780



QUOTE(Jon_J @ Oct 10 2006, 05:18 PM)
I just downloaded "usb-storage" from Meanie's updated page.
usb-storage 10-10-2006
I copied it to /etc/hotplug/usb/
I deleted "usb-storage.off" as instructed and a new one was generated.
Now when I plug in my Iomega Zip100 and Zip750 drives to my Z's host, these drives show up in the files tab. /dev/sda4
They automount with no notification.
My other mass storage devices have an onscreen popup/notification.
(This is no big deal to me, as I'm just glad to see my Zip drives automounted)
Also, there isn't a way to unmount them, unless I need to go to the console and do this.
If I just unplug one of these Zip drives from my Z, I cannot eject the Zip diskette.
I need to remove the external power from the drive, then re-attach the external power, before I can eject the diskette.
I'm going to see if there is any change when attaching my external IDE HDD.
It still acts the same, and my USB thumbdrive still acts the same. (They both automount W/popup notification, and unmount W/popup notification).
EDIT: There is a new version of Automounter - automounter-c3000_0.4.9_arm.ipk
The reason I don't install the whole automounter, is I know I will forget to manually unmount any other devices when doing a backup with the backup app in Cacko
*

------------------------

"Also, there isn't a way to unmount them, unless I need to go to the console and do this."

Assuming the drive is mounted, when you click on the tray icon (the one that looks like an open Zaurus) you should see the "Eject...xxxx" options pop up.
Go to the top of the page
 
+Quote Post
Jon_J
post Oct 10 2006, 07:56 PM
Post #13





Group: Members
Posts: 1,843
Joined: 31-December 05
From: Illinois USA
Member No.: 8,821



QUOTE(deluxe @ Oct 10 2006, 10:44 PM)
Assuming the drive is mounted, when you click on the tray icon (the one that looks like an open Zaurus) you should see the "Eject...xxxx" options pop up.
*

I tried that and the only option shown to unmount is my SD card.
These drives do mount, because I can access them in the default filebrowser, and (in tree!explorer) their contents show up in /mnt/usbzip/
Next time I plug my Zip drive, when I need to unmount it, I'll unmount it in the console.
EDIT: I'm going to try it now...
su
umount /dev/sda4/
unmounts the drive and I can push it's button to eject the diskette.
It won't automount when I push the diskette back in.
Going to use the mount command..
mount /dev/sda4 /mnt/usbzip/
mounted it back where it was when it automounted.

This post has been edited by Jon_J: Oct 10 2006, 08:07 PM
Go to the top of the page
 
+Quote Post
Meanie
post Oct 10 2006, 08:11 PM
Post #14





Group: Members
Posts: 2,808
Joined: 21-March 05
From: Sydney, Australia
Member No.: 6,686



QUOTE(Jon_J @ Oct 11 2006, 01:56 PM)
QUOTE(deluxe @ Oct 10 2006, 10:44 PM)
Assuming the drive is mounted, when you click on the tray icon (the one that looks like an open Zaurus) you should see the "Eject...xxxx" options pop up.
*

I tried that and the only option shown to unmount is my SD card.
These drives do mount, because I can access them in the default filebrowser, and (in tree!explorer) their contents show up in /mnt/usbzip/
Next time I plug my Zip drive, when I need to unmount it, I'll unmount it in the console.
EDIT: I'm going to try it now...
su
umount /dev/sda4/
unmounts the drive and I can push it's button to eject the diskette.
It won't automount when I push the diskette back in.
Going to use the mount command..
mount /dev/sda4 /mnt/usbzip/
mounted it back where it was when it automounted.
*



you could try using sysinfo to try to unmount them
Go to the top of the page
 
+Quote Post
Jon_J
post Oct 10 2006, 08:15 PM
Post #15





Group: Members
Posts: 1,843
Joined: 31-December 05
From: Illinois USA
Member No.: 8,821



I tried sysinfo, there isn't any option to unmount anything under the "Mounts" tab
I looked in the device tab, nothing to unmount things there either.
I'll use commandline for now.
EDIT: I just plugged in my USB thumbdrive and it has an option to unmount "eject" it under the icon on the taskbar.
It says, "Eject usbstorage"
-------------------------------------------------------------------------------------------------
EDIT2: A bit offtopic, I thought a lot of people still used Zip drives/disks.
But with cheap 1, 2, & 4GB SD and CF cards, the Zip drives seem like old dinosaurs.
I have 4 of them, but two of them, (mounted in PC towers) are about ready to give up, (these two are very old).
My "Newer" Zip drives are one external 100MB and another external 750MB
-------------------------------------------------------------------------------------------------

This post has been edited by Jon_J: Oct 10 2006, 08:30 PM
Go to the top of the page
 
+Quote Post

2 Pages V   1 2 >
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: 22nd December 2014 - 04:48 AM