Join Today
+ Reply to Thread
Results 1 to 3 of 3
  1. #1

    Default Unable to see TransFlash card in USB mass storage mode?

    Hi, I'm very keen to get linloader going and doing some things with my A780, but I the instructions say to put stuff on my TransFlash card. I have a 512MB card in there that I can see fine on the File Manager but I don't see a second volume when it's in USB mass storage mode, only the internal phone memory. Anyone know why this would be?

    Here is a log of what happens when it is plugged in:

    usb 1-4.1.3: new full speed USB device using ehci_hcd and address 49
    usb 1-4.1.3: configuration #1 chosen from 1 choice
    usb 1-4.1.3: USB disconnect, address 49
    usb 1-4.1.3: new full speed USB device using ehci_hcd and address 50
    usb 1-4.1.3: configuration #1 chosen from 1 choice
    scsi18 : SCSI emulation for USB Mass Storage devices
    usb-storage: device found at 50
    usb-storage: waiting for device to settle before scanning
    Vendor: Motorola Model: A780 Phone Rev:
    Type: Direct-Access ANSI SCSI revision: 04
    SCSI device sdd: 98304 512-byte hdwr sectors (50 MB)
    sdd: Write Protect is off
    sdd: Mode Sense: 10 00 00 00
    sdd: assuming drive cache: write through
    SCSI device sdd: 98304 512-byte hdwr sectors (50 MB)
    sdd: Write Protect is off
    sdd: Mode Sense: 10 00 00 00
    sdd: assuming drive cache: write through
    sdd: sdd1
    sd 18:0:0:0: Attached scsi disk sdd
    sd 18:0:0:0: Attached scsi generic sg3 type 0
    usb-storage: device scan complete

    As you can see.. only one device... odd?? Having said that.. is there any other way I can get stuff installed on it or get telnetted into it? I tried installing that USB mode changing application but when I select "Install" on the mpkg, nothing happens at all!

    Thanks all

  2. #2

    Default

    The problem is that the T-Flash is seen as a second LUN, and some Linux distros compile their kernels not to probe this second LUN. As written in http://www.linux-usb.org/FAQ.html#ts9 :

    Q: Why do I only see one device from my multipurpose storage device?

    A:Some distributions (notably Red Hat) turn off the kernel option CONFIG_SCSI_MULTI_LUN. This prevents usb-storage from automatically detecting all the devices in your removable storage device. You can either recompile your kernel with this option enabled or (if your distribution supports this) add the following line to /etc/modules.conf;

    Code:
    options scsi_mod max_scsi_luns=15
    If you do not want to do this for all SCSI devices then you can tell the kernel to scan for a specific device using;

    Code:
    echo >/proc/scsi/scsi "scsi add-single-device 0 0 0 1"
    The first zero is the host id (so it is zero if this is your first "SCSI" adapter, check "cat /proc/scsi/scsi" to see which is your USB Storage device), the second the channel (which for usb-storage should always be zero I believe), the third is the target (which again is always 0 for usb-storage) and the last is the LUN. LUN 0 is the only one probed if this kernel option is off, so you'd need to repeat this command as root for every media type your device accepts increasing the LUN number.
    ROKR Z6 (2BR firmware) + microSD 2GB
    Pinguins Móveis - a blog about consumer-electronics Linux in Portuguese

  3. #3

    Default

    Thank you so much, that makes 100% perfect sense. I wouldn't normally compile that in on a desktop because it's unusual I'd see a USB mass storage device with more than one LUN.


 
+ Reply to Thread

Similar Threads

  1. Phone is NOT recognized in USB Mass Storage mode, help!
    By intermario_gr in forum A1200 General Chat
    Replies: 20
    Last Post: 08-07-2009, 04:27 PM
  2. Q: USB Mass Storage mode under Linux
    By Craftbrewer in forum A1200 General Chat
    Replies: 18
    Last Post: 01-29-2008, 06:46 PM
  3. How to USB mass storage mode (using Linux)
    By EvilGnome in forum A1200 General Chat
    Replies: 1
    Last Post: 01-13-2007, 10:11 PM
  4. How to get out of USB Mass Storage mode
    By mlefebvre in forum A1200 General Chat
    Replies: 5
    Last Post: 08-29-2006, 12:49 PM
  5. USB mass storage mode - A1200 problem???
    By cc.stephen.yu in forum A1200 General Chat
    Replies: 4
    Last Post: 08-11-2006, 07:16 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Single Sign On provided by vBSSO

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1