LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-12-2006, 04:22 PM   #1
linuxhippy
Senior Member
 
Registered: Sep 2004
Location: Philadelphia, PA
Distribution: Xubuntu, Mythbuntu, Lubuntu, Picuntu, Mint 18.1, Debian Jessie
Posts: 1,207

Rep: Reputation: 47
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.
 
Old 01-13-2006, 04:13 PM   #2
kevmccor
Member
 
Registered: Aug 2004
Location: Texas
Distribution: slackware
Posts: 158

Rep: Reputation: 44
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.
 
Old 01-26-2006, 06:57 PM   #3
linuxhippy
Senior Member
 
Registered: Sep 2004
Location: Philadelphia, PA
Distribution: Xubuntu, Mythbuntu, Lubuntu, Picuntu, Mint 18.1, Debian Jessie
Posts: 1,207

Original Poster
Rep: Reputation: 47
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.
 
Old 01-26-2006, 09:04 PM   #4
shepper
Member
 
Registered: Mar 2003
Location: Dry, Dusty and Conservative
Distribution: OpenBSD, Debian Wheezy/Jessie
Posts: 449

Rep: Reputation: 33
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.
 
Old 01-26-2006, 09:09 PM   #5
linuxhippy
Senior Member
 
Registered: Sep 2004
Location: Philadelphia, PA
Distribution: Xubuntu, Mythbuntu, Lubuntu, Picuntu, Mint 18.1, Debian Jessie
Posts: 1,207

Original Poster
Rep: Reputation: 47
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?
 
Old 01-26-2006, 09:19 PM   #6
shepper
Member
 
Registered: Mar 2003
Location: Dry, Dusty and Conservative
Distribution: OpenBSD, Debian Wheezy/Jessie
Posts: 449

Rep: Reputation: 33
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.
 
Old 07-25-2006, 08:45 AM   #7
linuxhippy
Senior Member
 
Registered: Sep 2004
Location: Philadelphia, PA
Distribution: Xubuntu, Mythbuntu, Lubuntu, Picuntu, Mint 18.1, Debian Jessie
Posts: 1,207

Original Poster
Rep: Reputation: 47
wouldn't the device show up with fdisk -l if it was recognized?
 
Old 07-25-2006, 03:01 PM   #8
shepper
Member
 
Registered: Mar 2003
Location: Dry, Dusty and Conservative
Distribution: OpenBSD, Debian Wheezy/Jessie
Posts: 449

Rep: Reputation: 33
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
USB jumpdrive/ USB hud-card reader issues o0gnubee0o Linux - Hardware 4 07-03-2005 06:12 PM
USB multi-card reader; only one card can be mounted in Slack 10. KidsWriter71 Linux - Hardware 6 09-11-2004 07:24 PM
Recognizing USB card reader when card is inserted hqo201 Fedora 0 08-02-2004 05:08 PM
PNY CompactFlash Card Reader - 2.6.4rc2 matthurne Linux - Hardware 1 03-07-2004 09:42 PM
PNY USB Card Reader Muddy Linux - Hardware 3 12-28-2003 06:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration