From 6f71fbec9e4488aab2fb92cd3e0a0b2445f83237 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 17 Sep 2009 22:54:16 +0200 Subject: blacklist 152d:2329 jmicron usb bridges --- atasmart.c | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/atasmart.c b/atasmart.c index b6bcb90..4faa946 100644 --- a/atasmart.c +++ b/atasmart.c @@ -2474,12 +2474,18 @@ static int disk_find_type(SkDisk *d, dev_t devnum) { goto finish; } - if ((vid == 0x0c0b && pid == 0xb159) || + if ((vid == 0x152d && pid == 0x2329)) { + /* Some JMicron bridges seem to choke on SMART + * commands, so let's explicitly black list + * them here. + * + * https://bugzilla.redhat.com/show_bug.cgi?id=515881 */ + d->type = SK_DISK_TYPE_NONE; + } else if ((vid == 0x0c0b && pid == 0xb159) || (vid == 0x04fc && pid == 0x0c25) || (vid == 0x04fc && pid == 0x0c15)) d->type = SK_DISK_TYPE_SUNPLUS; - else if ((vid == 0x152d && pid == 0x2329) || - (vid == 0x152d && pid == 0x2336) || + else if ((vid == 0x152d && pid == 0x2336) || (vid == 0x152d && pid == 0x2338) || (vid == 0x152d && pid == 0x2339)) d->type = SK_DISK_TYPE_JMICRON; -- cgit