Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 318245 - usb-modeswitch-1.1.1.ebuild need a new udev rules or it doesn't autoswitch
Summary: usb-modeswitch-1.1.1.ebuild need a new udev rules or it doesn't autoswitch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Hanno Böck
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-03 06:49 UTC by Druggo Yang
Modified: 2010-05-15 05:17 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Druggo Yang 2010-05-03 06:49:14 UTC
usb-modeswitch version 1.1.1 now use a wrapped script to handle the autoswitch, so the RUN command in default rules need change from "/usr/sbin/usb_modeswitch" to "usb_modeswitch '%b/%k'" in order to call the wrapper (/lib/udev/usb_modeswitch).

Reproducible: Always

Steps to Reproduce:
1.emerge "=sys-apps/usb_modeswitch-1.1.1"
2.uncomment /etc/udev/rules.d/91-usb_modeswitch.rules with my usb deviceid
3.plugin my USB-card and find nothing happened

Actual Results:  
usb_modeswitch autoswitching my usb-card when I plugged in
Comment 1 Hanno Böck gentoo-dev 2010-05-05 08:22:37 UTC
usb_modeswitch brings it's own rules now, the "manual" rule should not be needed at all.
Comment 2 Panagiotis Christopoulos (RETIRED) gentoo-dev 2010-05-10 07:04:15 UTC
This package doesn't have a maintainer these days. If you can create a patch against the old udev rules, maybe someone would update it. Thank you for your report.
Comment 3 Hanno Böck gentoo-dev 2010-05-10 09:26:49 UTC
I'll take maintainership.
Comment 4 Hanno Böck gentoo-dev 2010-05-14 21:19:12 UTC
1.1.2 in tree, I removed the individual udev rule, as upstream delivers proper udev-rules for all devices now.
Comment 5 Druggo Yang 2010-05-15 05:17:48 UTC
(In reply to comment #4)
> 1.1.2 in tree, I removed the individual udev rule, as upstream delivers proper
> udev-rules for all devices now.
> 

thank you!