CF card file permissions a Epson Picturemate (SOLVED)

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

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

with it plugged in and mounted, what’s the output from:

mount

also … unmount/unplug the CF card, then replug/remount and post the output from:

dmesg | tail -n 40
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 ~ $ 
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 ~ $ 

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 ?

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

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

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 ?

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

what's the printer model number ?

Epson Picturemate PM240

and which distro/version/architecture ?

Peppermint 6 64bit

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 ?

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

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

It was the normal Linux/Ubuntu test page

Graeme

weird … try the drivers and utility above from Epson.

You might want to delete any installed printers first :wink:

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

So did you try the drivers from epson ?

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

Looking through the .deb for the printer utility … what happens if you run:

/opt/epson-printer-utility/bin/epson-printer-utility

?

running that code opens an Epson printer utility showing the ink levels but I can’t find it anywhere in the menu

Graeme

ok just to update I’ve created a .desktop file in /usr/share/applications and it’s now in the menu under system tools-epson printers

I’ve got the scaling sorted it was the settings in gnome image viewer was set to A4 I changed it to 6x4 borderless it’s still slightly overscanned on the vertical and shows a border on the horizontal (down each side)

I don’t want to waste any more paper and ink trying to make this any better it prints perfect prints directly off the printer and now I can add & delete files on the CF card without having to move it to the PC and back so I’m happy with that

The only other thing that doesn’t work is bluetooth if I try to send a file to the printer via bluetooth it times out this also happens if I try to send with my android phone but if you think it could be a nightmare to sort I’m happy to leave it as well

Once again many thanks for your help

Graeme

Sorry Mark looks like I spoke too soon the Epson-Printer-Utility has stopped working it just flashes up for a second or two the shuts down

running it from the terminal gives me this error

graeme@Linux1 ~ $ /opt/epson-printer-utility/bin/epson-printer-utility

(epson-printer-utility:23753): GLib-ERROR **: Creating pipes for GWakeup: Too many open files

Trace/breakpoint trap
graeme@Linux1 ~ $ 

Maybe it’s broken, and that’s why there’s no menu item … or maybe it’s not supposed to be accessed this way, I don’t know enough about epson drivers and utils to know.

if you don’t need it, I’d just not use it.