Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-12-2006, 04:22 PM
|
#1
|
Senior Member
Registered: Sep 2004
Location: Philadelphia, PA
Distribution: Xubuntu, Mythbuntu, Lubuntu, Picuntu, Mint 18.1, Debian Jessie
Posts: 1,207
Rep:
|
PNY USB Card Reader
I just bought a PNY USB Card Reader for my laptop that is pre-flash card. I don't have any media cards yet, but am going to buy a digital camera and SD card along with a used Zaurus SL-5500 and CF card in a couple days. I am running Slack 10.2 with kernel 2.4.31. I now have a new kernel module loading (USB-storage). Does this mean that the card reader has been recognized? Is there any way to test this reader without media cards?
Last edited by linuxhippy; 01-12-2006 at 04:23 PM.
|
|
|
01-13-2006, 04:13 PM
|
#2
|
Member
Registered: Aug 2004
Location: Texas
Distribution: slackware
Posts: 163
Rep:
|
I have a card reader in a desktop machine running slackware 10.1. It is probably necessary to modify your /etc/udev.d/rules.d/udev.rules file. Your card should have some info output under /sys/bus/usb. I don't think I have it right with mine, but you could look at the Flash Memory HOWTO. There is also a "usbinfo" type program floating around. Post your results, since I'm sure others are interested.
|
|
|
01-26-2006, 06:57 PM
|
#3
|
Senior Member
Registered: Sep 2004
Location: Philadelphia, PA
Distribution: Xubuntu, Mythbuntu, Lubuntu, Picuntu, Mint 18.1, Debian Jessie
Posts: 1,207
Original Poster
Rep:
|
ok, I now have a CF card that WinXP picks up on this reader (though the card has to be plugged into the USB reader during boot). This card also works on my built in card reader on my AMD Athlon 64 Tower with Fedora Core 4 Linux. I am running Slack 10.2 with the ide kernel for 2.4.31. fdisk -l in Slack shows only hda. Could I do a modprobe to get this card reader recognized? Also, I'm able to mount my USB flash drives.
|
|
|
01-26-2006, 09:04 PM
|
#4
|
Member
Registered: Mar 2003
Location: Dry, Dusty and Conservative
Distribution: OpenBSD, Debian Wheezy/Jessie
Posts: 449
Rep:
|
Quote:
It is probably necessary to modify your /etc/udev.d/rules.d/udev.rules file.
|
Udev is not used by the 2.4.31 kernel.
These devices mount as scsi drives (sda) and are usually formated
with the vfat (Windows 32 bit) file system. You will need to make a mount point in the /mnt directory and have permissions to access the content of the drive (rwx=Read, Write, eXecute).
Quick n' dirty directions:
As su or root
"mkdir /mnt/flash" (you can call it whatever you want)
"mount -t vfat /dev/sda1 /mnt/flash"
"cd /mnt/flash"
"ls" to see the content of the flash drive.
When done cd out of the drive so you can unmount with
"umount /mnt/flash"
To learn more
"man mount"
Google about how to change fstab so you do not have to type out the whole command every time you mount a drive and how to assign permissions in the fstab.
|
|
|
01-26-2006, 09:09 PM
|
#5
|
Senior Member
Registered: Sep 2004
Location: Philadelphia, PA
Distribution: Xubuntu, Mythbuntu, Lubuntu, Picuntu, Mint 18.1, Debian Jessie
Posts: 1,207
Original Poster
Rep:
|
Tried mounting sda1, sdb1, sdc1..../dev isn't found for the block device. It is vfat (that's how I mount it in Fedora Core under sdb1). Maybe it needs a modprobe to make that block device in the filesystem?
|
|
|
01-26-2006, 09:19 PM
|
#6
|
Member
Registered: Mar 2003
Location: Dry, Dusty and Conservative
Distribution: OpenBSD, Debian Wheezy/Jessie
Posts: 449
Rep:
|
Try to see if the device is recognized. Remove the device and plug it back in and then run "dmesg | less" as root. As you page through the output you should see at the end of the output that the device is recognized. If it is post the output if you cannot determine the device.
If it is not recognized then you are likely missing a needed kernel module. The stock bare.i and acpibare.i kernel are configured for the necessary modules to mount flash drives.
|
|
|
07-25-2006, 08:45 AM
|
#7
|
Senior Member
Registered: Sep 2004
Location: Philadelphia, PA
Distribution: Xubuntu, Mythbuntu, Lubuntu, Picuntu, Mint 18.1, Debian Jessie
Posts: 1,207
Original Poster
Rep:
|
wouldn't the device show up with fdisk -l if it was recognized?
|
|
|
07-25-2006, 03:01 PM
|
#8
|
Member
Registered: Mar 2003
Location: Dry, Dusty and Conservative
Distribution: OpenBSD, Debian Wheezy/Jessie
Posts: 449
Rep:
|
I think that the device has to be mounted in order to use fdisk as I have a usbdrive that I mount easily. I plugged it in without mounting and ran fdisk sda (and sda1) and got the message "unable to open device sda" From "man fdisk"
Quote:
-l List the partition tables for the specified devices and then exit. If no devices are given, those mentioned in /proc/partitions (if that exists) are used.
|
The output of my dmesg after plugging in the device:
Quote:
SCSI device sda: 253952 512-byte hdwr sectors (130 MB)
sda: Write Protect is off
sda: sda1
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2
USB Mass Storage support registered.
|
I added the blue color high light but this is what my system
assigns to the usb drive when I plug it in. My device works fine when I mount it as described in the previous post.
|
|
|
All times are GMT -5. The time now is 08:48 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|