Re: Nokia phone via USB ???



David W. Hodgins <dwhodgins@xxxxxxxxxxxxxxxxx> wrote:
On Mon, 28 Jul 2008 11:52:05 -0400, Kevin the Drummer <nobody@xxxxxxx> wrote:
icon on the phone, indicating that it's found something. I don't get
anything viewable from Linux. lsusb reports this:
Bus 001 Device 003: ID 0421:04b5 Nokia Mobile Phones

That's because haldaemon doesn't have this device id in it's list of
usb storage devices.

In /etc/hal/fdi/policy create a file called my.fdi, and put the
following lines in it ...
<?xml version="1.0" encoding="UTF-8"?> <!-- -*- xml -*- -->

<deviceinfo version="0.2">
<device>

<match key="storage.bus" string="usb">
<match key="storage.model" contains="Nokia Mobile Phones">
<merge key="storage.drive_type" type="string">memory_stick</merge>
</match>
</match>

The indentation of </match> doesn't match its <match...> partner.
Is this important to remain this way? I copied it as is.

</device>
</deviceinfo>

Make sure the above ends with a new line (i.e. in the editor you use, ensure
the cursor is on the line after the </deviceinfo> line).

Did that.

If that doesn't work (after restarting haldaemon)

Did that.

check the output of
lshal|grep -i "storage\.model"
to see what hal is seeing as the model name.

I get the following:

storage.model = '' (string)
storage.model = 'CRD-254V' (string)
storage.model = '' (string)
storage.model = 'USB SD Reader' (string)
storage.model = 'USB CF Reader' (string)
storage.model = 'USB SM Reader' (string)
storage.model = 'USB MS Reader' (string)
storage.model = 'ST3200822A' (string)
storage.model = '' (string)
storage.model = '' (string)
storage.model = '' (string)
storage.model = '' (string)
storage.model = '' (string)
storage.model = 'ST380011A' (string)
storage.model = '' (string)
storage.model = '' (string)
storage.model = '' (string)
storage.model = '' (string)
storage.model = 'ST3320620A' (string)
storage.model = '' (string)
storage.model = '' (string)
storage.model = '' (string)
storage.model = '' (string)
storage.model = '' (string)
storage.model = '' (string)
storage.model = 'LITE-ON DVDRW SOHW-1213S' (string)
storage.model = '' (string)

I recognize my hard drives and my DVD burner. The "USB * Reader"
appears to be my camera card reader hooked up to my PCI USB card.
I'm not sure what "CRD-254V" would be.

Phil <pj@xxxxxxxxxxxxxxxxxxxxxxxx> wrote:
Some Nokia phones can act as USB mass starage devices, other
just act as USB modems.

When my cable is connected the phone says it can operate in Nokia
mode, MP3 mode, or storage mode. I think I want data storage
mode. But, the phone tells me I need to install a memory card
to access that function. Nokia mode doesn't do anything useful.
MP3 mode gets my Nokia phone to show up on the desktop as a
camera with one empty PTP/IP camera folder in it.

It looks like I'm a lot closer, but I still don't know how to
access the phone as mass storage. The phone has a couple photos
in it which I'd like to drag out of it.

What model do you have?

5165.

On my N95, if I go into menu | tools | settings | connection |
USB, I can set the USB mode to allow it to be used as a modem
or Mass storage device.

With USB connected I get the menus I mentioned above. MP3 has
some sub menus related to the connection. I've tried all of those
submenus, and the one that works best is "USB cable".

Any more advice folks? Thanks.....

--
PLEASE post a SUMMARY of the answer(s) to your question(s)!
Show Windows & Gates to the exit door.
Unless otherwise noted, the statements herein reflect my personal
opinions and not those of any organization with which I may be affiliated.
.



Relevant Pages

  • Re: Open port USB with vb.net in PDA | Abrir el puerto USB con vb.net en PDA
    ... Also, WriteFile related.. ... When you send a string from VB to an API, ... > I have a problem with a USB; I canīt open USB port with VB.net for PDA ...
    (microsoft.public.windowsxp.embedded)
  • Re: 1-wire to USB converter that can use 1820s directly
    ... use a bog standard USB/1wire commercial converter/adapter if it ... will drive the string of 1820s fine, and it appears that that will ... They are all powered from the USB. ... And parasitic power of the 1820s should work fine, ...
    (comp.home.automation)
  • HAL consuming a lot of CPU
    ... consuming a lot of CPU here on my -current revision 189278. ... The only hardware that I saw something strange is my Sun type 7 usb ... info.category = 'oss' (string) ... net.interface_up = false (bool) ...
    (freebsd-current)
  • Re: Nokia phone via USB ???
    ... usb storage devices. ... storage.model = 'CRD-254V' (string) ... storage.model = 'USB SD Reader' ... mode, or data storage mode. ...
    (comp.os.linux.misc)
  • Software Raid - Raid 1 mit zwei HDDs macht Probleme
    ... USB device using ehci_hcd and address 2 ... Storage driver... ... for USB Mass Storage devices ... setrlimit) failed: Operation not permitted ...
    (de.comp.os.unix.linux.misc)