I updated hardware and am trying a move from Gentoo to openSUSE 11.1. Looks good except for USB which runs fine on a notebook with a 32 bit install. Here’s what I get. On boot I see messages on screen and my USB printer is detected. I see it with lsusb and it works. However when I plug in a USB device it’s not detected. In fact lsusb doesn’t see it. My blackberry doesn’t charge and my Archos doesn’t even ask if I would like to go into USB mode. It’s like USB is totally dead. I can put a DVD in the drive and HAL sees it. I reinstalled all HAL, USB and policykit packages on the advice of a friend.
Is it possible a bios setting could affect this or is there any advice on where to start? Next I need to install VirtualBox and test USB but it’s giving me an error it can’t find kernel headers even when I point it to /usr/include/linux.
I’ve had USB problems on x86_64 with openSuSE after 10.2, but only on my HP laptop.
As far as the kernel headers - did you check YaST to see if it thinks they’re installed?
I’m actually a programmer so I hope to check the obvious, but I may miss it. You’ll find my name on Quanta and Kommander, which I need to work on. I can’t imagine USB not working on 64 bit systems. It worked on my Gentoo build. As for the kernel headers Yast says they are are installed but maybe the app is looking for kernel sources because it refuses to see the headers even when using the indicated syntax to put them in the environment. Any help?
kittyhooch wrote:
> I’m actually a programmer so I hope to check the obvious, but I may miss
> it. You’ll find my name on Quanta and Kommander, which I need to work
> on. I can’t imagine USB not working on 64 bit systems. It worked on my
> Gentoo build. As for the kernel headers Yast says they are are installed
> but maybe the app is looking for kernel sources because it refuses to
> see the headers even when using the indicated syntax to put them in the
> environment. Any help?
The USB system works on my 64-bit system on an HP laptop. What does
/etc/fstab have to say about the usbfs? Mine has the line
none /proc/bus/usb usbfs
auto,busgid=109,busmode=0775,devgid=109,devmode=0664 0 0
Larry
This just gets stranger. My printer is an all in one and has lots of USB devices in /dev. turning it off makes it go away in lsusb and lowers my file count from 239 to 227 in /dev. Turning it back on brings everything back. All my other USB plugs show in the /dev/usb directory. So it looks like USB devices work fine if established at boot, but I have no clue why. How is USB configured in opensuse?
Well, my USB works fine, it just doesn’t recognize drives or “sticks” automatically when I plug them in (like it does when I insert a CD). (This is all on my laptop, by the way - every tower I have the USB works fine.) Back in 10.1 the usb worked OK on my laptop.
But like you said, the device is actually there in the *nix file system, and I can mount it manually with something like mount /dev/rd0 /somedir. So I guess I’m having the same problem, in principle, that you are - the “bones” system recognizes these things but they somehow get lost en route to triggering something higher-level in KDE/Gnome/XFS…?
Back when I was querying this behavior on laptops in the forums in 10.3, somebody in the thread mentioned “policykit” - but I couldn’t get very far googling that… Now that I think about, in 10.3 I used to use the SD/MMC port on the side of my laptop and suse recognized that and popped open a window, but not usb thumb drives.
Patti
Does your /etc/fstab have the line I mentioned a couple of postings
earlier? Without it, you won’t get any automatic USB file system mounts.
Larry
does /var/log/messages report anything when you plugin a usb device?
to me it looks like somehow your system misses hotplugging. check whether during bootup hotplugging is loaded.
if it is loaded, but still not working, try to update it to the most recent version - if you already have the most recent version, try to downgrade it (sounds dull but makes sure that hotplug module is installed correctly)
I’m running 11.1 64 bit on an HP Laptop as well. When I hotplug a USB device, i.e. a 2GB storage stick, it is found and shown under the recently connected devices (the icon that looks like a computerscreen and keyboard).
Larry wrote
The USB system works on my 64-bit system on an HP laptop. What does
/etc/fstab have to say about the usbfs? Mine has the line
none /proc/bus/usb usbfs
auto,busgid=109,busmode=0775,devgid=109,devmode=06 64 0 0
so I checked /etc/fstab for the usbfs entry on my system and found
usbfs /proc/bus/usb usbfs noauto 0 0
can you paste the outpout of /var/log/messages when plugging in a USB device?
*simonfromtheblock wrote:
can you paste the outpout of /var/log/messages when plugging in a USB device? *
I hotplugged a usb memory stick, and then a usb hard drive. Here is the /var/log/message section for them.
Jan 2 16:25:11 linux-8olr kernel: usb 1-3: new high speed USB device using ehci_hcd and address 8
Jan 2 16:25:11 linux-8olr kernel: usb 1-3: configuration #1 chosen from 1 choice
Jan 2 16:25:11 linux-8olr kernel: scsi10 : SCSI emulation for USB Mass Storage devices
Jan 2 16:25:11 linux-8olr kernel: usb-storage: device found at 8
Jan 2 16:25:11 linux-8olr kernel: usb-storage: waiting for device to settle before scanning
Jan 2 16:25:11 linux-8olr kernel: usb 1-3: New USB device found, idVendor=090c, idProduct=1000
Jan 2 16:25:11 linux-8olr kernel: usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jan 2 16:25:11 linux-8olr kernel: usb 1-3: Product: USB DISK
Jan 2 16:25:11 linux-8olr kernel: usb 1-3: Manufacturer: SMI Corporation
Jan 2 16:25:11 linux-8olr kernel: usb 1-3: SerialNumber: AA04012700007579
Jan 2 16:25:12 linux-8olr kernel: scsi 10:0:0:0: Direct-Access takeMS MEM-Drive 1100 PQ: 0 ANSI: 0 CCS
Jan 2 16:25:12 linux-8olr kernel: sd 10:0:0:0: [sdb] 953344 512-byte hardware sectors: (488MB/465MiB)
Jan 2 16:25:12 linux-8olr kernel: sd 10:0:0:0: [sdb] Write Protect is off
Jan 2 16:25:12 linux-8olr kernel: sd 10:0:0:0: [sdb] Mode Sense: 43 00 00 00
Jan 2 16:25:12 linux-8olr kernel: sd 10:0:0:0: [sdb] Assuming drive cache: write through
Jan 2 16:25:12 linux-8olr kernel: sd 10:0:0:0: [sdb] 953344 512-byte hardware sectors: (488MB/465MiB)
Jan 2 16:25:12 linux-8olr kernel: sd 10:0:0:0: [sdb] Write Protect is off
Jan 2 16:25:12 linux-8olr kernel: sd 10:0:0:0: [sdb] Mode Sense: 43 00 00 00
Jan 2 16:25:12 linux-8olr kernel: sd 10:0:0:0: [sdb] Assuming drive cache: write through
Jan 2 16:25:12 linux-8olr kernel: sdb: sdb1
Jan 2 16:25:12 linux-8olr kernel: sd 10:0:0:0: [sdb] Attached SCSI removable disk
Jan 2 16:25:12 linux-8olr kernel: sd 10:0:0:0: Attached scsi generic sg2 type 0
Jan 2 16:25:12 linux-8olr kernel: usb-storage: device scan complete
Jan 2 16:25:14 linux-8olr hald: mounted /dev/sdb1 on behalf of uid 0
Jan 2 16:25:14 linux-8olr gnome-keyring-daemon[3533]: adding removable location: volume_uuid_C2F8_E4F2 at /media/disk
Jan 2 16:25:17 linux-8olr kernel: usb 1-1: new high speed USB device using ehci_hcd and address 9
Jan 2 16:25:17 linux-8olr kernel: usb 1-1: configuration #1 chosen from 1 choice
Jan 2 16:25:17 linux-8olr kernel: scsi11 : SCSI emulation for USB Mass Storage devices
Jan 2 16:25:17 linux-8olr kernel: usb 1-1: New USB device found, idVendor=05e3, idProduct=0702
Jan 2 16:25:17 linux-8olr kernel: usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
Jan 2 16:25:17 linux-8olr kernel: usb 1-1: Product: USB TO IDE
Jan 2 16:25:17 linux-8olr kernel: usb-storage: device found at 9
Jan 2 16:25:17 linux-8olr kernel: usb-storage: waiting for device to settle before scanning
Jan 2 16:25:18 linux-8olr kernel: scsi 11:0:0:0: Direct-Access IC25N040 ATMR04-0 0811 PQ: 0 ANSI: 0
Jan 2 16:25:18 linux-8olr kernel: sd 11:0:0:0: [sdc] 78140160 512-byte hardware sectors: (40.0GB/37.2GiB)
Jan 2 16:25:18 linux-8olr kernel: sd 11:0:0:0: [sdc] Test WP failed, assume Write Enabled
Jan 2 16:25:18 linux-8olr kernel: sd 11:0:0:0: [sdc] Assuming drive cache: write through
Jan 2 16:25:18 linux-8olr kernel: sd 11:0:0:0: [sdc] 78140160 512-byte hardware sectors: (40.0GB/37.2GiB)
Jan 2 16:25:18 linux-8olr kernel: sd 11:0:0:0: [sdc] Test WP failed, assume Write Enabled
Jan 2 16:25:18 linux-8olr kernel: sd 11:0:0:0: [sdc] Assuming drive cache: write through
Jan 2 16:25:19 linux-8olr kernel: sdc: sdc1 sdc2
Jan 2 16:25:19 linux-8olr kernel: sd 11:0:0:0: [sdc] Attached SCSI disk
Jan 2 16:25:19 linux-8olr kernel: sd 11:0:0:0: Attached scsi generic sg3 type 0
Jan 2 16:25:19 linux-8olr kernel: usb-storage: device scan complete
Jan 2 16:25:21 linux-8olr kernel: kjournald starting. Commit interval 5 seconds
Jan 2 16:25:21 linux-8olr kernel: EXT3 FS on sdc2, internal journal
Jan 2 16:25:21 linux-8olr kernel: EXT3-fs: recovery complete.
Jan 2 16:25:21 linux-8olr kernel: EXT3-fs: mounted filesystem with ordered data mode.
Jan 2 16:25:21 linux-8olr hald: mounted /dev/sdc2 on behalf of uid 0
Jan 2 16:25:21 linux-8olr kernel: kjournald starting. Commit interval 5 seconds
Jan 2 16:25:21 linux-8olr kernel: EXT3 FS on sdc1, internal journal
Jan 2 16:25:21 linux-8olr kernel: EXT3-fs: recovery complete.
Jan 2 16:25:21 linux-8olr kernel: EXT3-fs: mounted filesystem with ordered data mode.
Jan 2 16:25:21 linux-8olr hald: mounted /dev/sdc1 on behalf of uid 0
Hope it helps. If you need any other outputs or info just ask.