
Hi all, I have a bit of a mystery on my hands with mounting an sdcard in my printer. After I turn on the printer, the log says: Oct 25 22:16:11 zaphod kernel: usb 2-1: new full speed USB device using uhci_hcd and address 7 Oct 25 22:16:11 zaphod kernel: usb 2-1: configuration #1 chosen from 1 choice Oct 25 22:16:11 zaphod kernel: scsi13 : SCSI emulation for USB Mass Storage devices Then I insert the card. The log now says: Oct 25 22:16:16 zaphod kernel: scsi 13:0:0:0: Direct-Access HP PSC 2355 1.00 PQ: 0 ANSI: 2 Oct 25 22:16:16 zaphod kernel: sd 13:0:0:0: [sdb] Attached SCSI removable disk Then, when I do # ls /dev/sdb* I only get: /dev/sdb So that's the card only, no filesystem. I know it has one partition, formatted as vfat. Then I do this: # sudo mount -t /dev/sdb /mnt/sdcard It responds with: mount: wrong fs type, bad option, bad superblock on /dev/sdb, missing codepage or other error In some cases useful info is found in syslog - try dmesg | tail or so instead of telling me I should be mounting a filesystem and not the medium itself. At the same time, this is added to the log: Oct 25 22:30:22 zaphod sudo: diederick : TTY=pts/5 ; PWD=/dev ; USER=root ; COMMAND=/bin/mount -t vfat /dev/sdb /mnt/sdcard/ Oct 25 22:30:22 zaphod kernel: sd 17:0:0:0: [sdb] 3993600 512-byte hardware sectors (2045 MB) Oct 25 22:30:22 zaphod kernel: sd 17:0:0:0: [sdb] Write Protect is off Oct 25 22:30:22 zaphod kernel: sd 17:0:0:0: [sdb] Assuming drive cache: write through Oct 25 22:30:22 zaphod kernel: sd 17:0:0:0: [sdb] 3993600 512-byte hardware sectors (2045 MB) Oct 25 22:30:22 zaphod kernel: sd 17:0:0:0: [sdb] Write Protect is off Oct 25 22:30:22 zaphod kernel: sd 17:0:0:0: [sdb] Assuming drive cache: write through Oct 25 22:30:22 zaphod kernel: sdb: sdb1 Oct 25 22:30:22 zaphod kernel: FAT: invalid media value (0x01) Oct 25 22:30:22 zaphod kernel: VFS: Can't find a valid FAT filesystem on dev sdb. So, trying to mount the card has triggered the kernel into finding the sdb1 file system (I waited a quarter of an hour to make sure my computer wasn't just being slow). Now I can mount and access sdb1 without problems. Can someone tell me what could be causing this and how I can set things up so that when I turn on my printer and insert a card, its file system is recognized immediately? Thanks for any help, diederick -- http://www.diederickdevries.net/