Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 318245

Summary: usb-modeswitch-1.1.1.ebuild need a new udev rules or it doesn't autoswitch
Product: Gentoo Linux Reporter: Druggo Yang <druggo>
Component: New packagesAssignee: Hanno Böck <hanno>
Status: RESOLVED FIXED    
Severity: normal CC: hanno, pchrist
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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!