Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 33425 Details for
Bug 50934
USB hotplug + udev + libusb + sane-backends + scanner produces error during boot "cannot access /proc/bus/usb/002/004: no such file or directory"
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
/etc/hotplug/usb/usbscanner
usbscanner (text/plain), 796 bytes, created by
Xavier Neys (RETIRED)
on 2004-06-17 08:06:31 UTC
(
hide
)
Description:
/etc/hotplug/usb/usbscanner
Filename:
MIME Type:
Creator:
Xavier Neys (RETIRED)
Created:
2004-06-17 08:06:31 UTC
Size:
796 bytes
patch
obsolete
>#!/bin/bash ># ># /etc/hotplug/usb/usbscanner ># > >GROUP=users > >#!/bin/sh >echo "In usbscanner" >> /tmp/toto >echo "ACTION=$ACTION" >> /tmp/toto >echo "DEVICE=$DEVICE" >> /tmp/toto >echo "DEVPATH=$DEVPATH" >> /tmp/toto >ls -lR /proc/bus/usb/002 >> /tmp/toto > >if [ -z "$DEVICE" ] ; then > echo "ls -lR /sys/$DEVPATH" >> /tmp/toto > ls -lR /sys/$DEVPATH/ >> /tmp/toto > IF=$(echo $DEVPATH | sed 's:\(bus/usb/devices/\)\(.*\)-\(.*\):\2:') > DEV=$(echo $DEVPATH | sed 's:\(bus/usb/devices/\)\(.*\)-\(.*\):\3:') > DEV=$(expr $DEV + 2) > DEVICE=$(printf '/proc/bus/usb/%.03d/%.03d' $IF $DEV) > echo "new DEVICE=$DEVICE" >> /tmp/toto >fi > >if [ "$ACTION" = "add" -a "$TYPE" = "usb" ]; then > chown root:"$GROUP" "$DEVICE" > chmod 0660 "$DEVICE" >fi >ls -lR /proc/bus/usb/002 >> /tmp/toto
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 50934
:
33423
| 33425 |
86468
|
88593