Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with 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.
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.
Hello all,
An ABSOLUTE beginner here, wondering how to get my computer to recognise USB devices.
I'm using Redhat 8.0, with kernel 2.4.18-14.
I'm trying to use my Archos Jukebox Studio 10 (which I use as a general storage drive).
I'm told that Redhat 8.0 should automagically recognise this, which it doesn't. I'm also told that my Jukebox is among the devices which should be supported by this, as a mass storage device thingy.
I've searched a bit on this, with no success. I've tried adding a line to the fstab file, but no luck (I just get 'X is not a valid block device' when I try to mount).
Please tell me I don't need to mess with the kernel!
Any assistance gratefully accepted. I'm really stupid, too, when it comes to this stuff (like, I'm really proud of myself if I manage to find, download, and unpackage an RPM) so baby talk is encouraged.
(For example: some solutions I've seen mention using 'modprobe' or 'lsusb' to help diagnose the problem - I just get 'command not found' - am I doing something horribly stupid?)
- log as normal user
- create mountpoint "archos" (for instance) under /mnt
basic example --->> "cd /" "cd mnt" "mkdir archos"
- issue the command "su" (without quotes obviously) in a console
- fill in the root password
- try to mount manually still as root "mount -t vfat /dev/sda1 /mnt/archos"
- then via a file browser, try to read the folder (which is actually a mountpoint) /mnt/archos
... I'm not much of a specialist but this woul dbe my first try if I were in your situation.
(sda0 gives me 'mount: special device /dev/sda0 does not exist'.)
I think it's /dev/sda, but when I try "mount -t vfat /dev/sda /mnt/archos" , it tells me
"mount: wrong fs type, bad option, bad superblock on /dev/sda,
or too many mounted file systems"
filesystem type 'auto' doesn't work either...
dmesg output (below) suggests that my device and driver are fine.
>hub.c: USB new device connect on bus1/1, assigned device number 2
>usb.c: unable to get device descriptor (error=-110)
>hub.c: USB new device connect on bus1/1, assigned device number 3
>usb.c: USB device 3 (vend/prod 0x5ab/0x31) is not claimed by any >active driver.
>SCSI subsystem driver Revision: 1.00
>Initializing USB Mass Storage driver...
>usb.c: registered new driver usb-storage
>scsi0 : SCSI emulation for USB Mass Storage devices
> Vendor: FUJITSU Model: MHN2100AT Rev: 7255
> Type: Direct-Access ANSI SCSI revision: 02
>WARNING: USB Mass Storage data integrity not assured
>USB Mass Storage device found at 3
>USB Mass Storage support registered.
I've got the same problem. how do I mount the specific usb device (my digital camera ist a konica KD-400Z?
here's some of my dmesg (in red my digital cam):
PCI: 00:10.3 PCI cache line size corrected to 64.
ehci-hcd 00:10.3: USB 2.0 enabled, EHCI 1.00, driver 2003-Jan-22
hub.c: USB hub found
hub.c: 6 ports detected
usb-uhci.c: $Revision: 1.275 $ time 15:16:26 Jul 15 2003
usb-uhci.c: High bandwidth mode enabled
PCI: Found IRQ 3 for device 00:10.0
IRQ routing conflict for 00:10.0, have irq 7, want irq 3
IRQ routing conflict for 00:10.1, have irq 7, want irq 3
IRQ routing conflict for 00:10.2, have irq 7, want irq 3
IRQ routing conflict for 00:10.3, have irq 7, want irq 3
usb-uhci.c: USB UHCI at I/O 0xa800, IRQ 7
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Found IRQ 3 for device 00:10.1
IRQ routing conflict for 00:10.0, have irq 7, want irq 3
IRQ routing conflict for 00:10.1, have irq 7, want irq 3
IRQ routing conflict for 00:10.2, have irq 7, want irq 3
IRQ routing conflict for 00:10.3, have irq 7, want irq 3
usb-uhci.c: USB UHCI at I/O 0xa400, IRQ 7
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 3
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Found IRQ 3 for device 00:10.2
IRQ routing conflict for 00:10.0, have irq 7, want irq 3
IRQ routing conflict for 00:10.1, have irq 7, want irq 3
IRQ routing conflict for 00:10.2, have irq 7, want irq 3
IRQ routing conflict for 00:10.3, have irq 7, want irq 3
usb-uhci.c: USB UHCI at I/O 0xa000, IRQ 7
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 4
hub.c: USB hub found
hub.c: 2 ports detected
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
usb.c: registered new driver hiddev
usb.c: registered new driver hid
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech@suse.cz>
hid-core.c: USB HID support drivers
mice: PS/2 mouse device common for all mice
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide1(22,5), internal journal
Adding Swap: 1044184k swap-space (priority -1)
hub.c: new USB device 00:10.1-1, assigned address 2
input0: USB HID v1.10 Mouse [Logitech USB Receiver] on usb3:2.0
hub.c: new USB device 00:10.1-2, assigned address 3
usb.c: USB device 3 (vend/prod 0x4e6/0x6) is not claimed by any active driver.
hub.c: new USB device 00:10.0-1, assigned address 2
usb.c: USB device 2 (vend/prod 0x4c8/0x726) is not claimed by any active driver.
hub.c: new USB device 00:10.0-2, assigned address 3
input1: USB HID v1.10 Keyboard [Logitech Logitech USB Keyboard] on usb2:3.0
input2: USB HID v1.10 Pointer [Logitech Logitech USB Keyboard] on usb2:3.1
kjournald starting. Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide1(22,3), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
SCSI subsystem driver Revision: 1.00
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
scsi0 : SCSI emulation for USB Mass Storage devices
usb-uhci.c: interrupt, status 3, frame# 156
Vendor: Model: Rev:
Type: Direct-Access ANSI SCSI revision: 02
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 3
scsi1 : SCSI emulation for USB Mass Storage devices
Vendor: Konica Model: KD-400Z Rev: 1.00
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.
ohci1394: $Rev: 693 $ Ben Collins <bcollins@debian.org>
PCI: Found IRQ 10 for device 00:07.0
PCI: Sharing IRQ 10 with 00:08.0
ohci1394_0: OHCI-1394 1.0 (PCI): IRQ=[10] MMIO=[ed800000-ed8007ff] Max Packet=[2048]
ieee1394: SelfID completion called outside of bus reset!
PCI: Found IRQ 3 for device 00:0f.2
ohci1394_1: OHCI-1394 1.1 (PCI): IRQ=[3] MMIO=[eb800000-eb8007ff] Max Packet=[2048]
ieee1394: SelfID completion called outside of bus reset!
ieee1394: Host added: Node[00:1023] GUID[00e0180000098892] [Linux OHCI-1394]
usb-uhci.c: ENXIO 84000380, flags 0, urb df38c5c0, burb df38c6c0
usbdevfs: USBDEVFS_CONTROL failed dev 3 rqt 128 rq 6 len 9 ret -6
usb-uhci.c: ENXIO 84000380, flags 0, urb df38c5c0, burb df38c6c0
usbdevfs: USBDEVFS_CONTROL failed dev 3 rqt 128 rq 6 len 18 ret -6
usb-uhci.c: ENXIO 84000380, flags 0, urb df38c6c0, burb df38c5c0
usbdevfs: USBDEVFS_CONTROL failed dev 3 rqt 128 rq 6 len 9 ret -6
usb-uhci.c: ENXIO 84000380, flags 0, urb df38c6c0, burb df38c5c0
usbdevfs: USBDEVFS_CONTROL failed dev 3 rqt 128 rq 6 len 18 ret -6
usb-uhci.c: ENXIO 84000380, flags 0, urb df38c6c0, burb df38c5c0
usbdevfs: USBDEVFS_CONTROL failed dev 3 rqt 128 rq 6 len 18 ret -6a
anyone here who has a clou? would appreciate it, thanks.
yeah, I solved the problem - both in redhat 8 and 9. have a look at this - it worked well for me: http://leo.physics.usyd.edu.au/~andrewn/camera.html
or/and read the following:
the particular line of my '/etc/fstab' is:
/dev/sda1 /mnt/camera_kd400z vfat noauto,user,rw 0 0
hint: log in as root and make a directory in /mnt/ , i.e. /mnt/usbdevice, then try to mount it with 'mount /dev/sda1 /mnt/usbdevice' - if that works add the line above to the /etc/fstab (you'll have read/write access as a user) - if it doesn't work try out 'mount /dev/sda2 /mnt/usbdevice' , 'mount /dev/sda3 /mnt/usbdevice' or 'mount /dev/sdb1 /mnt/usbdevice', 'mount /dev/sdb2/mnt/usbdevice' ...
one should work.
Thanks very much.
but I can't mount /dev/sda? or /dev/sdb?,sdc? anyway, where ? is
1,2,3,4,5,6.. It told me that it is not a valid block device
sda0 is not a exist.
well, I looked for the first time into my /var/log/messages - and I don't have any messages about an illegal request of a scsi device -> could be the problem.
I'll just mail you my /var/log/messages and my dmesg - maybe you can get some information you need. I'm sorry not helping you further...
Okay now, it works well now.
I did it as the following, wish it is a little useful.
# change the kernal file. (x.x.xx.is the kernal version)
There is such sentence in /usr/src/linux-x.x.xx/drivers/usb/storage/unusual_devs.h:
UNUSUAL_DEV( 0x05e3,0x0702,0x0000,0x0001,
"EagleTec",
"External Hard Disk",
US_SC_SCSI,US_PR_BULK,NULL,
US_FL_FIX_INQUIRY),
change it to:
UNUSUAL_DEV( 0x05e3, 0x0702, 0x0000, 0x9999,
"Genesys",
"USB DISK",
US_SC_SCSI,US_PR_BULK,NULL,
US_FL_FIX_INQUIRY | |US_FL_MODE_XLATEUS_FL_START_STOP),
#then rebuild the kernal
cp /boot/config-x.xx.x /usr/src/linux-x.xx/.config
make oldconfig
make dep
make modules
# copy the object file to the right directory
cp /usr/src/linux-2.4/drivers/usb/storage/usb-storage.o /lib/modules/2.4.18-14/kernel/drivers/usb/storage/usb-storage.o
#find the partition of the USB
/sbin/modprobe -r usb-storage
/sbin/modprobe usb-storage
/sbin/fdisk -l
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.