LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   USB Chip reader used to work with 2.4.26 (https://www.linuxquestions.org/questions/linux-hardware-18/usb-chip-reader-used-to-work-with-2-4-26-a-371055/)

CPUFreak91 10-08-2005 06:12 PM

USB Chip reader used to work with 2.4.26
 
Hi,

Ever since I upgraded my kernel to 2.6.12 I can't read from my chip reader! I'm told that the 'special device sda1 doesn't exist' when it did "exist" on 2.4.26.

Could this be that I installed the wrong chip reader modules?

Half_Elf 10-08-2005 11:28 PM

What does you "dmesg" says? Is the chip reader assigned to "sda1"? Or is the driver find it? Guessing devices will get you nowhere, make sure "sda1" is the correct one before trying to mount.

CPUFreak91 10-09-2005 09:39 AM

dmesg will tell me that? Ok..... I naturaly assumed since sda1 wworked on 2.4 that ti would work on 2.6. Alright I'll check
thanks

CPUFreak91 10-09-2005 10:01 AM

Quote:

Originally posted by Half_Elf
What does you "dmesg" says? Is the chip reader assigned to "sda1"? Or is the driver find it? Guessing devices will get you nowhere, make sure "sda1" is the correct one before trying to mount.
Well here's the results:
dmesg has nothing related to my chip reader,
I don't know how to assign the chip reader to sda1 and I don't know if it is.
How will I know if the drver finds it?

Thanks again.

Half_Elf 10-09-2005 11:39 AM

You can't "assign" your chip reader to sda1 or to any device, it's the driver job to do so.
What are the last few lines of "dmesg" when you plug it? There should be lines saying something like "New usb device found at X" at the very least, otherwise there is something wrong about your kernel (no usb support?).
Here is a sample, from my system, this is what I get when I plug my flash drive :

Quote:

Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
scsi0 : SCSI emulation for USB Mass Storage devices
Vendor: Sony Model: Sony DSC Rev: 3.22
Type: Direct-Access ANSI SCSI revision: 02
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2
USB Mass Storage support registered.
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
SCSI device sda: 126848 512-byte hdwr sectors (65 MB)
sda: Write Protect is off
/dev/scsi/host0/bus0/target0/lun0: p1
If you see something like the following, then it is possible that the usb-storage driver is missing from your system or it is not activated yet :
Quote:

hub.c: USB new device connect on bus1/1, assigned device number 2
usb.c: USB device 2 is not claimed by any active driver. (The 0x54c/0x10 will be different for different vendors.)
In that case, try to "modprobe usb-storage" then see dmesg again.

Electro 10-09-2005 06:46 PM

You will also need to load sd_mod.

If you compiled 2.6.12 yourself, you probably picked USB Block Device or the ub module. The ub module is experimental and there is warnings that it will break usb storage. I enabled it as a I test and the warnining is correct that it breaks or it does not find all partitions on the USB disk. I suggest re-compiling the kernel, but with out this device.

CPUFreak91 10-10-2005 09:18 AM

Nope dmesg shows nothing.
modprobe modprobe usb-storage as root says FATAL: Module usb_storage not found.

Yes I thikn compiled USB Block Device into the kernel. Ok. I'll recompile the kernel without the device and tell you what happens.

Thanks a lot.

Half_Elf 10-10-2005 11:01 AM

If you see NOTHING about usb, then the USB support is most likely missing from your kernel... Take a look at your options and make sure you haven't forgot something.

CPUFreak91 10-12-2005 05:51 PM

Could you wait for a little bit? I'm having trouble recompiling my kernel...

budo-ka 10-12-2005 11:09 PM

If your chip reader is a multi slot type (sd card, memory stick,...) maybe that you should enable the CONFIG_SCSI_MULTI_LUN=y in the scsi options.

Hope this is helpful.

CPUFreak91 10-13-2005 09:04 AM

Yes I have a multi slot chip reader. I'll include the CONFIG_SCSI_MULTI_LUN=y.

CPUFreak91 10-17-2005 08:55 PM

Ok I recompiled my kernel without USB Block Device or the ub module.
I also included CONFIG_SCSI_MULTI_LUN=y but still nothing in the output from dmesg.

I rebooted into 2.4 and got output from dmesg.... arrgh!!!

CPUFreak91 10-20-2005 11:51 AM

Ok. I got it working but It gives me error messages: http://www.linuxquestions.org/questi...hreadid=375097


All times are GMT -5. The time now is 11:21 AM.