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 eveybody,
my problem is explain below here; I'm using ubuntu 6.06 lts
and when I insert my pen nothing happen; udev is installed; usbmount too; could anyone suggest me? thanks
Code:
sudo fdisk -l
Password:
Disk /dev/hda: 60.0 GB, 60011642880 bytes
255 heads, 63 sectors/track, 7296 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 2662 21382483+ 7 HPFS/NTFS
/dev/hda2 4317 7296 23936850 f W95 Ext'd (LBA)
/dev/hda3 2663 4316 13285755 83 Linux
/dev/hda5 4317 4383 538114+ 82 Linux swap / Solaris
/dev/hda6 4384 7296 23398641 7 HPFS/NTFS
Partition table entries are not in disk order
Disk /dev/sda: 1027 MB, 1027080192 bytes
253 heads, 32 sectors/track, 247 cylinders
Units = cylinders of 8096 * 512 = 4145152 bytes
This doesn't look like a partition table
Probably you selected the wrong device.
Device Boot Start End Blocks Id System
/dev/sda1 ? 1 248 1002992 b W95 FAT32
Partition 1 has different physical/logical endings:
phys=(249, 252, 32) logical=(247, 196, 32)
Code:
dmesg|tail -40
[17179604.692000] Bluetooth: L2CAP ver 2.8
[17179604.692000] Bluetooth: L2CAP socket layer initialized
[17179604.692000] Bluetooth: RFCOMM socket layer initialized
[17179604.692000] Bluetooth: RFCOMM TTY layer initialized
[17179604.692000] Bluetooth: RFCOMM ver 1.7
[17179606.832000] [drm] Initialized drm 1.0.1 20051102
[17179606.844000] ACPI: PCI Interrupt 0000:01:00.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
[17179606.848000] [drm] Initialized radeon 1.24.0 20060225 on minor 0
[17179607.560000] agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
[17179607.560000] agpgart: Putting AGP V2 device at 0000:00:00.0 into 1x mode
[17179607.560000] agpgart: Putting AGP V2 device at 0000:01:00.0 into 1x mode
[17179607.812000] [drm] Setting GART location based on new memory map
[17179607.812000] [drm] Loading R300 Microcode
[17179607.812000] [drm] writeback test succeeded in 2 usecs
[17179609.076000] NET: Registered protocol family 10
[17179609.076000] lo: Disabled Privacy Extensions
[17179609.076000] ADDRCONF(NETDEV_UP): eth1: link is not ready
[17179609.076000] IPv6 over IPv4 tunneling driver
[17179695.748000] usb 4-3: new high speed USB device using ehci_hcd and address 3
[17179696.004000] Initializing USB Mass Storage driver...
[17179696.004000] scsi0 : SCSI emulation for USB Mass Storage devices
[17179696.008000] usb-storage: device found at 3
[17179696.008000] usb-storage: waiting for device to settle before scanning
[17179696.008000] usbcore: registered new driver usb-storage
[17179696.008000] USB Mass Storage support registered.
[17179701.008000] Vendor: FLASH Model: DISK Rev: 1100
[17179701.008000] Type: Direct-Access ANSI SCSI revision: 00
[17179701.020000] usb-storage: device scan complete
[17179701.068000] Driver 'sd' needs updating - please use bus_type methods
[17179701.068000] SCSI device sda: 2006016 512-byte hdwr sectors (1027 MB)
[17179701.072000] sda: Write Protect is off
[17179701.072000] sda: Mode Sense: 43 00 00 00
[17179701.072000] sda: assuming drive cache: write through
[17179701.076000] SCSI device sda: 2006016 512-byte hdwr sectors (1027 MB)
[17179701.080000] sda: Write Protect is off
[17179701.080000] sda: Mode Sense: 43 00 00 00
[17179701.080000] sda: assuming drive cache: write through
[17179701.080000] sda: unknown partition table
[17179701.160000] sd 0:0:0:0: Attached scsi removable disk sda
[17179701.176000] sd 0:0:0:0: Attached scsi generic sg0 type 0
If I'm reading this correctly, when you say "nothing happens", that's because you're looking for your USB key to automatically mount when you insert it?
What happens when you manually mount it- are there any error messages?
Try this thread from the Ubuntu forums about using rox to automatically mount certain devices; it may be closer to what you're looking for.
What happens when you manually mount it- are there any error messages?
Code:
sudo mount -t vfat /dev/sda /media/usb0
mount: wrong fs type, bad option, bad superblock on /dev/sda,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
'sda' is only device in /dev with that suffix (there aren't any other sda* )
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.