-
Knoppix autodetection & Gentoo
I've spent too long fighting hotplug.
But what is the setup of Gentoo and knx-autodetect? Are all the tools in portage?
Code:
betty.net[~] $ esearch -S knoppix
[ Results for search key : knoppix ]
[ Applications found : 3 ]
* sys-apps/ddcxinfo-knoppix
Latest version available: 0.6
Latest version installed: [ Not Installed ]
Size of downloaded files: 35 kB
Homepage: http://www.knopper.net
Description: Program to automatically probe a monitor for info
* sys-apps/hwdata-knoppix
Latest version available: 0.107
Latest version installed: [ Not Installed ]
Size of downloaded files: 256 kB
Homepage: http://www.knopper.net
Description: Data for the hwsetup program
* sys-apps/kudzu-knoppix
Latest version available: 1.1.36-r1
Latest version installed: [ Not Installed ]
Size of downloaded files: 691 kB
Homepage: http://www.knopper.net/
Description: Knoppix version of the Red Hat hardware detection
Or is this different from
http://freshmeat.net/projects/knx-autoconfig-ports/
?
I'm just trying to get things like mas-storage devices to automount and so forth but finding setting it up from scratch a real pain and wondered if this could help. Perhaps someone might point me towards some ready set up hotplug system setup for mass-storage automounting etc? It's especially annoying as without hotplug I can't scan anymore:
Code:
betty.net[~] $ ls /etc/hotplug.d/
default
betty.net[~] $ ls /etc/hotplug
blacklist input.agent scsi.agent usb.handmap
dasd.agent input.rc tape.agent usb.rc
dasd.permissions net.agent tape.permissions usb.usermap
firmware.agent pci usb
hotplug.functions pci.agent usb.agent
ieee1394.agent pci.rc usb.distmap
betty.net[~] $ ls /etc/hotplug/usb
libsane.usermap usb-storage usbcam-gphoto2.usermap
libsane.usermap.all usb-storage-remove
libusbscanner usbcam
betty.net[~] $ ls /etc/hotplug/*
/etc/hotplug/blacklist /etc/hotplug/pci.rc
/etc/hotplug/dasd.agent /etc/hotplug/scsi.agent
/etc/hotplug/dasd.permissions /etc/hotplug/tape.agent
/etc/hotplug/firmware.agent /etc/hotplug/tape.permissions
/etc/hotplug/hotplug.functions /etc/hotplug/usb.agent
/etc/hotplug/ieee1394.agent /etc/hotplug/usb.distmap
/etc/hotplug/input.agent /etc/hotplug/usb.handmap
/etc/hotplug/input.rc /etc/hotplug/usb.rc
/etc/hotplug/net.agent /etc/hotplug/usb.usermap
/etc/hotplug/pci.agent
/etc/hotplug/pci:
/etc/hotplug/usb:
libsane.usermap usb-storage usbcam-gphoto2.usermap
libsane.usermap.all usb-storage-remove
libusbscanner usbcam
betty.net[~] $ less /etc/hotplug/libusbscanner
/etc/hotplug/libusbscanner: No such file or directory
betty.net[~] $ less /etc/hotplug/usb/libusbscanner
#!/bin/sh
# This script just causes hotplug to cat out a load of output to the terminal
# This file is part of sane-backends.
#
# This script changes the permissions and ownership of a USB device
under
# /proc/bus/usb to grant access to this device to users in the scann
er group.
#
# Ownership is set to root:scanner, permissions are set to 0660.
#
# Arguments :
# -----------
# ACTION=[add|remove]
# DEVICE=/proc/bus/usb/BBB/DDD
# TYPE=usb
#if [ "$ACTION" = "add" -a "$TYPE" = "usb" ]; then
# chown root:scanner "$DEVICE"
# chmod 0660 "$DEVICE"
#fi
# That's an insecure but simple alternative
# Everyone has access to the scanner
if [ "$ACTION" = "add" -a "$TYPE" = "usb" ]; then
chmod 0666 "$DEVICE"
fi
Similar Threads
-
By chubsmalone in forum General Support
Replies: 1
Last Post: 06-03-2005, 08:27 PM
-
By digero in forum Customising & Remastering
Replies: 1
Last Post: 11-23-2004, 10:06 PM
-
By pietromenna in forum Hardware & Booting
Replies: 0
Last Post: 06-21-2004, 01:09 AM
-
By SgtRauksauff in forum Hdd Install / Debian / Apt
Replies: 7
Last Post: 05-06-2004, 12:38 AM
-
By Juztin in forum Hdd Install / Debian / Apt
Replies: 2
Last Post: 03-18-2004, 07:22 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot
$285.90

2021 Full Version Office Professional Plus for 1 PC Flash USB Drive
$59.99

1/ 10/ 100pcs USB 2.0 2GB, 4GB ,8GB ,16GB ,32GB ,64GB 128GB USB Flash Drives Lot
$269.10

Microsoft Windows 11 Pro 64bit - New Sealed – Flash USB 1 PC
$49.99

USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack
$826.09

USB Type-A Flash Drive Metal Memory Stick High Speed USB Drive 128GB 256GB 512GB
$8.47

LOT 10x SanDisk 32GB ULTRA USB 3.0 flash drive SDCZ48-032G 32 GB read 100 MB/s
$39.80

Wholesale 5/10/100PCS 1GB 2GB 4GB 8GB 16GB 32GB USB 2.0 Flash Drive Memory Stick
$305.01

Zero Trace Pen: All-in-one Tor Network Anonymous Drive + Cryptocurrency Wallet
$147.00

128GB USB 14-in-1 MacOS bootable Installer repair recovery tech support service
$39.99