LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 02-01-2020, 04:33 PM   #1
ricky23
LQ Newbie
 
Registered: Feb 2020
Posts: 2

Rep: Reputation: Disabled
Mounting CF card in a solid-state recorder via USB


Hello,

I am trying to access a Compact Flash card in a solid-state sound recorder (Marantz PMD670) via USB cable. I follow the instructions for connecting the device via USB, the display on the recorder is showing "I/O Online" as it should be, but the CF card is not mounting. It works under Windows. I tried formatting the card in the device, in GParted and in Windows, same result. This is the output of lsblk:

Code:
p@ppc:~$ lsblk
NAME         MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINT
loop0          7:0    0     2G  0 loop  
└─cryptswap1 253:0    0     2G  0 crypt [SWAP]
sda            8:0    0 223.6G  0 disk  
├─sda1         8:1    0   512M  0 part  /boot/efi
└─sda2         8:2    0 223.1G  0 part  /
sdf            8:80   1   7.5G  0 disk  
└─sdf1         8:81   1   7.5G  0 part  
sr0           11:0    1  1024M  0 rom
This is the output of tail -n 0 -f /var/log/syslog:

Code:
p@ppc:~$ tail -n 0 -f /var/log/syslog
Jan 30 21:34:56 ppc kernel: [24631.284877] usb 2-1.5: new full-speed USB device number 17 using ehci-pci
Jan 30 21:34:56 ppc kernel: [24631.396499] usb 2-1.5: New USB device found, idVendor=05e3, idProduct=0700
Jan 30 21:34:56 ppc kernel: [24631.396504] usb 2-1.5: New USB device strings: Mfr=0, Product=1, SerialNumber=0
Jan 30 21:34:56 ppc kernel: [24631.396508] usb 2-1.5: Product: USB Storage Device
Jan 30 21:34:56 ppc kernel: [24631.398939] usb-storage 2-1.5:1.0: USB Mass Storage device detected
Jan 30 21:34:56 ppc kernel: [24631.399341] scsi host7: usb-storage 2-1.5:1.0
Jan 30 21:34:56 ppc mtp-probe: checking bus 2, device 17: "/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5"
Jan 30 21:34:56 ppc mtp-probe: bus: 2, device: 17 was not an MTP device
Jan 30 21:34:56 ppc upowerd[1199]: unhandled action 'bind' on /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5/2-1.5:1.0
Jan 30 21:34:56 ppc upowerd[1199]: unhandled action 'bind' on /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5
Jan 30 21:34:57 ppc kernel: [24632.406654] scsi 7:0:0:0: Direct-Access     Generic  STORAGE DEVICE   0.01 PQ: 0 ANSI: 0
Jan 30 21:34:57 ppc kernel: [24632.407736] sd 7:0:0:0: Attached scsi generic sg6 type 0
Jan 30 21:34:57 ppc kernel: [24632.408298] sd 7:0:0:0: [sdf] 15662305 512-byte logical blocks: (8.02 GB/7.47 GiB)
Jan 30 21:34:57 ppc kernel: [24632.409782] sd 7:0:0:0: [sdf] Test WP failed, assume Write Enabled
Jan 30 21:34:57 ppc kernel: [24632.410924] sd 7:0:0:0: [sdf] Cache data unavailable
Jan 30 21:34:57 ppc kernel: [24632.410930] sd 7:0:0:0: [sdf] Assuming drive cache: write through
Jan 30 21:34:57 ppc kernel: [24632.424798]  sdf: sdf1
Jan 30 21:34:57 ppc kernel: [24632.429403] sd 7:0:0:0: [sdf] Attached SCSI removable disk
Jan 30 21:35:01 ppc kernel: [24636.658078] usb 2-1.5: USB disconnect, device number 17
Jan 30 21:35:01 ppc kernel: [24636.672802] sd 7:0:0:0: [sdf] tag#0 FAILED Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
Jan 30 21:35:01 ppc kernel: [24636.672809] sd 7:0:0:0: [sdf] tag#0 CDB: Read(10) 28 00 00 ee fc e0 00 00 01 00
Jan 30 21:35:01 ppc kernel: [24636.672813] print_req_error: I/O error, dev sdf, sector 15662304
Jan 30 21:35:01 ppc systemd-udevd[16187]: inotify_add_watch(9, /dev/sdf, 10) failed: No such file or directory
Jan 30 21:35:01 ppc systemd-udevd[16192]: inotify_add_watch(9, /dev/sdf1, 10) failed: No such file or directory
Jan 30 21:35:01 ppc udisksd[918]: g_udev_device_get_sysfs_path: assertion 'G_UDEV_IS_DEVICE (device)' failed
Jan 30 21:35:01 ppc udisksd[918]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Jan 30 21:35:01 ppc systemd-udevd[16192]: inotify_add_watch(9, /dev/sdf, 10) failed: No such file or directory
Jan 30 21:35:01 ppc upowerd[1199]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5/2-1.5:1.0
Jan 30 21:35:01 ppc upowerd[1199]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5
Any help would be much appreciated!

Regards,

Patryk
 
Old 02-02-2020, 05:52 AM   #2
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,849

Rep: Reputation: 553Reputation: 553Reputation: 553Reputation: 553Reputation: 553Reputation: 553
Quote:
Originally Posted by ricky23 View Post
Hello,

I am trying to access a Compact Flash card in a solid-state sound recorder (Marantz PMD670) via USB cable. I follow the instructions for connecting the device via USB, the display on the recorder is showing "I/O Online" as it should be, but the CF card is not mounting. It works under Windows. I tried formatting the card in the device, in GParted and in Windows, same result.

...

This is the output of tail -n 0 -f /var/log/syslog:

Code:
p@ppc:~$ tail -n 0 -f /var/log/syslog
Jan 30 21:34:56 ppc kernel: [24631.284877] usb 2-1.5: new full-speed USB device number 17 using ehci-pci
Jan 30 21:34:56 ppc kernel: [24631.396499] usb 2-1.5: New USB device found, idVendor=05e3, idProduct=0700
Jan 30 21:34:56 ppc kernel: [24631.396504] usb 2-1.5: New USB device strings: Mfr=0, Product=1, SerialNumber=0
Jan 30 21:34:56 ppc kernel: [24631.396508] usb 2-1.5: Product: USB Storage Device
Jan 30 21:34:56 ppc kernel: [24631.398939] usb-storage 2-1.5:1.0: USB Mass Storage device detected
Jan 30 21:34:56 ppc kernel: [24631.399341] scsi host7: usb-storage 2-1.5:1.0
Jan 30 21:34:56 ppc mtp-probe: checking bus 2, device 17: "/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5"
Jan 30 21:34:56 ppc mtp-probe: bus: 2, device: 17 was not an MTP device
Jan 30 21:34:56 ppc upowerd[1199]: unhandled action 'bind' on /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5/2-1.5:1.0
Jan 30 21:34:56 ppc upowerd[1199]: unhandled action 'bind' on /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5
Jan 30 21:34:57 ppc kernel: [24632.406654] scsi 7:0:0:0: Direct-Access     Generic  STORAGE DEVICE   0.01 PQ: 0 ANSI: 0
Jan 30 21:34:57 ppc kernel: [24632.407736] sd 7:0:0:0: Attached scsi generic sg6 type 0
Jan 30 21:34:57 ppc kernel: [24632.408298] sd 7:0:0:0: [sdf] 15662305 512-byte logical blocks: (8.02 GB/7.47 GiB)
Jan 30 21:34:57 ppc kernel: [24632.409782] sd 7:0:0:0: [sdf] Test WP failed, assume Write Enabled
Jan 30 21:34:57 ppc kernel: [24632.410924] sd 7:0:0:0: [sdf] Cache data unavailable
Jan 30 21:34:57 ppc kernel: [24632.410930] sd 7:0:0:0: [sdf] Assuming drive cache: write through
Jan 30 21:34:57 ppc kernel: [24632.424798]  sdf: sdf1
Jan 30 21:34:57 ppc kernel: [24632.429403] sd 7:0:0:0: [sdf] Attached SCSI removable disk
Jan 30 21:35:01 ppc kernel: [24636.658078] usb 2-1.5: USB disconnect, device number 17
Jan 30 21:35:01 ppc kernel: [24636.672802] sd 7:0:0:0: [sdf] tag#0 FAILED Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
Jan 30 21:35:01 ppc kernel: [24636.672809] sd 7:0:0:0: [sdf] tag#0 CDB: Read(10) 28 00 00 ee fc e0 00 00 01 00
Jan 30 21:35:01 ppc kernel: [24636.672813] print_req_error: I/O error, dev sdf, sector 15662304
Jan 30 21:35:01 ppc systemd-udevd[16187]: inotify_add_watch(9, /dev/sdf, 10) failed: No such file or directory
Jan 30 21:35:01 ppc systemd-udevd[16192]: inotify_add_watch(9, /dev/sdf1, 10) failed: No such file or directory
Jan 30 21:35:01 ppc udisksd[918]: g_udev_device_get_sysfs_path: assertion 'G_UDEV_IS_DEVICE (device)' failed
Jan 30 21:35:01 ppc udisksd[918]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Jan 30 21:35:01 ppc systemd-udevd[16192]: inotify_add_watch(9, /dev/sdf, 10) failed: No such file or directory
Jan 30 21:35:01 ppc upowerd[1199]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5/2-1.5:1.0
Jan 30 21:35:01 ppc upowerd[1199]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5
Any help would be much appreciated!

Regards,

Patryk
That line in the syslog output about "bus: 2, device: 17 was not an MTP device" makes me wonder if Windows is/was allowing you to access the Marantz's CF card via a proprietary driver (that may come with Windows). Do you recall installing something from Marantz that came with the recorder?

If you have a USB card reader that can accept CF cards, you may have much better luck accessing the card that way. This is the route I took years ago when accessing my Canon G3 camera was not working via USB. Pulling out the card and using a USB-connected card reader let me mount it directly. I bought one -- a Dynex DX-CR121 -- years ago at BestBuy that accepts CF, various SD, and some others I've never even encountered in the wild before. My memory is a little fuzzy about that purchase but I think it was in the $20-$30 range. IMHO, worth it if you want to use this recorder. It sure seems to me to be the path of least resistance.

BTW, this is an, apparently, discontinued product. I see reviews for it online that date back to 2005. Marantz's web site doesn't even mention it any more---even as a "legacy" product. In fact, the PMD671 is the closest match they list to your recorder and most of the information for that product seems to be missing on the site. Your best bet may be to find a USB-based card reader that accepts CF cards and mount it after removing it from the recorder. (I still have/use that G3 and still pull the CF card to copy off the photos. It just works with minimal fuss.)

Something you could try:

What do you see when connecting the Marantz and issuing "fdisk -l /dev/sdf"? If you see something like:
Code:
...

Device      Start    End    Sectors    Size   Type
/dev/sdf1     ...    ...        ...     ...   VFAT    <-- or similar
or...
Code:
Disk /dev/sdf1: ... (size info)
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos                                <-- you may see this
Disk identifier: ...
The above is what I see when I issue that fdisk command on my digital camera's SD card when it's in a USB reader. When I access it with a file manager, the system mounts it as "vfat". So... you could try:
Code:
$ sudo mount -t vfat -o ro /dev/sdf1 /some/mount/point
I included the read-only option ("-o ro") because the PMD manual mentions certain files that you shouldn't mess with to maintain access to the digital recordings.

Hoping that some of this helps...
 
Old 02-07-2020, 03:45 PM   #3
ricky23
LQ Newbie
 
Registered: Feb 2020
Posts: 2

Original Poster
Rep: Reputation: Disabled
Hi,

Thank you for your reply.

I did not install anything from Marantz on the Windows PC.

"fdisk -l /dev/sdf" doesn't display anything, it just hangs. Same for "mount -t vfat -o ro /dev/sdf1 /media/p/CF".

Either way, I came to the same conclusion as you and bought an external card reader, so problem solved I guess :-)

Thanks again!

Patryk
 
  


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: Green Recorder – A Simple Screen Recorder For Linux With Wayland Support LXer Syndicated Linux News 0 09-08-2017 01:37 PM
LXer: Linux Desktop Recorder App Green Recorder 3.0 Released LXer Syndicated Linux News 0 08-08-2017 04:55 PM
Screen recorder with audio recorder JJJCR Linux - Software 1 07-04-2017 02:02 AM
VOX Recorder and Audio Timer Recorder? devmoc Linux - Software 6 10-23-2009 11:55 PM
I can't configure my cd-dvd recorder as a recorder!!! slamd64 Lier Linux - Software 4 10-26-2006 11:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:16 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