[Linux-bruxelles] help ! USB

Osvaldo info at brlspeak.net
Lun 30 Oct 15:45:09 CET 2006


Salut les amis,

j'essaye sur mon Etch PC (consolemode) d'ajouter l'usb pour pouvoir lire 
mon stick 
usb.

J'ai d'abord essayé usbmount, lightweight mais pas facile à configurer, 
même si la doc est bien écrite.
J'ai purgé et essaye d'installer le hotplug, mais y a des msgs bizarres, 
dont un qui m'intière et concerne le kernel image qu'il veut supprimer; 
qq'un sait me mettre sur la bonne piste svp?

Script started on Mon 30 Oct 2006 03:03:22 PM CET
(fyi)
galactix:~# apt-cache show usbmount
Package: usbmount
Priority: extra
Section: admin
Installed-Size: 116
Maintainer: Martin Dickopp <martin at zero-based.org>
Architecture: all
Version: 0.0.14-0.1
Depends: udev (>= 0.084-2), lockfile-progs
Filename: pool/main/u/usbmount/usbmount_0.0.14-0.1_all.deb
Size: 10494
MD5sum: 1b74998193fe32a6e05eca5232e605db
SHA1: d52ca0d42689842f6b9e977d8c4ef02f1cbbff53
SHA256: 367c4cf41a0b891293f97bb279ee1422d3fc8a92205175bd416d66a22d99e4c9
Description: automatically mount and unmount USB mass storage devices
 This package automatically mounts USB mass storage devices (typically
 USB pens) when they are plugged in, and unmounts them when they are
 removed. The mountpoints (/media/usb[0-7] by default), filesystem types
 to consider, and mount options are configurable. When multiple devices
 are plugged in, the first available mountpoint is automatically
 selected. If the device provides a model name, a symbolic link
 /var/run/usbmount/MODELNAME pointing to the mountpoint is automatically
 created.
 .
 The script that does the (un)mounting is called by the udev daemon.
 Therefore, USBmount requires a 2.6 (or newer) kernel.
 .
 USBmount is intended as a lightweight solution which is independent of
 a desktop environment. Users which would like an icon to appear when an
 USB device is plugged in should use the pmount and hal packages
 instead.
 .
 Homepage: http://usbmount.alioth.debian.org/
Tag: admin::configuring, admin::filesystem, hardware::storage, hardware::usb, interface::daemon, role::sw:utility, use::configuring

(sinon j'ai déjà sur mon Etech ce qui suit:)
galactix:~# dpkg -l |grep usb
ii  libusb-0.1-4                    0.1.12-2                 userspace USB programming library
ii  usbutils                        0.72-7                   USB console utilities

(essai1:)
galactix:~# apt-get install hotplug

Reading package lists... 0%

Reading package lists... 100%

Reading package lists... Done


Building dependency tree... 0%

Building dependency tree... 0%

Building dependency tree... 50%

Building dependency tree... 50%

Building dependency tree... Done

Suggested packages:
  ifrename
The following packages will be REMOVED:
  initramfs-tools linux-image-2.6-686 linux-image-2.6.16-2-686
  linux-image-2.6.17-2-686 udev
The following NEW packages will be installed:
  hotplug
0 upgraded, 1 newly installed, 5 to remove and 1 not upgraded.
(et ça ça m'inquiète, 5 removed)
Need to get 67.3kB of archives.
After unpacking 94.2MB disk space will be freed.
Do you want to continue [Y/n]? 

(essai2:)
galactix:~# apt-get install hotplug discover

Reading package lists... 0%

Reading package lists... 100%

Reading package lists... Done


Building dependency tree... 0%

Building dependency tree... 0%

Building dependency tree... 50%

Building dependency tree... 50%

Building dependency tree... Done

The following extra packages will be installed:
  discover-data libdiscover2
Suggested packages:
  ifrename
The following packages will be REMOVED:
  initramfs-tools linux-image-2.6-686 linux-image-2.6.16-2-686
  linux-image-2.6.17-2-686 udev
The following NEW packages will be installed:
  discover discover-data hotplug libdiscover2
0 upgraded, 4 newly installed, 5 to remove and 1 not upgraded.
Need to get 695kB of archives.
After unpacking 90.8MB disk space will be freed.
Do you want to continue [Y/n]? 

(essai3:)
galactix:~# apt-get install hotplug discover1

Reading package lists... 0%

Reading package lists... 100%

Reading package lists... Done


Building dependency tree... 0%

Building dependency tree... 0%

Building dependency tree... 50%

Building dependency tree... 50%

Building dependency tree... Done

The following extra packages will be installed:
  discover1-data libdiscover1
Suggested packages:
  ifrename
The following packages will be REMOVED:
  initramfs-tools linux-image-2.6-686 linux-image-2.6.16-2-686
  linux-image-2.6.17-2-686 udev
The following NEW packages will be installed:
  discover1 discover1-data hotplug libdiscover1
0 upgraded, 4 newly installed, 5 to remove and 1 not upgraded.
Need to get 387kB of archives.
After unpacking 93.0MB disk space will be freed.
Do you want to continue [Y/n]? 

galactix:~# uname -r
2.6.17-2-686

galactix:~# dpkg -l |grep kernel
ii  iptables                        1.3.5.0debian1-1         Linux kernel 2.4+ iptables administration tools
ii  linux-image-2.6-686             2.6.17+2                 Linux kernel 2.6 image on PPro/Celeron/PII/PIII/P4
ii  linux-image-2.6.16-2-686        2.6.16-18                Linux kernel 2.6.16 image on PPro/Celeron/PII/PIII/P4 machines
ii  linux-kernel-headers            2.6.18-3                 Linux Kernel Headers for development
ii  mkrboot                         0.92                     Make a kernel + root image bootable from one disk or from DOS
ii  module-init-tools               3.2.2-3                  tools for managing Linux kernel modules

galactix:~# exit
exit

Script done on Mon 30 Oct 2006 03:05:52 PM CET


Que faire, quelle est la seule et unique solution?

Aldo.






Plus d'informations sur la liste de diffusion Linux-bruxelles