summaryrefslogtreecommitdiff
path: root/extras
AgeCommit message (Collapse)Author
2009-06-17cleanup ./configure installation directory optionsKay Sievers
2009-06-16usb-db: move from udev-extrasLennart Poettering
2009-06-16v4l_id: 70-v4l.rules -> 60-persistent-v4l.rulesKay Sievers
2009-06-16gudev: fix typo in configure optionKay Sievers
2009-06-16hid2hci: move from udev-extrasMario Limonciello
2009-06-16v4l_id: move from udev-extrasKay Sievers
2009-06-16udev-acl: handle missing action when called in CK modeKay Sievers
2009-06-16gudev: move from udev-extrasDavid Zeuthen
GObject libudev access. Initial version from Bastien Nocera, current version by David Zeuthen.
2009-06-16udev-acl: move from udev-extrasKay Sievers
The build of extras with larger external dependencies is wrapped in: --enable-extras
2009-06-14USE_LOG -> ENABLE_LOGGING, DEBUG -> ENABLE_DEBUG, USE_SELINUX -> WITH_SELINUXKay Sievers
2009-06-09move common stuff from udev/ to private parts of libudev/Kay Sievers
2009-06-09move syslog wrapper to libudevKay Sievers
2009-06-08libudev: move to top-level directoryKay Sievers
2009-06-08path_id: rename scsi sub-fuctionsKay Sievers
2009-06-08path_id: delete old shell scriptKay Sievers
Removed with this is SAS disk support which never really worked properly, and legacy IDE disk support, which can be re-implemented if needed.
2009-06-08path_id: add iscsi supportKay Sievers
2009-06-08path_id: handle fibre channelKay Sievers
2009-06-06fix signed/unsigned warningKay Sievers
2009-06-06path_id: add commentsKay Sievers
2009-06-06path_id: update SCSI handlingKay Sievers
2009-06-06path_id: implement in C using libudevKay Sievers
2009-05-29cdrom_id: add error message if open() failsKay Sievers
2009-05-26cdrom_id: suppress ID_CDROM_MEDIA_STATE=blank for plain non-writable CDROM mediaKay Sievers
Some broken fake cdrom drives return ID_CDROM_MEDIA_STATE=blank. $ /lib/udev/cdrom_id -d /dev/sr1 main: probing: '/dev/sr1' cd_inquiry: INQUIRY: [Nokia ][S60 ][1.0 ] cd_profiles: GET CONFIGURATION: number of profiles 76 cd_profiles: current profile 0x08 cd_media_toc: READ TOC: len: 12 cd_media_toc: last track 1 starts at block 0 cd_media_info: disk type 00 ID_CDROM=1 ID_CDROM_MRW=1 ID_CDROM_MRW_W=1 ID_CDROM_MEDIA=1 ID_CDROM_MEDIA_CD=1 ID_CDROM_MEDIA_STATE=blank Others work fine, but ID_CDROM_MEDIA_STATE is not needed for non-writable CDROM media: $ /lib/udev/cdrom_id -d /dev/sr1 main: probing: '/dev/sr1' cd_inquiry: INQUIRY: [SanDisk ][U3 Cruzer Micro ][8.02] cd_profiles: GET CONFIGURATION: number of profiles 72 cd_profiles: current profile 0x08 cd_media_toc: READ TOC: len: 20 cd_media_toc: track=1 info=0x4(data) start_block=0 cd_media_toc: last track 1 starts at block 0 cd_media_info: disk type 00 ID_CDROM=1 ID_CDROM_MRW=1 ID_CDROM_MRW_W=1 ID_CDROM_MEDIA=1 ID_CDROM_MEDIA_CD=1 ID_CDROM_MEDIA_STATE=complete ID_CDROM_MEDIA_SESSION_COUNT=1 ID_CDROM_MEDIA_TRACK_COUNT=1 ID_CDROM_MEDIA_TRACK_COUNT_DATA=1
2009-05-20edd_id: use openat()Kay Sievers
2009-05-20use more efficient string copyingKay Sievers
2009-05-14rule-generator: cd - skip by-path links if we create by-id linksKay Sievers
2009-05-12delete libvolume_idKay Sievers
2009-05-11delete vol_id and require util-linux-ng's blkidKay Sievers
2009-05-03rule-generator: net - whitelist NICs that violate MAC local schemeLubomir Rintel
According to list of assigned ethernet codes [1] referred to by IANA [2] certain global addresses do not follow the assignement scheme and use numbers reserved for local use. Several such adapters are quite widely used, generate rules for them. [1] http://www.cavebear.com/archive/cavebear/Ethernet/vendor.html [2] http://www.iana.org/assignments/ethernet-numbers
2009-04-26rule_generator: net - fix usb comment generationKay Sievers
On Sat, Apr 4, 2009 at 22:17, Omair Eshkenazi <stimpson@phys.huji.ac.il> wrote: > I noticed that in (70-)persistent-net.rules, the comments for USB devices > are missing the device/vendor id's. Example: > # USB device 0x:0x (rt73usb)
2009-04-23cdrom_id: skip media tests if CDROM_DRIVE_STATUS != CDS_DISC_OKKay Sievers
2009-04-22edd_id: add cciss devicesJohn Wright
Since cciss devices can be BIOS boot devices just as well as sd* and hd*, the edd_id program should be run on them so that the later /dev/disk/by-id/edd-* rules will work.
2009-04-21cdrom_id: add and use ID_CDROM_MEDIA to decide if we run vol_idKay Sievers
Some broken mobile phones offer a faked cdrom drive with a media without any tracks.
2009-04-17cdrom_id: add Xen cdrom supportKay Sievers
2009-04-16path_id: support identification of Xen virtual block devicesIan Campbell
2009-03-28usb_id: remove unused variableKay Sievers
2009-03-25usb_id: add ID_VENDOR_ID, ID_MODEL_ID, ID_USB_INTERFACE_NUM, ID_USB_DRIVERKay Sievers
$ extras/usb_id/usb_id -x /class/tty/ttyUSB1 ID_VENDOR=HUAWEI_Technology ID_VENDOR_ENC=HUAWEI\x20Technology ID_VENDOR_ID=12d1 ID_MODEL=HUAWEI_Mobile ID_MODEL_ENC=HUAWEI\x20Mobile ID_MODEL_ID=1003 ID_REVISION=0000 ID_SERIAL=HUAWEI_Technology_HUAWEI_Mobile ID_TYPE=generic ID_BUS=usb ID_USB_INTERFACES=:ffffff:080650: ID_USB_INTERFACE_NUM=01 ID_USB_DRIVER=option
2009-03-16vol_id: fix language in manpageAdam Buchbinder
The documentation for the --offset option wasn't in complete sentences. Signed-off-by: Adam Buchbinder <adam.buchbinder@gmail.com>
2009-03-16create_floppy_devices: expand manpageAdam Buchbinder
Include a table of what the CMOS types are, and note that nothing will be created unless the -t option is specified. Also clean up the formatting and bump the date. Signed-off-by: Adam Buchbinder <adam.buchbinder@gmail.com>
2009-03-16cdrom_id: update manpageAdam Buchbinder
Include usage information on the -d/--debug flag. Also bump the date. Signed-off-by: Adam Buchbinder <adam.buchbinder@gmail.com>
2009-03-16usb_id: add manpageAdam Buchbinder
Signed-off-by: Adam Buchbinder <adam.buchbinder@gmail.com>
2009-03-03volume_id: ntfs - fix uuid settingKay Sievers
In my scenario, the ntfs prober did *not* detect the presence of a ntfs filesystem (i.e. vol_id --probe-all returned *only* ext3). However, if you examine the source of the ntfs prober, it overwrites the uuid field of the volume_id object long before it actually decides there's a valid filesystem there - this resulted in vol_id returning the rather bizarre combination of type=ext3, but a uuid populated by the ntfs prober. https://bugs.edge.launchpad.net/ubuntu/+source/udev/+bug/337015
2009-02-26usb_id: fix commentKay Sievers
2009-02-26usb_id: fix NULL string usageKay Sievers
2009-02-26usb_id: return values if called directly for an usb_deviceKay Sievers
2009-02-26usb_id: add ID_USB_INTERFACES=:0e0100:0e0200:010100:010200:Kay Sievers
2009-02-17*_id: add model/vendor enc stringsDavid Zeuthen
So ID_MODEL and ID_VENDOR are pretty useful keys. However since we fix them up (removing leading/trailing whitespace, converts spaces to underscores) for use in device naming etc. we also force these fixups on the desktop shell. And this looks pretty ugly. The attached patch introduces the ID_MODEL_ENC and ID_VENDOR_ENC keys that contains the encoded version of the raw strings obtained. It's pretty similar in spirit to ID_FS_LABEL and its cousin ID_FS_LABEL_ENC. With this patch a desktop shell can fix up these strings as it sees fit. Note that some fixup is still needed though, for example # /lib/udev/ata_id --export /dev/sda |grep ID_MODEL ID_MODEL=INTEL_SSDSA2MH080G1GC ID_MODEL_ENC=INTEL\x20SSDSA2MH080G1GC\x20\x20\x20\x20\x20\x20\x20\x20 \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20 Note the trailing and leading whitespace. Anyway with the attached patch the desktop shell should be able to display "INTEL SSDSA2MH080G1GC" rather than "INTEL_SSDSA2MH080G1GC" to the user.
2009-01-24vol_id: add missing id->type to swap0Karel Zak
Signed-off-by: Karel Zak <kzak@redhat.com>
2009-01-24vol_id: fix ddf version stringKarel Zak
The version string in DDF suberblock does not include the null terminator and the snprintf() function writes at most "size" bytes *including* the null byte. old version: ID_FS_VERSION=02.00.0 new version: ID_FS_VERSION=02.00.00 Signed-off-by: Karel Zak <kzak@redhat.com>
2009-01-22usb_id: handle ATAPI devices like SCSI devicesKay Sievers
Some weird mass storage devices identify the disks as ATAPI/cdrom devices, and all disks in such enclusure get the same ids which overwrite each other, in such cases, get the typ of device from the scsi device, which has more knowledge what kind of device it really is.