Author Topic: CF card file permissions a Epson Picturemate (SOLVED)  (Read 5340 times)

0 Members and 1 Guest are viewing this topic.

Emegra

  • Guest
CF card file permissions a Epson Picturemate (SOLVED)
« on: June 08, 2015, 09:40:29 pm »
I've been at this for a while now hoping to sort it out myself but it just aint happening

I  have an Epson Picturemate photo printer which has slots for CF & SD cards, I have a CF card plugged it and I can browse through any images on the card and print directly from the printer

the problem is the card is mounted as read only so I can't add or delete any files while it's plugged into the printer so in order to add or remove any files I have to remove the card and plug it into the PC

While the CF card is plugged into the printer it's mounted at /media/graeme/PICTUREMATE so i tried changing file permissions with
Code: [Select]
sudo chmod 777 /media/graeme/PICTUREMATE
but it doesn't make any difference

I'm also having problems getting it print directly from the PC but I'll leave that for another thread

Any help would be much appreciated


Graeme

« Last Edit: June 10, 2015, 09:10:17 pm by Emegra »

Offline Mark Greaves (PCNetSpec)

  • Hero Member
  • *****
  • Posts: 18277
  • Karma: 479
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • Awards
Re: CF card file permissions a Epson Picturemate
« Reply #1 on: June 09, 2015, 01:18:40 am »
with it plugged in and mounted, what's the output from:
Code: [Select]
mount
also .. unmount/unplug the CF card, then replug/remount and post the output from:
Code: [Select]
dmesg | tail -n 40
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Emegra

  • Guest
Re: CF card file permissions a Epson Picturemate
« Reply #2 on: June 09, 2015, 06:19:49 am »
Code: [Select]
graeme@Linux1 ~ $ mount
/dev/sdb5 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/cgroup type tmpfs (rw)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
none on /sys/fs/pstore type pstore (rw)
/dev/sdb1 on /media/sdb1 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd)
//192.168.2.50/family-tree on /mnt/NAS/family-tree type cifs (rw)
//192.168.2.50/pat on /mnt/NAS/pat type cifs (rw)
//192.168.2.50/multimedia on /mnt/NAS/multimedia type cifs (rw)
//192.168.2.50/graeme on /mnt/NAS/graeme type cifs (rw)
//192.168.2.50/movies on /mnt/NAS/movies type cifs (rw)
//192.168.2.50/backups on /mnt/NAS/backups type cifs (rw)
//192.168.2.50/videos on /mnt/NAS/videos type cifs (rw)
//192.168.2.50/utilities on /mnt/NAS/utilities type cifs (rw)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=graeme)
/dev/sda1 on /media/graeme/810432ba-8b45-4ea1-b7d4-82e069c71e81 type ext4 (rw,nosuid,nodev,uhelper=udisks2)
/dev/sdi1 on /media/graeme/PICTUREMATE type vfat (rw,nosuid,nodev,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,showexec,flush,uhelper=udisks2)
graeme@Linux1 ~ $

Code: [Select]
graeme@Linux1 ~ $ dmesg | tail -n 40
[255479.784610] usb 1-4: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[255479.784616] usb 1-4: Product: USB 2.0 Hub
[255479.785099] hub 1-4:1.0: USB hub found
[255479.785229] hub 1-4:1.0: 4 ports detected
[255480.056116] usb 1-4.1: new high-speed USB device number 32 using ehci-pci
[255480.337127] usb 1-4.1: New USB device found, idVendor=048d, idProduct=1336
[255480.337135] usb 1-4.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[255480.337141] usb 1-4.1: Product: Mass Storage Device
[255480.337145] usb 1-4.1: Manufacturer: Generic   
[255480.337150] usb 1-4.1: SerialNumber: 00000000000006
[255480.337609] usb-storage 1-4.1:1.0: USB Mass Storage device detected
[255480.337830] scsi25 : usb-storage 1-4.1:1.0
[255480.408138] usb 1-4.4: new full-speed USB device number 33 using ehci-pci
[255480.552137] usb 1-4.4: new high-speed USB device number 34 using ehci-pci
[255480.644890] usb 1-4.4: New USB device found, idVendor=152d, idProduct=2338
[255480.644898] usb 1-4.4: New USB device strings: Mfr=1, Product=2, SerialNumber=5
[255480.644903] usb 1-4.4: Product: USB to ATA/ATAPI bridge
[255480.644908] usb 1-4.4: Manufacturer: JMicron
[255480.644912] usb 1-4.4: SerialNumber: 000001D91CA1
[255480.645706] usb-storage 1-4.4:1.0: USB Mass Storage device detected
[255480.645854] scsi26 : usb-storage 1-4.4:1.0
[255481.336705] scsi 25:0:0:0: Direct-Access     Generic  Storage Device   0.00 PQ: 0 ANSI: 2
[255481.337249] sd 25:0:0:0: Attached scsi generic sg7 type 0
[255481.342710] sd 25:0:0:0: [sdg] Attached SCSI removable disk
[255481.644716] scsi 26:0:0:0: Direct-Access     WDC WD64 00AACS-00G8B1         PQ: 0 ANSI: 2 CCS
[255481.645349] sd 26:0:0:0: Attached scsi generic sg8 type 0
[255481.646207] sd 26:0:0:0: [sdh] 1250263728 512-byte logical blocks: (640 GB/596 GiB)
[255481.647218] sd 26:0:0:0: [sdh] Write Protect is off
[255481.647229] sd 26:0:0:0: [sdh] Mode Sense: 28 00 00 00
[255481.648403] sd 26:0:0:0: [sdh] No Caching mode page found
[255481.648412] sd 26:0:0:0: [sdh] Assuming drive cache: write through
[255482.119670]  sdh: sdh1
[255482.145344] sd 26:0:0:0: [sdh] Attached SCSI disk
[283110.472827] sdi: detected capacity change from 128974848 to 0
[283123.186877] sd 24:0:0:0: [sdi] 251904 512-byte logical blocks: (128 MB/123 MiB)
[283123.268800]  sdi: sdi1
[283248.117219] sdi: detected capacity change from 128974848 to 0
[283258.867022] sd 24:0:0:0: [sdi] 251904 512-byte logical blocks: (128 MB/123 MiB)
[283258.946858]  sdi: sdi1
[283267.890698] FAT-fs (sdi1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
graeme@Linux1 ~ $



Offline Mark Greaves (PCNetSpec)

  • Hero Member
  • *****
  • Posts: 18277
  • Karma: 479
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • Awards
Re: CF card file permissions a Epson Picturemate
« Reply #3 on: June 09, 2015, 09:28:21 am »
Dunno what's going on here .. it's mounted as read/write.

The dmesg output has it flagged as dirty through not being unmounted properly but it's still being mounted read/write .. so unless it's a hardware restriction I have no idea.

Can you do ANY "write" operation on it .. such as format it as root ?
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Emegra

  • Guest
Re: CF card file permissions a Epson Picturemate
« Reply #4 on: June 09, 2015, 09:38:16 am »
Quote
Can you do ANY "write" operation on it .. such as format it as root ?

It won't let me do anything except read I've tried formatting in gparted and it tells me it doesn't have write permissions (or words to that effect) I cant write to it, delete files or even create a folder

Quote
so unless it's a hardware restriction

This is what I fear that it's some kind of hardware restriction in the printer, apart from that it wont print directly from the PC either and I don't think it's a driver problem because it will print a test page immediately after install but after that it wont respond to anything from the PC even another test print wont work

EDIT
But maybe this means something ?
the printer in getting low on ink and when I turn the printer on I get an error message telling me so before it mounts the card,
then if I press ok the card mounts and I can use it as normal however while the error message is showing (before I press OK) I can write to the card from the PC so write permission only seem to cease on the PC once the printer mounts the card,

does that make any sense?

maybe some Duck Duck Going is required


Graeme

« Last Edit: June 09, 2015, 09:49:38 am by Emegra »

Offline Mark Greaves (PCNetSpec)

  • Hero Member
  • *****
  • Posts: 18277
  • Karma: 479
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • Awards
Re: CF card file permissions a Epson Picturemate
« Reply #5 on: June 09, 2015, 10:28:38 am »
is there anything in the printers settings to stop the card from being mounted ?

[EDIT]

what's the printer model number ?

and which distro/version/architecture ?
« Last Edit: June 09, 2015, 10:51:06 am by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Emegra

  • Guest
Re: CF card file permissions a Epson Picturemate
« Reply #6 on: June 09, 2015, 11:07:34 am »
Quote
is there anything in the printers settings to stop the card from being mounted ?

I looked in the settings and I can't see anything referring to the card or filesystem

Quote
what's the printer model number ?

Epson Picturemate PM240
Quote
and which distro/version/architecture ?

Peppermint 6 64bit

Offline Mark Greaves (PCNetSpec)

  • Hero Member
  • *****
  • Posts: 18277
  • Karma: 479
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • Awards
Re: CF card file permissions a Epson Picturemate
« Reply #7 on: June 09, 2015, 01:34:14 pm »
OK, ignoring the CF card for a bit, where did you get the printer drivers and utility from ?

was it these:
epson-inkjet-printer-escpr_1.4.5-1lsb3.2_amd64.deb
and
epson-printer-utility_1.0.0-1lsb3.2_amd64.deb

and was the test page the normal Linux CUPS test page, or an Epson one ?
« Last Edit: June 09, 2015, 01:41:25 pm by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Emegra

  • Guest
Re: CF card file permissions a Epson Picturemate
« Reply #8 on: June 09, 2015, 01:49:09 pm »
Quote
where did you get the printer drivers and utility from

I just installed it from the default Add Printer from Menu-System Tools-Printers, there are about 4 different drivers for the PM240 listed and I've tried them all

Quote
and was the test page the normal Linux CUPS test page, or an Epson one ?

It was the normal Linux/Ubuntu test page



Graeme

Offline Mark Greaves (PCNetSpec)

  • Hero Member
  • *****
  • Posts: 18277
  • Karma: 479
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • Awards
Re: CF card file permissions a Epson Picturemate
« Reply #9 on: June 09, 2015, 02:02:18 pm »
weird .. try the drivers and utility above from Epson.

You might want to delete any installed printers first ;)
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Emegra

  • Guest
Re: CF card file permissions a Epson Picturemate
« Reply #10 on: June 10, 2015, 06:22:15 am »
Progress

It's now working and I now have read/write permissions to the cf card while plugged into the printer and i can print directly from the PC the only problem is it's not scaling in other words it only prints the top left quarter of a photo, I checked in the printer settings and it's set for 6x4 also in job options I ticked the checkbox beside "Scale to fit" but that's made no difference either

any ideas ?


Graeme

Offline Mark Greaves (PCNetSpec)

  • Hero Member
  • *****
  • Posts: 18277
  • Karma: 479
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • Awards
Re: CF card file permissions a Epson Picturemate
« Reply #11 on: June 10, 2015, 01:16:46 pm »
So did you try the drivers from epson ?
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Emegra

  • Guest
Re: CF card file permissions a Epson Picturemate
« Reply #12 on: June 10, 2015, 02:14:12 pm »
Quote
So did you try the drivers from epson ?

I was hoping you wouldn't ask that because I don't know but I must have done something different

Here's how it went

I downloaded and installed the 2 files you posted but afterwards I saw nothing listed in the menu anywhere so I ran the default Printer utility and there was an extra printer listed as Epson Inkjet Printer so I selected that and continued then when I came to select printer model i selected the same model I previously used 

So I have some doubt whether i did it right but it's certainly different in as much as I can now read & write to the card and print directly from the PC which I wasn't able to do before


Many thanks



Graeme

Offline Mark Greaves (PCNetSpec)

  • Hero Member
  • *****
  • Posts: 18277
  • Karma: 479
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • Awards
Re: CF card file permissions a Epson Picturemate
« Reply #13 on: June 10, 2015, 03:13:03 pm »
Looking through the .deb for the printer utility .. what happens if you run:
Code: [Select]
/opt/epson-printer-utility/bin/epson-printer-utility
?
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Emegra

  • Guest
Re: CF card file permissions a Epson Picturemate
« Reply #14 on: June 10, 2015, 04:08:20 pm »
running that code opens an Epson printer utility showing the ink levels but I can't find it anywhere in the menu



Graeme

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal