LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-16-2007, 07:53 PM   #1
Furlinastis
Member
 
Registered: Dec 2004
Location: Ball of Confusion
Distribution: Artix,Arch,Slackware,Bluewhite64
Posts: 261

Rep: Reputation: 40
Unable to mount cowon d2 iaudio


I use kernel 2.6.23.8 w/ slackware 12. Cowon firmware 2.50

http://www.cowonamerica.com/products...ech_specs.html

The SD card automounts perfectly without me have to do anything, but the main memory may as well not exist as far as linux is concerned. I can see both in windows without using any software.

I've tried both MSC and MTP modes. Both modes work the same as above.

The only thing that comes to my mind is that I may not have the correct device module compiled in my kernel. Does anyone know the make/model of the SD memory/controller that is inside the D2?

There could be an option in menuconfig that I missed and thought irrelevant since the main memory is slightly different in type than a normal SD or USB card is. I'm thinking I might have overlooked an option, but looking around USB support and MMC/SD card support nothing stands out.

Any other ideas? Searching around someone mentioned, "I/O Flush" is not enabled but I have no idea what this means.

Here's some output for anyone geeky enough to wade through.

Code:
bash-3.1# lsusb -v

Bus 002 Device 011: ID 0e21:0800 Cowon Systems, Inc. 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x0e21 Cowon Systems, Inc.
  idProduct          0x0800 
  bcdDevice            1.00
  iManufacturer           1 
  iProduct                2 
  iSerial                 3 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           32
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower               90mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     80 Bulk (Zip)
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
can't get device qualifier: Connection timed out
can't get debug descriptor: Connection timed out
cannot read device status, Connection timed out (110)
Code:
tail -f /var/log/messages
Dec 16 20:36:15 neverwinter kernel: usb 2-9: USB disconnect, address 11
Dec 16 20:36:29 neverwinter kernel: usb 2-9: new high speed USB device using ehci_hcd and address 12
Dec 16 20:36:30 neverwinter kernel: usb 2-9: configuration #1 chosen from 1 choice
Dec 16 20:36:30 neverwinter kernel: scsi16 : SCSI emulation for USB Mass Storage devices
Dec 16 20:36:35 neverwinter kernel: scsi 16:0:0:0: Direct-Access     COWON    D2               0100 PQ: 0 ANSI: 0
Dec 16 20:36:35 neverwinter kernel: sd 16:0:0:0: [sde] Sector size 0 reported, assuming 512.
Dec 16 20:36:35 neverwinter kernel: sd 16:0:0:0: [sde] 1 512-byte hardware sectors (0 MB)
Dec 16 20:36:35 neverwinter kernel: sd 16:0:0:0: [sde] Write Protect is off
Dec 16 20:36:35 neverwinter kernel: sd 16:0:0:0: [sde] Sector size 0 reported, assuming 512.
Dec 16 20:36:35 neverwinter kernel: sd 16:0:0:0: [sde] 1 512-byte hardware sectors (0 MB)
Dec 16 20:36:35 neverwinter kernel: sd 16:0:0:0: [sde] Write Protect is off
Dec 16 20:36:35 neverwinter kernel:  sde: unknown partition table
Dec 16 20:36:35 neverwinter kernel: sd 16:0:0:0: [sde] Attached SCSI removable disk
Dec 16 20:36:35 neverwinter kernel: sd 16:0:0:0: Attached scsi generic sg5 type 0
 
Old 12-17-2007, 01:49 AM   #2
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
What I think is that your device internal memory and sd card might be given different device nodes. I remember that it was so for my Sony Ericsson mobile phone. One obscure post in google helped (phone memory needed to be mounted at sdb1 even I haven't noticed sdb1 in dmesg output).

This line:
Code:
Dec 16 20:36:15 neverwinter kernel: usb 2-9: USB disconnect, address 11
Is it printed to terminal when you plug in your device?
 
Old 12-17-2007, 03:18 AM   #3
cpuobsessed
Member
 
Registered: Jan 2006
Distribution: Fedora, Ubuntu, Slackware
Posts: 56

Rep: Reputation: 15
It does look like two sde devices were loaded. See if you can mount sde1 and sde2.
 
Old 12-17-2007, 08:55 AM   #4
Furlinastis
Member
 
Registered: Dec 2004
Location: Ball of Confusion
Distribution: Artix,Arch,Slackware,Bluewhite64
Posts: 261

Original Poster
Rep: Reputation: 40
Quote:
Originally Posted by Alien_Hominid View Post
What I think is that your device internal memory and sd card might be given different device nodes. I remember that it was so for my Sony Ericsson mobile phone. One obscure post in google helped (phone memory needed to be mounted at sdb1 even I haven't noticed sdb1 in dmesg output).

This line:
Code:
Dec 16 20:36:15 neverwinter kernel: usb 2-9: USB disconnect, address 11
Is it printed to terminal when you plug in your device?
Oh, I'm sorry. I should have made that more clear. All that output was with the device alone with no SD card inserted. I felt that it would be better to show that output to better isolate the problem.

The output you quoted was when I disconnected the player, then reconnected it 15 seconds later.

Quote:
See if you can mount sde1 and sde2.
If I insert my SD card I can mount /dev/sde1 as the SD card. But the flash memory on the device itself doesn't appear in fdisk.

Last edited by Furlinastis; 12-17-2007 at 09:38 AM.
 
Old 12-17-2007, 02:38 PM   #5
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
Can you mount device alone without SD card?
 
Old 12-17-2007, 03:08 PM   #6
Furlinastis
Member
 
Registered: Dec 2004
Location: Ball of Confusion
Distribution: Artix,Arch,Slackware,Bluewhite64
Posts: 261

Original Poster
Rep: Reputation: 40
I can only mount the device in windows, with or without an SD card.
 
Old 12-17-2007, 04:33 PM   #7
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
Do you need to install special USB drivers for your device when using Windows? If I am right, you need to ask the device manufacturers if a version of these drivers are available for linux and if not, maybe if they could release source code or some specs. With that info you could mail at usb-dev mailing list and hope that these will be implemented.

Last edited by Alien_Hominid; 12-17-2007 at 04:34 PM.
 
Old 12-19-2007, 09:14 PM   #8
Furlinastis
Member
 
Registered: Dec 2004
Location: Ball of Confusion
Distribution: Artix,Arch,Slackware,Bluewhite64
Posts: 261

Original Poster
Rep: Reputation: 40
A firmware update fixed the problems. (Simpler than I had thought)

Thanks for your help.
 
Old 12-20-2007, 07:51 PM   #9
Furlinastis
Member
 
Registered: Dec 2004
Location: Ball of Confusion
Distribution: Artix,Arch,Slackware,Bluewhite64
Posts: 261

Original Poster
Rep: Reputation: 40
Seems I spoke a little too soon. Now it recognizes the internal memory but not the SD card. Doh!

Both are recognized fine in Windows.

tail -f /var/log/messages: (all output is identical with or without SD card)

Code:
Dec 20 20:33:26 neverwinter kernel: usb 1-2: new high speed USB device using ehci_hcd and address 6
Dec 20 20:33:26 neverwinter kernel: usb 1-2: configuration #1 chosen from 1 choice
Dec 20 20:33:26 neverwinter kernel: scsi8 : SCSI emulation for USB Mass Storage devices
Dec 20 20:33:31 neverwinter kernel: scsi 8:0:0:0: Direct-Access     COWON    D2               0100 PQ: 0 ANSI: 0
Dec 20 20:33:31 neverwinter kernel: sd 8:0:0:0: [sde] 15990784 512-byte hardware sectors (8187 MB)
Dec 20 20:33:31 neverwinter kernel: sd 8:0:0:0: [sde] Write Protect is off
Dec 20 20:33:31 neverwinter kernel: sd 8:0:0:0: [sde] 15990784 512-byte hardware sectors (8187 MB)
Dec 20 20:33:31 neverwinter kernel: sd 8:0:0:0: [sde] Write Protect is off
Dec 20 20:33:31 neverwinter kernel:  sde: unknown partition table
Dec 20 20:33:31 neverwinter kernel: sd 8:0:0:0: [sde] Attached SCSI removable disk
Dec 20 20:33:31 neverwinter kernel: sd 8:0:0:0: Attached scsi generic sg4 type 0
mount:

Code:
/dev/sde on /media/D2 type vfat (rw,nosuid,nodev,noatime,flush,uid=1000,utf8,shortname=lower)
fdisk -l: (this looked normal before I updated the firmware)

Code:
Disk /dev/sde: 8187 MB, 8187281408 bytes
252 heads, 62 sectors/track, 1023 cylinders
Units = cylinders of 15624 * 512 = 7999488 bytes

This doesn't look like a partition table
Probably you selected the wrong device.

   Device Boot      Start         End      Blocks   Id  System
/dev/sde1   ?       49804      122866   570754815+  72  Unknown
Partition 1 has different physical/logical beginnings (non-Linux?):
     phys=(357, 116, 40) logical=(49803, 223, 11)
Partition 1 has different physical/logical endings:
     phys=(357, 32, 45) logical=(122865, 44, 51)
Partition 1 does not end on cylinder boundary.
/dev/sde2   ?       10797      134711   968014120   65  Novell Netware 386
Partition 2 has different physical/logical beginnings (non-Linux?):
     phys=(288, 115, 43) logical=(10796, 206, 47)
Partition 2 has different physical/logical endings:
     phys=(367, 114, 50) logical=(134710, 140, 42)
Partition 2 does not end on cylinder boundary.
/dev/sde3   ?      119681      243594   968014096   79  Unknown
Partition 3 has different physical/logical beginnings (non-Linux?):
     phys=(366, 32, 33) logical=(119680, 18, 30)
Partition 3 has different physical/logical endings:
     phys=(357, 32, 43) logical=(243593, 203, 39)
Partition 3 does not end on cylinder boundary.
/dev/sde4   ?      184696      184699       27749+   d  Unknown
Partition 4 has different physical/logical beginnings (non-Linux?):
     phys=(372, 97, 50) logical=(184695, 104, 25)
Partition 4 has different physical/logical endings:
     phys=(0, 10, 0) logical=(184698, 243, 33)
Partition 4 does not end on cylinder boundary.

Partition table entries are not in disk order
lsusb -v:

Code:
Bus 001 Device 006: ID 0e21:0801 Cowon Systems, Inc. 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x0e21 Cowon Systems, Inc.
  idProduct          0x0801 
  bcdDevice            2.51
  iManufacturer           1 COWON Systems, Inc.
  iProduct                2 COWON D2
  iSerial                 3 A111100874093E14
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           39
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           3
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     80 Bulk (Zip)
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval              10
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  bNumConfigurations      1
can't get debug descriptor: Connection timed out
cannot read device status, Connection timed out (110)
It has to have something to do with the last error there.

edit:

Looking through menuconfig, I saw the options to configure MTD devices and the descriptions of NAND flash devices sounds very similar to what the cowon d2 uses. I will search on this more, but anyone if I'm barking up the wrong tree here?

Last edited by Furlinastis; 12-20-2007 at 09:21 PM.
 
Old 12-21-2007, 12:59 AM   #10
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
But you got the same error, when SD card was recognized.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Amarok, Cowon and the iAudio Player LXer Syndicated Linux News 0 10-08-2007 03:50 AM
Iaudio X5 usb hardisk mount problem shl Linux - Hardware 3 01-04-2007 04:47 PM
Unable to Build ELDK3.1 for kernel 2.4.25. On Booting Unable to mount root fs.. kannath Debian 0 05-11-2006 09:26 AM
LXer: iAudio Follow-Up: Using GNU/Linux to Make Video For iAudio LXer Syndicated Linux News 0 01-02-2006 12:46 PM
Cowon iAudio M3 with Linux nyk Linux - Hardware 1 08-28-2004 07:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration