Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[APN] mon canon n'est pas detecté... (résolu)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
luteola
Tux's lil' helper
Tux's lil' helper


Joined: 03 Mar 2006
Posts: 118
Location: Bruxelles

PostPosted: Sun May 14, 2006 12:19 pm    Post subject: [APN] mon canon n'est pas detecté... (résolu) Reply with quote

salut

Sous les autres distri, mon canon PowerShot S30 est detecté par DigiKam sans problème (parfois c'est même konqueror qui le detecte). J'ai donc du rater quelque chose sous ma gentoo pour que ces 2 softs detectent mon APN... Où est-ce que cela se passe ? Dans le noyau ? J'ai regardé, je vois pas d'option reliée...

merci pour vos conseils !

a+
_________________
www.guidelinux.org
________________________________________
Gentoo amd64 2007.0
Asus A8N32-SLI
AMD Athlon 4000+, 2Go DDR400
NVIDIA 7900GTX
Soundblaster Audigy 4


Last edited by luteola on Mon May 15, 2006 5:45 pm; edited 1 time in total
Back to top
View user's profile Send private message
GaMeS
Guru
Guru


Joined: 08 Nov 2005
Posts: 374
Location: Nantes

PostPosted: Sun May 14, 2006 12:46 pm    Post subject: Reply with quote

que te retourne un dmesg , et un lsusb ?

a mon avis si l'usb détecte ton APN, il faut monté ton APN a la main.

Sauf si tu install hald et dbus
_________________
$this->setLife(FALSE);
printf "I'm not a gamer !";
Back to top
View user's profile Send private message
luteola
Tux's lil' helper
Tux's lil' helper


Joined: 03 Mar 2006
Posts: 118
Location: Bruxelles

PostPosted: Sun May 14, 2006 1:09 pm    Post subject: Reply with quote

re,

lsusb me donne ça.

Bus 003 Device 002: ID 04a9:3057 Canon, Inc. PowerShot S30

Ca semble bon donc.

Sinon,

Code:
# eix dbus
* sys-apps/dbus
     Available versions:  0.23.4-r1 ~0.50-r1 ~0.50-r2 0.60-r3 0.60-r4 ~0.61 ~0.61-r1
     Installed:           0.60-r4
     Homepage:            http://dbus.freedesktop.org/
     Description:         A message bus system, a simple way for applications to talk to each other



Code:
# eix hal
* sys-apps/hal
     Available versions:  0.4.7-r2 0.4.8 0.5.5.1-r3 ~0.5.7 ~0.5.7-r1 ~0.5.7-r2
     Installed:           none
     Homepage:            http://www.freedesktop.org/Software/hal
     Description:         Hardware Abstraction Layer


A quoi ils servent ces trucs là ? Je me rappelle avoir mis hal dans ma USE sur les conseils du tuto gentoo mais je l'ai pas installé apparemment. Que me conseilles-tu ?

merci !

a+
_________________
www.guidelinux.org
________________________________________
Gentoo amd64 2007.0
Asus A8N32-SLI
AMD Athlon 4000+, 2Go DDR400
NVIDIA 7900GTX
Soundblaster Audigy 4
Back to top
View user's profile Send private message
GaMeS
Guru
Guru


Joined: 08 Nov 2005
Posts: 374
Location: Nantes

PostPosted: Sun May 14, 2006 1:13 pm    Post subject: Reply with quote

Quote:

lsusb me donne ça.

Bus 003 Device 002: ID 04a9:3057 Canon, Inc. PowerShot S30


Donc il te suffit maintenant de trouvé sur quel node se connecte t'il.
Débranche et rebranche ton APN, et regarde ton dmesg

hald et dbus sont en fait des daemons.

Il vont monté une clef usb, un lecteur de cdrom automatiquement par exemple.

a mon avis tu les as installé (EDIT : install hal également) mais tu ne les a pas démarrer.

Quote:

/etc/init.d/hald start
/etc/init.d/dbus start


Pour ajouté ces daemons au boot de ton pc :

Quote:

rc-update add hald default
rc-update add dbus default


et pour vérifier ce qui se lance au boot rc-status
_________________
$this->setLife(FALSE);
printf "I'm not a gamer !";
Back to top
View user's profile Send private message
luteola
Tux's lil' helper
Tux's lil' helper


Joined: 03 Mar 2006
Posts: 118
Location: Bruxelles

PostPosted: Sun May 14, 2006 1:20 pm    Post subject: Reply with quote

ok, j'emerge hal et vois ça.

Sinon,

le dsmeg donne ceci :

Code:
usb 3-2: new full speed USB device using uhci_hcd and address 2
usb 3-2: USB disconnect, address 2
usb 3-2: new full speed USB device using uhci_hcd and address 3


merci !

a+
_________________
www.guidelinux.org
________________________________________
Gentoo amd64 2007.0
Asus A8N32-SLI
AMD Athlon 4000+, 2Go DDR400
NVIDIA 7900GTX
Soundblaster Audigy 4
Back to top
View user's profile Send private message
luteola
Tux's lil' helper
Tux's lil' helper


Joined: 03 Mar 2006
Posts: 118
Location: Bruxelles

PostPosted: Sun May 14, 2006 1:27 pm    Post subject: Reply with quote

J'ai emergé hal et je l'ai démarré (et ajouté au boot), ainsi que dbus.

Je branche alors l'apn mais rien ne se passe. Et digikam me dit toujours "Impossible de se connecter à l'apn". Je dois qd même pas rebooter :-) ?

a+
_________________
www.guidelinux.org
________________________________________
Gentoo amd64 2007.0
Asus A8N32-SLI
AMD Athlon 4000+, 2Go DDR400
NVIDIA 7900GTX
Soundblaster Audigy 4
Back to top
View user's profile Send private message
GaMeS
Guru
Guru


Joined: 08 Nov 2005
Posts: 374
Location: Nantes

PostPosted: Sun May 14, 2006 1:32 pm    Post subject: Reply with quote

Hmm essaye de monté a la main ton APN.

mount /dev/sdaX /mnt/usb

Ou X réprésente un chiffre. ça peut être sdb, sdc également.

lsusb -v ou -vv te donne pas plus d'information ?
_________________
$this->setLife(FALSE);
printf "I'm not a gamer !";
Back to top
View user's profile Send private message
luteola
Tux's lil' helper
Tux's lil' helper


Joined: 03 Mar 2006
Posts: 118
Location: Bruxelles

PostPosted: Sun May 14, 2006 1:40 pm    Post subject: Reply with quote

vala :

Code:
lsusb -vv
Bus 003 Device 005: ID 04a9:3057 Canon, Inc. PowerShot S30
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass          255 Vendor Specific Class
  bDeviceSubClass       255 Vendor Specific Subclass
  bDeviceProtocol       255 Vendor Specific Protocol
  bMaxPacketSize0        32
  idVendor           0x04a9 Canon, Inc.
  idProduct          0x3057 PowerShot S30
  bcdDevice            0.01
  iManufacturer           1 Canon Inc.
  iProduct                2 PowerShot S30
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           39
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xc0
      Self Powered
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           3
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bElà :

ndpointAddress     0x83  EP 3 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval              96


euh sinon, j'ai tenté de le monter (j'aurais pu y penser). D'hab qd je met ma clé USB, la partoche est sdb1, mais là :
Code:

localhost noordman # mount /dev/sdb1 /mnt/USB/
mount: périphérique spécial /dev/sdb1 n'existe pas


J'ai loupé une option ?

merci !

a+
_________________
www.guidelinux.org
________________________________________
Gentoo amd64 2007.0
Asus A8N32-SLI
AMD Athlon 4000+, 2Go DDR400
NVIDIA 7900GTX
Soundblaster Audigy 4
Back to top
View user's profile Send private message
PabOu
Veteran
Veteran


Joined: 11 Feb 2004
Posts: 1088
Location: Namur - Belgium

PostPosted: Sun May 14, 2006 1:40 pm    Post subject: Reply with quote

je ne connais pas ton APN, mais as-tu le support nécessaire dans le noyau ?
_________________
Mangez du poulet !
Back to top
View user's profile Send private message
GaMeS
Guru
Guru


Joined: 08 Nov 2005
Posts: 374
Location: Nantes

PostPosted: Sun May 14, 2006 1:51 pm    Post subject: Reply with quote

Tiens j'ai trouvé ça peut être que ça peut t'aidé : http://home.gagme.com/greg/linux/usbcamera.php
_________________
$this->setLife(FALSE);
printf "I'm not a gamer !";
Back to top
View user's profile Send private message
luteola
Tux's lil' helper
Tux's lil' helper


Joined: 03 Mar 2006
Posts: 118
Location: Bruxelles

PostPosted: Sun May 14, 2006 2:49 pm    Post subject: Reply with quote

PabOu wrote:
je ne connais pas ton APN, mais as-tu le support nécessaire dans le noyau ?


salut

Dans quelle rubrique ? J'ai regardé ce matin justement, j'ai pas vu où ca se situait...

Games, je regarde ton lien, merci.

a+
_________________
www.guidelinux.org
________________________________________
Gentoo amd64 2007.0
Asus A8N32-SLI
AMD Athlon 4000+, 2Go DDR400
NVIDIA 7900GTX
Soundblaster Audigy 4
Back to top
View user's profile Send private message
PabOu
Veteran
Veteran


Joined: 11 Feb 2004
Posts: 1088
Location: Namur - Belgium

PostPosted: Sun May 14, 2006 3:13 pm    Post subject: Reply with quote

Je ne sais pas comment ton APN est supporté, mais tu pourrais commencer par "USB Mass Storage support" ?
_________________
Mangez du poulet !
Back to top
View user's profile Send private message
j_c_p
Guru
Guru


Joined: 30 Aug 2003
Posts: 319
Location: France - Colmar

PostPosted: Sun May 14, 2006 3:31 pm    Post subject: Reply with quote

À signaler que le dernier libusb (0.1.12) pose souci ( https://forums.gentoo.org/viewtopic-t-459308-highlight-camera+root.html?sid=a322727f7ea0a94aafd84fd0e13604ef ) : à voir donc (j'ai eu ce même souci :wink:).

Sinon, ça fonctionne parfaitement avec :
Code:
phoenix64 jcp # emerge -pv udev hal dbus hotplug baselayout libusb

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] sys-fs/udev-090  (-selinux) 0 kB
[ebuild   R   ] sys-apps/hal-0.5.7-r2  +acpi +crypt -debug -dmi -doc -pcmcia (-selinux) 0 kB
[ebuild   R   ] sys-apps/dbus-0.61-r1  +X -debug -doc +gtk -mono +python +qt (-selinux) 0 kB
[ebuild   R   ] sys-apps/hotplug-20040923-r2  0 kB
[ebuild   R   ] sys-apps/baselayout-1.12.0_pre19-r2  -bootstrap -build -static +unicode 0 kB
[ebuild   R   ] dev-libs/libusb-0.1.10a  -debug -doc 0 kB

_________________
Lian Li PC60 - AMD FX 8300 - Asrock 990FX EXTREME9 - Gigabyte GTX960 G1 Gaming 4Go
Back to top
View user's profile Send private message
Longfield
Guru
Guru


Joined: 17 Mar 2004
Posts: 358
Location: Switzerland, Fribourg (la Glâne, les vrais)

PostPosted: Mon May 15, 2006 9:26 am    Post subject: Reply with quote

Je pense plutôt que le problème vient du fait que les Canon (en tous cas certains dont le mien, un PowerShot S50) ne peuvent pas être utilisés en USB Mass Storage.

Mais il y a une solution : utiliser la libgphoto2, que tu peux coupler à l'interface Digikam si tu préfères KDE/Qt ou gtkam si tu préfère Gnome/GTK (si jamais tu as encore le paquet gphoto2 qui te permet d'accéder à ta caméra, mais bon, manipuler des images en ligne de commande c'est pas super pratique)
_________________
longfield@swissjabber.ch
Cardinal powered !
Back to top
View user's profile Send private message
Anthyme
Guru
Guru


Joined: 25 Jun 2004
Posts: 498

PostPosted: Mon May 15, 2006 12:35 pm    Post subject: Reply with quote

Install gphoto2 et fait cette commande en root :

Code:
gphoto2 --usbid 0x4a9:0x3073=0x4a9:0x3056 -P


Ca devrai marcher

Moi les interface comme digikam ou autres n'ont jamais marché ... (sur un powershot A60)
Back to top
View user's profile Send private message
luteola
Tux's lil' helper
Tux's lil' helper


Joined: 03 Mar 2006
Posts: 118
Location: Bruxelles

PostPosted: Mon May 15, 2006 5:45 pm    Post subject: Reply with quote

ca marche en effet :-)

mais c'est quoi cette commande de fou ?? Bon... j'ai encore à apprendre je vois...

merci en tout cas !

a+
_________________
www.guidelinux.org
________________________________________
Gentoo amd64 2007.0
Asus A8N32-SLI
AMD Athlon 4000+, 2Go DDR400
NVIDIA 7900GTX
Soundblaster Audigy 4
Back to top
View user's profile Send private message
GaMeS
Guru
Guru


Joined: 08 Nov 2005
Posts: 374
Location: Nantes

PostPosted: Mon May 15, 2006 6:48 pm    Post subject: Reply with quote

Quote:

gphoto2 --usbid 0x4a9:0x3073=0x4a9:0x3056 -P


en fait cette commande te connecte directement sur le bus USB de ton APN et si tu change de ports ça ne sera plus les même adresses.
Regarde les résultats de ton lsusb -vv tu remarquera ID et BUS
_________________
$this->setLife(FALSE);
printf "I'm not a gamer !";
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum