LinuxQuestions.org
Help answer threads with 0 replies.
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 04-27-2003, 03:18 PM   #1
KLuE
LQ Newbie
 
Registered: Nov 2002
Distribution: Slackware
Posts: 10

Rep: Reputation: 0
Soyo Bay One CF Reader


Hey Everyone,

Here's the deal, I've been fighting with this USB Flash Card reader for a while and It just may be I'm missing something simple.

First of all here's my configuration.

Linux 2.4.20

SCSI Emulation - Installed
SCSI Generic Support - Installed
SCSI CDROM Support - Installed ( For my Writer and CD ROM )
USB Mass Storage - Installed
Preliminary USB Devise File System - Installed
UHCI (Intel PIIX4, VIA, ...) support - Installed

Basically if I try to the mount the devices with the following command

mount -t usbdevfs usbdevfs /proc/bus/usb

I can see the devices file and the drivers file and there are 4 other files 001, 002, 003, and 004.

Also there is a directory usb_storage0 in /proc/scsi

When I run a sg_scan -i or just a cdrecord -scanbus, I don't see anything but my CD-Rom Drives. I checked dmesg and here's what the output was.

Manufacturer: SOYO Technologies Corp.
Product: SOYO USB Storage Device
SerialNumber: 0AEC501000001A002
scsi1 : SCSI emulation for USB Mass Storage devices
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2
usb.c: usb-storage driver claimed interface dfe12980
usb.c: kusbd: /sbin/hotplug add 2
usb.c: kusbd policy returned 0xfffffffe
hub.c: port 1, portstatus 100, change 2, 12 Mb/s
hub.c: port 1 enable change, status 100
hub.c: port 2, portstatus 103, change 0, 12 Mb/s

So it's finding it, it's just not registering as a SCSI device, when I try to mount /dev/sda1 to a mount point, it tells me:

"Not a valid block device"

Any suggestions on how to get this thing to register as a SCSI device?

Any help would be appreciated.

Thanks
-KLuE
 
Old 04-27-2003, 11:27 PM   #2
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
Have you checked your setup against the instructions?
Also, a search on the usb devices web site may add some clues.
 
Old 04-28-2003, 12:18 AM   #3
KLuE
LQ Newbie
 
Registered: Nov 2002
Distribution: Slackware
Posts: 10

Original Poster
Rep: Reputation: 0
Thanks for the Info.

It seems as if I've got everything setup correctly, when I cat /proc/scsi/usb-storage0/1 Here's what I get:
Host scsi1: usb-storage
Vendor: SOYO Technologies Corp.
Product: SOYO USB Storage Device
Serial Number: 0AEC501000001A002
Protocol: Transparent SCSI
Transport: Bulk
GUID: 0aec5010aec501000001a002
Attached: Yes

Thats great and wonderful and all but when I cat /proc/scsi/scsi it just lists my 2 cd-roms, as below:

Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: BCD Model: F520D CD-ROM Rev: 2.21
Type: CD-ROM ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 01 Lun: 00
Vendor: LITE-ON Model: LTR-52246S Rev: 6S0A
Type: CD-ROM ANSI SCSI revision: 02

I went ahead and recompiled the kernel but this time setting USB-STORAGE as a module. When I rebooted, I ran insmod on usb-storage. Here's what a tail -f message came back with:

Apr 27 22:08:18 anemia kernel: Initializing USB Mass Storage driver...
Apr 27 22:08:18 anemia kernel: usb.c: registered new driver usb-storage
Apr 27 22:08:18 anemia kernel: scsi1 : SCSI emulation for USB Mass Storage devices
Apr 27 22:08:18 anemia kernel: USB Mass Storage support registered.

Grrr.. I just can't figure out why the SCSI emulation is not working correctly.

I still get an invalid block device when trying to mount it.

root@anemia:/proc/scsi# mount -t vfat /dev/sda1 /mnt/flash
mount: /dev/sda1 is not a valid block device

Any help or suggestions would be appreciated!

Thank You

KLuE
 
Old 04-28-2003, 12:39 AM   #4
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
Check the permissions on /dev/sda, and try mounting /dev/sda2 etc..
 
Old 04-28-2003, 08:26 AM   #5
KLuE
LQ Newbie
 
Registered: Nov 2002
Distribution: Slackware
Posts: 10

Original Poster
Rep: Reputation: 0
Hey There,

Permissions are correct, I've even tried mounting as root, still nothing.

For some reason I just don't think the device is linking up on the SCSI layer.
I'm posting this from work so I can't list out my permissions on those devices, but I can assure you that the permissions are correct. At the same time I did try to mount sda1 - sda7 with no success.

Thanks

KLuE
 
Old 04-28-2003, 08:40 AM   #6
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
What version of slackware and what kernel are you running? an updated kernel module may help if it's available.
You may just have a device that just dosn't meet the specs, like some usb modems. This document may provide some hints about that, I like it's title,
Quote:
Observed USB Mass Storage Target Deviations from the Published Specification
 
Old 04-28-2003, 09:43 AM   #7
KLuE
LQ Newbie
 
Registered: Nov 2002
Distribution: Slackware
Posts: 10

Original Poster
Rep: Reputation: 0
Thanks for the link, I'll take a look at it.

I'm running 2.4.20 and Slack 8.1
I'm thinking about enabling DevFS, Not sure if that will do anything, but at this point it's worth a shot.

Thanks for the help, I'll hack at it some more when I get home tonight.

-KLuE
 
  


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
Hello from the Bay Area jfitzger68 LinuxQuestions.org Member Intro 3 07-15-2005 03:43 PM
Anyone in California, somewhere in the bay area? jimsproch Linux User Groups (LUG) 3 01-17-2005 03:55 PM
SOYO Bay-One CF/SM card drive. Crickit Linux - Hardware 17 04-21-2003 12:05 PM
E7205 (granite bay) and AGPGART 3.0 Barlad Linux - Hardware 0 03-18-2003 12:27 PM
Bay Networks Remote Access Concentrator mutantjazz Linux - Hardware 0 01-12-2003 03:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:00 AM.

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