Hello
I have a problem regarding USB and SD card reader :
Let me introduce the configuration context:
My laptop: Lenovo X220 (core i7 version), FreeBSD 10.2.
/etc/rc.conf
/etc/sysctl.conf
I have created a rule set called "localrules" :
I used to associate each rule to the operator group but it doesn't work, so I decided to put wheel group when I saw that da0 and mmcsd owner are root and the wheel group.
/usr/local/etc/automount.conf
I have added my user "me" to wheel group.
Regarding the SD card reader the
Could you help me to know how I can get automount and r/w access permission for USB and SD cards?
Thank you in advance.
I have a problem regarding USB and SD card reader :
- USB : automount works very well but I must be root to write or clear something, else I can just read.
- SDCARD : sometimes automount works, and sometimes not. When It works, it is just readable and I must be root to write or erase files.
Let me introduce the configuration context:
My laptop: Lenovo X220 (core i7 version), FreeBSD 10.2.
/etc/rc.conf
Code:
devfs_system_ruleset="localrules"
autofs_enable="YES"
dbus-enable⁼"YES"
Code:
vfs.usermount="1"
Code:
100 path da* group wheel mode 660
200 path cd* group wheel mode 660
300 path uscanner* group wheel mode 660
400 path xpt* group wheel mode 660
500 path pass* group wheel mode 660
600 path md* group wheel mode 660
700 path msdosfs/* group wheel mode 660
800 path ext2fs/* group wheel mode 660
900 path ntfs/* group wheel mode 660
1000 path usb/* group wheel mode 660
1100 path mmcsd*/* group wheel mode 660
/usr/local/etc/automount.conf
Code:
USERUMOUNT=YES
MNTPREFIX="/media"
ATIME=NO
REMOVEDIRS=YES
FM="pcmanfm"
USER=me
#ENCODING=pl_PL.ISO8859-2
#CODEPAGE=cp852
Regarding the SD card reader the
pciconf -lv
command returns this:
Code:
sdhci_pci0@pci0:13:0:0: class=0x088001 card=0x21da17aa chip=0xe8231180 rev=0x04 hdr=0x00
vendor = 'Ricoh Co Ltd'
device = 'PCIe SDXC/MMC Host Controller'
class = base peripheral
Thank you in advance.