Bug 133834
Summary: | Hal thinks my camera is two floppy disks | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Kyrre Ness Sjøbæk <kyrsjo> | ||||||||||
Component: | hal | Assignee: | David Zeuthen <davidz> | ||||||||||
Status: | CLOSED RAWHIDE | QA Contact: | |||||||||||
Severity: | medium | Docs Contact: | |||||||||||
Priority: | medium | ||||||||||||
Version: | 3 | CC: | mclasen | ||||||||||
Target Milestone: | --- | ||||||||||||
Target Release: | --- | ||||||||||||
Hardware: | All | ||||||||||||
OS: | Linux | ||||||||||||
Whiteboard: | |||||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||||
Doc Text: | Story Points: | --- | |||||||||||
Clone Of: | Environment: | ||||||||||||
Last Closed: | 2004-10-03 11:41:39 UTC | Type: | --- | ||||||||||
Regression: | --- | Mount Type: | --- | ||||||||||
Documentation: | --- | CRM: | |||||||||||
Verified Versions: | Category: | --- | |||||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||||
Embargoed: | |||||||||||||
Attachments: |
|
Description
Kyrre Ness Sjøbæk
2004-09-27 20:01:48 UTC
Ok, I need the following 1. the output from 'hald --daemon=no --verbose=yes' from after the "Device Probing Completed" line (one of the very last lines on hald startup) and from when you have hotplugged your camera. 2. The output from lshal when the camera is attached and powered up 3. The output from 'tree /sys' when the camera is attached and powered up (you may need to 'yum install tree') 4. The output of 'cat /proc/scsi/usb-storage/<number>' with <number> being probably the only file in that directory I think the heuristic hal uses to detect a USB floppy drive may need to be revisited. Thanks, David okay. This is what i did: - start hald. - power the cam up - run lshal > lshallog - install tree :) (me loooves the new yum) - run tree /sys > treelog - cat /proc/scsi/usb-storage/8 > catproclog - power down camera - stop hald with control+c - go submit the logs Created attachment 104401 [details]
catproclog
Created attachment 104402 [details]
haldebuglog
Created attachment 104403 [details]
lshallog
Created attachment 104404 [details]
treelog
Hmm... forgot to "filter" haldebuglog. Bet you can do that yourself. Good night - its 23:15 here and i am tired of having sqatted bugs since 12:00 RH should have payed me for sqatting bugs. *cantwait for FC3* Ok, this is an easy fix - hal should really just look at the usb interface class. Your device reports the class tripplet (8, 5, 0) while my USB floppy drive reports (8, 4, 0). According to this snippet from file:///usr/share/hwdata/usb.ids C 08 Mass Storage 01 RBC (typically Flash) 00 Control/Bulk/Interrupt 01 Control/Bulk 50 Bulk (Zip) 02 SFF-8020i, MMC-2 (ATAPI) 03 QIC-157 04 Floppy (UFI) 00 Control/Bulk/Interrupt 01 Control/Bulk 50 Bulk (Zip) 05 SFF-8070i 06 SCSI 00 Control/Bulk/Interrupt 01 Control/Bulk 50 Bulk (Zip) hal should just tag all devices with protocol=8, subprotocol=4 as floppies. Today we just look at the " Protocol: Uniform Floppy Interface (UFI)" line in /proc/scsi/usb-storage/number which is a bug as this report shows. Thanks for filing this bug; it will be fixed in the next update. Hmm... I updated hal to hal-0.2.98.cvs20040927-1 - and it STILL thinks it is two (wrong - only sda1 should be mounted) floppy (wrong - its not a floppy, but the biggest problem is that there is created two of them) disk. Only difference is that they refuse to mount it automatically now. It's fixed in upstream CVS (today) but not yet in Rawhide. Will upload a new package later today. Comment 8 was written after the hal-0.2.98.cvs20040927-1 was uploaded. David Forgot to tell you - it works like a charm now :) No reason not to close this now. |