Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-user-fr
Navigation:
Lists: gentoo-user-fr: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-user-fr@g.o
From: Pascal Ronecker <pascal.ronecker@...>
Subject: Re: usb flashdisk / udev
Date: Sun, 05 Aug 2007 12:04:04 +0200
petite précision : mes rules sont pourries, je le sais, mais je vois pas
pourquoi.
Mon syslog me dit :
add_to_rules: invalid SUBSYSTEMS operation
add_to_rules: invalid rule '/etc/udev/rules.d/10-perso-USB.rules:6'

etc etc.




Pascal Ronecker wrote:
> Salut,
>
> je suis presque au bout de mes histoires de mise à jour udev, me reste
> un probleme que je ne capte pas.
> Et chauqe fois que ej cherche je tombe sur des docs relatives à
> d'anciennes versions de udev (celle que j'avais avant quoi).
>
> Exemple.
> J'ai une clef usb que usbview me voit comme ceci : (voir en bas du mail)
>
> et que lsusb voit ainsi :
> Bus 005 Device 003: ID 0ea0:2168 Ours Technology, Inc. Transcend
> JetFlash 2.0
>
> Alors suite à montée de version, j'ai migré mes scripts udev perso et
> voilà par exemple ec que j'ai dans /etc/udev/rules.d/10-perso-USB.rules:
> #clef usb standard
> SUBSYSTEMS="usb",ATTRS{product}=="Flash Disk", NAME="%k", SYMLINK="usbdisk"
>
>
> Bon,
> et bien, ca ne marche pas, je veux dire par là : le lien /dev/usbdisk
> n'est jamais créé.
>
> Même chose pour mon appareil photo, mon scanner, mon lecteur de cartes
> mémoires  ...
>
> Je me loupe où ?
>
> merci ....
>
>
> vlà aussi mon dmesg :
>
> usb 5-5: new high speed USB device using ehci_hcd and address 3
> Initializing USB Mass Storage driver...
> scsi2 : SCSI emulation for USB Mass Storage devices
> usb-storage: device found at 3
> usb-storage: waiting for device to settle before scanning
> usbcore: registered new driver usb-storage
> USB Mass Storage support registered.
>   Vendor: Generic   Model: USB Flash Disk    Rev: 2.00
>   Type:   Direct-Access                      ANSI SCSI revision: 02
> ready
> SCSI device sdb: 255488 512-byte hdwr sectors (131 MB)
> sdb: Write Protect is off
> sdb: Mode Sense: 03 00 00 00
> sdb: assuming drive cache: write through
> SCSI device sdb: 255488 512-byte hdwr sectors (131 MB)
> sdb: Write Protect is off
> sdb: Mode Sense: 03 00 00 00
> sdb: assuming drive cache: write through
>  sdb: unknown partition table
> Attached scsi removable disk sdb at scsi2, channel 0, id 0, lun 0
> usb-storage: device scan complete
>
>
>
> <ci dessous la sortie usbview>
>
> Flash Disk
> Manufacturer: USB
> Serial Number: FCA4B94085E6F5EA
> Speed: 480Mb/s (high)
> USB Version:  2.00
> Device Class: 00(>ifc )
> Device Subclass: 00
> Device Protocol: 00
> Maximum Default Endpoint Size: 64
> Number of Configurations: 1
> Vendor Id: 0ea0
> Product Id: 2168
> Revision Number:  2.00
>
> Config Number: 1
> 	Number of Interfaces: 1
> 	Attributes: 80
> 	MaxPower Needed: 200mA
>
> 	Interface Number: 0
> 		Name: usb-storage
> 		Alternate Number: 0
> 		Class: 08(stor.)
> 		Sub Class: 6
> 		Protocol: 50
> 		Number of Endpoints: 3
>
> 			Endpoint Address: 81
> 			Direction: in
> 			Attribute: 2
> 			Type: Bulk
> 			Max Packet Size: 512
> 			Interval: 0ms
>
> 			Endpoint Address: 02
> 			Direction: out
> 			Attribute: 2
> 			Type: Bulk
> 			Max Packet Size: 512
> 			Interval: 0ms
>
> 			Endpoint Address: 83
> 			Direction: in
> 			Attribute: 3
> 			Type: Int.
> 			Max Packet Size: 2
> 			Interval: 125us
>   

-- 
gentoo-user-fr@g.o mailing list


Replies:
Re: usb flashdisk / udev
-- Pascal Ronecker
References:
usb flashdisk / udev
-- Pascal Ronecker
Navigation:
Lists: gentoo-user-fr: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
usb flashdisk / udev
Next by thread:
Re: usb flashdisk / udev
Previous by date:
usb flashdisk / udev
Next by date:
Re: usb flashdisk / udev


Updated Jun 17, 2009

Summary: Archive of the gentoo-user-fr mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.