Re: [newbie] Smartmedia card reader
In Re: [newbie] Smartmedia card reader, on Fri, 19 Apr 2002 14:45, Joseph Braddock wrote: > I'm pretty sure if it says nomount, you will > manually need to create the entries under /dev. The devfs=mount > should create them automatically. Thanks. I have the mount option. Good to learn all this hands on though. Walter Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Smartmedia card reader
Is it possible that you are not running devfs? If you issue the command cat /etc/lilo.conf from a shell, it will display the various boot options that appear on the menu when you first boot. Under your linux entry, there should be a line that begins with append=. On that line, it probably says devfs=mount or it might say devfs=nomount. I'm pretty sure if it says nomount, you will manually need to create the entries under /dev. The devfs=mount should create them automatically. Joe On Wed, 17 Apr 2002 19:31:45 +1200 Walter Logeman <[EMAIL PROTECTED]> wrote: > In Re: [newbie] Smartmedia card reader, on Wed, 17 Apr 2002 05:25, > Bryan Tyson wrote: > > > > mount -t vfat /dev/sda1 /mnt/smedia > > > > > > There is no /dev/sda1, there is nothing much like it there > > > > See what happens if you do > > > > modprobe usb-storage > > > > before trying to mount the card. > > Thanks Bryan, output below. > > I still have no /dev/sda1... how do they appear? There is no sd* > device at all in the /dev directory. I am searching around to try > to understand how these files work. Still lost after a lot of > reading! > > Walter > > ~~~ > > 1003 root@psybernet:/dev (07:25:43) > # modprobe usb-storage > 1004 root@psybernet:/dev (07:26:07) > # lsmod | grep usb > usb-storage52528 0 (unused) > usbmouse2048 0 (unused) > input 3648 0 [keybdev mousedev hid usbmouse] > usb-uhci 21232 0 (unused) > usbcore50752 1 [usb-storage hid usbmouse > usb-uhci] > scsi_mod 91072 4 [usb-storage sd_mod sg sr_mod > ide-scsi] > 1005 root@psybernet:/dev (07:26:13) > # mount -t vfat /dev/sda1 /mnt/smedia > mount: special device /dev/sda1 does not exist > > > > -- > Walter Logeman > Psychotherapist > http://www.psybernet.co.nz > > Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Smartmedia card reader
Have you tried using the config tool in harddrake ? this is how I set up my usb camera. once you have the usb storage module running your smart media card should appear under "disks" click on it then run the disk config utility in expert mode you can choose a mnt point and write the fstab from there . jason On Thursday 18 April 2002 03:38, you wrote: > On Wednesday 17 April 2002 03:31, Walter wrote: > > See what happens if you do > > modprobe usb-storage > > before trying to mount the card. > > I still have no /dev/sda1... how do they appear? There is no sd* > > device at all in the /dev directory. > > Unfortunately I do not know. All I can tell you is in my case, > /dev/sda1 (the compact flash card in the reader) becomes available to > me once I type modprobe usb-storage. > > *** > Powered by SuSE Linux 7.3 Professional > KDE 2.2.1 KMail 1.3.1 > This is a Microsoft-free computer > > Bryan S. Tyson > [EMAIL PROTECTED] > *** Content-Type: text/plain; charset="iso-8859-1"; name="message.footer" Content-Transfer-Encoding: 8bit Content-Description: Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Smartmedia card reader
On Wednesday 17 April 2002 03:31, Walter wrote: > See what happens if you do > modprobe usb-storage > before trying to mount the card. > I still have no /dev/sda1... how do they appear? There is no sd* > device at all in the /dev directory. Unfortunately I do not know. All I can tell you is in my case, /dev/sda1 (the compact flash card in the reader) becomes available to me once I type modprobe usb-storage. *** Powered by SuSE Linux 7.3 Professional KDE 2.2.1 KMail 1.3.1 This is a Microsoft-free computer Bryan S. Tyson [EMAIL PROTECTED] *** Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Smartmedia card reader
In Re: [newbie] Smartmedia card reader, on Wed, 17 Apr 2002 05:25, Bryan Tyson wrote: > > mount -t vfat /dev/sda1 /mnt/smedia > > > > There is no /dev/sda1, there is nothing much like it there > > See what happens if you do > > modprobe usb-storage > > before trying to mount the card. Thanks Bryan, output below. I still have no /dev/sda1... how do they appear? There is no sd* device at all in the /dev directory. I am searching around to try to understand how these files work. Still lost after a lot of reading! Walter ~~~ 1003 root@psybernet:/dev (07:25:43) # modprobe usb-storage 1004 root@psybernet:/dev (07:26:07) # lsmod | grep usb usb-storage52528 0 (unused) usbmouse2048 0 (unused) input 3648 0 [keybdev mousedev hid usbmouse] usb-uhci 21232 0 (unused) usbcore50752 1 [usb-storage hid usbmouse usb-uhci] scsi_mod 91072 4 [usb-storage sd_mod sg sr_mod ide-scsi] 1005 root@psybernet:/dev (07:26:13) # mount -t vfat /dev/sda1 /mnt/smedia mount: special device /dev/sda1 does not exist -- Walter Logeman Psychotherapist http://www.psybernet.co.nz Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Smartmedia card reader
Hi > > To add a module into a kernel either type "modprobe > > usb-storage" > > done now i have it show up with lsmod! However it does not persist after a reboot... how does that work. Walter -- Walter Logeman Psychotherapist http://www.psybernet.co.nz Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Smartmedia card reader
In Re: [newbie] Smartmedia card reader, on Wed, 17 Apr 2002 05:25, Florian Struck wrote: > Hi sorry for late reply. Thanks for doing it - not late at all! > To add a module into a kernel either type "modprobe usb-storage" done now i have it show up with lsmod! -- Walter Logeman Psychotherapist http://www.psybernet.co.nz Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Smartmedia card reader
On Tuesday 16 April 2002 07:33, Walter wrote: > Make a directory under mount called smedia (or whatever you'd > like). Then with the smart media card in the reader, try typing > the following as root: > > mount -t vfat /dev/sda1 /mnt/smedia > > There is no /dev/sda1, there is nothing much like it there See what happens if you do modprobe usb-storage before trying to mount the card. *** Powered by SuSE Linux 7.3 Professional KDE 2.2.1 KMail 1.3.1 This is a Microsoft-free computer Bryan S. Tyson [EMAIL PROTECTED] *** Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Smartmedia card reader
On Tuesday 16 April 2002 15:01, Walter Logeman wrote: > In Re: [newbie] Smartmedia card reader, on Tue, 16 Apr 2002 > 02:53, > Florian wrote: > > Thanks for your reply Florian, > > > Hi i got a smartmedia reader and its emulated to be a scsi device > > (actually that is on a debian machine but the difference should > > not be too big) > > > > do an "lsmod" as root and check if you got "scsi-mod" and > > "usb-storage" loaded if not you gotta probably add it to your > > /etc/modules (i hope for you that thats enough) -snip- Hi sorry for late reply. To add a module into a kernel either type "modprobe usb-storage" Or just add the module to the file /etc/modules in a new line only the name of the module so it will be loaded at bootup here is my /etc/modules file it might look different than mandrakes but it should be ok to just add the correct line . -snip- # /etc/modules: kernel modules to load at boot time. # # This file should contain the names of kernel modules that are # to be loaded at boot time, one per line. Comments begin with # a #, and everything on the line after them are ignored. ne2k-pci bttv #NVdriver i2c-isa it87 es1371 apm power_off=1 i2c-viapro #lm78 #eeprom usb-storage Actually there seems to be difference inbetween debian and mandrake here cause for me the module loads automatically at bootup even without having it in /etc/modules. The device should be build afaik automatically if you load the module at bootup. Tell me if you have no luck so ill search the docs that i used to get it to work. On google you find every infos you need i just dont remember with what search pattern i looked for it. Cheers Florian Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Smartmedia card reader
In Re: [newbie] Smartmedia card reader, on Tue, 16 Apr 2002 02:53, Florian wrote: Thanks for your reply Florian, > Hi i got a smartmedia reader and its emulated to be a scsi device > (actually that is on a debian machine but the difference should > not be too big) > > do an "lsmod" as root and check if you got "scsi-mod" and > "usb-storage" loaded if not you gotta probably add it to your > /etc/modules (i hope for you that thats enough) I have scsi-mod but not usb-storage > if not you gotta probably add it to your > /etc/modules (i hope for you that thats enough) I don't know how to do that. I do have it there but not sure how to # locate usb-storage /lib/modules/2.4.8-26mdk/kernel/drivers/usb/storage/usb-storage.o.gz "add it to your /etc/modules" I will hive off and read books on it now :) but a tip here would be nice. ~ > After that you need to add a line to your etc fstab here a snip > of mine (your device might be a different number): > > /dev/sda1 /mnt/flash vfatdefaults,user,noauto > 0 0 In a previous post I mentioned that I have no /dev/sda1 or any /dev/sd* What does that mean in this context? ~ > This should all work if you have the hotplug stuff and the > usb-utils (or whatever they are called in mandrake) installed. I have hotplug files inc: /sbin/hotplug I have usbutils installed - rpm tells me it is but how can i be sure? locate > A good thing is to install the package "usbviev" so you can see > first if its recognized cause then it should be loaded too by > "hotplug" "usbviev" - I installed it and it shows my mouse and card reader beautifully! Thanks for all that. Walter -- Walter Logeman Psychotherapist http://www.psybernet.co.nz Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Smartmedia card reader
In Re: [newbie] Smartmedia card reader, on Tue, 16 Apr 2002 15:20, Joseph Braddock wrote: Thanks for your response Joseph. > Make a directory under mount called smedia (or whatever you'd > like). Then with the smart media card in the reader, try typing > the following as root: > > mount -t vfat /dev/sda1 /mnt/smedia There is no /dev/sda1, there is nothing much like it there: 1014 root@psybernet:/dev (11:31:45) # ls | grep sd ptysd@ ttysd That is about it. What does that mean for me now? Walter > If that works, add the following to your /etc/fstab: > > /dev/sda1 /mnt/smedia vfat noauto,user > > The noauto will keep you from getting an error when booting with > the card not in the reader (because the mount fails). The user > allows any user to mount it. > > At this point you should be able mount it in the same ways you > would a cdrom (i.e. mount command, click on it in Konqueror or > Nautilus, or add an icon to the desktop). > > Joe Braddock > > > > On Tue, 16 Apr 2002 01:21:00 +1200 > > Walter Logeman <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I have 2 usb ports. The Intelleye mouse is working off one > > port. i have just plugged in a Smartmedia card reader in the > > other port and rebooted. > > > > How do i activate the card reader? there is power going to the > > reader. Do i need to have it in my fstab and mount it? > > > > How would i do that? > > > > Some details below > > > > > > > > Walter > > > > ~~~ > > = My Machine = > > Dell i8100 laptop > > ATI Radeon 7500 Mobility > > Mandrake 8.1 > > Linux 2.4.9-13smp i686 [ELF] > > Upgraded to Xfree86 4.2.0 > > > > > > 1001 walter@psybernet:~ (01:07:33) > > $ dmesg | grep usb > > usb.c: registered new driver usbdevfs > > usb.c: registered new driver hub > > usb-uhci.c: $Revision: 1.259 $ time 17:30:17 Sep 23 2001 > > usb-uhci.c: High bandwidth mode enabled > > usb-uhci.c: USB UHCI at I/O 0xbce0, IRQ 10 > > usb-uhci.c: Detected 2 ports > > usb.c: new USB bus registered, assigned bus number 1 > > usb-uhci.c: v1.251:USB Universal Host Controller Interface > > driver usb.c: USB device 2 (vend/prod 0x874/0x1002) is not > > claimed by any active driver. > > usb.c: USB device 3 (vend/prod 0x45e/0x25) is not claimed by > > any active driver. > > usb.c: registered new driver usb_mouse > > usb-uhci.c: interrupt, status 3, frame# 1847 > > input0: Microsoft Microsoft IntelliMouse ® with IntelliEye on > > usb1:3.0 > > usbmouse.c: v1.6:USB HID Boot Protocol mouse driver > > usb.c: registered new driver hiddev > > usb.c: registered new driver hid > > 1002 walter@psybernet:~ (01:10:03) > > $ > > > > > > > > > > less fstab > > > > /dev/hda5 / ext3 noatime 1 1 > > none /dev/pts devpts mode=0620 0 0 > > none /dev/shm tmpfs defaults 0 0 > > /dev/hda7 /home ext3 noatime 1 2 > > /dev/scd0 /mnt/cdrom auto > > user,iocharset=iso8859-1,umask=0,exec,codepage=850,ro,noauto 0 > > 0 /dev/fd0 /mnt/floppy auto > > user,iocharset=iso8859-1,umask=0,sync,exec,codepage=850,noauto > > 0 0 /dev/hda2 /mnt/windows ntfs > > user,uid=501,gid=501,iocharset=iso8859-1 0 0 > > /dev/hdc /mnt/cdrom1 auto defaults,ro,user,noauto 0 0 > > none /proc proc defaults 0 0 > > /dev/hda6 swap swap defaults 0 0 > > fstab lines 1-11/11 (END) > > > > > > > > -- > > Walter Logeman > > Psychotherapist > > http://www.psybernet.co.nz -- Walter Logeman Psychotherapist http://www.psybernet.co.nz Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Smartmedia card reader
On Monday 15 April 2002 15:21, Walter Logeman wrote: > Hi, > > I have 2 usb ports. The Intelleye mouse is working off one port. > i have just plugged in a Smartmedia card reader in the other port > and rebooted. > > How do i activate the card reader? there is power going to the > reader. Do i need to have it in my fstab and mount it? > > How would i do that? > -snip- Hi i got a smartmedia reader and its emulated to be a scsi device (actually that is on a debian machine but the difference should not be too big) do an "lsmod" as root and check if you got "scsi-mod" and "usb-storage" loaded if not you gotta probably add it to your /etc/modules (i hope for you that thats enough) here is a snip of my "lsmod" command: Module Size Used byTainted: P NVdriver 944576 10 (autoclean) audio 38272 0 (unused) pwc39136 0 usb-storage20764 0 (unused) scsi_mod 80584 1 [usb-storage] nls_cp437 4384 2 (autoclean) vfat9500 2 (autoclean) fat29752 0 (autoclean) [vfat] i2c-viapro 3848 0 (unused) apm 9276 0 es1371 27008 1 ac97_codec 9696 0 [es1371] it877104 0 i2c-proc6368 0 [it87] i2c-isa 1220 0 (unused) tuner 8164 1 (autoclean) tvaudio 9856 0 (autoclean) (unused) bttv 60608 0 videodev4672 3 [pwc bttv] i2c-algo-bit7148 1 [bttv] i2c-core 12992 0 [i2c-viapro it87 i2c-proc i2c-isa tuner tvaudio bttv i2c-algo-bit] ne2k-pci5056 1 83906016 0 [ne2k-pci] (notice scsi-mod and usb-storage) After that you need to add a line to your etc fstab here a snip of mine (your device might be a different number): /dev/sda1 /mnt/flash vfatdefaults,user,noauto 0 0 This should all work if you have the hotplug stuff and the usb-utils (or whatever they are called in mandrake) installed. A good thing is to install the package "usbviev" so you can see first if its recognized cause then it should be loaded too by "hotplug" Note : You need a kernel with usb-storage enabled. As i sayd i didnt try this on my mandrake machine its the debian one so it might be a different procedure. Cheers Florian Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[newbie] Smartmedia card reader
Hi, I have 2 usb ports. The Intelleye mouse is working off one port. i have just plugged in a Smartmedia card reader in the other port and rebooted. How do i activate the card reader? there is power going to the reader. Do i need to have it in my fstab and mount it? How would i do that? Some details below Walter ~~~ = My Machine = Dell i8100 laptop ATI Radeon 7500 Mobility Mandrake 8.1 Linux 2.4.9-13smp i686 [ELF] Upgraded to Xfree86 4.2.0 1001 walter@psybernet:~ (01:07:33) $ dmesg | grep usb usb.c: registered new driver usbdevfs usb.c: registered new driver hub usb-uhci.c: $Revision: 1.259 $ time 17:30:17 Sep 23 2001 usb-uhci.c: High bandwidth mode enabled usb-uhci.c: USB UHCI at I/O 0xbce0, IRQ 10 usb-uhci.c: Detected 2 ports usb.c: new USB bus registered, assigned bus number 1 usb-uhci.c: v1.251:USB Universal Host Controller Interface driver usb.c: USB device 2 (vend/prod 0x874/0x1002) is not claimed by any active driver. usb.c: USB device 3 (vend/prod 0x45e/0x25) is not claimed by any active driver. usb.c: registered new driver usb_mouse usb-uhci.c: interrupt, status 3, frame# 1847 input0: Microsoft Microsoft IntelliMouse ® with IntelliEye on usb1:3.0 usbmouse.c: v1.6:USB HID Boot Protocol mouse driver usb.c: registered new driver hiddev usb.c: registered new driver hid 1002 walter@psybernet:~ (01:10:03) $ less fstab /dev/hda5 / ext3 noatime 1 1 none /dev/pts devpts mode=0620 0 0 none /dev/shm tmpfs defaults 0 0 /dev/hda7 /home ext3 noatime 1 2 /dev/scd0 /mnt/cdrom auto user,iocharset=iso8859-1,umask=0,exec,codepage=850,ro,noauto 0 0 /dev/fd0 /mnt/floppy auto user,iocharset=iso8859-1,umask=0,sync,exec,codepage=850,noauto 0 0 /dev/hda2 /mnt/windows ntfs user,uid=501,gid=501,iocharset=iso8859-1 0 0 /dev/hdc /mnt/cdrom1 auto defaults,ro,user,noauto 0 0 none /proc proc defaults 0 0 /dev/hda6 swap swap defaults 0 0 fstab lines 1-11/11 (END) -- Walter Logeman Psychotherapist http://www.psybernet.co.nz Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com