Re: Missing devs...



Aren Olvalde Tyr wrote:
Hi

On Sunday 28 May 2006 21:42, Anders Troback wrote:

In my usbd.conf I have:

device "Sony Ericsson W810i"
devname "umass[0-9]+"
vendor 0x0fce
product 0xe042
attach "sleep 5 ; /sbin/mount -t msdos /dev/da1 /mnt ; /etc/rc.d/devfs
restart"

As I said, this works for me but it seams to be a bit stupid that this
kind of workaround is needed...

Yes, indeed. I was thinking about doing a similar workaround, but surely there must be a better way of doing this. We need a way for mount to automatically probe the device for filesystems first before attempting to mount the slice.

Anyone got any suggestions?

Just out of interest, during bootup, what command is executed to probe the devices? If I put a memory card in my reader before booting the system up, the filesystem slices on the card are detected, the device node[s] are created and I can mount it straight away.

This is the command I want, rather than having to run a mount command that we know will fail just to create the nodes.

Aren.

I've not been following this thread too closely, but I think I've had the same problem in the past. I currently get around it by not leaving my media readers plugged in (they're both external USB readers). I insert my media card then plug in the reader and have no problems. I *think* true > /dev/da1 will get devfs to show the slices, but I can't find my old post that has that little bit of info in it. I always thought the device should trigger and event when media was inserted, and that the event should trigger devfs to show the slices....

Hope that provides insight,
Micah
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: 2.6.0-test9 VFAT problem
    ... and report whatever goes wrong in that case. ... I start the system insert my 64mb Olympus SM into my Belkin SM reader ... mount my 16mb Olympus SM card in my Belkin reader. ... If I try to mount my 64mb card I get 'no media found'. ...
    (Linux-Kernel)
  • Re: RH 9.0 & mounting smart media-part 2
    ... mounted it I could read the files on the card normally. ... If I unplugged it from the hub then ... plugged it back in...I could mount the device once again. ... Do you think if there was a card in the reader on startup that kudzu would ...
    (alt.os.linux.redhat)
  • Re: 2.6.0-test9 VFAT problem
    ... Friday when I got home I tried to mount my belkin reader with sda in the ... I got 'no media found'. ... if I put the 64mb card in, ...
    (Linux-Kernel)
  • Re: Built-in Card Readers can only be revived by a reboot?
    ... card that has been built in to the reader (Note: ... Removing a memory card from the memory card reader ... Do not try to remove media when the in-use light is ...
    (comp.sys.hp.hardware)
  • Re: [SLE] XD picture card reader
    ... > to download pictures from the XD card to hd. ... > move the pictures from the XD card to the HD. ... Is it possible to mount this the ... > as how dmesg doesn't show up with a drive option for this reader. ...
    (SuSE)