LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 01-09-2005, 04:46 PM   #1
Kenji Miyamoto
Member
 
Registered: Dec 2004
Distribution: Mandrake 10.1; Fedora Core 3; FreeBSD 5.3; Slackware 10.1 (2.6.10);
Posts: 234

Rep: Reputation: 30
USB Card Reader / HDD / Hub Problem


I have this device that's all of the above in one, that supports4 different card types in two different slots. Whenever I plun one in and try #mount "/dev/sdb" -t "vfat" "/mnt/camera/", it either gives "mount: no medium found" or just hangs. Can someone help me figure this out?
 
Old 01-09-2005, 05:02 PM   #2
Brian1
Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 61
Need lots of info from you.

What is the output from ' fdisk -l ' when plugged in.?
Output from ' cat /proc/scsi/scsi '?
Output of ' lsmod '? Mostly anything related to USB
Output of ' lspci '?
Output of ' lsusb '?
Output of ' cat /proc/bus/usb/devices '?

Distro Version?
Kernel version?
Contents of /boot/config*******?

Brian1
" Google the Linux way @ http://www.google.com/linux "

Last edited by Brian1; 01-12-2005 at 05:26 PM.
 
Old 01-09-2005, 06:09 PM   #3
Kenji Miyamoto
Member
 
Registered: Dec 2004
Distribution: Mandrake 10.1; Fedora Core 3; FreeBSD 5.3; Slackware 10.1 (2.6.10);
Posts: 234

Original Poster
Rep: Reputation: 30
Code:
root@localhost ~]# fdisk -l

Disk /dev/hda: 60.0 GB, 60022480896 bytes
255 heads, 63 sectors/track, 7297 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1        7296    58605088+   7  HPFS/NTFS

Disk /dev/hdb: 30.0 GB, 30020272128 bytes
16 heads, 63 sectors/track, 58168 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hdb1   *           1         203      102280+  83  Linux
/dev/hdb2             204       10606     5243112    b  W95 FAT32
/dev/hdb3           10607       21009     5243112   83  Linux
/dev/hdb4           21010       58168    18728136    5  Extended
/dev/hdb5           21010       26210     2621272+  83  Linux
/dev/hdb6           26211       29331     1572952+  82  Linux swap
/dev/hdb7           29332       58168    14533816+  83  Linux

Disk /dev/sda: 200.0 GB, 200049648128 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1       24321   195358401    7  HPFS/NTFS
Code:
[root@localhost ~]# cat "/proc/scsi/scsi"
Attached devices:
Host: scsi2 Channel: 00 Id: 00 Lun: 00
  Vendor: ST320082 Model: 2A               Rev: 3.01
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi6 Channel: 00 Id: 00 Lun: 00
  Vendor: Generic  Model: 223 U HS-CF      Rev: 1.95
  Type:   Direct-Access                    ANSI SCSI revision: 02
Code:
root@localhost ~]# lsmod
Module                  Size  Used by
parport_pc             24705  1
lp                     11565  0
parport                41737  2 parport_pc,lp
autofs4                24005  0
i2c_dev                10433  0
i2c_core               22081  1 i2c_dev
sunrpc                160421  1
ipt_REJECT              6465  1
ipt_state               1857  4
ip_conntrack           40693  1 ipt_state
iptable_filter          2753  1
ip_tables              16193  3 ipt_REJECT,ipt_state,iptable_filter
md5                     4033  1
ipv6                  232577  10
sd_mod                 16961  0
vfat                   14785  1
fat                    45409  1 vfat
usb_storage            61321  0
scsi_mod              118417  2 sd_mod,usb_storage
dm_mod                 54741  0
tiglusb                10373  0
button                  6481  0
battery                 8517  0
ac                      4805  0
ohci1394               35033  0
ieee1394              302869  1 ohci1394
uhci_hcd               31449  0
ehci_hcd               31557  0
snd_emu10k1            93769  2
snd_rawmidi            26725  1 snd_emu10k1
snd_pcm_oss            47609  0
snd_mixer_oss          17217  1 snd_pcm_oss
snd_pcm                97993  3 snd_emu10k1,snd_pcm_oss
snd_timer              29765  1 snd_pcm
snd_seq_device          8137  2 snd_emu10k1,snd_rawmidi
snd_ac97_codec         64401  1 snd_emu10k1
snd_page_alloc          9673  2 snd_emu10k1,snd_pcm
snd_util_mem            4801  1 snd_emu10k1
snd_hwdep               9413  1 snd_emu10k1
snd                    54053  12 snd_emu10k1,snd_rawmidi,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_seq_device,snd_ac97_codec,snd_hwdep
soundcore               9889  1 snd
8139too                26305  0
mii                     4673  1 8139too
floppy                 58609  0
ext3                  116809  4
jbd                    74969  1 ext3
Code:
lspci
00:00.0 Host bridge: Intel Corp. 82845 845 (Brookdale) Chipset Host Bridge (rev04)
00:01.0 PCI bridge: Intel Corp. 82845 845 (Brookdale) Chipset AGP Bridge (rev 04)
00:1e.0 PCI bridge: Intel Corp. 82801 PCI Bridge (rev 05)
00:1f.0 ISA bridge: Intel Corp. 82801BA ISA Bridge (LPC) (rev 05)
00:1f.1 IDE interface: Intel Corp. 82801BA IDE U100 (rev 05)
00:1f.2 USB Controller: Intel Corp. 82801BA/BAM USB (Hub #1) (rev 05)
00:1f.3 SMBus: Intel Corp. 82801BA/BAM SMBus (rev 05)
00:1f.4 USB Controller: Intel Corp. 82801BA/BAM USB (Hub #2) (rev 05)
01:00.0 VGA compatible controller: nVidia Corporation NV34 [GeForce FX 5200] (rev a1)
02:01.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
02:02.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 08)
02:02.1 Input device controller: Creative Labs SB Live! MIDI/Game Port (rev 08)
02:03.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 61)
02:03.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 61)
02:03.2 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 63)
02:04.0 FireWire (IEEE 1394): Agere Systems (former Lucent Microelectronics) FW323 (rev 61)
02:05.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 02)
02:05.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 02)
Code:
[root@localhost ~]# lspci
00:00.0 Host bridge: Intel Corp. 82845 845 (Brookdale) Chipset Host Bridge (rev04)
00:01.0 PCI bridge: Intel Corp. 82845 845 (Brookdale) Chipset AGP Bridge (rev 04)
00:1e.0 PCI bridge: Intel Corp. 82801 PCI Bridge (rev 05)
00:1f.0 ISA bridge: Intel Corp. 82801BA ISA Bridge (LPC) (rev 05)
00:1f.1 IDE interface: Intel Corp. 82801BA IDE U100 (rev 05)
00:1f.2 USB Controller: Intel Corp. 82801BA/BAM USB (Hub #1) (rev 05)
00:1f.3 SMBus: Intel Corp. 82801BA/BAM SMBus (rev 05)
00:1f.4 USB Controller: Intel Corp. 82801BA/BAM USB (Hub #2) (rev 05)
01:00.0 VGA compatible controller: nVidia Corporation NV34 [GeForce FX 5200] (rev a1)
02:01.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
02:02.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 08)
02:02.1 Input device controller: Creative Labs SB Live! MIDI/Game Port (rev 08)
02:03.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 61)
02:03.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 61)
02:03.2 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 63)
02:04.0 FireWire (IEEE 1394): Agere Systems (former Lucent Microelectronics) FW323 (rev 61)
02:05.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 02)
02:05.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 02)
[root@localhost ~]# lsusb
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 013: ID 0840:008e Argosy Research, Inc.
Bus 001 Device 006: ID 0840:0085 Argosy Research, Inc.
Bus 001 Device 003: ID 0451:e001 Texas Instruments, Inc. GraphLink
Bus 001 Device 002: ID 0424:a700 Standard Microsystems Corp.
Bus 001 Device 001: ID 0000:0000
Code:
[root@localhost ~]# cat "/proc/bus/usb/devices"

T:  Bus=05 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.06
S:  Manufacturer=Linux 2.6.9-1.667 uhci_hcd
S:  Product=UHCI Host Controller
S:  SerialNumber=0000:02:03.1
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms

T:  Bus=04 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.06
S:  Manufacturer=Linux 2.6.9-1.667 uhci_hcd
S:  Product=UHCI Host Controller
S:  SerialNumber=0000:02:03.0
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms

T:  Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.06
S:  Manufacturer=Linux 2.6.9-1.667 uhci_hcd
S:  Product=UHCI Host Controller
S:  SerialNumber=0000:00:1f.4
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms

T:  Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.06
S:  Manufacturer=Linux 2.6.9-1.667 uhci_hcd
S:  Product=UHCI Host Controller
S:  SerialNumber=0000:00:1f.2
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480 MxCh= 4
B:  Alloc=  0/800 us ( 0%), #Int=  1, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.06
S:  Manufacturer=Linux 2.6.9-1.667 ehci_hcd
S:  Product=EHCI Host Controller
S:  SerialNumber=0000:02:03.2
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=256ms

T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=480 MxCh= 4
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=02 MxPS=64 #Cfgs=  1
P:  Vendor=0424 ProdID=a700 Rev= 0.00
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 98mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=01 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   1 Ivl=256ms
I:  If#= 0 Alt= 1 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=02 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   1 Ivl=256ms

T:  Bus=01 Lev=02 Prnt=02 Port=00 Cnt=01 Dev#= 13 Spd=480 MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=0840 ProdID=008e Rev= 1.95
S:  Manufacturer=Generic
S:  Product=223 USB 2.0 Card Reader
S:  SerialNumber=0000000064A0
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr= 96mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=125us
E:  Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms

T:  Bus=01 Lev=02 Prnt=02 Port=01 Cnt=02 Dev#=  3 Spd=12  MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0451 ProdID=e001 Rev= 1.03
S:  Manufacturer=Texas Instruments Incorporated
S:  Product=TI-GRAPH LINK USB
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=tiglusb
E:  Ad=81(I) Atr=02(Bulk) MxPS=  32 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS=  32 Ivl=0ms

T:  Bus=01 Lev=02 Prnt=02 Port=03 Cnt=03 Dev#=  6 Spd=480 MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=0840 ProdID=0085 Rev= 0.01
S:  Manufacturer=Generic
S:  Product=USB 2.0 Storage Device
S:  SerialNumber=850000000000622D
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=  2mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E:  Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
 
Old 01-10-2005, 08:01 PM   #4
Brian1
Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 61
Sorry for the late return, Looks like the harddrive is picked up. It sees the media reader.
Questions:
Was there a card in the media reader when the fdisk -l was ran?
If not put one in and run the command fdisk -l again.
Is this Fedora Core 3 Install?
Standard Fedora Core 3 kernel?
If it is a Fedore Core 3 kernel then then the kernel may need to be recompiled. Reason is that the media card reader being 2 slots may require multiLun Support on to view devices that way. Not all Card readers require that, but most I have seen do. If you have cards for both slots insert them and run the fdisk -l command. More than likely one will be seen with the default kernel . Recompile for FC3 is quite easy to do.

I will do a cut and paste of it here.
1. Download a new kernel from http://www.kernel.org ( I recommend using the latest stable kernel )
2. Extract the contents of the kernel in /usr/src
3. Copy the config****** file in /boot that matches current running kernel to /usr/src/linx*****.
4. In a terminal with root access, type ' make xconfig'
5. At the top hit File and select Load. Select the config***** file you copied in step 3
6. Goto Scsi device support. Select Probe all Luns and make it a check mark.
7. Hit File and Save. You can also do a save as and name a new config file. But you must also do the Save as well. It creates a file called .config.
8. Hit File and Exit
9. Back the terminal type ' make ' This will take a while. It builds the kernel and the modules.
10. When done type ' make modules_install '. This will copy the modules built for that kernel to /lib/modules/[kernel number]
11. When done type ' make install ' Creates initrd file, copies the new kernel to /boot, and adds it to the /boot/grub/grub.conf file
12. Reboot. On reboot it will load the old kernel so you will need to select the new one and hit enter.
13. If it does not show other kernels then edit /boot/grub/grub.conf and remove the line with hiddenmenu in it. I hate how FC3 does this. Reboot.
14. If the new kernel boots and seems fine then you can edit /boot/grub/grub.conf and change the number for which one it boots. I would not delete any options for old kernels for now until you are sure the new one is stable.
15. You can also create an RPM of the new kernel by typing ' make rpm ' in /usr/src/linux****** It will be created under the /usr/src/Fedora/rpms directory.

Now do the above test again with media cards inserted and see what ' fdisk -l ' says.

Can you mount the HardDrive? If not then you will need to get the ntfs support from here http://linux-ntfs.sourceforge.net/rpm/downloads.html. Or you can compile it in the new kernel.
WARNING Ntfs write is not perfect. I recommended the drive be in fat32 format instead of ntfs.

Hope this helps you out. Will check back later if more questions come up.
Brian1
" Google the Linux way @ http://www.google.com/linux "

Last edited by Brian1; 10-23-2005 at 12:36 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Card Reader problem DoddyUK Linux - Hardware 8 10-10-2010 07:05 PM
USB-hub via PCMCIA: which card? SuSE_Lamer Linux - Laptop and Netbook 4 05-12-2005 08:25 AM
USB card reader and memory stick PROBLEM Zhenya Suse/Novell 18 02-24-2005 09:19 PM
Problem in reading input from usb card reader jesslim Linux - Hardware 0 09-15-2004 01:22 AM
Interting Problem with USB card Reader acidraven Slackware 0 06-18-2004 04:53 PM


All times are GMT -5. The time now is 11:56 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration